Age | Commit message (Collapse) | Author | |
---|---|---|---|
2000-04-20 | p{read,write}{,v} from csapuntz, partial NetBSD origin I think | Theo de Raadt | |
2000-04-15 | Fix sys_sync to actually sync all file systems. | Constantine Sapuntzakis | |
2000-03-03 | Use LIST_ macros instead of internal field names to walk the allproc list. | Artur Grabowski | |
2000-02-07 | (sys_getfh): moved here from nfs_syscalls.c | assar | |
(sys_fhopen, sys_fhstat, sys_fhstatfs): new system calls that use file handles instead of file names. largely based on NetBSD | |||
2000-02-01 | remove superflous declaration of vnops, it's now in <sys/file.h> | assar | |
1999-12-06 | Yet another solution to the mfs unmount/kill race (not ugly this time). | Artur Grabowski | |
Require that the mount point is vfs_busy on entry to dounmount. | |||
1999-07-30 | do not permit regular users to chflags/fchflags on chr or blk devices -- | Theo de Raadt | |
even if they happen to own them at the moment. | |||
1999-07-13 | introduce fdremove() to mark a file descriptor as unused. fdremove makes | Niels Provos | |
sure that the fd_freefile hints stay in sync, otherwise free file descriptors might not be overlooked by fdalloc(); ok millert@ | |||
1999-05-31 | New struct statfs with mount options. NOTE: this replaces statfs(2), | Todd C. Miller | |
fstatfs(2), and getfsstat(2) so you will need to build a new kernel before doing a "make build" or you will get "unimplemented syscall" errors. The new struct statfs has the following featuires: o Has a u_int32_t flags field--now softdep can have a real flag. o Uses u_int32_t instead of longs (nicer on the alpha). Note: the man page used to lie about setting invalid/unused fields to -1. SunOS does that but our code never has. o Gets rid of f_type completely. It hasn't been used since NetBSD 0.9 and having it there but always 0 is confusing. It is conceivable that this may cause some old code to not compile but that is better than silently breaking. o Adds a mount_info union that contains the FSTYPE_args struct. This means that "mount" can now tell you all the options a filesystem was mounted with. This is especially nice for NFS. Other changes: o The linux statfs emulation didn't convert between BSD fs names and linux f_type numbers. Now it does, since the BSD f_type number is useless to linux apps (and has been removed anyway) o FreeBSD's struct statfs is different from our (both old and new) and thus needs conversion. Previously, the OpenBSD syscalls were used without any real translation. o mount(8) will now show extra info when invoked with no arguments. However, to see *everything* you need to use the -v (verbose) flag. | |||
1999-02-26 | adaptation to uvm vnode pager | Artur Grabowski | |
1999-02-15 | reorder some flag handling in unmount for safer locking | Artur Grabowski | |
1999-02-15 | Fail correctly when trying to match a filesystem on the old typenum | Artur Grabowski | |
and the typenum is out of range | |||
1999-01-19 | Single Unix specification 2 says that rmdir(".") should suceed or give EBUSY | Artur Grabowski | |
1999-01-10 | remove unnecessary declaration of dounmount | Artur Grabowski | |
1998-12-28 | remove old leftovers from lite2 upgrade | Artur Grabowski | |
1998-12-23 | Opps. the flag that says that we are sleeping is MNT_MWAIT, not MNT_WAIT | Artur Grabowski | |
1998-12-21 | return EOPNOTSUPP when there is no support for this filesystem in the kernel. | Artur Grabowski | |
This is what most mount_* expect. | |||
1998-12-10 | Several fixes to dounmount. | Artur Grabowski | |
- Check for MNT_UNMOUNT before doing the actual unmount. It shouldn't matter for normal unmounts that go through sys_unmount, because they won't be able to do a lookup on the mountpoint when it's being unmounted, but mfs calls dounmount directly (and there was still a race). - clear the MNT_UNMOUNT flag after reenabling the lock (almost impossible race). - clear the MNT_MWAIT flag after doing a wakeup on the mountpoint. | |||
1998-11-12 | Integrate latest soft updates patches for McKusick. | Constantine Sapuntzakis | |
Integrate cleaner ffs mount code from FreeBSD. Most notably, this mount code prevents you from mounting an unclean file system read-write. | |||
1998-09-27 | Only update vfs_refcount when the mount succeeds and MNT_UPDATE not set. | Todd C. Miller | |
1998-08-17 | Make sure the file system is unbusied on error. | Constantine Sapuntzakis | |
1998-08-17 | Fix turd left over from soft updates patch. | Constantine Sapuntzakis | |
MNT_LAZY is not a bit flag. | |||
1998-07-13 | Part 1) of a fix to the "mount /mnt /mnt" problem. | Constantine Sapuntzakis | |
Don't mount the file system in the kernel name space before calling VFS_MOUNT. | |||
1998-07-13 | ftpd: sleep for an indeterminate amount for non-existant logins | Todd C. Miller | |
to simulate a crypt, like login does. Use SEEK_* not L_* and kill some 0L's used in lseek while we're there. | |||
1998-04-25 | readlink() 3rd param is size_t; XPG | Theo de Raadt | |
1998-04-06 | Missing wakeup in unmount error case, yet another amiga release staller :-) | Niklas Hallqvist | |
1998-03-25 | for *utimes(), deal with tv_sec == VNOVAL; problem noted by ↵ | Theo de Raadt | |
syssgm@dtir.qld.gov.au | |||
1998-02-16 | Make "flags" field in f?chflags(2) consistent--unsigned int | Todd C. Miller | |
1998-01-09 | A better fix for the mkdir ("path/") bug. This fix strips the trailing slashes | Constantine 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-02 | make {f,}chflags(.., -1) return EINVAL because -1 is VNOVAL; problem noted ↵ | Theo de Raadt | |
by provos | |||
1997-12-11 | do not clear setuid/setgid for *chmod(-1,-1); pointed out by provos | Theo de Raadt | |
1997-12-09 | fix O_TRUNC and O_{SH,EX}LOCK properly; problem found by provos | Theo de Raadt | |
1997-11-24 | Fix non-DIAGNOSTIC (and non-COMPAT*) compilation | Niklas Hallqvist | |
1997-11-20 | Fix for open(2) when O_TRUNC and O_??LOCK are used together. I | Todd C. Miller | |
ran the fix by Kirk, who said it was an OK solution and pointed out two problems. | |||
1997-11-18 | Use 0177777, not 07777 as the mask to check for EINVAL. This allows | Todd C. Miller | |
one to use the st_mode field in struct stat as an argument to f?chmod(). | |||
1997-11-17 | only consider 9 bits for the umask | Theo de Raadt | |
1997-11-17 | make chmod() and fchmod() return EINVAL for bad mode bits | Theo de Raadt | |
1997-11-06 | Updates for VFS Lite 2 + soft update. | Constantine Sapuntzakis | |
1997-10-06 | back out vfs lite2 till after 2.2 | Theo de Raadt | |
1997-10-06 | VFS Lite2 Changes | Constantine Sapuntzakis | |
1997-03-02 | Add noatime option to not update atime on files in a filesystem (unless | Todd C. Miller | |
ctime or mtime has changed). Useful for laptops and news servers. | |||
1997-02-26 | From 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-14 | hide fsid in getfsstat too, clone of millert fix, problem spotted by bitblt | Theo de Raadt | |
1997-02-13 | Don't expose f_fsid to non-root. | Todd C. Miller | |
1997-02-02 | Prevent seeking to negative offsets when seeking from the end of a file; | Thorsten Lockert | |
noticed by Tim Newsham <newsham@aloha.net> | |||
1997-01-26 | Add lchown(2). | Jason Downs | |
1997-01-25 | Only disclose generation number to root. | dm | |
1997-01-02 | pulled out the duplicated, conditional code from both kern/vfs_syscalls.c | Michael 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-27 | Better error checking for lseek(2) | Thorsten Lockert | |
1996-10-26 | rename(from, to) where from and to are the name file (linked) is a no-op | Thorsten Lockert | |