freebsd-dev/sys
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
..
alpha The linux chown syscall is more like lchown, a new chown syscall that 1998-03-29 07:59:10 +00:00
amd64 remove #ifdef declaration of npxproc, use globals.s and the extern always. 1998-04-06 15:50:29 +00:00
compat Make a kernel version of the timer* functions called timerval* to be 1998-04-06 08:26:08 +00:00
compile
conf add globals.s for data that is treated differently on SMP. 1998-04-06 15:49:35 +00:00
ddb Ensure that the linker sets for commands exist by putting a standard 1998-02-13 02:19:29 +00:00
dev take out opt_bktr.h from brooktree848.c 1998-04-06 07:57:55 +00:00
fs Use random() rather then than homegrown stuff. 1998-04-06 11:39:04 +00:00
geom Slightly more correct initialisation of the new buf struct for soft-updates. 1998-03-09 20:39:26 +00:00
gnu Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
i386 remove #ifdef declaration of npxproc, use globals.s and the extern always. 1998-04-06 15:50:29 +00:00
isa Remove some unneeded statements that enabled interrupts. 1998-04-05 01:04:48 +00:00
isofs/cd9660 Reviewed by: dyson@freebsd.org (john Dyson), dg@root.com (david greenman) 1998-03-08 09:59:44 +00:00
kern Implement a new open(2) flag: O_NOFOLLOW. This will instruct open 1998-04-06 17:38:43 +00:00
libkern
miscfs Moved some #includes from <sys/param.h> nearer to where they are actually 1998-03-28 10:33:27 +00:00
modules Give this a shot at actually working as an LKM.. 1998-03-27 04:05:08 +00:00
msdosfs Use random() rather then than homegrown stuff. 1998-04-06 11:39:04 +00:00
net Use getmicrotime() for if_lastchange, 10msec is plenty precision. 1998-04-06 11:43:12 +00:00
netatalk Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
netinet Use read_random() 1998-04-06 11:40:42 +00:00
netipx Make read_random() take a (void *) argument instead of (char *) 1998-04-06 09:30:42 +00:00
netkey Really make this compile.. 1998-04-06 05:11:42 +00:00
netnatm Staticize. 1998-02-09 06:11:36 +00:00
netns
nfs Use random() to find our initial xid. 1998-04-06 11:41:07 +00:00
nfsclient Use random() to find our initial xid. 1998-04-06 11:41:07 +00:00
nfsserver Use random() to find our initial xid. 1998-04-06 11:41:07 +00:00
pc98 Sync with sys/i386/isa/clock.c revision 1.119. 1998-04-06 03:38:18 +00:00
pccard Uninitialized pointer reference may happen on particular environment. 1998-03-19 16:19:16 +00:00
pci take out opt_bktr.h from brooktree848.c 1998-04-06 07:57:55 +00:00
posix4 The system call stubs for the sched_* system calls can't be 1998-03-28 22:44:28 +00:00
powerpc/include
rpc
scsi Add an ioctl to retrieve the next writable address. 1998-03-31 01:56:29 +00:00
sys Implement a new open(2) flag: O_NOFOLLOW. This will instruct open 1998-04-06 17:38:43 +00:00
tools
ufs Time changes mark 2: 1998-04-04 13:26:20 +00:00
vm Eradicate the variable "time" from the kernel, using various measures. 1998-03-30 09:56:58 +00:00
Makefile Test for the existance of ${MACHINE}/boot before trying to build it. 1998-02-20 07:37:08 +00:00