Peter Wemm 7e3426aa1f Implement a new open(2) flag: O_NOFOLLOW. This will instruct open
to not follow symlinks, but to open a handle on the link itself(!).
As strange as this might sound, it has several useful applications
safe race-free ways of opening files in hostile areas (eg: /tmp, a mode
1777 /var/mail, etc).  It also would allow things like fchown() to work
on the link rather than having to implement a new syscall specifically for
that task.

Reviewed by: phk
1998-04-06 17:38:43 +00:00
..
1998-02-20 13:11:54 +00:00
1998-03-28 13:25:01 +00:00
1998-02-20 13:37:40 +00:00
1998-02-12 18:02:07 +00:00
1998-02-20 13:52:15 +00:00
1998-04-04 13:26:20 +00:00
1998-02-25 06:16:37 +00:00
1998-02-20 13:37:40 +00:00
1998-02-20 13:11:54 +00:00
1998-04-04 13:26:20 +00:00
1998-04-04 13:26:20 +00:00