freebsd-skq/sys
dg 4c12c11b83 From Bruce Evans:
I ran into another manifestation of the problem reported in PR 211 and
fixed it. Try this:

as non-root:
	cd /tmp; mkdir x y x/z
as root:
	chown root /tmp/x/z
as non-root:
	cd /tmp/x; mv z ../y		# EACCES as expected
as root:
	cd /tmp/x; mv z ../y		# EINVAL NOT as expected

This is because ufs_rename() sets IN_RENAME and fails to clear it.

Reviewed by:	davidg
Submitted by:	bde
1995-05-15 07:31:09 +00:00
..
alpha/include Third round in syscons update. 1995-01-28 22:18:05 +00:00
amd64 Added apersand constraint to make sure that the source and destination 1995-05-14 22:25:11 +00:00
compile Stop cvs up -P from removing empty compile directories. 1994-08-25 16:20:16 +00:00
conf Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
ddb Fixed the formatting breakage I added in the previous commit. 1995-04-04 01:35:33 +00:00
dev After carefully reading three reference documents, and analyzing 1995-05-14 11:01:20 +00:00
fs Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
gnu Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
i386 Added apersand constraint to make sure that the source and destination 1995-05-14 22:25:11 +00:00
isa Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
isofs/cd9660 Readdir on a CDrom would return bogus "d_type" values, potentially confusing 1995-03-28 07:46:38 +00:00
kern Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
libkern Do not install libkern into /usr/lib, blank target install: added. 1995-03-23 07:02:14 +00:00
miscfs Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
modules Fix declaration of palette[] so that fade saver doesn't cause panics. 1995-05-14 12:54:30 +00:00
msdosfs Submitted by: Mike Pritchard <pritc003@maroon.tc.umn.edu> 1995-05-09 16:30:45 +00:00
net Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
netccitt Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
netinet Fix getsockopt(IP_ACCT_*) to not panic kernel 1995-05-12 20:00:21 +00:00
netiso Make networking domains drop-ins, through the magic of GNU ld. (Some day, 1995-05-11 00:13:26 +00:00
netns Make networking domains drop-ins, through the magic of GNU ld. (Some day, 1995-05-11 00:13:26 +00:00
nfs Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
nfsclient Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
nfsserver Slight re-ordering of the creation of a vmio object to fix a condition 1995-04-21 02:58:49 +00:00
pci Fixed mbuf leak and panic that occurred when packets got too memory 1995-05-05 20:09:51 +00:00
powerpc/include Don't define CLK_TCK here. 1995-02-03 21:49:18 +00:00
rpc Use the header files that are compatible with the code just moved over 1994-08-07 18:41:02 +00:00
scsi Fix -Wformat warnings from LINT kernel. 1995-05-11 19:26:53 +00:00
sys Prototype for madvise() is missing from sys/mman.h 1995-05-14 19:19:07 +00:00
tools Added $Id$ 1994-08-02 07:55:43 +00:00
ufs From Bruce Evans: 1995-05-15 07:31:09 +00:00
vm Changed swap partition handling/allocation so that it doesn't 1995-05-14 03:00:10 +00:00
Makefile Added ${MACHINE}/boot to build bootblocks. 1994-08-25 13:54:28 +00:00