Date: Fri, 24 May 1996 09:19:26 -0700 (PDT) From: Peter Wemm <peter> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern vfs_syscalls.c Message-ID: <199605241619.JAA26259@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 96/05/24 09:19:25 Modified: sys/kern vfs_syscalls.c Log: 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 Revision Changes Path 1.48 +9 -7 src/sys/kern/vfs_syscalls.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605241619.JAA26259>