[Bugme-janitors] [Bug 10596] read, readv, write and writev system calls are not atomic

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Tue May 20 08:47:05 PDT 2008


http://bugzilla.kernel.org/show_bug.cgi?id=10596





------- Comment #4 from mtk.manpages at gmail.com  2008-05-20 08:47 -------
(In reply to comment #0)
> Problem Description: read, readv, write and writev system calls are not atomic
> even though standards require them to. They are not atomic because the sys_
> functions in fs/read_write.c copy the value of variable f_pos to and from a
> local variable without locking.

Matti,

Can you describe a userspace scenario where one can demonstrate the
non-atomicity?

Cheers,

Michael


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Bugme-janitors mailing list