History log of /src/sys/coda/coda_vfsops.c |
Revision | | Date | Author | Comments |
1.92 |
| 28-May-2025 |
andvar | fix few typos in comments.
|
1.91 |
| 17-May-2024 |
thorpej | Remove unnecessary include of <sys/malloc.h>.
|
1.90 |
| 28-Mar-2022 |
riastradh | specfs: Let spec_node_lookup_by_dev wait for reclaim to finish.
vdevgone relies on this to ensure that if there is a concurrent revoke in progress, it will wait for that revoke to finish -- that way, it can guarantee all I/O operations have completed and the device is closed.
|
1.89 |
| 20-Nov-2020 |
hannken | When validating the mount device string make sure its length is below *data_len and below PATH_MAX.
Reported-by: syzbot+2d3af801141509cc858c@syzkaller.appspotmail.com
|
1.88 |
| 14-Nov-2020 |
hannken | Respect "lktype" in all paths in coda_root().
|
1.87 |
| 17-Jan-2020 |
ad | branches: 1.87.6; VFS_VGET(), VFS_ROOT(), VFS_FHTOVP(): give them a "int lktype" argument, to allow us to get shared locks (or no lock) on the returned vnode. Matches FreeBSD.
|
1.86 |
| 04-Apr-2017 |
hannken | branches: 1.86.4; 1.86.14; 1.86.20; Use spec_node_lookup_by_dev() and spec_node_getmountedfs() to retrieve a mount by device.
|
1.85 |
| 17-Feb-2017 |
hannken | Add generic genfs_suspendctl() and use it for all file systems. Layered file systems need work.
|
1.84 |
| 13-Dec-2014 |
hannken | branches: 1.84.2; 1.84.4; Change coda from hashlist to vcache. - Replace all hash list crawlers with vfs_vnode_iterator.
|
1.83 |
| 13-Dec-2014 |
hannken | Move the definition of NVCODA and CODA_COMPAT_5 to coda.h, remove them from coda_vfsops.c and coda_psdev.c.
|
1.82 |
| 13-Dec-2014 |
hannken | Attach the control object vnode to the coda mount and release it on unmount. Initialize special files with NODEV.
|
1.81 |
| 16-Apr-2014 |
maxv | branches: 1.81.4; An (un)privileged user can easily make the kernel dereference a NULL pointer.
The kernel allows 'data' to be NULL; it's the fs's responsibility to ensure that it isn't NULL (if the fs actually needs data).
ok christos@
|
1.80 |
| 23-Mar-2014 |
hannken | branches: 1.80.2; Change all vfsops to use C99 designated initializers.
No functional changes intended.
|
1.79 |
| 25-Feb-2014 |
pooka | Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before the sysctl link sets are processed, and remove redundancy.
Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate lines of code.
|
1.78 |
| 27-Nov-2013 |
christos | Change the queue.3 *_END(&head) macros to NULL. Since we don't have CIRCLEQ anymore, all the macros expand to NULL anyway, so this improves readability. Requested by rmind@
|
1.77 |
| 23-Nov-2013 |
christos | tuck in code inside the mutex
|
1.76 |
| 23-Nov-2013 |
christos | replace open-coded scan with macro; fix locking
|
1.75 |
| 23-Nov-2013 |
riz | Since mountlist is now a TAILQ, convert some missed usages so things build again.
|
1.74 |
| 02-Aug-2012 |
christos | branches: 1.74.2; 1.74.4; - move debugging functions to vcoda so modules with -DDEBUG link - fix writing to coda files. this is probably not the right way to do this, but it satisfies the locking protocol: 1. Sometimes coda_open() is called with an unlocked vnode which does not satisfy the locking protocol. Lock it for now. We need to find out why this happens 2. VFS_VGET sometimes returns the container vnode unlocked. What is the locking protocol for VFS_VGET? We also lock it here.
|
1.73 |
| 04-May-2012 |
christos | depend on "vcoda" since it has symbols we need.
|
1.72 |
| 26-Apr-2012 |
christos | remove multiple definitions.
|
1.71 |
| 26-Apr-2012 |
christos | re-arrange things so that vcoda does not depend on coda.
|
1.70 |
| 27-Sep-2011 |
christos | branches: 1.70.2; 1.70.6; 1.70.8; 1.70.12; 1.70.14; use CODA_MAXNAMLEN instead of bogus MAXNAMLEN
|
1.69 |
| 29-Jun-2009 |
dholland | Convert 67 namei call sites to use namei_simple, in these functions:
check_console, veriexecclose, veriexec_delete, veriexec_file_add, emul_find_root, coff_load_shlib (sh3 version), coff_load_shlib, compat_20_sys_statfs, compat_20_netbsd32_statfs, ELFNAME2(netbsd32,probe_noteless), darwin_sys_statfs, ibcs2_sys_statfs, ibcs2_sys_statvfs, linux_sys_uselib, osf1_sys_statfs, sunos_sys_statfs, sunos32_sys_statfs, ultrix_sys_statfs, do_sys_mount, fss_create_files (3 of 4), adosfs_mount, cd9660_mount, coda_ioctl, coda_mount, ext2fs_mount, ffs_mount, filecore_mount, hfs_mount, lfs_mount, msdosfs_mount, ntfs_mount, sysvbfs_mount, udf_mount, union_mount, sys_chflags, sys_lchflags, sys_chmod, sys_lchmod, sys_chown, sys_lchown, sys___posix_chown, sys___posix_lchown, sys_link, do_sys_pstatvfs, sys_quotactl, sys_revoke, sys_truncate, do_sys_utimes, sys_extattrctl, sys_extattr_set_file, sys_extattr_set_link, sys_extattr_get_file, sys_extattr_get_link, sys_extattr_delete_file, sys_extattr_delete_link, sys_extattr_list_file, sys_extattr_list_link, sys_setxattr, sys_lsetxattr, sys_getxattr, sys_lgetxattr, sys_listxattr, sys_llistxattr, sys_removexattr, sys_lremovexattr
All have been scrutinized (several times, in fact) and compile-tested, but not all have been explicitly tested in action.
XXX: While I haven't (intentionally) changed the use or nonuse of XXX: TRYEMULROOT in any of these places, I'm not convinced all the XXX: uses are correct; an audit might be desirable.
|
1.68 |
| 11-Jan-2009 |
christos | branches: 1.68.2; merge christos-time_t
|
1.67 |
| 30-Dec-2008 |
pooka | #ifdef _LKM -> #ifndef _KERNEL_OPT
|
1.66 |
| 10-May-2008 |
rumble | branches: 1.66.6; 1.66.8; 1.66.10; 1.66.18; 1.66.22; Convert file systems to dynamically attach with the new module interface. Make VFS hooks dynamic while we're here and say farewell to VFS_ATTACH and VFS_HOOKS_ATTACH linksets.
As a consequence, most of the file systems can now be loaded as new style modules.
Quick sanity check by ad@.
|
1.65 |
| 29-Apr-2008 |
ad | branches: 1.65.2; PR kern/38057 ffs makes assuptions about devvp file system PR kern/33406 softdeps get stuck in endless loop
Introduce VFS_FSYNC() and call it when syncing a block device, if it has a mounted file system.
|
1.64 |
| 28-Jan-2008 |
dholland | branches: 1.64.6; 1.64.8; 1.64.10; Fix some race conditions in rename. Introduce a per-FS rename lock and new vfsops to manipulate it. Get this lock while renaming. Also add another relookup() in do_sys_rename, which is a hack to kludge around some of the worst deficiencies of ufs_rename. reviewed-by: pooka (and an earlier rev by ad) posted on tech-kern with no objections.
|
1.63 |
| 15-Jan-2008 |
ad | Use vp->v_rdev, don't look at the union.
|
1.62 |
| 08-Dec-2007 |
pooka | branches: 1.62.4; Remove cn_lwp from struct componentname. curlwp should be used from on. The NDINIT() macro no longer takes the lwp parameter and associates the credentials of the calling thread with the namei structure.
|
1.61 |
| 01-Dec-2007 |
dsl | branches: 1.61.2; Ensure the mount data is a 0-terminated string - otherwise namei() might process garbage (or unmapped addresses).
|
1.60 |
| 26-Nov-2007 |
pooka | Remove the "struct lwp *" argument from all VFS and VOP interfaces. The general trend is to remove it from all kernel interfaces and this is a start. In case the calling lwp is desired, curlwp should be used.
quick consensus on tech-kern
|
1.59 |
| 10-Oct-2007 |
ad | branches: 1.59.4; Merge from vmlocking:
- Split vnode::v_flag into three fields, depending on field locking. - simple_lock -> kmutex in a few places. - Fix some simple locking problems.
|
1.58 |
| 31-Jul-2007 |
pooka | branches: 1.58.2; 1.58.4; 1.58.6; 1.58.8; * nuke the nameidata parameter from VFS_MOUNT(). Nobody on tech-kern knew what it was supposed to be used for and wrstuden gave a go-ahead * while rototilling, convert file systems which went easily to use VFS_PROTOS() instead of manually prototyping the methods
|
1.57 |
| 26-Jul-2007 |
pooka | Use eopnotsupp() instead of vfs_stdsuspendctl() and retire the latter.
|
1.56 |
| 17-Jul-2007 |
pooka | branches: 1.56.2; Make set_statvfs_info() take a parameter for the vfs name instead of always retrieving it from mp->mnt_op->vfs_name
christos ok
|
1.55 |
| 12-Jul-2007 |
dsl | Update coda for VFS_MOUNT() change
|
1.54 |
| 19-Jan-2007 |
hannken | branches: 1.54.6; New file system suspension API to replace vn_start_write and vn_finished_write. The suspension helpers are now put into file system specific operations. This means every file system not supporting these helpers cannot be suspended and therefore snapshots are no longer possible.
Implemented for file systems of type ffs.
The new API is enabled on a kernel option NEWVNGATE. This option is not enabled by default in any kernel config.
Presented and discussed on tech-kern with much input from Bill Studenmund <wrstuden@netbsd.org> and YAMAMOTO Takashi <yamt@netbsd.org>.
Welcome to 4.99.9 (new vfs op vfs_suspendctl).
|
1.53 |
| 09-Dec-2006 |
chs | a smorgasbord of improvements to vnode locking and path lookup: - LOCKPARENT is no longer relevant for lookup(), relookup() or VOP_LOOKUP(). these now always return the parent vnode locked. namei() works as before. lookup() and various other paths no longer acquire vnode locks in the wrong order via vrele(). fixes PR 32535. as a nice side effect, path lookup is also up to 25% faster. - the above allows us to get rid of PDIRUNLOCK. - also get rid of WANTPARENT (just use LOCKPARENT and unlock it). - remove an assumption in layer_node_find() that all file systems implement a recursive VOP_LOCK() (unionfs doesn't). - require that all file systems supply vfs_vptofh and vfs_fhtovp routines. fill in eopnotsupp() for file systems that don't support being exported and remove the checks for NULL. (layerfs calls these without checking.) - in union_lookup1(), don't change refcounts in the ISDOTDOT case, just adjust which vnode is locked. fixes PR 33374. - apply fixes for ufs_rename() from ufs_vnops.c rev. 1.61 to ext2fs_rename().
|
1.52 |
| 16-Nov-2006 |
christos | branches: 1.52.2; __unused removal on arguments; approved by core.
|
1.51 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.50 |
| 29-Aug-2006 |
christos | branches: 1.50.2; 1.50.4; fix incomplete initializer
|
1.49 |
| 21-Jul-2006 |
ad | - Use the LWP cached credentials where sane. - Minor cosmetic changes.
|
1.48 |
| 14-May-2006 |
elad | integrate kauth.
|
1.47 |
| 11-Dec-2005 |
christos | branches: 1.47.4; 1.47.6; 1.47.8; 1.47.10; 1.47.12; merge ktrace-lwp.
|
1.46 |
| 23-Sep-2005 |
jmmv | Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code. - Drop the vfs_checkexp hook and generalize it in the new nfs_check_export function, thus removing redundancy from all file systems. - Move all NFS export-related stuff from kern/vfs_subr.c to the new file sys/nfs/nfs_export.c. The former was becoming large and its code is always compiled, regardless of the build options. Using the latter, the code is only compiled in when NFSSERVER is enabled. While doing this, also make some functions in nfs_subs.c conditional to NFSSERVER. - Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a path and a set of export entries. At the moment it can only clear the exports list or append entries, one by one, but it is done in a way that allows setting the whole set of entries atomically in the future (see the comment in mountd_set_exports_list or in doc/TODO). - Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so that it becomes file system agnostic. In fact, all this whole thing was done to remove a 'XXX' block from this utility! - Change the mount*, newfs and fsck* userland utilities to not deal with NFS exports initialization; done internally by the kernel when initializing the NFS support for each file system. - Implement an interface for VFS (called VFS hooks) so that several kernel subsystems can run arbitrary code upon receipt of specific VFS events. At the moment, this only provides support for unmount and is used to destroy NFS exports lists from the file systems being unmounted, though it has room for extension.
Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments and advice in the development of this patch.
|
1.45 |
| 30-Aug-2005 |
xtraeme | * Remove __P() * Use ANSI function declarations
|
1.44 |
| 02-Jul-2005 |
blymn | branches: 1.44.2; Add attach call so coda gets added to list of vfs supported by the kernel.
|
1.43 |
| 29-May-2005 |
christos | - sprinkle const - avoid shadowed variables.
|
1.42 |
| 26-Feb-2005 |
perry | nuke trailing whitespace
|
1.41 |
| 02-Jan-2005 |
thorpej | branches: 1.41.2; 1.41.4; Add the system call and VFS infrastructure for file system extended attributes.
From FreeBSD.
|
1.40 |
| 15-Oct-2004 |
skrll | Revert previous. set_statvfs_info needs the struct proc * arg.
Problem noted by Tom Ivar Helbekkmo on current-users
|
1.39 |
| 17-Sep-2004 |
skrll | There's no need to pass a proc value when using UIO_SYSSPACE with vn_rdwr(9) and uiomove(9).
OK'd by Jason Thorpe
|
1.38 |
| 25-May-2004 |
hannken | Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD.
- Not enabled by default. Needs kernel option FFS_SNAPSHOT. - Change parameters of ffs_blkfree. - Let the copy-on-write functions return an error so spec_strategy may fail if the copy-on-write fails. - Change genfs_*lock*() to use vp->v_vnlock instead of &vp->v_lock. - Add flag B_METAONLY to VOP_BALLOC to return indirect block buffer. - Add a function ffs_checkfreefile needed for snapshot creation. - Add special handling of snapshot files: Snapshots may not be opened for writing and the attributes are read-only. Use the mtime as the time this snapshot was taken. Deny mtime updates for snapshot files. - Add function transferlockers to transfer any waiting processes from one lock to another. - Add vfsop VFS_SNAPSHOT to take a snapshot and make it accessible through a vnode. - Add snapshot support to ls, fsck_ffs and dump.
Welcome to 2.0F.
Approved by: Jason R. Thorpe <thorpej@netbsd.org>
|
1.37 |
| 25-May-2004 |
atatat | Sysctl descriptions under vfs subtree
|
1.36 |
| 27-Apr-2004 |
jrf | First pass for some caddr_t removal and changes to get rid of it where we no longer use and/or need it
- removed casts from unionfs, deadfs and fdesc (there are more to hunt down still) - changed vfs_quotactl args argumet from caddr_t to void * - changed vfs_quotactl structures/callers to reflect the api change
Compiled fine and ran for about a day. Approved/reviewed by christos@netbsd.org and gimpy@netbsd.org.
|
1.35 |
| 21-Apr-2004 |
christos | add sys/dirent.h
|
1.34 |
| 21-Apr-2004 |
christos | Replace the statfs() family of system calls with statvfs(). Retain binary compatibility.
|
1.33 |
| 24-Mar-2004 |
atatat | branches: 1.33.2; Tango on sysctl_createv() and flags. The flags have all been renamed, and sysctl_createv() now uses more arguments.
|
1.32 |
| 09-Mar-2004 |
atatat | Fix spelling of "orphan" and placement of */
|
1.31 |
| 04-Dec-2003 |
atatat | Dynamic sysctl.
Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(), vfs_sysctl(), etc, routines, along with sysctl_int() et al. Now all nodes are registered with the tree, and nodes can be added (or removed) easily, and I/O to and from the tree is handled generically.
Since the nodes are registered with the tree, the mapping from name to number (and back again) can now be discovered, instead of having to be hard coded. Adding new nodes to the tree is likewise much simpler -- the new infrastructure handles almost all the work for simple types, and just about anything else can be done with a small helper function.
All existing nodes are where they were before (numerically speaking), so all existing consumers of sysctl information should notice no difference.
PS - I'm sorry, but there's a distinct lack of documentation at the moment. I'm working on sysctl(3/8/9) right now, and I promise to watch out for buses.
|
1.30 |
| 30-Oct-2003 |
simonb | Remove some assigned-to but otherwise unused variables.
|
1.29 |
| 27-Aug-2003 |
drochner | update for the protocol used by coda>=6, patches supplied by the coda-6.0.2 distribution, with small changes to support the old protocol optionally (options CODA_COMPAT_5)
|
1.28 |
| 25-Aug-2003 |
drochner | fix a deadlock during mount: The client manager (venus) blocks in sys_mount() before entering its event loop answering requests from the kernel device (cfs). sys_mount() calls VFS_STATFS() internally which caused an upcall through cfs, which was never answered. Now don't consider the fs fully mounted before the VFS_START() was called at the vey end of sys_mount(). So VFS_STATFS() will return an error which is ignored.
|
1.27 |
| 25-Aug-2003 |
drochner | nuke an over-zealous memset() which broke statfs() et al. completely
|
1.26 |
| 29-Jun-2003 |
fvdl | branches: 1.26.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
1.25 |
| 29-Jun-2003 |
thorpej | Undo part of the ktrace/lwp changes. In particular: * Remove the "lwp *" argument that was added to vget(). Turns out that nothing actually used it! * Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(), and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted above, didn't use it). * Remove all of the "lwp *" arguments to internal functions that were added just to appease the above.
|
1.24 |
| 29-Jun-2003 |
thorpej | Adjust for ktrace/lwp changes.
|
1.23 |
| 28-Jun-2003 |
darrenr | Pass lwp pointers throughtout the kernel, as required, so that the lwpid can be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various function prototypes, pass the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
|
1.22 |
| 16-Apr-2003 |
christos | PR/1796: John Kohl: statfs misbehaves under chrooted environments.
- Under chroot it displays only the visible filesystems with appropriate paths. - The statfs f_mntonname gets adjusted to contain the real path from root. - While was there, fixed a bug in ext2fs, locking problems with vfs_getfsstat(), and factored out some of the vfsop statfs() code to copy_statfs_info(). This fixes the problem where some filesystems forgot to set fsid. - Made coda look more like a normal fs.
|
1.21 |
| 01-Feb-2003 |
thorpej | Add extensible malloc types, adapted from FreeBSD. This turns malloc types into a structure, a pointer to which is passed around, instead of an int constant. Allow the limit to be adjusted when the malloc type is defined, or with a function call, as suggested by Jonathan Stone.
|
1.20 |
| 26-Dec-2002 |
jdolecek | coda_nc_initialized is not used here, remove local extern defition
|
1.19 |
| 21-Sep-2002 |
christos | branches: 1.19.2; MNT_GETARGS support
|
1.18 |
| 06-Sep-2002 |
gehenna | Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch> by using this grammer.
- Added the new naming convention. The name of the device switch must be <prefix>_[bc]devsw for auto-generation of device switch tables.
- The backward compatibility of loading block/character device switch by LKM framework is broken. This is necessary to convert from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed. We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and the LKM framework will refer it to assign device major number dynamically.
|
1.17 |
| 30-Jul-2002 |
soren | Die, qaddr_t, die! - mnt_data in struct mount is already effectively a void *, so stop pretending otherwise.
|
1.16 |
| 27-Mar-2002 |
phil | branches: 1.16.2; Add the statfs upcall so df now reports cache size and usage.
|
1.15 |
| 23-Nov-2001 |
perry | __FUNCTION__ -> __func__
|
1.14 |
| 12-Nov-2001 |
lukem | add RCSIDs
|
1.13 |
| 15-Sep-2001 |
chs | add a new VFS op, vfs_reinit, which is called when desiredvnodes is adjusted via sysctl. file systems that have hash tables which are sized based on the value of this variable now resize those hash tables using the new value. the max number of FFS softdeps is also recalculated.
convert various file systems to use the <sys/queue.h> macros for their hash tables.
|
1.12 |
| 18-Jul-2001 |
thorpej | branches: 1.12.2; bzero -> memset
|
1.11 |
| 22-Jan-2001 |
jdolecek | branches: 1.11.2; 1.11.4; make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const
|
1.10 |
| 30-Mar-2000 |
augustss | Kill register declarations.
|
1.9 |
| 16-Mar-2000 |
jdolecek | Add new VFS op routine - vfs_done and call it on filesystem detach in vfs_detach(). vfs_done may free global filesystem's resources, typically those allocated in respective filesystem's init function. Needed so those filesystems which went in via LKM have a chance to clean after themselves before unloading. This fixes random panics when LKM for filesystem using pools was loaded and unloaded several times.
For each leaf filesystem, add appropriate vfs_done routine.
|
1.8 |
| 17-Oct-1999 |
cgd | branches: 1.8.2; nuke RCS "Log" tags. They cause problems for third parties importing our sources, and for NetBSD release engineering folks. (They've been against the NetBSD coding style forever, but they crept in anyway.)
|
1.7 |
| 26-Feb-1999 |
wrstuden | branches: 1.7.8; Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now only handles the file handle to vnode conversion, and a new call, vfs_checkexp(), performs the export verification.
|
1.6 |
| 10-Dec-1998 |
rvb | Commit a couple of old fixes
|
1.5 |
| 25-Sep-1998 |
rvb | Conditionalize "stray" printouts under DIAGNOSTIC and DEBUG. Make files compile if DEBUG is on (from Alan Barrett). Finally, make coda an lkm.
|
1.4 |
| 15-Sep-1998 |
rvb | Final piece of rename cfs->coda
|
1.3 |
| 12-Sep-1998 |
rvb | Change cfs/CFS in symbols, strings and constants to coda/CODA to avoid fs conflicts.
|
1.2 |
| 08-Sep-1998 |
rvb | Pass2 complete
|
1.1 |
| 29-Aug-1998 |
rvb | branches: 1.1.1; Initial revision
|
1.1.1.1 |
| 29-Aug-1998 |
rvb | Very Preliminary Coda
|
1.7.8.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.8.2.2 |
| 11-Feb-2001 |
bouyer | Sync with HEAD.
|
1.8.2.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
1.11.4.5 |
| 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.11.4.4 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.11.4.3 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.11.4.2 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.11.4.1 |
| 03-Aug-2001 |
lukem | update to -current
|
1.11.2.11 |
| 29-Dec-2002 |
thorpej | Sync with HEAD.
|
1.11.2.10 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.11.2.9 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.11.2.8 |
| 01-Aug-2002 |
nathanw | Catch up to -current.
|
1.11.2.7 |
| 24-Jun-2002 |
nathanw | Curproc->curlwp renaming.
Change uses of "curproc->l_proc" back to "curproc", which is more like the original use. Bare uses of "curproc" are now "curlwp".
"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL) so that it is always safe to reference curproc (*de*referencing curproc is another story, but that's always been true).
|
1.11.2.6 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.11.2.5 |
| 08-Jan-2002 |
nathanw | Catch up to -current.
|
1.11.2.4 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.11.2.3 |
| 21-Sep-2001 |
nathanw | Catch up to -current.
|
1.11.2.2 |
| 24-Aug-2001 |
nathanw | Catch up with -current.
|
1.11.2.1 |
| 05-Mar-2001 |
nathanw | Initial commit of scheduler activations and lightweight process support.
|
1.12.2.2 |
| 01-Oct-2001 |
fvdl | Catch up with -current.
|
1.12.2.1 |
| 07-Sep-2001 |
thorpej | Commit my "devvp" changes to the thorpej-devvp branch. This replaces the use of dev_t in most places with a struct vnode *.
This will form the basic infrastructure for real cloning device support (besides being architecurally cleaner -- it'll be good to get away from using numbers to represent objects).
|
1.16.2.2 |
| 29-Aug-2002 |
gehenna | catch up with -current.
|
1.16.2.1 |
| 16-May-2002 |
gehenna | Replace the direct-access to devsw table with calling devsw API.
|
1.19.2.1 |
| 18-Dec-2002 |
gmcgarry | Merge pcred and ucred, and poolify. TBD: check backward compatibility and factor-out some higher-level functionality.
|
1.26.2.11 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.26.2.10 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.26.2.9 |
| 17-Jan-2005 |
skrll | Sync with HEAD.
|
1.26.2.8 |
| 24-Oct-2004 |
skrll | Reduce diff to HEAD
|
1.26.2.7 |
| 19-Oct-2004 |
skrll | Sync with HEAD
|
1.26.2.6 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.26.2.5 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.26.2.4 |
| 24-Aug-2004 |
skrll | Undo part of the ktrace/lwp changes. In particular: * Remove the "lwp *" argument that was added to vget(). Turns out that nothing actually used it! * Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(), and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted above, didn't use it). * Remove all of the "lwp *" arguments to internal functions that were added just to appease the above.
|
1.26.2.3 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.26.2.2 |
| 19-Aug-2003 |
skrll | LWPify
|
1.26.2.1 |
| 02-Jul-2003 |
darrenr | Apply the aborted ktrace-lwp changes to a specific branch. This is just for others to review, I'm concerned that patch fuziness may have resulted in some errant code being generated but I'll look at that later by comparing the diff from the base to the branch with the file I attempt to apply to it. This will, at the very least, put the changes in a better context for others to review them and attempt to tinker with removing passing of 'struct lwp' through the kernel.
|
1.33.2.1 |
| 29-May-2004 |
tron | Pull up revision 1.37 (requested by atatat in ticket #393): Sysctl descriptions under vfs subtree
|
1.41.4.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.41.2.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.44.2.8 |
| 04-Feb-2008 |
yamt | sync with head.
|
1.44.2.7 |
| 21-Jan-2008 |
yamt | sync with head
|
1.44.2.6 |
| 07-Dec-2007 |
yamt | sync with head
|
1.44.2.5 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.44.2.4 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.44.2.3 |
| 26-Feb-2007 |
yamt | sync with head.
|
1.44.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.44.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.47.12.1 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.47.10.2 |
| 06-May-2006 |
christos | - Move kauth_cred_t declaration to <sys/types.h> - Cleanup struct ucred; forward declarations that are unused. - Don't include <sys/kauth.h> in any header, but include it in the c files that need it.
Approved by core.
|
1.47.10.1 |
| 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
|
1.47.8.3 |
| 03-Sep-2006 |
yamt | sync with head.
|
1.47.8.2 |
| 11-Aug-2006 |
yamt | sync with head
|
1.47.8.1 |
| 24-May-2006 |
yamt | sync with head.
|
1.47.6.1 |
| 01-Jun-2006 |
kardel | Sync with head.
|
1.47.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.50.4.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.50.4.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.50.2.3 |
| 01-Feb-2007 |
ad | Sync with head.
|
1.50.2.2 |
| 12-Jan-2007 |
ad | Sync with head.
|
1.50.2.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.52.2.1 |
| 17-Feb-2007 |
tron | Apply patch (requested by chs in ticket #422): - Fix various deadlock problems with nullfs and unionfs. - Speed up path lookups by upto 25%.
|
1.54.6.3 |
| 20-Aug-2007 |
ad | Sync with HEAD.
|
1.54.6.2 |
| 15-Jul-2007 |
ad | Sync with head.
|
1.54.6.1 |
| 17-Jun-2007 |
ad | - Increase the number of thread priorities from 128 to 256. How the space is set up is to be revisited. - Implement soft interrupts as kernel threads. A generic implementation is provided, with hooks for fast-path MD code that can run the interrupt threads over the top of other threads executing in the kernel. - Split vnode::v_flag into three fields, depending on how the flag is locked (by the interlock, by the vnode lock, by the file system). - Miscellaneous locking fixes and improvements.
|
1.56.2.1 |
| 15-Aug-2007 |
skrll | Sync with HEAD.
|
1.58.8.2 |
| 31-Jul-2007 |
pooka | * nuke the nameidata parameter from VFS_MOUNT(). Nobody on tech-kern knew what it was supposed to be used for and wrstuden gave a go-ahead * while rototilling, convert file systems which went easily to use VFS_PROTOS() instead of manually prototyping the methods
|
1.58.8.1 |
| 31-Jul-2007 |
pooka | file coda_vfsops.c was added on branch matt-mips64 on 2007-07-31 21:14:20 +0000
|
1.58.6.1 |
| 14-Oct-2007 |
yamt | sync with head.
|
1.58.4.3 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.58.4.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.58.4.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.58.2.4 |
| 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
1.58.2.3 |
| 03-Dec-2007 |
joerg | Sync with HEAD.
|
1.58.2.2 |
| 27-Nov-2007 |
joerg | Sync with HEAD. amd64 Xen support needs testing.
|
1.58.2.1 |
| 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
1.59.4.3 |
| 18-Feb-2008 |
mjf | Sync with HEAD.
|
1.59.4.2 |
| 27-Dec-2007 |
mjf | Sync with HEAD.
|
1.59.4.1 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
1.61.2.1 |
| 26-Dec-2007 |
ad | Sync with head.
|
1.62.4.1 |
| 19-Jan-2008 |
bouyer | Sync with HEAD
|
1.64.10.3 |
| 18-Jul-2009 |
yamt | sync with head.
|
1.64.10.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.64.10.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.64.8.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.64.6.2 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.64.6.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.65.2.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.66.22.1 |
| 28-Apr-2014 |
sborrill | Pull up the following revisions(s) (requested by maxv in ticket #1901): sys/kern/vfs_syscalls.c: revision 1.478, 1.480 via patch sys/coda/coda_vfsops.c: revision 1.81 sys/fs/adosfs/advfsops.c: revision 1.70 sys/fs/cd9660/cd9660_vfsops.c: revision 1.84 sys/fs/efs/efs_vfsops.c: revision 1.25 sys/fs/filecorefs/filecore_vfsops.c: revision 1.76 sys/fs/hfs/hfs_vfsops.c: revision 1.31 sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107 sys/fs/ntfs/ntfs_vfsops.c: revision 1.94 sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 via patch sys/fs/puffs/puffs_vfsops.c: revision 1.110 via patch sys/fs/smbfs/smbfs_vfsops.c: revision 1.100 sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43 sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 via patch sys/fs/udf/udf_vfsops.c: revision 1.67 sys/fs/union/union_vfsops.c: revision 1.72 sys/fs/unionfs/unionfs_vfsops.c: revision 1.13 sys/kern/vfs_syscalls.c: revision 1.479 sys/miscfs/nullfs/null_vfsops.c: revision 1.88 via patch sys/miscfs/overlay/overlay_vfsops.c: revision 1.61 sys/miscfs/procfs/procfs_vfsops.c: revision 1.91 sys/miscfs/umapfs/umap_vfsops.c: revision 1.92 sys/nfs/nfs_vfsops.c: revision 1.227 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180 sys/ufs/ffs/ffs_vfsops.c: revision 1.297 sys/ufs/lfs/lfs_vfsops.c: revision 1.321 sys/ufs/mfs/mfs_vfsops.c: revision 1.107
Due to missing checks in the mount syscall, and a wrong assumption on the file systems side, the kernel could allocate an unbounded or zero-sized memory buffer, and could dereference a NULL pointer when particular arguments are given by a user.
|
1.66.18.1 |
| 28-Apr-2014 |
sborrill | Pull up the following revisions(s) (requested by maxv in ticket #1901): sys/kern/vfs_syscalls.c: revision 1.478, 1.480 via patch sys/coda/coda_vfsops.c: revision 1.81 sys/fs/adosfs/advfsops.c: revision 1.70 sys/fs/cd9660/cd9660_vfsops.c: revision 1.84 sys/fs/efs/efs_vfsops.c: revision 1.25 sys/fs/filecorefs/filecore_vfsops.c: revision 1.76 sys/fs/hfs/hfs_vfsops.c: revision 1.31 sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107 sys/fs/ntfs/ntfs_vfsops.c: revision 1.94 sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 via patch sys/fs/puffs/puffs_vfsops.c: revision 1.110 via patch sys/fs/smbfs/smbfs_vfsops.c: revision 1.100 sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43 sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 via patch sys/fs/udf/udf_vfsops.c: revision 1.67 sys/fs/union/union_vfsops.c: revision 1.72 sys/fs/unionfs/unionfs_vfsops.c: revision 1.13 sys/kern/vfs_syscalls.c: revision 1.479 sys/miscfs/nullfs/null_vfsops.c: revision 1.88 via patch sys/miscfs/overlay/overlay_vfsops.c: revision 1.61 sys/miscfs/procfs/procfs_vfsops.c: revision 1.91 sys/miscfs/umapfs/umap_vfsops.c: revision 1.92 sys/nfs/nfs_vfsops.c: revision 1.227 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180 sys/ufs/ffs/ffs_vfsops.c: revision 1.297 sys/ufs/lfs/lfs_vfsops.c: revision 1.321 sys/ufs/mfs/mfs_vfsops.c: revision 1.107
Due to missing checks in the mount syscall, and a wrong assumption on the file systems side, the kernel could allocate an unbounded or zero-sized memory buffer, and could dereference a NULL pointer when particular arguments are given by a user.
|
1.66.10.3 |
| 30-Dec-2008 |
christos | sync with head.
|
1.66.10.2 |
| 09-Nov-2008 |
christos | account for major and minor being unsigned long long
|
1.66.10.1 |
| 10-May-2008 |
christos | file coda_vfsops.c was added on branch christos-time_t on 2008-11-09 01:58:50 +0000
|
1.66.8.1 |
| 25-Apr-2014 |
sborrill | Pull up the following revisions(s) (requested by maxv in ticket #1901): sys/kern/vfs_syscalls.c: revision 1.478, 1.480 via patch sys/coda/coda_vfsops.c: revision 1.81 sys/fs/adosfs/advfsops.c: revision 1.70 sys/fs/cd9660/cd9660_vfsops.c: revision 1.84 sys/fs/efs/efs_vfsops.c: revision 1.25 sys/fs/filecorefs/filecore_vfsops.c: revision 1.76 sys/fs/hfs/hfs_vfsops.c: revision 1.31 sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107 sys/fs/ntfs/ntfs_vfsops.c: revision 1.94 sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 via patch sys/fs/puffs/puffs_vfsops.c: revision 1.110 via patch sys/fs/smbfs/smbfs_vfsops.c: revision 1.100 sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43 sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 via patch sys/fs/udf/udf_vfsops.c: revision 1.67 sys/fs/union/union_vfsops.c: revision 1.72 sys/fs/unionfs/unionfs_vfsops.c: revision 1.13 sys/kern/vfs_syscalls.c: revision 1.479 sys/miscfs/nullfs/null_vfsops.c: revision 1.88 via patch sys/miscfs/overlay/overlay_vfsops.c: revision 1.61 sys/miscfs/procfs/procfs_vfsops.c: revision 1.91 sys/miscfs/umapfs/umap_vfsops.c: revision 1.92 sys/nfs/nfs_vfsops.c: revision 1.227 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180 sys/ufs/ffs/ffs_vfsops.c: revision 1.297 sys/ufs/lfs/lfs_vfsops.c: revision 1.321 sys/ufs/mfs/mfs_vfsops.c: revision 1.107
Due to missing checks in the mount syscall, and a wrong assumption on the file systems side, the kernel could allocate an unbounded or zero-sized memory buffer, and could dereference a NULL pointer when particular arguments are given by a user.
|
1.66.6.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.68.2.1 |
| 23-Jul-2009 |
jym | Sync with HEAD.
|
1.70.14.1 |
| 21-Apr-2014 |
bouyer | Pull up following revision(s) (requested by maxv in ticket #1050): sys/ufs/chfs/chfs_vfsops.c: revision 1.11 sys/fs/unionfs/unionfs_vfsops.c: revision 1.13 sys/fs/nilfs/nilfs_vfsops.c: revision 1.16 sys/ufs/mfs/mfs_vfsops.c: revision 1.107 sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43 sys/ufs/ffs/ffs_vfsops.c: revision 1.297 sys/kern/vfs_syscalls.c: revision 1.478 sys/kern/vfs_syscalls.c: revision 1.479 sys/fs/puffs/puffs_vfsops.c: revision 1.110 sys/fs/cd9660/cd9660_vfsops.c: revision 1.84 sys/nfs/nfs_vfsops.c: revision 1.227 sys/fs/v7fs/v7fs_vfsops.c: revision 1.10 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180 sys/miscfs/umapfs/umap_vfsops.c: revision 1.92 sys/fs/filecorefs/filecore_vfsops.c: revision 1.76 sys/miscfs/nullfs/null_vfsops.c: revision 1.88 sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 sys/coda/coda_vfsops.c: revision 1.81 sys/ufs/lfs/lfs_vfsops.c: revision 1.321 sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 sys/fs/hfs/hfs_vfsops.c: revision 1.31 sys/miscfs/overlay/overlay_vfsops.c: revision 1.61 sys/fs/union/union_vfsops.c: revision 1.72 sys/fs/ntfs/ntfs_vfsops.c: revision 1.94 sys/kern/vfs_syscalls.c: revision 1.480 sys/fs/efs/efs_vfsops.c: revision 1.25 sys/kern/vfs_syscalls.c: revision 1.482 sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.12 sys/miscfs/procfs/procfs_vfsops.c: revision 1.91 sys/fs/smbfs/smbfs_vfsops.c: revision 1.100 sys/fs/adosfs/advfsops.c: revision 1.70 sys/fs/udf/udf_vfsops.c: revision 1.67 Limit check for 'data_len'. Otherwise a (un)privileged user can easily panic the system by passing a huge size. ok christos@ An (un)privileged user can easily make the kernel dereference a NULL pointer. The kernel allows 'data' to be NULL; it's the fs's responsibility to ensure that it isn't NULL (if the fs actually needs data). ok christos@ Some fs's - like kernfs - set their vfs_min_mount_data to zero. Add a check to prevent an (un)privileged user from requesting a zero-sized allocation (and thus a panic). This thing is totally buggy: 'data_len' is modified by the fs, so calling kmem_free with it while its value has changed since the kmem_alloc is far from being a good idea. If the kernel figures out that something mismatches, it will panic (typically with kernfs).
|
1.70.12.1 |
| 21-Apr-2014 |
bouyer | Pull up following revision(s) (requested by maxv in ticket #1050): sys/ufs/chfs/chfs_vfsops.c: revision 1.11 sys/fs/unionfs/unionfs_vfsops.c: revision 1.13 sys/fs/nilfs/nilfs_vfsops.c: revision 1.16 sys/ufs/mfs/mfs_vfsops.c: revision 1.107 sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43 sys/ufs/ffs/ffs_vfsops.c: revision 1.297 sys/kern/vfs_syscalls.c: revision 1.478 sys/kern/vfs_syscalls.c: revision 1.479 sys/fs/puffs/puffs_vfsops.c: revision 1.110 sys/fs/cd9660/cd9660_vfsops.c: revision 1.84 sys/nfs/nfs_vfsops.c: revision 1.227 sys/fs/v7fs/v7fs_vfsops.c: revision 1.10 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180 sys/miscfs/umapfs/umap_vfsops.c: revision 1.92 sys/fs/filecorefs/filecore_vfsops.c: revision 1.76 sys/miscfs/nullfs/null_vfsops.c: revision 1.88 sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 sys/coda/coda_vfsops.c: revision 1.81 sys/ufs/lfs/lfs_vfsops.c: revision 1.321 sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 sys/fs/hfs/hfs_vfsops.c: revision 1.31 sys/miscfs/overlay/overlay_vfsops.c: revision 1.61 sys/fs/union/union_vfsops.c: revision 1.72 sys/fs/ntfs/ntfs_vfsops.c: revision 1.94 sys/kern/vfs_syscalls.c: revision 1.480 sys/fs/efs/efs_vfsops.c: revision 1.25 sys/kern/vfs_syscalls.c: revision 1.482 sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.12 sys/miscfs/procfs/procfs_vfsops.c: revision 1.91 sys/fs/smbfs/smbfs_vfsops.c: revision 1.100 sys/fs/adosfs/advfsops.c: revision 1.70 sys/fs/udf/udf_vfsops.c: revision 1.67 Limit check for 'data_len'. Otherwise a (un)privileged user can easily panic the system by passing a huge size. ok christos@ An (un)privileged user can easily make the kernel dereference a NULL pointer. The kernel allows 'data' to be NULL; it's the fs's responsibility to ensure that it isn't NULL (if the fs actually needs data). ok christos@ Some fs's - like kernfs - set their vfs_min_mount_data to zero. Add a check to prevent an (un)privileged user from requesting a zero-sized allocation (and thus a panic). This thing is totally buggy: 'data_len' is modified by the fs, so calling kmem_free with it while its value has changed since the kmem_alloc is far from being a good idea. If the kernel figures out that something mismatches, it will panic (typically with kernfs).
|
1.70.8.1 |
| 21-Apr-2014 |
bouyer | Pull up following revision(s) (requested by maxv in ticket #1050): sys/ufs/chfs/chfs_vfsops.c: revision 1.11 sys/fs/unionfs/unionfs_vfsops.c: revision 1.13 sys/fs/nilfs/nilfs_vfsops.c: revision 1.16 sys/ufs/mfs/mfs_vfsops.c: revision 1.107 sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43 sys/ufs/ffs/ffs_vfsops.c: revision 1.297 sys/kern/vfs_syscalls.c: revision 1.478 sys/kern/vfs_syscalls.c: revision 1.479 sys/fs/puffs/puffs_vfsops.c: revision 1.110 sys/fs/cd9660/cd9660_vfsops.c: revision 1.84 sys/nfs/nfs_vfsops.c: revision 1.227 sys/fs/v7fs/v7fs_vfsops.c: revision 1.10 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180 sys/miscfs/umapfs/umap_vfsops.c: revision 1.92 sys/fs/filecorefs/filecore_vfsops.c: revision 1.76 sys/miscfs/nullfs/null_vfsops.c: revision 1.88 sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50 sys/coda/coda_vfsops.c: revision 1.81 sys/ufs/lfs/lfs_vfsops.c: revision 1.321 sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59 sys/fs/hfs/hfs_vfsops.c: revision 1.31 sys/miscfs/overlay/overlay_vfsops.c: revision 1.61 sys/fs/union/union_vfsops.c: revision 1.72 sys/fs/ntfs/ntfs_vfsops.c: revision 1.94 sys/kern/vfs_syscalls.c: revision 1.480 sys/fs/efs/efs_vfsops.c: revision 1.25 sys/kern/vfs_syscalls.c: revision 1.482 sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107 external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.12 sys/miscfs/procfs/procfs_vfsops.c: revision 1.91 sys/fs/smbfs/smbfs_vfsops.c: revision 1.100 sys/fs/adosfs/advfsops.c: revision 1.70 sys/fs/udf/udf_vfsops.c: revision 1.67 Limit check for 'data_len'. Otherwise a (un)privileged user can easily panic the system by passing a huge size. ok christos@ An (un)privileged user can easily make the kernel dereference a NULL pointer. The kernel allows 'data' to be NULL; it's the fs's responsibility to ensure that it isn't NULL (if the fs actually needs data). ok christos@ Some fs's - like kernfs - set their vfs_min_mount_data to zero. Add a check to prevent an (un)privileged user from requesting a zero-sized allocation (and thus a panic). This thing is totally buggy: 'data_len' is modified by the fs, so calling kmem_free with it while its value has changed since the kmem_alloc is far from being a good idea. If the kernel figures out that something mismatches, it will panic (typically with kernfs).
|
1.70.6.2 |
| 02-Jun-2012 |
mrg | sync to latest -current.
|
1.70.6.1 |
| 29-Apr-2012 |
mrg | sync to latest -current.
|
1.70.2.3 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.70.2.2 |
| 30-Oct-2012 |
yamt | sync with head
|
1.70.2.1 |
| 23-May-2012 |
yamt | sync with head.
|
1.74.4.1 |
| 18-May-2014 |
rmind | sync with head
|
1.74.2.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.74.2.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.80.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|
1.81.4.2 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.81.4.1 |
| 06-Apr-2015 |
skrll | Sync with HEAD
|
1.84.4.1 |
| 21-Apr-2017 |
bouyer | Sync with HEAD
|
1.84.2.3 |
| 26-Apr-2017 |
pgoyette | Sync with HEAD
|
1.84.2.2 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.84.2.1 |
| 20-Jul-2016 |
pgoyette | Adapt machine-independant code to the new {b,c}devsw reference-counting (using localcount(9)). All callers of {b,c}devsw_lookup() now call {b,c}devsw_lookup_acquire() which retains a reference on the 'struct {b,c}devsw'. This reference must be released by the caller once it is finished with the structure's content (or other data that would disappear if the 'struct {b,c}devsw' were to disappear).
|
1.86.20.1 |
| 17-Jan-2020 |
ad | Sync with head.
|
1.86.14.1 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.86.4.1 |
| 27-Apr-2017 |
pgoyette | Restore all work from the former pgoyette-localcount branch (which is now abandoned doe to cvs merge botch).
The branch now builds, and installs via anita. There are still some problems (cgd is non-functional and all atf tests time-out) but they will get resolved soon.
|
1.87.6.1 |
| 14-Dec-2020 |
thorpej | Sync w/ HEAD.
|