summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_syscalls.c
AgeCommit message (Collapse)Author
1998-02-16Make "flags" field in f?chflags(2) consistent--unsigned intTodd C. Miller
1998-01-09A better fix for the mkdir ("path/") bug. This fix strips the trailing slashesConstantine Sapuntzakis
(except in the case where the path is just /////) in the following three cases: 1) The path in mkdir 2) The destination path in rename if the source was a directory 3) The destination path in link if the source was a directory Note #3 isn't strictly necessary since most of our file systems don't support hard links of directories anyway.
1998-01-02make {f,}chflags(.., -1) return EINVAL because -1 is VNOVAL; problem noted ↵Theo de Raadt
by provos
1997-12-11do not clear setuid/setgid for *chmod(-1,-1); pointed out by provosTheo de Raadt
1997-12-09fix O_TRUNC and O_{SH,EX}LOCK properly; problem found by provosTheo de Raadt
1997-11-24Fix non-DIAGNOSTIC (and non-COMPAT*) compilationNiklas Hallqvist
1997-11-20Fix for open(2) when O_TRUNC and O_??LOCK are used together. ITodd C. Miller
ran the fix by Kirk, who said it was an OK solution and pointed out two problems.
1997-11-18Use 0177777, not 07777 as the mask to check for EINVAL. This allowsTodd C. Miller
one to use the st_mode field in struct stat as an argument to f?chmod().
1997-11-17only consider 9 bits for the umaskTheo de Raadt
1997-11-17make chmod() and fchmod() return EINVAL for bad mode bitsTheo de Raadt
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-03-02Add noatime option to not update atime on files in a filesystem (unlessTodd C. Miller
ctime or mtime has changed). Useful for laptops and news servers.
1997-02-26From tholo: Do not do strict POSIX offset checking on character devices.Niklas Hallqvist
This fixes the problem of not being able to read kernel virtual memory on the alpha, thus breaking things like ps etc.
1997-02-14hide fsid in getfsstat too, clone of millert fix, problem spotted by bitbltTheo de Raadt
1997-02-13Don't expose f_fsid to non-root.Todd C. Miller
1997-02-02Prevent seeking to negative offsets when seeking from the end of a file;Thorsten Lockert
noticed by Tim Newsham <newsham@aloha.net>
1997-01-26Add lchown(2).Jason Downs
1997-01-25Only disclose generation number to root.dm
1997-01-02pulled out the duplicated, conditional code from both kern/vfs_syscalls.cMichael Shalayeff
and compat/common/vfs_syscalls_43.c and placed a single copy of that code into miscfs/union/union_subr.c (seemed like a good place to put it, since it's union-fs related). as a side effect you can build unionfs in lkm. (netbsd pr#2950, Paul Goyette <paul@pgoyette.bdt.com>)
1996-10-27Better error checking for lseek(2)Thorsten Lockert
1996-10-26rename(from, to) where from and to are the name file (linked) is a no-opThorsten Lockert
1996-10-04usermount sysctl, default to prevent users from using mount syscallTheo de Raadt
1996-09-24no mknod in chrootTheo de Raadt
1996-09-24unescapeable chroot; thanks to nirva and asriel for helpingTheo de Raadt
1996-08-08Make {,f}chown(2) behaviour POSIX.1 compliant with SUID / SGID filesThorsten Lockert
Enable CTL_FS processing by sysctl(3) Add CTL_FS request to disable clearing SUID / SGID bit when a files owner or group is changed by root Make sysctl(8) understand CTL_FS requests
1996-08-08Lose the SUID bit if owner changes in {,f}chownThorsten Lockert
Lose the SGID bit if group changes in {,f}chown
1996-08-02Return EINVAL for invalid mode flags to access(2)Thorsten Lockert
1996-06-02explictly state getvnode's return typeNiklas Hallqvist
1996-05-14fix NetBSD PR#1145.Michael Shalayeff
1996-05-02Implement futimes()Theo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-17Removed vax ifdefed function from kern_subr.c (from NetBSD).Michael Shalayeff
Do sync in the order of umount (vfs_syscals.c), as it was pointed by someone in NetBSD's lists.
1996-02-29From NetBSD: Merge with NetBSD 960217Niklas Hallqvist
1995-11-13indenting error thing that is making my diffs look confusingTheo de Raadt
1995-11-09ufs vs ffs compat stuff from Gordon Ross. Gordon says:chuck
This allows the 1.0 version of /sbin/mount to work with the latest kernels. (Being unable to mount disks is a real drag...)
1995-10-18initial import of NetBSD treeTheo de Raadt