* setting all 3 file times
@ 2007-05-20 20:09 Albert Cahalan
0 siblings, 0 replies; only message in thread
From: Albert Cahalan @ 2007-05-20 20:09 UTC (permalink / raw)
To: linux-kernel
Why can we still not do this?
It's a stupid restriction. Security isn't a reason;
we have SE Linux policy and auditing to take
care of any issues. Heck, SE Linux policy could
even deny this feature for the truly paranoid.
Writing to /dev/* to update timestamps is surely
a worse security situation. (see "dump" program)
Ideally we'd have atomic update in some way.
That might mean feeding the old times into the
system call, so that the kernel can fail it if any
changes have happened meanwhile. Maybe the
syscall could take a pair of "struct stat" even,
making the operation really easy and powerful.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-05-20 20:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-20 20:09 setting all 3 file times Albert Cahalan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®