HardenedBSD/sys
Bruce Evans a176f73d19 Fix panic for `cp -p' by root to an msdos file system. Improve handling
of attributes so that `cp -p' to an msdos file system can succeed under
favourable circumstances (no uid or gid changes and no nonzero flags
except SF_ARCHIVED).

msdosfs_vnops.c:
The in-core inode flags were confused with the on-disk inode flags, so
chflags() clobbered the lock flag and caused a panic.

denode.h, msdosfs_denode.c, msdosfs_vnops.c:
Support the msdosfs archive attibute (ATTR_ARCHIVE) by mapping it to
the complement of the SF_ARCHIVED flag and setting the ATTR_ARCHIVE
bit when a file's modification time is set (but not when a file's
permissions are set; this is the standard wrong DOS behaviour).

denode.h, msdosfs_denode.c:
Remove the DE_UPDAT() macro.  It was only used once, and the corresponding
macro in ufs has already been removed.

denode.h:
Don't change the timestamp for directories in DE_TIMES() (be consistent
with deupdat()).

msdosfs_vnops.c:
Handle chown() better: return EPERM instead of EINVAL if there are
insufficient permissions; otherwise, allow null changes.
1994-12-27 12:37:36 +00:00
..
alpha/include
amd64 Obtained from: 1.1.5 1994-12-24 07:22:58 +00:00
compile
conf Add examples for the sony and the panasonic drivers. 1994-12-26 17:33:52 +00:00
ddb
dev Fixed two security holes in the pcmmap() function. 1994-12-27 08:43:06 +00:00
fs Fix panic for `cp -p' by root to an msdos file system. Improve handling 1994-12-27 12:37:36 +00:00
gnu Merge in latest Linux sequencer code release with my changes. This should 1994-11-29 23:04:23 +00:00
i386 Fixed two security holes in the pcmmap() function. 1994-12-27 08:43:06 +00:00
isa Fixed two security holes in the pcmmap() function. 1994-12-27 08:43:06 +00:00
isofs/cd9660
kern Obtained from: 1.1.5 1994-12-24 07:22:58 +00:00
libkern
miscfs
modules install command was missing a ${DESTDIR}. 1994-12-11 21:27:14 +00:00
msdosfs Fix panic for `cp -p' by root to an msdos file system. Improve handling 1994-12-27 12:37:36 +00:00
net Added `ds', a black-hole network interface. 1994-12-22 21:00:05 +00:00
netccitt Update calls to rtalloc1() to match. 1994-12-13 22:32:17 +00:00
netinet Make arp_rtrequest() static since nobody needs to referene it any more. 1994-12-22 22:00:30 +00:00
netiso Update calls to rtalloc1(). 1994-12-13 22:33:05 +00:00
netns
nfs Would you please correct nfs/nfs_vfsops.c so that the ip address of the 1994-12-08 20:59:33 +00:00
nfsclient Would you please correct nfs/nfs_vfsops.c so that the ip address of the 1994-12-08 20:59:33 +00:00
nfsserver
pci Restore my changes in rev 1.11 that Garrett killed in his commit. 1994-12-22 23:42:25 +00:00
powerpc/include
rpc
scsi Fix the "wds" count stat. 1994-12-24 09:48:32 +00:00
sys Fix comments on dk_wds and dk_wpms to match code. Improve comment on 1994-12-24 10:11:18 +00:00
tools
ufs Print `slicename' and not a bogus pointer in diskerr() 1994-12-22 04:42:31 +00:00
vm Do vm_page_rename more conservatively in rcollapse and qcollapse, and 1994-12-23 05:00:19 +00:00
Makefile