What new system calls do you want in BSD?

Don Lewis del at thrush.semi.harris-atd.com
Fri Feb 9 13:58:53 AEST 1990


In article <5068.16:48:52 at stealth.acf.nyu.edu> brnstnd at stealth.acf.nyu.edu (Dan Bernstein) writes:
>In article <1990Feb8.080645.4458 at semi.harris-atd.com> del at thrush.semi.harris-atd.com (Don Lewis) writes:
>> In article <23449 at stealth.acf.nyu.edu> brnstnd at stealth.acf.nyu.edu (Dan Bernstein) writes:
>> >In article <1990Jan24.193433.3332 at semi.harris-atd.com> del at thrush.semi.harris-atd.com (Don Lewis) writes:
>> >>   open(file,O_PEEK)
>> >This could be a flag on any open, meaning simply ``update ctime rather
>> >than atime or mtime.'' Crackers already know about utimes(); perhaps an
>> >O_PEEK flag would educate inexperienced sysadmins.
>> I don't want it to update the ctime either.
>
>That would be a security violation.
In what way?  The only information that I lose is that I can't tell if
someone has been looking at my files.  If I cared then I would make them
something other than rw-r--r--. Even in the present scheme, if I read my
file after the "cracker" has, then I can't tell if it was previously read.

If the filesystem is mounted read-only, the atime doesn't get updated, is
this a security violation?
--
Don "Truck" Lewis                      Harris Semiconductor
Internet:  del at semi.harris-atd.com     PO Box 883   MS 62A-028
UUCP:      rutgers!soleil!thrush!del   Melbourne, FL  32901              
Phone:     (407) 729-5205



More information about the Comp.unix.wizards mailing list