opnsense-src/sys
Peter Wemm b587fd008d Don't panic if a VOP_READ() gets through on a short link, Just Do It
(because we can :-).  This means you can open a link file (or pseudo-file
in the case of short links where the data is stored in the inode rather
than disk blocks) and read the contents.
However, trap any writes from the user as it's difficult to do the right
thing in all cases.  A link may be short and the user may be trying to
extend it beyond the limit and so on.  Although.. being able to re-target
a symlink without deleting it first might have been nice.
This stuff is a bit perverse since symlink() and readlink() calls can
end up actually being implemented as read/write vnode ops.

Reviewed by: phk
1998-04-06 17:44:40 +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 Make our v_usecount vnode reference count work identically to the 1998-01-06 05:26:17 +00:00
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 Make INET a proper option. 1998-01-08 23:42:31 +00:00
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 Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
rpc Resolve conflicts. 1997-05-28 04:45:15 +00:00
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 Use __inline instead of inline to prevent pedantic compiler warnings. 1997-12-19 23:25:16 +00:00
ufs Don't panic if a VOP_READ() gets through on a short link, Just Do It 1998-04-06 17:44:40 +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