lkml.org 
[lkml]   [2002]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RFC: one solution to sys_sync livelock fix
Hi,

On Wed, Feb 13, 2002 at 05:37:42PM -0500, Bill Davidsen wrote:

> What would happen if the sync(2) call from a non-root user were treated as
> if it were an fsync(2) call on every file open for write?

Then you'd lose writes for files you have written to but since
closed; and you'd seriously hurt the users of journaling filesystems
who assume you can "sync" as an unprivileged user and then turn power
off.

--Stephen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.032 / U:13.628 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site