Re: [malware-list] scanner interface proposal was: [TALPA] Intro to alinux interface for on access scanning

From: David Collier-Brown
Date: Tue Aug 19 2008 - 12:34:35 EST


david@xxxxxxx wrote:
if you want to be sure there are no race conditions at all in this there would be a need for an 'atomic' (as relates to userspace) way to set an xattr only if another one was set.

Hmmn, such code would rather resemble the O_CREAT|O_EXCL handling in open(2).

--dave
--
David Collier-Brown | Always do right. This will gratify
Sun Microsystems, Toronto | some people and astonish the rest
davecb@xxxxxxx | -- Mark Twain
cell: (647) 833-9377, bridge: (877) 385-4099 code: 506 9191#
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/