freebsd kernel with SKQ
Go to file
peter 9453593a7d Dont allow directories to be link()ed or unlink()ed, even for root
(returns EPERM always, the errno is specified by POSIX).

If you really have a desperate need to link or unlink a directory, you
can use fsdb. :-)

This should stop any chance of ftpd, rdist, "rm -rf", etc from
bugging out and damaging the filesystem structure or loosing races
with malicious users.

Reviewed by: davidg, bde
1996-05-24 16:19:23 +00:00
bin Output line count to stdout. Complies to POSIX.2. 1996-05-23 06:36:34 +00:00
eBones Localize time 1996-05-07 19:05:10 +00:00
etc Eliminate warning message and add big warnings about security holes 1996-05-22 05:43:30 +00:00
games The Makefile assumed that builder had '.' in it's path, which is a 1996-05-15 16:54:05 +00:00
gnu Remove setuid bit, it's not necessary. 1996-05-22 15:53:38 +00:00
include Made this work with the documented prerequisite #includes (none). 1996-05-01 00:57:57 +00:00
lib Fixed various problems: typos, grammer, missing include files 1996-05-23 01:05:25 +00:00
libexec When checking to see whether a needed shared library has already 1996-05-22 06:34:12 +00:00
lkm `mv'' -> `mv -f'' 1996-05-07 23:19:49 +00:00
release Fixed oops in previous change. 1996-05-24 15:35:36 +00:00
sbin Return make_union, s-bit removed 1996-05-19 17:24:10 +00:00
secure Localize time 1996-05-07 19:05:10 +00:00
share Clarify PCMCIA warning now that we have the PCCARD stuff in our -current tree. 1996-05-23 11:53:56 +00:00
sys Dont allow directories to be link()ed or unlink()ed, even for root 1996-05-24 16:19:23 +00:00
tools Don't look in libkern, it went away. 1995-12-29 01:51:23 +00:00
usr.bin New option -append: teach makewhatis to only add records, instead 1996-05-22 00:57:42 +00:00
usr.sbin Fixed oops in previous change. 1996-05-24 15:35:36 +00:00
COPYRIGHT This is the official 4.4 Lite copyright. 1994-09-11 07:53:28 +00:00
Makefile 1) make -DCLOBBER not remove most of /usr/lib 1996-05-04 07:12:07 +00:00