| History log of /src/sys/fs/cd9660 |
| Revision | Date | Author | Comments |
| 1.1 | 23-Dec-2002 |
jdolecek | branches: 1.1.2; move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
|
| 1.1.2.2 | 29-Dec-2002 |
thorpej | With with HEAD.
|
| 1.1.2.1 | 23-Dec-2002 |
thorpej | file Makefile was added on branch nathanw_sa on 2002-12-29 19:55:30 +0000
|
| 1.4 | 17-May-2015 |
pooka | update: runs as a userspace process now.
|
| 1.3 | 11-Dec-2005 |
christos | branches: 1.3.120; 1.3.140; merge ktrace-lwp.
|
| 1.2 | 26-Feb-2005 |
perry | nuke trailing whitespace
|
| 1.1 | 23-Dec-2002 |
jdolecek | branches: 1.1.2; 1.1.4; 1.1.12; 1.1.14; move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
|
| 1.1.14.1 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.1.12.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.1.4.1 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.1.2.2 | 29-Dec-2002 |
thorpej | With with HEAD.
|
| 1.1.2.1 | 23-Dec-2002 |
thorpej | file TODO was added on branch nathanw_sa on 2002-12-29 19:55:31 +0000
|
| 1.3.140.1 | 06-Jun-2015 |
skrll | Sync with HEAD
|
| 1.3.120.1 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.3 | 17-May-2015 |
pooka | Remove. For example, vfs_cluster hasn't existed since early UBC days (which were 10+ years ago).
|
| 1.2 | 06-Jan-2003 |
wiz | branches: 1.2.150; 1.2.170; through, not throught.
|
| 1.1 | 23-Dec-2002 |
jdolecek | branches: 1.1.2; move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
|
| 1.1.2.3 | 07-Jan-2003 |
thorpej | Sync with HEAD.
|
| 1.1.2.2 | 29-Dec-2002 |
thorpej | With with HEAD.
|
| 1.1.2.1 | 23-Dec-2002 |
thorpej | file TODO.hibler was added on branch nathanw_sa on 2002-12-29 19:55:32 +0000
|
| 1.2.170.1 | 06-Jun-2015 |
skrll | Sync with HEAD
|
| 1.2.150.1 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.5 | 14-Jun-2014 |
hannken | Remove the hints "isodir" and "relocated" from cd9660_vget_internal() and always reread the directory entry by inumber. For directories the directory entry is always its "." entry.
Always read directories via the device vnode to prevent buffer cache inconsistency. Keep i_devvp as a hint for fstat(1) and friends and always use im_devvp for reads. No need to vref()/vrele() i_devvp.
The additional bread is either cached because cd9660_lookup() just released the buffer or will be used in the near future when the directory gets traversed during lookup.
No objections on tech-kern@
|
| 1.4 | 27-Feb-2008 |
matt | branches: 1.4.48; 1.4.64; Convert to ansi definitions from old-style definitons.
|
| 1.3 | 11-Dec-2005 |
christos | branches: 1.3.46; 1.3.66; 1.3.70; merge ktrace-lwp.
|
| 1.2 | 07-Aug-2003 |
agc | branches: 1.2.16; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.1 | 23-Dec-2002 |
jdolecek | branches: 1.1.2; 1.1.4; move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
|
| 1.1.4.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.1.4.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.1.4.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.1.2.2 | 29-Dec-2002 |
thorpej | With with HEAD.
|
| 1.1.2.1 | 23-Dec-2002 |
thorpej | file cd9660_bmap.c was added on branch nathanw_sa on 2002-12-29 19:55:33 +0000
|
| 1.2.16.1 | 17-Mar-2008 |
yamt | sync with head.
|
| 1.3.70.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.3.66.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.3.46.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.4.64.1 | 10-Aug-2014 |
tls | Rebase.
|
| 1.4.48.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.29 | 19-May-2024 |
tsutsui | Make cd9660_util.c usable in userland tools like installboot(8).
This was partially done for src/distrib/cdrom/macppc_installboot, but more strict prototypes are necessary for native binary builds.
|
| 1.28 | 02-Feb-2024 |
christos | PR/57897: Ricardo Branco: Add support for mount options mask,dirmask,uid,gid
|
| 1.27 | 22-Aug-2018 |
msaitoh | branches: 1.27.30; - Cleanup for dynamic sysctl: - Remove unused *_NAMES macros for sysctl. - Remove unused *_MAXID for sysctls. - Move CTL_MACHDEP sysctl definitions for m68k into m68k/include/cpu.h and use them on all m68k machines.
|
| 1.26 | 23-Jun-2013 |
dholland | branches: 1.26.32; 1.26.34; Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of the following symbols so as to disambiguate fully. (Christos already did the lfs ones.)
lblkno lblktosize lfragtosize numfrags blkroundup fragroundup
|
| 1.25 | 19-Jun-2013 |
dholland | blkoff() -> cd9660_blkoff() blksize() -> cd9660_blksize()
|
| 1.24 | 28-Jun-2008 |
rumble | branches: 1.24.30; 1.24.40; Create sysctl entries during module initialisation and destroy them appropriately.
Many of these file systems are now ready for modularisation.
|
| 1.23 | 27-Feb-2008 |
matt | branches: 1.23.4; 1.23.6; 1.23.8; Convert to ansi definitions from old-style definitons.
|
| 1.22 | 31-Jul-2007 |
pooka | branches: 1.22.4; 1.22.20; 1.22.24; 1.22.26; * 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.21 | 12-Jul-2007 |
dsl | branches: 1.21.2; Change the VFS_MOUNT() interface so that the 'data' buffer passed to the fs code is a kernel buffer, pass though the length of the buffer as well. Since the length of the userspace buffer isn'it (yet) passed through the mount system call, add a field to the vfsops structure containing the default length. Split sys_mount() for calls from compat code. Ride one of the recent kernel version changes - old fs LKMs will load, but sys_mount() will reject any attempt to use them.
|
| 1.20 | 13-Jul-2006 |
martin | branches: 1.20.14; Fix alignement problems for fhandle_t, exposed by gcc4.1.
While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ, version the getfh(2) syscall and explicitly pass the size available in the filehandle from userland.
Discussed on tech-kern, with lots of help from yamt (thanks!).
|
| 1.19 | 14-May-2006 |
elad | branches: 1.19.4; integrate kauth.
|
| 1.18 | 11-Dec-2005 |
christos | branches: 1.18.4; 1.18.6; 1.18.8; 1.18.10; 1.18.12; merge ktrace-lwp.
|
| 1.17 | 03-Dec-2005 |
christos | protect against multiple inclusion instead of forbidding their access from userland, and #ifdef _KERNEL all their kernel functions.
|
| 1.16 | 03-Dec-2005 |
christos | - protect userland exported files against multiple inclusion. - make sure that kernel only files don't compile in userland using #error - XXX: some kernel only files still get installed. - XXX: some files used in userland, don't get installed.
|
| 1.15 | 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.14 | 30-Aug-2005 |
xtraeme | Remove __P()
|
| 1.13 | 26-Feb-2005 |
perry | branches: 1.13.4; nuke trailing whitespace
|
| 1.12 | 28-Dec-2004 |
jdolecek | branches: 1.12.2; 1.12.4; size_t police
pointed out by Jesse Off on source-changes@
|
| 1.11 | 21-Nov-2004 |
jdolecek | when Joliet extension is in use, encode the Joliet Unicode file names into UTF-8, rather than filtering them to ISO-8859-1 subset
provide vfs.cd9660.utf8_joliet sysctl to switch to the former iso-8859-1-only handling, default is to UTF-8 encode
|
| 1.10 | 20-May-2004 |
atatat | Tweak sysctl setup functions (the macros, actually) for use in lkms, and tweak lkminit_*.c (where applicable) to call them, and to call sysctl_teardown() when being unloaded.
This consists of (1) making setup functions not be static when being compiled as lkms (change to sys/sysctl.h), (2) making prototypes visible for the various setup functions in header files (changes to various header files), and (3) making simple "load" and "unload" functions in the actual lkminit stuff.
linux_sysctl.c also needs its root exposed (ie, made not static) for this (when built as an lkm).
|
| 1.9 | 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.8 | 21-Apr-2004 |
christos | Replace the statfs() family of system calls with statvfs(). Retain binary compatibility.
|
| 1.7 | 04-Dec-2003 |
atatat | branches: 1.7.2; 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.6 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.5 | 29-Jun-2003 |
fvdl | branches: 1.5.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
| 1.4 | 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.3 | 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.2 | 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.1 | 23-Dec-2002 |
jdolecek | branches: 1.1.2; move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
|
| 1.1.2.2 | 29-Dec-2002 |
thorpej | With with HEAD.
|
| 1.1.2.1 | 23-Dec-2002 |
thorpej | file cd9660_extern.h was added on branch nathanw_sa on 2002-12-29 19:55:35 +0000
|
| 1.5.2.10 | 11-Dec-2005 |
christos | Sync with head.
|
| 1.5.2.9 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.5.2.8 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.5.2.7 | 17-Jan-2005 |
skrll | Sync with HEAD.
|
| 1.5.2.6 | 29-Nov-2004 |
skrll | Sync with HEAD.
|
| 1.5.2.5 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.5.2.4 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.5.2.3 | 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.5.2.2 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.5.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.7.2.1 | 23-May-2004 |
tron | Pull up revision 1.10 (requested by atatat in ticket #374): Tweak sysctl setup functions (the macros, actually) for use in lkms, and tweak lkminit_*.c (where applicable) to call them, and to call sysctl_teardown() when being unloaded. This consists of (1) making setup functions not be static when being compiled as lkms (change to sys/sysctl.h), (2) making prototypes visible for the various setup functions in header files (changes to various header files), and (3) making simple "load" and "unload" functions in the actual lkminit stuff. linux_sysctl.c also needs its root exposed (ie, made not static) for this (when built as an lkm).
|
| 1.12.4.1 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.12.2.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.13.4.4 | 17-Mar-2008 |
yamt | sync with head.
|
| 1.13.4.3 | 03-Sep-2007 |
yamt | sync with head.
|
| 1.13.4.2 | 30-Dec-2006 |
yamt | sync with head.
|
| 1.13.4.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.18.12.1 | 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.18.10.1 | 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
|
| 1.18.8.2 | 11-Aug-2006 |
yamt | sync with head
|
| 1.18.8.1 | 24-May-2006 |
yamt | sync with head.
|
| 1.18.6.1 | 01-Jun-2006 |
kardel | Sync with head.
|
| 1.18.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.19.4.1 | 13-Jul-2006 |
gdamore | Merge from HEAD.
|
| 1.20.14.2 | 20-Aug-2007 |
ad | Sync with HEAD.
|
| 1.20.14.1 | 15-Jul-2007 |
ad | Sync with head.
|
| 1.21.2.1 | 15-Aug-2007 |
skrll | Sync with HEAD.
|
| 1.22.26.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.22.26.1 | 31-Jul-2007 |
pooka | file cd9660_extern.h was added on branch matt-mips64 on 2007-07-31 21:14:18 +0000
|
| 1.22.24.2 | 29-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.22.24.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.22.20.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.22.4.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.23.8.1 | 03-Jul-2008 |
simonb | Sync with head.
|
| 1.23.6.1 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.23.4.1 | 04-May-2009 |
yamt | sync with head.
|
| 1.24.40.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.24.40.1 | 23-Jun-2013 |
tls | resync from head
|
| 1.24.30.1 | 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.26.34.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.26.32.1 | 06-Sep-2018 |
pgoyette | Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
|
| 1.27.30.1 | 22-Jun-2024 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #722):
sys/fs/cd9660/cd9660_util.c: revision 1.16 sys/arch/hp300/stand/common/clock.c: revision 1.14 sys/arch/hp300/stand/common/scsireg.h: revision 1.5 sys/arch/hp300/stand/common/scsireg.h: revision 1.6 sys/arch/hp300/stand/Makefile.buildboot: revision 1.38 sys/arch/hp300/include/bus.h: revision 1.23 sys/arch/hp300/stand/Makefile.buildboot: revision 1.39 sys/arch/hp300/stand/common/sd.c: revision 1.12 sys/arch/hp300/stand/common/prf.c: revision 1.6 sys/arch/hp300/stand/common/sd.c: revision 1.13 usr.sbin/installboot/installboot.8: revision 1.106 usr.sbin/installboot/Makefile: revision 1.59 sys/arch/hp300/stand/common/devopen.c: revision 1.14 usr.sbin/installboot/installboot.8: revision 1.107 sys/arch/hp300/stand/common/ite_dumb.c: revision 1.2 sys/arch/hp300/stand/common/devopen.c: revision 1.15 usr.sbin/installboot/installboot.8: revision 1.108 sys/fs/cd9660/cd9660_extern.h: revision 1.29 usr.sbin/installboot/installboot.8: revision 1.109 tools/Makefile.nbincludes: revision 1.11 (patch) sys/arch/hp300/dev/rboxreg.h: revision 1.3 sys/arch/hp300/stand/common/scsivar.h: revision 1.5 sys/arch/hp300/dev/dnkbd.c: revision 1.14 sys/arch/hp300/hp300/trap.c: revision 1.156 sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.12 sys/arch/hp300/dev/frodoreg.h: revision 1.6 sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.13 sys/arch/hp300/stand/common/ite_sti.c: revision 1.2 sys/arch/hp300/stand/common/hil.c: revision 1.15 usr.sbin/installboot/arch/hp300.c: revision 1.18 sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.14 sys/arch/hp300/dev/rbox.c: revision 1.4 usr.sbin/installboot/arch/hp300.c: revision 1.19 sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.15 sys/sys/bootblock.h: revision 1.59 sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.16 usr.sbin/installboot/installboot.h: revision 1.44 sys/arch/hp300/stand/mkboot/volhdr.h: file removal sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.17 sys/arch/hp300/dev/hpib.c: revision 1.45 usr.sbin/installboot/installboot.h: revision 1.45 usr.sbin/installboot/cd9660.c: revision 1.1 sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.18 sys/arch/hp300/dev/topcatreg.h: revision 1.3 usr.sbin/installboot/cd9660.c: revision 1.2 sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.19 sys/arch/hp300/stand/inst/inst.c: revision 1.25 sys/arch/hp300/stand/uboot/Makefile: revision 1.12 sys/arch/hp300/dev/dvbox.c: revision 1.4 sys/arch/hp300/dev/dma.c: revision 1.45 sys/arch/hp300/stand/uboot/Makefile: revision 1.13 sys/arch/hp300/stand/common/rd.c: revision 1.16 sys/arch/hp300/stand/inst/Makefile: revision 1.12 distrib/hp300/cdroms/installcd/Makefile: revision 1.4 sys/arch/hp300/stand/mkboot/volhdr.h: revision 1.6 sys/arch/hp300/stand/common/machdep.c: revision 1.16 usr.sbin/installboot/fstypes.c: revision 1.14 sys/arch/hp300/hp300/machdep.c: revision 1.238 sys/arch/hp300/include/cpu.h: revision 1.73 sys/arch/hp300/dev/diofbreg.h: revision 1.4 sys/arch/hp300/stand/common/scsi.c: revision 1.12 sys/arch/hp300/stand/common/netio.c: revision 1.19 sys/arch/hp300/stand/common/scsi.c: revision 1.13 sys/arch/hp300/dev/sti_sgc.c: revision 1.8 sys/arch/hp300/dev/rtc.c: revision 1.22 sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.20 sys/arch/hp300/stand/common/conf.h: revision 1.4 sys/arch/hp300/hp300/autoconf.c: revision 1.111 sys/arch/hp300/stand/common/conf.c: revision 1.15 sys/arch/hp300/stand/mkboot/Makefile: revision 1.12 sys/arch/hp300/stand/mkboot/Makefile: revision 1.13 sys/arch/hp300/hp300/autoconf.c: revision 1.114 sys/arch/hp300/dev/dcmreg.h: revision 1.11 sys/arch/hp300/dev/diofbvar.h: revision 1.4 sys/arch/hp300/dev/dcm.c: revision 1.91 sys/fs/cd9660/cd9660_util.c: revision 1.15 sys/arch/hp300/dev/mcclock_frodo.c: revision 1.2
TAB/space cleanup.
installboot(8): formatting improvements
Use Ar foo instead of <foo>; this is mdoc.
Other formatting tweaks. installboot(8): fix up markup
Don't overuse .Sy - when everything is highlighted, nothing is. Use .Ic for options &c to get correct PostScript output (both are bold in plain text).
Use Aq Ar inside .Pa, as both Pa and Ar are rendered as underscored text in plain text output, and the distinction is lost.
Don't set examples in bold, but give them .Pp space around - they are much easier to read this way.
Use consistent -width in FILES. document how to use installboot on netbsd/vax.
PR/57909: Jan-Benedict Glaw: Don't include (build) timestamp when doing a reproducible build fix usage string, improve error handling. add missing chunk for repro-build. fix gcc warnings. avoid stringop truncation, fix copyright string to prevent assembler warnings.
Fix build as a tool (Jan-Benedict Glaw)
Fix integer overflow of strtol(3) for "loadpoint" address on ILP32 hosts.
This strtol(3) was introduced in rev 1.12 for PR/57909 after netbsd-10, but it returns LONG_MAX (0x7FFFFFFF) for 0xFFF00000 on ILP32 hosts and the wrong loadpoint causes "NOT ENOUGH MEMORY" error by the BOOTROMs on loading uboot.lif on (at least) my 9000/360 and 9000/425t.
Misc cosmetic changes for mostly readability. - KNF and add some newlines per blocks - define and use proper bintobcd() macro - make local functions and variables static
The same uboot.lif binaries are generated.
Rename ${PROGAOUT} -> ${PROGELF} to reflect reality. Use proper signedness for the LIF file system data structures.
Ancient 4.3BSD used short and int for location, file size, file type, and addresses etc. but all of them should be unsigned.
Also rename several variables and add comments for readability. The LIF file system info can be found in "The HPDir Project" page: https://www.hp9845.net/9845/projects/hpdir/ The same uboot.lif binaries are generated.
Add a preliminary CD boot support to uboot for preparation of PR/54455. Briefly tested on mame, but not enalbed yet.
Recognize SCSI CD-ROM devices as a booted device properly.
Necessary for PR port-hp300/54455, to boot an md root root RAMDISK
kernel from CD-ROM without "WARNING: can't find match for bootdev:" prompt.
Sync with src/sys/arch/hp300/stand/mkboot/volhdr.h rev 1.6. https://mail-index.netbsd.org/source-changes/2024/05/07/msg151195.html
Use proper signedness for the LIF file system data structures. mkboot should use this MI <sys/bootblock.h> and volhdr.h should be removed soon.
Use MI <sys/bootblock.h> to refer LIF filesystem structures. This should have been done when LIF definitions were initially added to <sys/bootblock.h> for MI installboot(8).
Enable SUPPORT_CD on uboot.
Make cd9660_util.c usable in userland tools like installboot(8).
This was partially done for src/distrib/cdrom/macppc_installboot, but more strict prototypes are necessary for native binary builds.
Install cd9660 related system headers for tools installboot(8) builds.
Reorder function prototypes per source files.
Add cd9660 support to search a bootloader file in the target file system.
Also add CD boot support for hp300, using a bootloader file in cd9660 fs. This is a tool's part to close PR/54455.
HP 9000/300 machines read LIF directory entry allocated after the LIF volume header at the top of the boot disk during bootstrap, and a bootstrap file must be contiguously allocated on the disk due to limitation of the LIF specification.
Current NetBSD/hp300's bootloader is larger than ~80KB so we have to prepare a special 'boot' partition for FFS (that has only 8KB (ffsv1) or 32KB (ffsv2) spaces) disks to put such a large bootloader.
On the other hand, on ISO9660 fs all files are allocated contiguously so we can specify a bootloader file in the target ISO9660 directly in the LIF directory entry.
Note we can simply use the existing "append" option to create bootable CD ISO for hp300, but it looks some emulators (at leaset MAME) reject such non-standard ISO files, i.e. with an appended bootloader file at the end of the image.
Put a RAMDISK kernel and SYS_UBOOT into hp300 installcd to make it bootable.
This should finally close PR/54455.
Fix tools build errors on Cygwin.
Appease warnings on building tools/installboot on Cygwin.
|
| 1.33 | 08-Sep-2024 |
rillig | fix a/an grammar in obvious cases
|
| 1.32 | 06-Aug-2022 |
andvar | branches: 1.32.10; s/blity/bility/ in various words, mainly in comments.
|
| 1.31 | 04-Apr-2020 |
ad | Merge the remaining changes from the ad-namecache branch, affecting namei() and getcwd():
- push vnode locking back as far as possible. - do most lookups directly in the namecache, avoiding vnode locks & refs. - don't block new refs to vnodes across VOP_INACTIVE(). - get shared locks for VOP_LOOKUP() if the file system supports it. - correct lock types for VOP_ACCESS() / VOP_GETATTR() in a few places.
Possible future enhancements:
- make the lookups lockless. - support dotdot lookups by being lockless and inferring absence of chroot. - maybe make it work for layered file systems. - avoid vnode references at the root & cwd.
|
| 1.30 | 28-Mar-2015 |
maxv | branches: 1.30.18; 1.30.24; Remove the 'cred' argument from bread(). Remove a now unused var in ffs_snapshot.c. Update the man page accordingly.
ok hannken@
|
| 1.29 | 16-Jun-2014 |
hannken | branches: 1.29.4; Change cd9660 from hashlist to vcache.
|
| 1.28 | 14-Jun-2014 |
hannken | Remove the hints "isodir" and "relocated" from cd9660_vget_internal() and always reread the directory entry by inumber. For directories the directory entry is always its "." entry.
Always read directories via the device vnode to prevent buffer cache inconsistency. Keep i_devvp as a hint for fstat(1) and friends and always use im_devvp for reads. No need to vref()/vrele() i_devvp.
The additional bread is either cached because cd9660_lookup() just released the buffer or will be used in the near future when the directory gets traversed during lookup.
No objections on tech-kern@
|
| 1.27 | 03-Jun-2014 |
joerg | Introduce two helper functions to centralise the namecache statistics in vfs_cache.c. Use consistent locking around the per-cpu data.
|
| 1.26 | 07-Feb-2014 |
hannken | branches: 1.26.2; Change vnode operation lookup to return the resulting vnode *vpp unlocked. Change cache_lookup() to return an unlocked vnode.
Discussed on tech-kern@
Welcome to 6.99.31
|
| 1.25 | 23-Jun-2013 |
dholland | branches: 1.25.2; Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of the following symbols so as to disambiguate fully. (Christos already did the lfs ones.)
lblkno lblktosize lfragtosize numfrags blkroundup fragroundup
|
| 1.24 | 19-Jun-2013 |
dholland | blkoff() -> cd9660_blkoff() blksize() -> cd9660_blksize()
|
| 1.23 | 20-Dec-2012 |
hannken | Change bread() and breadn() to never return a buffer on error and modify all callers to not brelse() on error.
Welcome to 6.99.16
PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)
|
| 1.22 | 05-Nov-2012 |
dholland | Excise struct componentname from the namecache.
This uglifies the interface, because several operations need to be passed the namei flags and cache_lookup also needs for the time being to be passed cnp->cn_nameiop. Nonetheless, it's a net benefit.
The glop should be able to go away eventually but requires structural cleanup elsewhere first.
This change requires a kernel bump.
|
| 1.21 | 05-Nov-2012 |
dholland | Disentangle the namecache from the internals of namei.
- Move the namecache's hash computation to inside the namecache code, instead of being spread out all over the place. Remove cn_hash from struct componentname and delete all uses of it.
- It is no longer necessary (if it ever was) for cache_lookup and cache_lookup_raw to clear MAKEENTRY from cnp->cn_flags for the cases that cache_enter already checks for.
- Rearrange the interface of cache_lookup (and cache_lookup_raw) to make it somewhat simpler, to exclude certain nonexistent error conditions, and (most importantly) to make it not require write access to cnp->cn_flags.
This change requires a kernel bump.
|
| 1.20 | 22-Jul-2012 |
rmind | branches: 1.20.2; Move some the test for MAKEENTRY into the cache_enter(9). Make some variables in vfs_cache.c static, __read_mostly, etc.
No objection on tech-kern@.
|
| 1.19 | 27-Sep-2011 |
christos | branches: 1.19.2; 1.19.8; use ISO_MAXNAMLEN instead of NAME_MAX
|
| 1.18 | 24-Jun-2010 |
hannken | Clean up vnode lock operations pass 2:
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.
Welcome to 5.99.32.
Discussed on tech-kern.
|
| 1.17 | 08-Jan-2010 |
pooka | branches: 1.17.2; 1.17.4; The VATTR_NULL/VREF/VHOLD/HOLDRELE() macros lost their will to live years ago when the kernel was modified to not alter ABI based on DIAGNOSTIC, and now just call the respective function interfaces (in lowercase). Plenty of mix'n match upper/lowercase has creeped into the tree since then. Nuke the macros and convert all callsites to lowercase.
no functional change
|
| 1.16 | 16-May-2008 |
hannken | Make sure all cached buffers with valid, not yet written data have been run through copy-on-write. Call fscow_run() with valid data where possible.
The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against endless recursion.
- Add a flag B_MODIFY to bread(), breada() and breadn(). If set the caller intends to modify the buffer returned.
- Always run copy-on-write on buffers returned from ffs_balloc().
- Add new function ffs_getblk() that gets a buffer, assigns a new blkno, may clear the buffer and runs copy-on-write. Process possible errors from getblk() or fscow_run(). Part of PR kern/38664.
Welcome to 4.99.63
Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
|
| 1.15 | 27-Feb-2008 |
matt | branches: 1.15.2; 1.15.4; 1.15.6; Convert to ansi definitions from old-style definitons.
|
| 1.14 | 26-Nov-2007 |
pooka | branches: 1.14.10; 1.14.14; 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.13 | 08-Oct-2007 |
ad | branches: 1.13.4; Merge brelse() changes from the vmlocking branch.
|
| 1.12 | 09-Dec-2006 |
chs | branches: 1.12.6; 1.12.18; 1.12.20; 1.12.22; 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.11 | 14-May-2006 |
elad | branches: 1.11.8; 1.11.10; 1.11.12; integrate kauth.
|
| 1.10 | 15-Apr-2006 |
christos | Coverity CID 1135: Add KASSERT before deref.
|
| 1.9 | 11-Dec-2005 |
christos | branches: 1.9.4; 1.9.6; 1.9.8; 1.9.10; 1.9.12; merge ktrace-lwp.
|
| 1.8 | 02-Nov-2005 |
yamt | merge yamt-vop branch. remove following VOPs.
VOP_BLKATOFF VOP_VALLOC VOP_BALLOC VOP_REALLOCBLKS VOP_VFREE VOP_TRUNCATE VOP_UPDATE
|
| 1.7 | 26-Feb-2005 |
perry | branches: 1.7.4; 1.7.6; nuke trailing whitespace
|
| 1.6 | 07-Aug-2003 |
agc | branches: 1.6.8; 1.6.10; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.5 | 29-Jun-2003 |
fvdl | branches: 1.5.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
| 1.4 | 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.3 | 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.2 | 20-Jan-2003 |
simonb | Remove variable that is only assigned too but not referenced.
|
| 1.1 | 23-Dec-2002 |
jdolecek | branches: 1.1.2; move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
|
| 1.1.2.2 | 29-Dec-2002 |
thorpej | With with HEAD.
|
| 1.1.2.1 | 23-Dec-2002 |
thorpej | file cd9660_lookup.c was added on branch nathanw_sa on 2002-12-29 19:55:35 +0000
|
| 1.5.2.7 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.5.2.6 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.5.2.5 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.5.2.4 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.5.2.3 | 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.5.2.2 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.5.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.6.10.1 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.6.8.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.7.6.1 | 20-Oct-2005 |
yamt | adapt cd9660.
|
| 1.7.4.5 | 17-Mar-2008 |
yamt | sync with head.
|
| 1.7.4.4 | 07-Dec-2007 |
yamt | sync with head
|
| 1.7.4.3 | 27-Oct-2007 |
yamt | sync with head.
|
| 1.7.4.2 | 30-Dec-2006 |
yamt | sync with head.
|
| 1.7.4.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.9.12.1 | 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.9.10.3 | 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.9.10.2 | 19-Apr-2006 |
elad | sync with head.
|
| 1.9.10.1 | 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
|
| 1.9.8.1 | 24-May-2006 |
yamt | sync with head.
|
| 1.9.6.2 | 01-Jun-2006 |
kardel | Sync with head.
|
| 1.9.6.1 | 22-Apr-2006 |
simonb | Sync with head.
|
| 1.9.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.11.12.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.11.10.1 | 10-Dec-2006 |
yamt | sync with head.
|
| 1.11.8.1 | 12-Jan-2007 |
ad | Sync with head.
|
| 1.12.22.1 | 14-Oct-2007 |
yamt | sync with head.
|
| 1.12.20.3 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.12.20.2 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.12.20.1 | 06-Nov-2007 |
matt | sync with HEAD
|
| 1.12.18.2 | 27-Nov-2007 |
joerg | Sync with HEAD. amd64 Xen support needs testing.
|
| 1.12.18.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.12.6.1 | 13-May-2007 |
ad | - Pass the error number and residual count to biodone(), and let it handle setting error indicators. Prepare to eliminate B_ERROR. - Add a flag argument to brelse() to be set into the buf's flags, instead of doing it directly. Typically used to set B_INVAL. - Add a "struct cpu_info *" argument to kthread_create(), to be used to create bound threads. Change "bool mpsafe" to "int flags". - Allow exit of LWPs in the IDL state when (l != curlwp). - More locking fixes & conversion to the new API.
|
| 1.13.4.1 | 08-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.14.14.2 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.14.14.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.14.10.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.15.6.1 | 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
| 1.15.4.3 | 11-Aug-2010 |
yamt | sync with head.
|
| 1.15.4.2 | 11-Mar-2010 |
yamt | sync with head
|
| 1.15.4.1 | 04-May-2009 |
yamt | sync with head.
|
| 1.15.2.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.17.4.1 | 03-Jul-2010 |
rmind | sync with head
|
| 1.17.2.1 | 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
| 1.19.8.1 | 12-Aug-2012 |
martin | Pull up following revision(s) (requested by manu in ticket #484): sys/fs/nilfs/nilfs_vnops.c: revision 1.18 sys/ufs/ufs/ufs_lookup.c: revision 1.117 sys/nfs/nfs_vnops.c: revision 1.295 sys/ufs/chfs/chfs_vnops.c: revision 1.8 sys/ufs/ext2fs/ext2fs_lookup.c: revision 1.70 sys/fs/unionfs/unionfs_vnops.c: revision 1.6 sys/kern/vfs_cache.c: revision 1.89 sys/fs/efs/efs_vnops.c: revision 1.26 sys/fs/hfs/hfs_vnops.c: revision 1.26 sys/fs/adosfs/adlookup.c: revision 1.16 sys/fs/puffs/puffs_vnops.c: revision 1.168 sys/fs/tmpfs/tmpfs_vnops.c: revision 1.98 sys/fs/ntfs/ntfs_vnops.c: revision 1.52 sys/fs/cd9660/cd9660_lookup.c: revision 1.20 sys/fs/msdosfs/msdosfs_lookup.c: revision 1.24 sys/fs/smbfs/smbfs_vnops.c: revision 1.80 sys/fs/udf/udf_vnops.c: revision 1.72 sys/fs/filecorefs/filecore_lookup.c: revision 1.14 sys/fs/puffs/puffs_node.c: revision 1.25 Move some the test for MAKEENTRY into the cache_enter(9). Make some variables in vfs_cache.c static, __read_mostly, etc. No objection on tech-kern@.
|
| 1.19.2.4 | 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.19.2.3 | 23-Jan-2013 |
yamt | sync with head
|
| 1.19.2.2 | 16-Jan-2013 |
yamt | sync with (a bit old) head
|
| 1.19.2.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.20.2.5 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.20.2.4 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.20.2.3 | 23-Jun-2013 |
tls | resync from head
|
| 1.20.2.2 | 25-Feb-2013 |
tls | resync with head
|
| 1.20.2.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.25.2.1 | 18-May-2014 |
rmind | sync with head
|
| 1.26.2.1 | 10-Aug-2014 |
tls | Rebase.
|
| 1.29.4.1 | 06-Apr-2015 |
skrll | Sync with HEAD
|
| 1.30.24.1 | 19-Jan-2020 |
ad | Set IMNT_SHRLOOKUP and use it for the in-cache case. Need to check what more can be done with tmpfs though, it can probably do the whole lookup.
|
| 1.30.18.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.32.10.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.7 | 02-Feb-2024 |
christos | PR/57897: Ricardo Branco: Add support for mount options mask,dirmask,uid,gid
|
| 1.6 | 03-Dec-2005 |
christos | - protect userland exported files against multiple inclusion. - make sure that kernel only files don't compile in userland using #error - XXX: some kernel only files still get installed. - XXX: some files used in userland, don't get installed.
|
| 1.5 | 25-Sep-2005 |
jmmv | Follow compat naming tradition: rename compat_export_args to export_args30.
|
| 1.4 | 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.3 | 03-Oct-2003 |
yamt | branches: 1.3.16; terminate snprintb 'new' format strings correctly. (fixes overrun in mount_*)
|
| 1.2 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.1 | 23-Dec-2002 |
jdolecek | branches: 1.1.2; 1.1.4; move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
|
| 1.1.4.5 | 11-Dec-2005 |
christos | Sync with head.
|
| 1.1.4.4 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.1.4.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.1.4.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.1.4.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.1.2.2 | 29-Dec-2002 |
thorpej | With with HEAD.
|
| 1.1.2.1 | 23-Dec-2002 |
thorpej | file cd9660_mount.h was added on branch nathanw_sa on 2002-12-29 19:55:36 +0000
|
| 1.3.16.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.38 | 26-May-2017 |
riastradh | Eliminate crusty debugging sludge.
We have a mostly sane vnode lifecycle now. If this needs debugging, it should be done once at the call site of VOP_RECLAIM.
|
| 1.37 | 26-May-2017 |
riastradh | Make VOP_RECLAIM do the last unlock of the vnode.
VOP_RECLAIM naturally has exclusive access to the vnode, so having it locked on entry is not strictly necessary -- but it means if there are any final operations that must be done on the vnode, such as ffs_update, requiring exclusive access to it, we can now kassert that the vnode is locked in those operations.
We can't just have the caller release the last lock because some file systems don't use genfs_lock, and require the vnode to remain valid for VOP_UNLOCK to work, notably unionfs.
|
| 1.36 | 11-Apr-2017 |
riastradh | Make VOP_INACTIVE preserve vnode lock on return.
Discussed on tech-kern: https://mail-index.netbsd.org/tech-kern/2017/04/01/msg021751.html
Ride 7.99.68, a bumpy bus of incremental vfs improvements!
|
| 1.35 | 20-Aug-2016 |
hannken | branches: 1.35.2; Remove now obsolete operation vcache_remove().
Welcome to 7.99.36
|
| 1.34 | 10-Nov-2014 |
maxv | branches: 1.34.2; 1.34.4; Do not uselessly include <sys/malloc.h>.
|
| 1.33 | 16-Jun-2014 |
hannken | branches: 1.33.2; Change cd9660 from hashlist to vcache.
|
| 1.32 | 14-Jun-2014 |
hannken | Remove the hints "isodir" and "relocated" from cd9660_vget_internal() and always reread the directory entry by inumber. For directories the directory entry is always its "." entry.
Always read directories via the device vnode to prevent buffer cache inconsistency. Keep i_devvp as a hint for fstat(1) and friends and always use im_devvp for reads. No need to vref()/vrele() i_devvp.
The additional bread is either cached because cd9660_lookup() just released the buffer or will be used in the near future when the directory gets traversed during lookup.
No objections on tech-kern@
|
| 1.31 | 10-May-2014 |
martin | PR kern/48787: inode calculation from ISO9660 block offset might get truncated to 32bit - force the whole expression to be evaluated as ino_t. Patch from Thomas Schmitt, with minor modifications (and reworded comment).
|
| 1.30 | 27-Feb-2014 |
hannken | branches: 1.30.2; The current implementation of vn_lock() is racy. Modification of the vnode operations vector for active vnodes is unsafe because it is not known whether deadfs or the original file system will be called.
- Pass down LK_RETRY to the lock operation (hint for deadfs only).
- Change deadfs lock operation to return ENOENT if LK_RETRY is unset.
- Change all other lock operations to check for dead vnode once the vnode is locked and unlock and return ENOENT in this case.
With these changes in place vnode lock operations will never succeed after vclean() has marked the vnode as VI_XLOCK and before vclean() has changed the operations vector.
Adresses PR kern/37706 (Forced unmount of file systems is unsafe)
Discussed on tech-kern.
Welcome to 6.99.33
|
| 1.29 | 12-Jun-2011 |
rmind | branches: 1.29.2; 1.29.8; 1.29.12; 1.29.14; 1.29.16; 1.29.22; Welcome to 5.99.53! Merge rmind-uvmplock branch:
- Reorganize locking in UVM and provide extra serialisation for pmap(9). New lock order: [vmpage-owner-lock] -> pmap-lock.
- Simplify locking in some pmap(9) modules by removing P->V locking.
- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).
- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner. Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.
- Unify /dev/mem et al in MI code and provide required locking (removes kernel-lock on some ports). Also, avoid cache-aliasing issues.
Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches formed the core changes of this branch.
|
| 1.28 | 19-May-2011 |
rmind | branches: 1.28.2; Remove cache_purge(9) calls from reclamation routines in the file systems, as vclean(9) performs it for us since Lite2 merge.
|
| 1.27 | 21-Jul-2010 |
hannken | branches: 1.27.2; Make holding v_interlock mandatory for callers of vget().
Announced some time ago on tech-kern.
|
| 1.26 | 01-Jul-2010 |
hannken | Remove vlockmgr(). Generic vnode lock operations now use a rwlock located in the vnode. All LK_* flags move from sys/lock.h to sys/vnode.h. Calls to vlockmgr() in file systems get replaced with VOP_LOCK() or VOP_UNLOCK().
Welcome to 5.99.34.
Discussed on tech-kern.
|
| 1.25 | 24-Jun-2010 |
hannken | Clean up vnode lock operations pass 2:
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.
Welcome to 5.99.32.
Discussed on tech-kern.
|
| 1.24 | 05-May-2008 |
ad | branches: 1.24.10; 1.24.20; 1.24.22; 1.24.24; 1.24.28; - Convert hashinit() to use kmem_alloc(). The hash tables can be large and it's better to not have them in kmem_map. - Convert a couple of minor items along the way to kmem_alloc(). - Fix some memory leaks.
|
| 1.23 | 27-Feb-2008 |
matt | branches: 1.23.2; 1.23.4; Convert to ansi definitions from old-style definitons.
|
| 1.22 | 30-Jan-2008 |
ad | branches: 1.22.2; 1.22.6; Replace struct lock on vnodes with a simpler lock object built on krwlock_t. This is a step towards removing lockmgr and simplifying vnode locking. Discussed on tech-kern.
|
| 1.21 | 17-Jan-2008 |
ad | Fix dodgy tests of v_usecount.
|
| 1.20 | 02-Jan-2008 |
ad | Merge vmlocking2 to head.
|
| 1.19 | 08-Dec-2007 |
ad | branches: 1.19.4; Merge locking changes + fixes from the vmlocking branch.
|
| 1.18 | 26-Nov-2007 |
pooka | branches: 1.18.2; 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.17 | 08-Oct-2007 |
ad | branches: 1.17.4; Merge brelse() changes from the vmlocking branch.
|
| 1.16 | 30-Jun-2007 |
pooka | branches: 1.16.6; 1.16.8; 1.16.10; Using POOL_INIT here makes no sense, since file systems always have an init method. So get rid of it and #ifdef _LKM and just always init in the init method. Give malloc types the same treatment. Makes file systems nicer to work with in linksetless environments and fixes a few LKM discrepancies.
|
| 1.15 | 12-Mar-2007 |
ad | branches: 1.15.2; 1.15.4; Pass an ipl argument to pool_init/POOL_INIT to be used when initializing the pool's lock.
|
| 1.14 | 20-Feb-2007 |
ad | branches: 1.14.4; Call genfs_node_destroy() where appropriate.
|
| 1.13 | 11-Dec-2005 |
christos | branches: 1.13.26; merge ktrace-lwp.
|
| 1.12 | 02-Nov-2005 |
yamt | merge yamt-vop branch. remove following VOPs.
VOP_BLKATOFF VOP_VALLOC VOP_BALLOC VOP_REALLOCBLKS VOP_VFREE VOP_TRUNCATE VOP_UPDATE
|
| 1.11 | 30-Aug-2005 |
xtraeme | branches: 1.11.2; Remove __P()
|
| 1.10 | 29-May-2005 |
christos | branches: 1.10.2; - rename variables to avoid shadowing. - add a few const.
|
| 1.9 | 26-Feb-2005 |
perry | nuke trailing whitespace
|
| 1.8 | 20-May-2004 |
atatat | branches: 1.8.4; 1.8.6; Explicitly call pool_init() (and pool_destroy()) when being built as an _LKM.
This adds pools to the list of things that lkms must do manually because they're set up with link sets. Not that there's anything wrong with link sets, but that we need to try harder to remember that lkms are second class citizens. Of a sort.
|
| 1.7 | 25-Apr-2004 |
simonb | Initialise (most) pools from a link set instead of explicit calls to pool_init. Untouched pools are ones that either in arch-specific code, or aren't initialiased during initial system startup.
Convert struct session, ucred and lockf to pools.
|
| 1.6 | 27-Mar-2004 |
atatat | Manually attach malloc types when being built as an lkm.
|
| 1.5 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.4 | 29-Jun-2003 |
fvdl | branches: 1.4.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
| 1.3 | 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.2 | 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.1 | 23-Dec-2002 |
jdolecek | branches: 1.1.2; move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
|
| 1.1.2.2 | 29-Dec-2002 |
thorpej | With with HEAD.
|
| 1.1.2.1 | 23-Dec-2002 |
thorpej | file cd9660_node.c was added on branch nathanw_sa on 2002-12-29 19:55:37 +0000
|
| 1.4.2.8 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.4.2.7 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.4.2.6 | 27-Oct-2004 |
skrll | Fix various comments that describe the argument structures
|
| 1.4.2.5 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.4.2.4 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.4.2.3 | 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.4.2.2 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.4.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.8.6.1 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.8.4.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.10.2.8 | 17-Mar-2008 |
yamt | sync with head.
|
| 1.10.2.7 | 04-Feb-2008 |
yamt | sync with head.
|
| 1.10.2.6 | 21-Jan-2008 |
yamt | sync with head
|
| 1.10.2.5 | 07-Dec-2007 |
yamt | sync with head
|
| 1.10.2.4 | 27-Oct-2007 |
yamt | sync with head.
|
| 1.10.2.3 | 03-Sep-2007 |
yamt | sync with head.
|
| 1.10.2.2 | 26-Feb-2007 |
yamt | sync with head.
|
| 1.10.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.11.2.1 | 20-Oct-2005 |
yamt | adapt cd9660.
|
| 1.13.26.2 | 24-Mar-2007 |
yamt | sync with head.
|
| 1.13.26.1 | 27-Feb-2007 |
yamt | - sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
|
| 1.14.4.8 | 24-Oct-2007 |
ad | cd9660_done: destroy locks.
|
| 1.14.4.7 | 24-Oct-2007 |
ad | - Kill ISODEVMAP. - Mark cd9660 MPSAFE.
|
| 1.14.4.6 | 24-Oct-2007 |
ad | - Fix a race in cd9660_vget(). - simplelock -> mutex.
|
| 1.14.4.5 | 16-Sep-2007 |
ad | Checkpoint work in progress on the vnode lifecycle and reference counting stuff. This makes it work properly without kernel_lock and fixes a few quite old bugs. See vfs_subr.c 1.283.2.17 for details.
|
| 1.14.4.4 | 15-Jul-2007 |
ad | Sync with head.
|
| 1.14.4.3 | 13-May-2007 |
ad | - Pass the error number and residual count to biodone(), and let it handle setting error indicators. Prepare to eliminate B_ERROR. - Add a flag argument to brelse() to be set into the buf's flags, instead of doing it directly. Typically used to set B_INVAL. - Add a "struct cpu_info *" argument to kthread_create(), to be used to create bound threads. Change "bool mpsafe" to "int flags". - Allow exit of LWPs in the IDL state when (l != curlwp). - More locking fixes & conversion to the new API.
|
| 1.14.4.2 | 13-Mar-2007 |
ad | Pull in the initial set of changes for the vmlocking branch.
|
| 1.14.4.1 | 13-Mar-2007 |
ad | Sync with head.
|
| 1.15.4.1 | 09-Dec-2007 |
reinoud | Pullup to HEAD
|
| 1.15.2.1 | 11-Jul-2007 |
mjf | Sync with head.
|
| 1.16.10.1 | 14-Oct-2007 |
yamt | sync with head.
|
| 1.16.8.3 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.16.8.2 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.16.8.1 | 06-Nov-2007 |
matt | sync with HEAD
|
| 1.16.6.3 | 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
| 1.16.6.2 | 27-Nov-2007 |
joerg | Sync with HEAD. amd64 Xen support needs testing.
|
| 1.16.6.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.17.4.3 | 18-Feb-2008 |
mjf | Sync with HEAD.
|
| 1.17.4.2 | 27-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.17.4.1 | 08-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.18.2.2 | 08-Dec-2007 |
ad | Sync with head.
|
| 1.18.2.1 | 04-Dec-2007 |
ad | Pull the vmlocking changes into a new branch.
|
| 1.19.4.2 | 19-Jan-2008 |
bouyer | Sync with HEAD
|
| 1.19.4.1 | 02-Jan-2008 |
bouyer | Sync with HEAD
|
| 1.22.6.2 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.22.6.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.22.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.23.4.2 | 11-Aug-2010 |
yamt | sync with head.
|
| 1.23.4.1 | 16-May-2008 |
yamt | sync with head.
|
| 1.23.2.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.24.28.1 | 21-May-2014 |
bouyer | Pull up following revision(s) (requested by martin in ticket #1904): sys/fs/cd9660/cd9660_node.c: revision 1.31 PR kern/48787: inode calculation from ISO9660 block offset might get truncated to 32bit - force the whole expression to be evaluated as ino_t. Patch from Thomas Schmitt, with minor modifications (and reworded comment).
|
| 1.24.24.1 | 21-May-2014 |
bouyer | Pull up following revision(s) (requested by martin in ticket #1904): sys/fs/cd9660/cd9660_node.c: revision 1.31 PR kern/48787: inode calculation from ISO9660 block offset might get truncated to 32bit - force the whole expression to be evaluated as ino_t. Patch from Thomas Schmitt, with minor modifications (and reworded comment).
|
| 1.24.22.4 | 31-May-2011 |
rmind | sync with head
|
| 1.24.22.3 | 05-Mar-2011 |
rmind | sync with head
|
| 1.24.22.2 | 03-Jul-2010 |
rmind | sync with head
|
| 1.24.22.1 | 16-Mar-2010 |
rmind | Change struct uvm_object::vmobjlock to be dynamically allocated with mutex_obj_alloc(). It allows us to share the locks among UVM objects.
|
| 1.24.20.1 | 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
| 1.24.10.1 | 21-May-2014 |
bouyer | Pull up following revision(s) (requested by martin in ticket #1904): sys/fs/cd9660/cd9660_node.c: revision 1.31 PR kern/48787: inode calculation from ISO9660 block offset might get truncated to 32bit - force the whole expression to be evaluated as ino_t. Patch from Thomas Schmitt, with minor modifications (and reworded comment).
|
| 1.27.2.1 | 06-Jun-2011 |
jruoho | Sync with HEAD.
|
| 1.28.2.1 | 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
| 1.29.22.1 | 21-May-2014 |
bouyer | Pull up following revision(s) (requested by martin in ticket #1062): sys/fs/cd9660/cd9660_node.c: revision 1.31 PR kern/48787: inode calculation from ISO9660 block offset might get truncated to 32bit - force the whole expression to be evaluated as ino_t. Patch from Thomas Schmitt, with minor modifications (and reworded comment).
|
| 1.29.16.1 | 18-May-2014 |
rmind | sync with head
|
| 1.29.14.1 | 21-May-2014 |
bouyer | Pull up following revision(s) (requested by martin in ticket #1062): sys/fs/cd9660/cd9660_node.c: revision 1.31 PR kern/48787: inode calculation from ISO9660 block offset might get truncated to 32bit - force the whole expression to be evaluated as ino_t. Patch from Thomas Schmitt, with minor modifications (and reworded comment).
|
| 1.29.12.2 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.29.12.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.29.8.1 | 21-May-2014 |
bouyer | Pull up following revision(s) (requested by martin in ticket #1062): sys/fs/cd9660/cd9660_node.c: revision 1.31 PR kern/48787: inode calculation from ISO9660 block offset might get truncated to 32bit - force the whole expression to be evaluated as ino_t. Patch from Thomas Schmitt, with minor modifications (and reworded comment).
|
| 1.29.2.1 | 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.30.2.1 | 10-Aug-2014 |
tls | Rebase.
|
| 1.33.2.1 | 17-Jan-2015 |
martin | Pull up following revision(s) (requested by maxv in ticket #427): sys/compat/svr4/svr4_schedctl.c: revision 1.8 sys/netinet/tcp_timer.c: revision 1.88 sys/miscfs/genfs/layer_vfsops.c: revision 1.45 sys/compat/svr4/svr4_ioctl.c: revision 1.37 sys/ufs/chfs/chfs_vfsops.c: revision 1.14 sys/miscfs/fdesc/fdesc_vfsops.c: revision 1.91 sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.30 sys/compat/common/kern_time_50.c: revision 1.28 sys/netinet6/ip6_forward.c: revision 1.74 sys/miscfs/umapfs/umap_vnops.c: revision 1.57 sys/compat/svr4/svr4_fcntl.c: revision 1.74 distrib/sets/lists/comp/mi: revision 1.1931 sys/netinet6/udp6_output.c: revision 1.46 sys/fs/puffs/puffs_compat.c: revision 1.3 sys/fs/udf/udf_rename.c: revision 1.11 sys/compat/svr4/svr4_filio.c: revision 1.24 sys/fs/udf/udf_rename.c: revision 1.12 sys/netinet/tcp_usrreq.c: revision 1.202 sys/miscfs/umapfs/umap_subr.c: revision 1.29 sys/compat/linux/common/linux_fadvise64.c: revision 1.3 sys/netinet/if_atm.c: revision 1.34 sys/miscfs/procfs/procfs_subr.c: revision 1.106 sys/miscfs/genfs/layer_subr.c: revision 1.37 sys/netinet/tcp_sack.c: revision 1.30 sys/compat/freebsd/freebsd_misc.c: revision 1.33 sys/compat/freebsd/freebsd_file.c: revision 1.33 sys/ufs/chfs/chfs_vnode.c: revision 1.12 sys/compat/svr4/svr4_ttold.c: revision 1.34 sys/compat/linux/common/linux_file.c: revision 1.114 sys/compat/linux/arch/mips/linux_machdep.c: revision 1.43 sys/compat/linux/common/linux_signal.c: revision 1.76 sys/compat/common/compat_util.c: revision 1.46 sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.18 sys/compat/svr4/svr4_sockio.c: revision 1.36 sys/compat/linux/arch/arm/linux_machdep.c: revision 1.32 sys/compat/svr4/svr4_signal.c: revision 1.66 sys/kern/kern_exec.c: revision 1.410 sys/fs/puffs/puffs_vfsops.c: revision 1.115 sys/compat/svr4/svr4_exec_elf64.c: revision 1.15 sys/compat/linux/arch/i386/linux_machdep.c: revision 1.159 sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.50 sys/compat/linux32/common/linux32_misc.c: revision 1.24 sys/netinet/in_pcb.c: revision 1.153 sys/sys/malloc.h: revision 1.116 sys/compat/common/if_43.c: revision 1.9 share/man/man9/Makefile: revision 1.380 sys/netinet/tcp_vtw.c: revision 1.12 sys/miscfs/umapfs/umap_vfsops.c: revision 1.95 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.186 sys/compat/common/uipc_syscalls_43.c: revision 1.46 sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.115 sys/fs/puffs/puffs_msgif.c: revision 1.97 sys/compat/svr4/svr4_ipc.c: revision 1.27 sys/compat/linux/common/linux_exec.c: revision 1.117 sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.66 sys/netinet/tcp_output.c: revision 1.179 sys/compat/svr4/svr4_termios.c: revision 1.28 sys/fs/udf/udf_strat_bootstrap.c: revision 1.4 sys/fs/puffs/puffs_subr.c: revision 1.67 sys/fs/puffs/puffs_node.c: revision 1.36 sys/miscfs/overlay/overlay_vnops.c: revision 1.21 sys/fs/cd9660/cd9660_node.c: revision 1.34 sys/netinet/raw_ip.c: revision 1.146 sys/sys/mallocvar.h: revision 1.13 sys/miscfs/overlay/overlay_vfsops.c: revision 1.63 share/man/man9/malloc.9: revision 1.50 sys/netinet6/dest6.c: revision 1.18 sys/compat/linux/common/linux_uselib.c: revision 1.33 sys/compat/linux/common/linux_socket.c: revision 1.120 share/man/man9/malloc.9: revision 1.51 sys/netinet/tcp_subr.c: revision 1.257 sys/compat/linux/common/linux_socketcall.c: revision 1.45 sys/compat/linux/common/linux_fadvise64_64.c: revision 1.3 sys/compat/freebsd/freebsd_ipc.c: revision 1.17 sys/compat/linux/common/linux_misc_notalpha.c: revision 1.109 sys/compat/linux/arch/alpha/linux_pipe.c: revision 1.17 sys/netinet6/in6_pcb.c: revision 1.132 sys/netinet6/in6_ifattach.c: revision 1.94 sys/compat/svr4/svr4_exec_elf32.c: revision 1.15 sys/miscfs/nullfs/null_vfsops.c: revision 1.90 sys/fs/cd9660/cd9660_util.c: revision 1.12 sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.48 sys/compat/freebsd/freebsd_exec_elf32.c: revision 1.20 sys/miscfs/procfs/procfs_vfsops.c: revision 1.94 sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.28 sys/compat/linux/common/linux_sched.c: revision 1.67 sys/compat/linux/common/linux_exec_aout.c: revision 1.67 sys/compat/linux/common/linux_pipe.c: revision 1.67 sys/compat/linux/common/linux_llseek.c: revision 1.34 sys/compat/linux/arch/mips/linux_ptrace.c: revision 1.10 Do not uselessly include <sys/malloc.h>. Cleanup: - remove struct kmembuckets (dead) - correctly deadify MALLOC_XX - remove MALLOC_DEFINE_LIMIT and MALLOC_JUSTDEFINE_LIMIT (dead) - remove malloc_roundup(), malloc_type_setlimit(), MALLOC_DEFINE_LIMIT() and MALLOC_JUSTDEFINE_LIMIT() from man 9 malloc New sentence, new line. Bump date for previous. Obsolete malloc_roundup(9), malloc_type_setlimit(9) and MALLOC_DEFINE_LIMIT(9) man pages.
|
| 1.34.4.1 | 26-Apr-2017 |
pgoyette | Sync with HEAD
|
| 1.34.2.2 | 28-Aug-2017 |
skrll | Sync with HEAD
|
| 1.34.2.1 | 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.35.2.1 | 21-Apr-2017 |
bouyer | Sync with HEAD
|
| 1.18 | 27-Mar-2022 |
christos | dedup the eofs link/symlink methods
|
| 1.17 | 18-Jul-2021 |
dholland | Abolish all the silly indirection macros for initializing vnode ops tables.
These are things of the form #define foofs_op genfs_op, or #define foofs_op genfs_eopnotsupp, or similar. They serve no purpose besides obfuscation, and have gotten cutpasted all over everywhere.
|
| 1.16 | 16-Jun-2014 |
hannken | branches: 1.16.44; Change cd9660 from hashlist to vcache.
|
| 1.15 | 14-Jun-2014 |
hannken | Remove the hints "isodir" and "relocated" from cd9660_vget_internal() and always reread the directory entry by inumber. For directories the directory entry is always its "." entry.
Always read directories via the device vnode to prevent buffer cache inconsistency. Keep i_devvp as a hint for fstat(1) and friends and always use im_devvp for reads. No need to vref()/vrele() i_devvp.
The additional bread is either cached because cd9660_lookup() just released the buffer or will be used in the near future when the directory gets traversed during lookup.
No objections on tech-kern@
|
| 1.14 | 27-Feb-2008 |
matt | branches: 1.14.48; 1.14.64; Convert to ansi definitions from old-style definitons.
|
| 1.13 | 08-Dec-2007 |
ad | branches: 1.13.8; 1.13.12; Merge locking changes + fixes from the vmlocking branch.
|
| 1.12 | 03-Dec-2005 |
christos | branches: 1.12.30; 1.12.34; 1.12.44; 1.12.46; 1.12.56; protect against multiple inclusion instead of forbidding their access from userland, and #ifdef _KERNEL all their kernel functions.
|
| 1.11 | 03-Dec-2005 |
christos | - protect userland exported files against multiple inclusion. - make sure that kernel only files don't compile in userland using #error - XXX: some kernel only files still get installed. - XXX: some files used in userland, don't get installed.
|
| 1.10 | 11-Nov-2005 |
yamt | - ignore truncation for VCHR/VBLK/VFIFO as it used to be before yamt-vop merge. PR/32049 from Atsushi Onoe. - reject setattr which attempts to change size of VLNK/VSOCK.
|
| 1.9 | 02-Nov-2005 |
yamt | merge yamt-vop branch. remove following VOPs.
VOP_BLKATOFF VOP_VALLOC VOP_BALLOC VOP_REALLOCBLKS VOP_VFREE VOP_TRUNCATE VOP_UPDATE
|
| 1.8 | 30-Aug-2005 |
xtraeme | branches: 1.8.2; Remove an extra ')'
|
| 1.7 | 30-Aug-2005 |
xtraeme | Remove __P()
|
| 1.6 | 20-Jun-2004 |
dillo | branches: 1.6.12; Use unsigned long for file size and location; avoids sign extension for files >2GB. Okayed by Martin Husemann.
|
| 1.5 | 07-Aug-2003 |
agc | branches: 1.5.2; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.4 | 29-Jun-2003 |
fvdl | branches: 1.4.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
| 1.3 | 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.2 | 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.1 | 23-Dec-2002 |
jdolecek | branches: 1.1.2; move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
|
| 1.1.2.2 | 29-Dec-2002 |
thorpej | With with HEAD.
|
| 1.1.2.1 | 23-Dec-2002 |
thorpej | file cd9660_node.h was added on branch nathanw_sa on 2002-12-29 19:55:37 +0000
|
| 1.4.2.7 | 11-Dec-2005 |
christos | Sync with head.
|
| 1.4.2.6 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.4.2.5 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.4.2.4 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.4.2.3 | 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.4.2.2 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.4.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.5.2.1 | 22-Jun-2004 |
tron | Pull up revision 1.6 (requested by dillo in ticket #525): Use unsigned long for file size and location; avoids sign extension for files >2GB. Okayed by Martin Husemann.
|
| 1.6.12.3 | 17-Mar-2008 |
yamt | sync with head.
|
| 1.6.12.2 | 21-Jan-2008 |
yamt | sync with head
|
| 1.6.12.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.8.2.2 | 29-Oct-2005 |
yamt | cd9660_setattr: remove extra checks. return EOPNOTSUPP immediately. suggested by Chuck Silvers.
|
| 1.8.2.1 | 20-Oct-2005 |
yamt | adapt cd9660.
|
| 1.12.56.1 | 04-Dec-2007 |
ad | Pull the vmlocking changes into a new branch.
|
| 1.12.46.2 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.12.46.1 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.12.44.1 | 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
| 1.12.34.1 | 09-Dec-2007 |
reinoud | Pullup to HEAD
|
| 1.12.30.2 | 24-Oct-2007 |
ad | - Kill ISODEVMAP. - Mark cd9660 MPSAFE.
|
| 1.12.30.1 | 24-Oct-2007 |
ad | - Fix a race in cd9660_vget(). - simplelock -> mutex.
|
| 1.13.12.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.13.8.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.14.64.1 | 10-Aug-2014 |
tls | Rebase.
|
| 1.14.48.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.16.44.1 | 01-Aug-2021 |
thorpej | Sync with HEAD.
|
| 1.18 | 28-Mar-2015 |
maxv | Remove the 'cred' argument from bread(). Remove a now unused var in ffs_snapshot.c. Update the man page accordingly.
ok hannken@
|
| 1.17 | 27-Sep-2011 |
christos | branches: 1.17.12; 1.17.30; use ISO_MAXNAMLEN instead of NAME_MAX
|
| 1.16 | 16-May-2008 |
hannken | Make sure all cached buffers with valid, not yet written data have been run through copy-on-write. Call fscow_run() with valid data where possible.
The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against endless recursion.
- Add a flag B_MODIFY to bread(), breada() and breadn(). If set the caller intends to modify the buffer returned.
- Always run copy-on-write on buffers returned from ffs_balloc().
- Add new function ffs_getblk() that gets a buffer, assigns a new blkno, may clear the buffer and runs copy-on-write. Process possible errors from getblk() or fscow_run(). Part of PR kern/38664.
Welcome to 4.99.63
Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
|
| 1.15 | 27-Feb-2008 |
matt | branches: 1.15.2; 1.15.4; 1.15.6; Convert to ansi definitions from old-style definitons.
|
| 1.14 | 08-Oct-2007 |
ad | branches: 1.14.14; 1.14.18; Merge brelse() changes from the vmlocking branch.
|
| 1.13 | 04-Mar-2007 |
christos | branches: 1.13.2; 1.13.14; 1.13.16; 1.13.18; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
| 1.12 | 16-Nov-2006 |
christos | branches: 1.12.4; __unused removal on arguments; approved by core.
|
| 1.11 | 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
| 1.10 | 14-May-2006 |
elad | branches: 1.10.8; 1.10.10; integrate kauth.
|
| 1.9 | 11-Dec-2005 |
christos | branches: 1.9.4; 1.9.6; 1.9.8; 1.9.10; 1.9.12; merge ktrace-lwp.
|
| 1.8 | 30-Aug-2005 |
xtraeme | Remove __P()
|
| 1.7 | 29-May-2005 |
christos | branches: 1.7.2; - rename variables to avoid shadowing. - add a few const.
|
| 1.6 | 26-Feb-2005 |
perry | nuke trailing whitespace
|
| 1.5 | 21-Nov-2004 |
jdolecek | branches: 1.5.4; 1.5.6; when Joliet extension is in use, encode the Joliet Unicode file names into UTF-8, rather than filtering them to ISO-8859-1 subset
provide vfs.cd9660.utf8_joliet sysctl to switch to the former iso-8859-1-only handling, default is to UTF-8 encode
|
| 1.4 | 20-Nov-2004 |
jdolecek | whitespace cleanup
|
| 1.3 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.2 | 16-May-2003 |
itojun | branches: 1.2.2; use strlcpy. check size if we are to use namei buffer.
|
| 1.1 | 23-Dec-2002 |
jdolecek | branches: 1.1.2; move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
|
| 1.1.2.2 | 29-Dec-2002 |
thorpej | With with HEAD.
|
| 1.1.2.1 | 23-Dec-2002 |
thorpej | file cd9660_rrip.c was added on branch nathanw_sa on 2002-12-29 19:55:38 +0000
|
| 1.2.2.6 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.2.2.5 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.2.2.4 | 29-Nov-2004 |
skrll | Sync with HEAD.
|
| 1.2.2.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.2.2.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.2.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.5.6.1 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.5.4.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.7.2.5 | 17-Mar-2008 |
yamt | sync with head.
|
| 1.7.2.4 | 27-Oct-2007 |
yamt | sync with head.
|
| 1.7.2.3 | 03-Sep-2007 |
yamt | sync with head.
|
| 1.7.2.2 | 30-Dec-2006 |
yamt | sync with head.
|
| 1.7.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.9.12.1 | 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.9.10.1 | 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.9.8.1 | 24-May-2006 |
yamt | sync with head.
|
| 1.9.6.1 | 01-Jun-2006 |
kardel | Sync with head.
|
| 1.9.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.10.10.2 | 10-Dec-2006 |
yamt | sync with head.
|
| 1.10.10.1 | 22-Oct-2006 |
yamt | sync with head
|
| 1.10.8.1 | 18-Nov-2006 |
ad | Sync with head.
|
| 1.12.4.1 | 12-Mar-2007 |
rmind | Sync with HEAD.
|
| 1.13.18.1 | 14-Oct-2007 |
yamt | sync with head.
|
| 1.13.16.2 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.13.16.1 | 06-Nov-2007 |
matt | sync with HEAD
|
| 1.13.14.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.13.2.1 | 13-May-2007 |
ad | - Pass the error number and residual count to biodone(), and let it handle setting error indicators. Prepare to eliminate B_ERROR. - Add a flag argument to brelse() to be set into the buf's flags, instead of doing it directly. Typically used to set B_INVAL. - Add a "struct cpu_info *" argument to kthread_create(), to be used to create bound threads. Change "bool mpsafe" to "int flags". - Allow exit of LWPs in the IDL state when (l != curlwp). - More locking fixes & conversion to the new API.
|
| 1.14.18.2 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.14.18.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.14.14.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.15.6.1 | 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
| 1.15.4.1 | 04-May-2009 |
yamt | sync with head.
|
| 1.15.2.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.17.30.1 | 06-Apr-2015 |
skrll | Sync with HEAD
|
| 1.17.12.1 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.3 | 03-Dec-2005 |
christos | - protect userland exported files against multiple inclusion. - make sure that kernel only files don't compile in userland using #error - XXX: some kernel only files still get installed. - XXX: some files used in userland, don't get installed.
|
| 1.2 | 07-Aug-2003 |
agc | branches: 1.2.16; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.1 | 23-Dec-2002 |
jdolecek | branches: 1.1.2; 1.1.4; move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
|
| 1.1.4.4 | 11-Dec-2005 |
christos | Sync with head.
|
| 1.1.4.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.1.4.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.1.4.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.1.2.2 | 29-Dec-2002 |
thorpej | With with HEAD.
|
| 1.1.2.1 | 23-Dec-2002 |
thorpej | file cd9660_rrip.h was added on branch nathanw_sa on 2002-12-29 19:55:39 +0000
|
| 1.2.16.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.16 | 25-May-2024 |
tsutsui | Appease warnings on building tools/installboot on Cygwin.
|
| 1.15 | 19-May-2024 |
tsutsui | Make cd9660_util.c usable in userland tools like installboot(8).
This was partially done for src/distrib/cdrom/macppc_installboot, but more strict prototypes are necessary for native binary builds.
|
| 1.14 | 09-Mar-2016 |
christos | branches: 1.14.48; remove installboot.h; it is not needed
|
| 1.13 | 09-Mar-2016 |
christos | Make it usable from userland.
|
| 1.12 | 10-Nov-2014 |
maxv | branches: 1.12.2; Do not uselessly include <sys/malloc.h>.
|
| 1.11 | 01-Jun-2014 |
martin | branches: 1.11.2; PR kern/48815: do not skip ';' twice when comparing file versions. Patch from Thomas Schmitt.
|
| 1.10 | 27-Sep-2011 |
christos | branches: 1.10.8; 1.10.12; 1.10.26; define and use ISO_MAXNAMLEN instead of MAXNAMLEN
|
| 1.9 | 27-Feb-2008 |
matt | Convert to ansi definitions from old-style definitons.
|
| 1.8 | 08-Dec-2006 |
enami | branches: 1.8.20; 1.8.36; 1.8.40; The function wget() is always responsible to maintain length of component not yet compared. Otherwise pathname lookup fails on certain condition.
|
| 1.7 | 28-Aug-2006 |
christos | branches: 1.7.2; 1.7.4; correct bogus loop test; used to be always true.
|
| 1.6 | 11-Dec-2005 |
christos | branches: 1.6.4; 1.6.8; merge ktrace-lwp.
|
| 1.5 | 28-Dec-2004 |
jdolecek | branches: 1.5.10; size_t police
pointed out by Jesse Off on source-changes@
|
| 1.4 | 27-Dec-2004 |
jdolecek | change wget_utf8() to not require NUL-terminated string as input, and adjust callers appropriately. cn_nameptr isn't NUL-terminated for non-leaf components, so it's incorrect to assume it is always NUL-terminated.
This fixes previous utf8-ization changes to not panic for cases like 'echo */*/*.ps' in case the intermediate path components are not in cache (yet).
|
| 1.3 | 21-Nov-2004 |
jdolecek | when Joliet extension is in use, encode the Joliet Unicode file names into UTF-8, rather than filtering them to ISO-8859-1 subset
provide vfs.cd9660.utf8_joliet sysctl to switch to the former iso-8859-1-only handling, default is to UTF-8 encode
|
| 1.2 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.1 | 23-Dec-2002 |
jdolecek | branches: 1.1.2; 1.1.4; move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
|
| 1.1.4.5 | 17-Jan-2005 |
skrll | Sync with HEAD.
|
| 1.1.4.4 | 29-Nov-2004 |
skrll | Sync with HEAD.
|
| 1.1.4.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.1.4.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.1.4.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.1.2.2 | 29-Dec-2002 |
thorpej | With with HEAD.
|
| 1.1.2.1 | 23-Dec-2002 |
thorpej | file cd9660_util.c was added on branch nathanw_sa on 2002-12-29 19:55:40 +0000
|
| 1.5.10.2 | 17-Mar-2008 |
yamt | sync with head.
|
| 1.5.10.1 | 30-Dec-2006 |
yamt | sync with head.
|
| 1.6.8.1 | 03-Sep-2006 |
yamt | sync with head.
|
| 1.6.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.7.4.1 | 10-Dec-2006 |
yamt | sync with head.
|
| 1.7.2.1 | 12-Jan-2007 |
ad | Sync with head.
|
| 1.8.40.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.8.36.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.8.20.1 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.10.26.1 | 10-Aug-2014 |
tls | Rebase.
|
| 1.10.12.2 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.10.12.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.10.8.1 | 03-Jun-2014 |
msaitoh | Pull up following revision(s) (requested by martin in ticket #1073): sys/fs/cd9660/cd9660_util.c: revision 1.11 PR kern/48815: do not skip ';' twice when comparing file versions. Patch from Thomas Schmitt.
|
| 1.11.2.1 | 17-Jan-2015 |
martin | Pull up following revision(s) (requested by maxv in ticket #427): sys/compat/svr4/svr4_schedctl.c: revision 1.8 sys/netinet/tcp_timer.c: revision 1.88 sys/miscfs/genfs/layer_vfsops.c: revision 1.45 sys/compat/svr4/svr4_ioctl.c: revision 1.37 sys/ufs/chfs/chfs_vfsops.c: revision 1.14 sys/miscfs/fdesc/fdesc_vfsops.c: revision 1.91 sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.30 sys/compat/common/kern_time_50.c: revision 1.28 sys/netinet6/ip6_forward.c: revision 1.74 sys/miscfs/umapfs/umap_vnops.c: revision 1.57 sys/compat/svr4/svr4_fcntl.c: revision 1.74 distrib/sets/lists/comp/mi: revision 1.1931 sys/netinet6/udp6_output.c: revision 1.46 sys/fs/puffs/puffs_compat.c: revision 1.3 sys/fs/udf/udf_rename.c: revision 1.11 sys/compat/svr4/svr4_filio.c: revision 1.24 sys/fs/udf/udf_rename.c: revision 1.12 sys/netinet/tcp_usrreq.c: revision 1.202 sys/miscfs/umapfs/umap_subr.c: revision 1.29 sys/compat/linux/common/linux_fadvise64.c: revision 1.3 sys/netinet/if_atm.c: revision 1.34 sys/miscfs/procfs/procfs_subr.c: revision 1.106 sys/miscfs/genfs/layer_subr.c: revision 1.37 sys/netinet/tcp_sack.c: revision 1.30 sys/compat/freebsd/freebsd_misc.c: revision 1.33 sys/compat/freebsd/freebsd_file.c: revision 1.33 sys/ufs/chfs/chfs_vnode.c: revision 1.12 sys/compat/svr4/svr4_ttold.c: revision 1.34 sys/compat/linux/common/linux_file.c: revision 1.114 sys/compat/linux/arch/mips/linux_machdep.c: revision 1.43 sys/compat/linux/common/linux_signal.c: revision 1.76 sys/compat/common/compat_util.c: revision 1.46 sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.18 sys/compat/svr4/svr4_sockio.c: revision 1.36 sys/compat/linux/arch/arm/linux_machdep.c: revision 1.32 sys/compat/svr4/svr4_signal.c: revision 1.66 sys/kern/kern_exec.c: revision 1.410 sys/fs/puffs/puffs_vfsops.c: revision 1.115 sys/compat/svr4/svr4_exec_elf64.c: revision 1.15 sys/compat/linux/arch/i386/linux_machdep.c: revision 1.159 sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.50 sys/compat/linux32/common/linux32_misc.c: revision 1.24 sys/netinet/in_pcb.c: revision 1.153 sys/sys/malloc.h: revision 1.116 sys/compat/common/if_43.c: revision 1.9 share/man/man9/Makefile: revision 1.380 sys/netinet/tcp_vtw.c: revision 1.12 sys/miscfs/umapfs/umap_vfsops.c: revision 1.95 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.186 sys/compat/common/uipc_syscalls_43.c: revision 1.46 sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.115 sys/fs/puffs/puffs_msgif.c: revision 1.97 sys/compat/svr4/svr4_ipc.c: revision 1.27 sys/compat/linux/common/linux_exec.c: revision 1.117 sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.66 sys/netinet/tcp_output.c: revision 1.179 sys/compat/svr4/svr4_termios.c: revision 1.28 sys/fs/udf/udf_strat_bootstrap.c: revision 1.4 sys/fs/puffs/puffs_subr.c: revision 1.67 sys/fs/puffs/puffs_node.c: revision 1.36 sys/miscfs/overlay/overlay_vnops.c: revision 1.21 sys/fs/cd9660/cd9660_node.c: revision 1.34 sys/netinet/raw_ip.c: revision 1.146 sys/sys/mallocvar.h: revision 1.13 sys/miscfs/overlay/overlay_vfsops.c: revision 1.63 share/man/man9/malloc.9: revision 1.50 sys/netinet6/dest6.c: revision 1.18 sys/compat/linux/common/linux_uselib.c: revision 1.33 sys/compat/linux/common/linux_socket.c: revision 1.120 share/man/man9/malloc.9: revision 1.51 sys/netinet/tcp_subr.c: revision 1.257 sys/compat/linux/common/linux_socketcall.c: revision 1.45 sys/compat/linux/common/linux_fadvise64_64.c: revision 1.3 sys/compat/freebsd/freebsd_ipc.c: revision 1.17 sys/compat/linux/common/linux_misc_notalpha.c: revision 1.109 sys/compat/linux/arch/alpha/linux_pipe.c: revision 1.17 sys/netinet6/in6_pcb.c: revision 1.132 sys/netinet6/in6_ifattach.c: revision 1.94 sys/compat/svr4/svr4_exec_elf32.c: revision 1.15 sys/miscfs/nullfs/null_vfsops.c: revision 1.90 sys/fs/cd9660/cd9660_util.c: revision 1.12 sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.48 sys/compat/freebsd/freebsd_exec_elf32.c: revision 1.20 sys/miscfs/procfs/procfs_vfsops.c: revision 1.94 sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.28 sys/compat/linux/common/linux_sched.c: revision 1.67 sys/compat/linux/common/linux_exec_aout.c: revision 1.67 sys/compat/linux/common/linux_pipe.c: revision 1.67 sys/compat/linux/common/linux_llseek.c: revision 1.34 sys/compat/linux/arch/mips/linux_ptrace.c: revision 1.10 Do not uselessly include <sys/malloc.h>. Cleanup: - remove struct kmembuckets (dead) - correctly deadify MALLOC_XX - remove MALLOC_DEFINE_LIMIT and MALLOC_JUSTDEFINE_LIMIT (dead) - remove malloc_roundup(), malloc_type_setlimit(), MALLOC_DEFINE_LIMIT() and MALLOC_JUSTDEFINE_LIMIT() from man 9 malloc New sentence, new line. Bump date for previous. Obsolete malloc_roundup(9), malloc_type_setlimit(9) and MALLOC_DEFINE_LIMIT(9) man pages.
|
| 1.12.2.1 | 19-Mar-2016 |
skrll | Sync with HEAD
|
| 1.14.48.1 | 22-Jun-2024 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #722):
sys/fs/cd9660/cd9660_util.c: revision 1.16 sys/arch/hp300/stand/common/clock.c: revision 1.14 sys/arch/hp300/stand/common/scsireg.h: revision 1.5 sys/arch/hp300/stand/common/scsireg.h: revision 1.6 sys/arch/hp300/stand/Makefile.buildboot: revision 1.38 sys/arch/hp300/include/bus.h: revision 1.23 sys/arch/hp300/stand/Makefile.buildboot: revision 1.39 sys/arch/hp300/stand/common/sd.c: revision 1.12 sys/arch/hp300/stand/common/prf.c: revision 1.6 sys/arch/hp300/stand/common/sd.c: revision 1.13 usr.sbin/installboot/installboot.8: revision 1.106 usr.sbin/installboot/Makefile: revision 1.59 sys/arch/hp300/stand/common/devopen.c: revision 1.14 usr.sbin/installboot/installboot.8: revision 1.107 sys/arch/hp300/stand/common/ite_dumb.c: revision 1.2 sys/arch/hp300/stand/common/devopen.c: revision 1.15 usr.sbin/installboot/installboot.8: revision 1.108 sys/fs/cd9660/cd9660_extern.h: revision 1.29 usr.sbin/installboot/installboot.8: revision 1.109 tools/Makefile.nbincludes: revision 1.11 (patch) sys/arch/hp300/dev/rboxreg.h: revision 1.3 sys/arch/hp300/stand/common/scsivar.h: revision 1.5 sys/arch/hp300/dev/dnkbd.c: revision 1.14 sys/arch/hp300/hp300/trap.c: revision 1.156 sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.12 sys/arch/hp300/dev/frodoreg.h: revision 1.6 sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.13 sys/arch/hp300/stand/common/ite_sti.c: revision 1.2 sys/arch/hp300/stand/common/hil.c: revision 1.15 usr.sbin/installboot/arch/hp300.c: revision 1.18 sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.14 sys/arch/hp300/dev/rbox.c: revision 1.4 usr.sbin/installboot/arch/hp300.c: revision 1.19 sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.15 sys/sys/bootblock.h: revision 1.59 sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.16 usr.sbin/installboot/installboot.h: revision 1.44 sys/arch/hp300/stand/mkboot/volhdr.h: file removal sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.17 sys/arch/hp300/dev/hpib.c: revision 1.45 usr.sbin/installboot/installboot.h: revision 1.45 usr.sbin/installboot/cd9660.c: revision 1.1 sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.18 sys/arch/hp300/dev/topcatreg.h: revision 1.3 usr.sbin/installboot/cd9660.c: revision 1.2 sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.19 sys/arch/hp300/stand/inst/inst.c: revision 1.25 sys/arch/hp300/stand/uboot/Makefile: revision 1.12 sys/arch/hp300/dev/dvbox.c: revision 1.4 sys/arch/hp300/dev/dma.c: revision 1.45 sys/arch/hp300/stand/uboot/Makefile: revision 1.13 sys/arch/hp300/stand/common/rd.c: revision 1.16 sys/arch/hp300/stand/inst/Makefile: revision 1.12 distrib/hp300/cdroms/installcd/Makefile: revision 1.4 sys/arch/hp300/stand/mkboot/volhdr.h: revision 1.6 sys/arch/hp300/stand/common/machdep.c: revision 1.16 usr.sbin/installboot/fstypes.c: revision 1.14 sys/arch/hp300/hp300/machdep.c: revision 1.238 sys/arch/hp300/include/cpu.h: revision 1.73 sys/arch/hp300/dev/diofbreg.h: revision 1.4 sys/arch/hp300/stand/common/scsi.c: revision 1.12 sys/arch/hp300/stand/common/netio.c: revision 1.19 sys/arch/hp300/stand/common/scsi.c: revision 1.13 sys/arch/hp300/dev/sti_sgc.c: revision 1.8 sys/arch/hp300/dev/rtc.c: revision 1.22 sys/arch/hp300/stand/mkboot/mkboot.c: revision 1.20 sys/arch/hp300/stand/common/conf.h: revision 1.4 sys/arch/hp300/hp300/autoconf.c: revision 1.111 sys/arch/hp300/stand/common/conf.c: revision 1.15 sys/arch/hp300/stand/mkboot/Makefile: revision 1.12 sys/arch/hp300/stand/mkboot/Makefile: revision 1.13 sys/arch/hp300/hp300/autoconf.c: revision 1.114 sys/arch/hp300/dev/dcmreg.h: revision 1.11 sys/arch/hp300/dev/diofbvar.h: revision 1.4 sys/arch/hp300/dev/dcm.c: revision 1.91 sys/fs/cd9660/cd9660_util.c: revision 1.15 sys/arch/hp300/dev/mcclock_frodo.c: revision 1.2
TAB/space cleanup.
installboot(8): formatting improvements
Use Ar foo instead of <foo>; this is mdoc.
Other formatting tweaks. installboot(8): fix up markup
Don't overuse .Sy - when everything is highlighted, nothing is. Use .Ic for options &c to get correct PostScript output (both are bold in plain text).
Use Aq Ar inside .Pa, as both Pa and Ar are rendered as underscored text in plain text output, and the distinction is lost.
Don't set examples in bold, but give them .Pp space around - they are much easier to read this way.
Use consistent -width in FILES. document how to use installboot on netbsd/vax.
PR/57909: Jan-Benedict Glaw: Don't include (build) timestamp when doing a reproducible build fix usage string, improve error handling. add missing chunk for repro-build. fix gcc warnings. avoid stringop truncation, fix copyright string to prevent assembler warnings.
Fix build as a tool (Jan-Benedict Glaw)
Fix integer overflow of strtol(3) for "loadpoint" address on ILP32 hosts.
This strtol(3) was introduced in rev 1.12 for PR/57909 after netbsd-10, but it returns LONG_MAX (0x7FFFFFFF) for 0xFFF00000 on ILP32 hosts and the wrong loadpoint causes "NOT ENOUGH MEMORY" error by the BOOTROMs on loading uboot.lif on (at least) my 9000/360 and 9000/425t.
Misc cosmetic changes for mostly readability. - KNF and add some newlines per blocks - define and use proper bintobcd() macro - make local functions and variables static
The same uboot.lif binaries are generated.
Rename ${PROGAOUT} -> ${PROGELF} to reflect reality. Use proper signedness for the LIF file system data structures.
Ancient 4.3BSD used short and int for location, file size, file type, and addresses etc. but all of them should be unsigned.
Also rename several variables and add comments for readability. The LIF file system info can be found in "The HPDir Project" page: https://www.hp9845.net/9845/projects/hpdir/ The same uboot.lif binaries are generated.
Add a preliminary CD boot support to uboot for preparation of PR/54455. Briefly tested on mame, but not enalbed yet.
Recognize SCSI CD-ROM devices as a booted device properly.
Necessary for PR port-hp300/54455, to boot an md root root RAMDISK
kernel from CD-ROM without "WARNING: can't find match for bootdev:" prompt.
Sync with src/sys/arch/hp300/stand/mkboot/volhdr.h rev 1.6. https://mail-index.netbsd.org/source-changes/2024/05/07/msg151195.html
Use proper signedness for the LIF file system data structures. mkboot should use this MI <sys/bootblock.h> and volhdr.h should be removed soon.
Use MI <sys/bootblock.h> to refer LIF filesystem structures. This should have been done when LIF definitions were initially added to <sys/bootblock.h> for MI installboot(8).
Enable SUPPORT_CD on uboot.
Make cd9660_util.c usable in userland tools like installboot(8).
This was partially done for src/distrib/cdrom/macppc_installboot, but more strict prototypes are necessary for native binary builds.
Install cd9660 related system headers for tools installboot(8) builds.
Reorder function prototypes per source files.
Add cd9660 support to search a bootloader file in the target file system.
Also add CD boot support for hp300, using a bootloader file in cd9660 fs. This is a tool's part to close PR/54455.
HP 9000/300 machines read LIF directory entry allocated after the LIF volume header at the top of the boot disk during bootstrap, and a bootstrap file must be contiguously allocated on the disk due to limitation of the LIF specification.
Current NetBSD/hp300's bootloader is larger than ~80KB so we have to prepare a special 'boot' partition for FFS (that has only 8KB (ffsv1) or 32KB (ffsv2) spaces) disks to put such a large bootloader.
On the other hand, on ISO9660 fs all files are allocated contiguously so we can specify a bootloader file in the target ISO9660 directly in the LIF directory entry.
Note we can simply use the existing "append" option to create bootable CD ISO for hp300, but it looks some emulators (at leaset MAME) reject such non-standard ISO files, i.e. with an appended bootloader file at the end of the image.
Put a RAMDISK kernel and SYS_UBOOT into hp300 installcd to make it bootable.
This should finally close PR/54455.
Fix tools build errors on Cygwin.
Appease warnings on building tools/installboot on Cygwin.
|
| 1.105 | 16-Feb-2025 |
joe | remove unecessary branches
|
| 1.104 | 15-May-2024 |
reinoud | branches: 1.104.2; Fixing potential, though unlikely overflow as detected by coverity scan
|
| 1.103 | 03-Feb-2024 |
christos | add checks for id and mask in the update case (thanks hannken)
|
| 1.102 | 03-Feb-2024 |
christos | need the new args pointer...
|
| 1.101 | 03-Feb-2024 |
christos | fix MNT_UPDATE (thanks hannken)
|
| 1.100 | 03-Feb-2024 |
christos | Provide backwards compatibility (pointed out by hannken)
|
| 1.99 | 03-Feb-2024 |
hannken | cd9660_mountroot: must initialize new args "fmask" and "dmask".
|
| 1.98 | 02-Feb-2024 |
christos | PR/57897: Ricardo Branco: Add support for mount options mask,dirmask,uid,gid
|
| 1.97 | 03-May-2022 |
hannken | Lock devvp for vinvalbuf().
|
| 1.96 | 04-Apr-2020 |
ad | Merge the remaining changes from the ad-namecache branch, affecting namei() and getcwd():
- push vnode locking back as far as possible. - do most lookups directly in the namecache, avoiding vnode locks & refs. - don't block new refs to vnodes across VOP_INACTIVE(). - get shared locks for VOP_LOOKUP() if the file system supports it. - correct lock types for VOP_ACCESS() / VOP_GETATTR() in a few places.
Possible future enhancements:
- make the lookups lockless. - support dotdot lookups by being lockless and inferring absence of chroot. - maybe make it work for layered file systems. - avoid vnode references at the root & cwd.
|
| 1.95 | 16-Mar-2020 |
pgoyette | Use the module subsystem's ability to process SYSCTL_SETUP() entries to automate installation of sysctl nodes.
Note that there are still a number of device and pseudo-device modules that create entries tied to individual device units, rather than to the module itself. These are not changed.
|
| 1.94 | 17-Jan-2020 |
ad | 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.93 | 17-Apr-2017 |
hannken | branches: 1.93.2; 1.93.12; 1.93.18; Remove unused argument "nextp" from vfs_busy() and vfs_unbusy(). Remove argument "keepref" from vfs_unbusy() and add vfs_ref() where needed.
|
| 1.92 | 17-Apr-2017 |
hannken | Add vfs_ref(mp) and vfs_rele(mp) to add or remove a reference to struct mount. Rename vfs_destroy(mp) to vfs_rele(mp) and replace incrementing mp->mnt_refcnt with vfs_ref(mp).
|
| 1.91 | 17-Feb-2017 |
hannken | Add generic genfs_suspendctl() and use it for all file systems. Layered file systems need work.
|
| 1.90 | 28-Mar-2015 |
maxv | branches: 1.90.2; 1.90.4; Remove the 'cred' argument from bread(). Remove a now unused var in ffs_snapshot.c. Update the man page accordingly.
ok hannken@
|
| 1.89 | 09-Jul-2014 |
maxv | branches: 1.89.4; Remove ROOTNAME (unused).
|
| 1.88 | 22-Jun-2014 |
hannken | CID 1223346: No need to check bp against NULL. It is always valid here.
|
| 1.87 | 16-Jun-2014 |
hannken | Change cd9660 from hashlist to vcache.
|
| 1.86 | 14-Jun-2014 |
hannken | Remove the hints "isodir" and "relocated" from cd9660_vget_internal() and always reread the directory entry by inumber. For directories the directory entry is always its "." entry.
Always read directories via the device vnode to prevent buffer cache inconsistency. Keep i_devvp as a hint for fstat(1) and friends and always use im_devvp for reads. No need to vref()/vrele() i_devvp.
The additional bread is either cached because cd9660_lookup() just released the buffer or will be used in the near future when the directory gets traversed during lookup.
No objections on tech-kern@
|
| 1.85 | 13-May-2014 |
martin | PR kern/48799: make filehandles properly use 64bit inodes on CD9660 file systems. Patch from Thomas Schmitt, with slight modifications.
|
| 1.84 | 16-Apr-2014 |
maxv | 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.83 | 24-Mar-2014 |
dholland | branches: 1.83.2; Tidy up locking in cd9660_mount; thrash the lock less, and make it clear that the lock is only dropped when calling iso_mountfs().
While here, don't use the vnode pointer's value after vrele().
|
| 1.82 | 23-Mar-2014 |
hannken | Change all vfsops to use C99 designated initializers.
No functional changes intended.
|
| 1.81 | 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.80 | 23-Nov-2013 |
christos | change the mountlist CIRCLEQ into a TAILQ
|
| 1.79 | 30-Sep-2013 |
hannken | Replace macro v_specmountpoint with two functions spec_node_getmountedfs() and spec_node_setmountedfs() to manage the file system mounted on a device. Assert the device is a block device.
Welcome to 6.99.24
Discussed on tech-kern@ some time ago.
Reviewed by: David Holland <dholland@netbsd.org>
|
| 1.78 | 23-Jun-2013 |
dholland | branches: 1.78.2; Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of the following symbols so as to disambiguate fully. (Christos already did the lfs ones.)
lblkno lblktosize lfragtosize numfrags blkroundup fragroundup
|
| 1.77 | 19-Jun-2013 |
dholland | blkoff() -> cd9660_blkoff() blksize() -> cd9660_blksize()
|
| 1.76 | 20-Dec-2012 |
hannken | Change bread() and breadn() to never return a buffer on error and modify all callers to not brelse() on error.
Welcome to 6.99.16
PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)
|
| 1.75 | 13-Mar-2012 |
elad | branches: 1.75.2; Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with something meaningful. All relevant documentation has been updated or written.
Most of these changes were brought up in the following messages:
http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html
Thanks to christos, manu, njoly, and jmmv for input.
Huge thanks to pgoyette for spinning these changes through some build cycles and ATF.
|
| 1.74 | 14-Nov-2011 |
hannken | branches: 1.74.4; 1.74.6; 1.74.10; 1.74.12; VOP_OPEN() needs a locked vnode. All these copy-and-pasted xxxfs_mount() implementations need more review.
|
| 1.73 | 27-Sep-2011 |
christos | branches: 1.73.2; define and use ISO_MAXNAMLEN instead of MAXNAMLEN
|
| 1.72 | 12-Jun-2011 |
rmind | Welcome to 5.99.53! Merge rmind-uvmplock branch:
- Reorganize locking in UVM and provide extra serialisation for pmap(9). New lock order: [vmpage-owner-lock] -> pmap-lock.
- Simplify locking in some pmap(9) modules by removing P->V locking.
- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).
- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner. Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.
- Unify /dev/mem et al in MI code and provide required locking (removes kernel-lock on some ports). Also, avoid cache-aliasing issues.
Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches formed the core changes of this branch.
|
| 1.71 | 24-Jun-2010 |
hannken | branches: 1.71.6; Clean up vnode lock operations pass 2:
VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.
Welcome to 5.99.32.
Discussed on tech-kern.
|
| 1.70 | 26-Jan-2010 |
mlelstv | branches: 1.70.2; 1.70.4; Drop two uses of disk label data.
msdosfs and cd9660 are the only filesystems that verify the filesystem type in the label. This is the wrong place, sanity checks should only rely on the inner structure of the filesystem (like signatures or magic numbers).
msdosfs also used the device type information from the label to deduce a filesystem parameter heuristically for the gemdos variant. If there is no information inside the filesystem data itself, this should be an explicit mount option.
|
| 1.69 | 08-Jan-2010 |
pooka | The VATTR_NULL/VREF/VHOLD/HOLDRELE() macros lost their will to live years ago when the kernel was modified to not alter ABI based on DIAGNOSTIC, and now just call the respective function interfaces (in lowercase). Plenty of mix'n match upper/lowercase has creeped into the tree since then. Nuke the macros and convert all callsites to lowercase.
no functional change
|
| 1.68 | 19-Oct-2009 |
tsutsui | Apply a similar fix for mount function from ffs_vfsops.c rev 1.186: Change cd9660_mount, in MNT_UPDATE case, to check dev_t's for equality instead of just vnode pointers. Fixes erroneous "Invalid argument" errors from mount(8) with -u against cd9660 root in the presence of mfs or tmpfs /dev prepared after initial mountroot.
Tested on QEMU running cobalt Restore CD.
|
| 1.67 | 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.66 | 25-Apr-2009 |
elad | Add genfs_can_mount() and use it to prevent some more code duplication of the security checks when mounting a device (VOP_ACCESS() + kauth(9) call)).
Proposed with no objections on tech-kern@:
http://mail-index.netbsd.org/tech-kern/2009/04/20/msg004859.html
The vnode is always expected to be locked, so no locking is done outside the file-system code.
|
| 1.65 | 22-Jan-2009 |
cegger | branches: 1.65.2; buildfix: re-adapt for major/minor returning 32bit value again.
|
| 1.64 | 11-Jan-2009 |
cegger | make this compile
|
| 1.63 | 28-Jun-2008 |
rumble | branches: 1.63.4; 1.63.6; 1.63.12; Create sysctl entries during module initialisation and destroy them appropriately.
Many of these file systems are now ready for modularisation.
|
| 1.62 | 16-May-2008 |
hannken | branches: 1.62.2; Make sure all cached buffers with valid, not yet written data have been run through copy-on-write. Call fscow_run() with valid data where possible.
The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against endless recursion.
- Add a flag B_MODIFY to bread(), breada() and breadn(). If set the caller intends to modify the buffer returned.
- Always run copy-on-write on buffers returned from ffs_balloc().
- Add new function ffs_getblk() that gets a buffer, assigns a new blkno, may clear the buffer and runs copy-on-write. Process possible errors from getblk() or fscow_run(). Part of PR kern/38664.
Welcome to 4.99.63
Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
|
| 1.61 | 06-May-2008 |
ad | branches: 1.61.2; PR kern/38141 lookup/vfs_busy acquire rwlock recursively
Simplify the mount locking. Remove all the crud to deal with recursion on the mount lock, and crud to deal with unmount as another weirdo lock.
Hopefully this will once and for all fix the deadlocks with this. With this commit there are two locks on each mount:
- krwlock_t mnt_unmounting. This is used to prevent unmount across critical sections like getnewvnode(). It's only ever read locked with rw_tryenter(), and is only ever write locked in dounmount(). A write hold can't be taken on this lock if the current LWP could hold a vnode lock.
- kmutex_t mnt_updating. This is taken by threads updating the mount, for example when going r/o -> r/w, and is only present to serialize updates. In order to take this lock, a read hold must first be taken on mnt_unmounting, and the two need to be held across the operation.
One effect of this change: previously if an unmount failed, we would make a half hearted attempt to back out of it gracefully, but that was unlikely to work in a lot of cases. Now while an unmount that will be aborted is in progress, new file operations within the mount will fail instead of being delayed. That is unlikely to be a problem though, because if the admin requests unmount of a file system then s(he) has made a decision to deny access to the resource.
|
| 1.60 | 03-May-2008 |
ad | Convert cd9660 to attach as a module.
|
| 1.59 | 30-Apr-2008 |
ad | PR kern/38135 vfs_busy/vfs_trybusy confusion
The previous fix worked, but it opened a window where mounts could have disappeared from mountlist while the caller was traversing it using vfs_trybusy(). Fix that.
|
| 1.58 | 29-Apr-2008 |
ad | 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.57 | 27-Feb-2008 |
matt | branches: 1.57.2; 1.57.4; Convert to ansi definitions from old-style definitons.
|
| 1.56 | 30-Jan-2008 |
ad | branches: 1.56.2; 1.56.6; PR kern/37706 (forced unmount of file systems is unsafe):
- Do reference counting for 'struct mount'. Each vnode associated with a mount takes a reference, and in turn the mount takes a reference to the vfsops. - Now that mounts are reference counted, replace the overcomplicated mount locking inherited from 4.4BSD with a recursable rwlock.
|
| 1.55 | 28-Jan-2008 |
dholland | 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.54 | 24-Jan-2008 |
ad | specfs changes for PR kern/37717 (raidclose() is no longer called on shutdown). There are still problems with device access and a PR will be filed.
- Kill checkalias(). Allow multiple vnodes to reference a single device.
- Don't play dangerous tricks with block vnodes to ensure that only one vnode can describe a block device. Instead, prohibit concurrent opens of block devices. As a bonus remove the unreliable code that prevents multiple file system mounts on the same device. It's no longer needed.
- Track opens by vnode and by device. Issue cdev_close() when the last open goes away, instead of abusing vnode::v_usecount to tell if the device is open.
|
| 1.53 | 02-Jan-2008 |
ad | Merge vmlocking2 to head.
|
| 1.52 | 08-Dec-2007 |
pooka | branches: 1.52.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.51 | 08-Dec-2007 |
ad | Merge locking changes + fixes from the vmlocking branch.
|
| 1.50 | 26-Nov-2007 |
pooka | branches: 1.50.2; 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.49 | 10-Oct-2007 |
ad | branches: 1.49.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.48 | 08-Oct-2007 |
ad | Merge brelse() changes from the vmlocking branch.
|
| 1.47 | 31-Jul-2007 |
pooka | branches: 1.47.2; 1.47.4; 1.47.6; 1.47.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.46 | 26-Jul-2007 |
pooka | Use eopnotsupp() instead of vfs_stdsuspendctl() and retire the latter.
|
| 1.45 | 23-Jul-2007 |
pooka | Initialize size and/or writesize when creating a vnode.
|
| 1.44 | 17-Jul-2007 |
pooka | branches: 1.44.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.43 | 12-Jul-2007 |
dsl | Change the VFS_MOUNT() interface so that the 'data' buffer passed to the fs code is a kernel buffer, pass though the length of the buffer as well. Since the length of the userspace buffer isn'it (yet) passed through the mount system call, add a field to the vfsops structure containing the default length. Split sys_mount() for calls from compat code. Ride one of the recent kernel version changes - old fs LKMs will load, but sys_mount() will reject any attempt to use them.
|
| 1.42 | 09-Jul-2007 |
pooka | mntflushbuf() cargo cult comment mania cleanup. there is no mntflushbuf().
|
| 1.41 | 30-Jun-2007 |
pooka | Using POOL_INIT here makes no sense, since file systems always have an init method. So get rid of it and #ifdef _LKM and just always init in the init method. Give malloc types the same treatment. Makes file systems nicer to work with in linksetless environments and fixes a few LKM discrepancies.
|
| 1.40 | 04-Mar-2007 |
christos | branches: 1.40.2; 1.40.4; 1.40.6; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
| 1.39 | 19-Jan-2007 |
hannken | branches: 1.39.2; 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.38 | 16-Nov-2006 |
christos | __unused removal on arguments; approved by core.
|
| 1.37 | 24-Oct-2006 |
drochner | minor fix to error handling (from OpenBSD, rev.1.40): only set devvp->v_specmountpoint on successful mounts
|
| 1.36 | 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
| 1.35 | 28-Aug-2006 |
christos | branches: 1.35.2; 1.35.4; add missing initializers
|
| 1.34 | 23-Jul-2006 |
ad | Use the LWP cached credentials where sane.
|
| 1.33 | 13-Jul-2006 |
martin | Fix alignement problems for fhandle_t, exposed by gcc4.1.
While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ, version the getfh(2) syscall and explicitly pass the size available in the filehandle from userland.
Discussed on tech-kern, with lots of help from yamt (thanks!).
|
| 1.32 | 14-May-2006 |
elad | branches: 1.32.4; integrate kauth.
|
| 1.31 | 21-Feb-2006 |
thorpej | branches: 1.31.2; 1.31.4; 1.31.6; Use device_class() instead of accessing dv_class directly.
|
| 1.30 | 11-Dec-2005 |
christos | branches: 1.30.2; 1.30.4; 1.30.6; merge ktrace-lwp.
|
| 1.29 | 02-Nov-2005 |
yamt | merge yamt-vop branch. remove following VOPs.
VOP_BLKATOFF VOP_VALLOC VOP_BALLOC VOP_REALLOCBLKS VOP_VFREE VOP_TRUNCATE VOP_UPDATE
|
| 1.28 | 30-Sep-2005 |
dyoung | branches: 1.28.2; In cd9660_mount, initialize imp to VFSTOISOFS(mp) instead of NULL. Remove redundant assignments to imp. This fixes the page fault panic when the kernel mounts an ISO9660 filesystem, introduced at revision 1.27.
|
| 1.27 | 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.26 | 30-Aug-2005 |
xtraeme | Remove __P()
|
| 1.25 | 05-Aug-2005 |
jmmv | Fix comment regarding sbp->f_favail (which was a duplicate due to a pasto).
|
| 1.24 | 28-Jun-2005 |
yamt | branches: 1.24.2; - constify genfs_ops. - use member designators.
|
| 1.23 | 29-Mar-2005 |
thorpej | - Define a VFS_ATTACH() macro that places a reference to a vfsops structure into the "vfsops" link set. - Use VFS_ATTACH() where vfsops are declared for individual file systems. - In vfsinit(), traverse the "vfsops" link set, rather than vfs_list_initial[].
|
| 1.22 | 26-Feb-2005 |
perry | branches: 1.22.2; nuke trailing whitespace
|
| 1.21 | 09-Jan-2005 |
mycroft | branches: 1.21.2; 1.21.4; Rework the mountroot interface so that vfs_mountroot() opens the root device and just passes it on to the file system functions. This avoids opening and closing the device several times.
Mentioned on tech-kern some time ago, IIRC. I've been running this for a long time.
|
| 1.20 | 02-Jan-2005 |
thorpej | Add the system call and VFS infrastructure for file system extended attributes.
From FreeBSD.
|
| 1.19 | 21-Nov-2004 |
jdolecek | when Joliet extension is in use, encode the Joliet Unicode file names into UTF-8, rather than filtering them to ISO-8859-1 subset
provide vfs.cd9660.utf8_joliet sysctl to switch to the former iso-8859-1-only handling, default is to UTF-8 encode
|
| 1.18 | 13-Sep-2004 |
jdolecek | set mp->mnt_stat.f_namemax on filesystem mount for use by statvfs, and use the value for also pathconf(_PC_NAME_MAX) to keep the two in sync
|
| 1.17 | 15-Aug-2004 |
mycroft | Fixing age old cruft: * Rather than using mnt_maxsymlinklen to indicate that a file systems returns d_type fields(!), add a new internal flag, IMNT_DTYPE.
Add 3 new elements to ufsmount: * um_maxsymlinklen, replaces mnt_maxsymlinklen (which never should have existed in the first place). * um_dirblksiz, which tracks the current directory block size, eliminating the FS-specific checks littered throughout the code. This may be used later to make the block size variable. * um_maxfilesize, which is the maximum file size, possibly adjusted lower due to implementation issues.
Sync some bug fixes from FFS into ext2fs, particularly: * ffs_lookup.c 1.21, 1.28, 1.33, 1.48 * ffs_inode.c 1.43, 1.44, 1.45, 1.66, 1.67 * ffs_vnops.c 1.84, 1.85, 1.86
Clean up some crappy pointer frobnication.
|
| 1.16 | 05-Jul-2004 |
pk | Call inittodr() from main(). Let file system code set the recorded `last update' time (if any) through the new function setrootfstime().
|
| 1.15 | 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.14 | 25-May-2004 |
atatat | Sysctl descriptions under vfs subtree
|
| 1.13 | 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.12 | 21-Apr-2004 |
christos | Replace the statfs() family of system calls with statvfs(). Retain binary compatibility.
|
| 1.11 | 24-Mar-2004 |
atatat | branches: 1.11.2; Tango on sysctl_createv() and flags. The flags have all been renamed, and sysctl_createv() now uses more arguments.
|
| 1.10 | 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.9 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.8 | 29-Jun-2003 |
fvdl | branches: 1.8.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
| 1.7 | 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.6 | 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.5 | 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.4 | 03-Apr-2003 |
christos | Avoid stupid printfs during mountroot attempt.
|
| 1.3 | 21-Mar-2003 |
dsl | Use 'void *' instead of 'caddr_t' in prototypes of VOP_IOCTL, VOP_FCNTL and VOP_ADVLOCK, delete casts from callers (and some to copyin/out).
|
| 1.2 | 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.1 | 23-Dec-2002 |
jdolecek | branches: 1.1.2; move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
|
| 1.1.2.2 | 29-Dec-2002 |
thorpej | With with HEAD.
|
| 1.1.2.1 | 23-Dec-2002 |
thorpej | file cd9660_vfsops.c was added on branch nathanw_sa on 2002-12-29 19:55:40 +0000
|
| 1.8.2.11 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.8.2.10 | 01-Apr-2005 |
skrll | Sync with HEAD.
|
| 1.8.2.9 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.8.2.8 | 17-Jan-2005 |
skrll | Sync with HEAD.
|
| 1.8.2.7 | 29-Nov-2004 |
skrll | Sync with HEAD.
|
| 1.8.2.6 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.8.2.5 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.8.2.4 | 25-Aug-2004 |
skrll | Sync with HEAD.
|
| 1.8.2.3 | 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.8.2.2 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.8.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.11.2.1 | 29-May-2004 |
tron | Pull up revision 1.14 (requested by atatat in ticket #393): Sysctl descriptions under vfs subtree
|
| 1.21.4.1 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.21.2.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.22.2.1 | 24-Aug-2005 |
riz | Pull up following revision(s) (requested by yamt in ticket #688): sys/miscfs/genfs/genfs_vnops.c: revision 1.98 via patch sys/ufs/ffs/ffs_vfsops.c: revision 1.165 sys/ufs/lfs/lfs_extern.h: revision 1.69 sys/fs/filecorefs/filecore_vfsops.c: revision 1.20 sys/nfs/nfs_node.c: revision 1.80 sys/fs/smbfs/smbfs_node.c: revision 1.24 sys/fs/cd9660/cd9660_vfsops.c: revision 1.24 sys/fs/msdosfs/msdosfs_denode.c: revision 1.8 sys/miscfs/genfs/genfs_node.h: revision 1.6 sys/ufs/lfs/lfs_vfsops.c: revision 1.183 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.86 sys/fs/adosfs/advfsops.c: revision 1.23 sys/fs/ntfs/ntfs_vfsops.c: revision 1.31 - constify genfs_ops. - use member designators.
sys/miscfs/genfs/genfs_vnops.c: revision 1.99 via patch genfs_getpages: don't forget to put the vnode onto the syncer's work que ue even in the case of PGO_LOCKED.
sys/uvm/uvm_bio.c: revision 1.40 sys/uvm/uvm_pager.h: revision 1.29 sys/miscfs/genfs/genfs_vnops.c: revision 1.100 via patch sys/ufs/ufs/ufs_inode.c: revision 1.50 - introduce PGO_NOBLOCKALLOC and use it for ubc mapping to prevent unnecessary block allocations in the case that page size > block size. - ufs_balloc_range: use VM_PROT_WRITE+PGO_NOBLOCKALLOC rather than VM_PROT_READ.
sys/uvm/uvm_fault.c: revision 1.96 sys/miscfs/genfs/genfs_vnops.c: revision 1.101 via patch sys/uvm/uvm_object.h: revision 1.19 sys/miscfs/genfs/genfs_node.h: revision 1.7 ensure that vnodes with dirty pages are always on syncer's queue. - genfs_putpages: wait for i/o completion of PG_RELEASED/PG_PAGEOUT pages by setting "wasclean" false when encountering them. suggested by Stephan Uphoff in PR/24596 (1). - genfs_putpages: write protect pages when cleaning out, if we're going to take the vnode off the syncer's queue. uvm_fault: don't write-map pages unless its vnode is already on the syncer's queue. fix PR/24596 (3) but in the different way from the suggested fix. (to keep our current behaviour, ie. not to require explicit msync. discussed on tech-kern@.) - genfs_putpages: don't mistakenly take a vnode off the queue by introducing a generation number in genfs_node. genfs_getpages: increment the generation number. suggested by Stephan Uphoff in PR/24596 (2). - add some assertions.
sys/miscfs/genfs/genfs_vnops.c: revision 1.102 via patch genfs_putpages: don't bother to clean the vnode unless VONWORKLST.
sys/ufs/ffs/ffs_vnops.c: revision 1.71 ffs_full_fsync: because VBLK/VCHR can be mmap'ed, do VOP_PUTPAGES for them as well.
sys/uvm/uvm_fault.c: revision 1.97 uvm_fault: check a correct object in the case of layered filesystems. fix PR/30811 from Jukka Salmi.
sys/uvm/uvm_object.h: revision 1.20 sys/ufs/ffs/ffs_vfsops.c: revision 1.167 sys/uvm/uvm_bio.c: revision 1.41 sys/ufs/ufs/ufs_vnops.c: revision 1.129 sys/uvm/uvm_mmap.c: revision 1.92 sys/uvm/uvm_fault.c: revision 1.98 sys/kern/vfs_subr.c: revision 1.252 sys/fs/msdosfs/denode.h: revision 1.5 sys/miscfs/genfs/genfs_vnops.c: revision 1.103 via patch sys/fs/msdosfs/msdosfs_denode.c: revision 1.9 sys/sys/vnode.h: revision 1.141 sys/ufs/ufs/ufs_inode.c: revision 1.51 sys/ufs/ufs/ufs_extern.h: revision 1.45 via patch sys/miscfs/genfs/genfs_node.h: revision 1.8 sys/ufs/lfs/lfs_vfsops.c: revision 1.184 sys/uvm/uvm_pager.h: revision 1.30 sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.87 update file timestamps for nfsd loaned-read and mmap. PR/25279. discussed on tech-kern@.
sys/miscfs/genfs/genfs_vnops.c: revision 1.104 via patch don't write-protect wired pages. pointed by Chuck Silvers. for now, leave a vnode on the syncer's queue, as suggested by him.
sys/ufs/ffs/ffs_vnops.c: revision 1.72 revert VCHR part of ffs_vnops.c 1.71. as VCHR uses the device pager, no point to call VOP_PUTPAGES here. pointed by Chuck Silvers.
|
| 1.24.2.9 | 17-Mar-2008 |
yamt | sync with head.
|
| 1.24.2.8 | 04-Feb-2008 |
yamt | sync with head.
|
| 1.24.2.7 | 21-Jan-2008 |
yamt | sync with head
|
| 1.24.2.6 | 07-Dec-2007 |
yamt | sync with head
|
| 1.24.2.5 | 27-Oct-2007 |
yamt | sync with head.
|
| 1.24.2.4 | 03-Sep-2007 |
yamt | sync with head.
|
| 1.24.2.3 | 26-Feb-2007 |
yamt | sync with head.
|
| 1.24.2.2 | 30-Dec-2006 |
yamt | sync with head.
|
| 1.24.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.28.2.1 | 20-Oct-2005 |
yamt | adapt cd9660.
|
| 1.30.6.2 | 01-Jun-2006 |
kardel | Sync with head.
|
| 1.30.6.1 | 22-Apr-2006 |
simonb | Sync with head.
|
| 1.30.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.30.2.1 | 01-Mar-2006 |
yamt | sync with head.
|
| 1.31.6.1 | 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.31.4.3 | 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.31.4.2 | 10-Mar-2006 |
elad | generic_authorize() -> kauth_authorize_generic().
|
| 1.31.4.1 | 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
|
| 1.31.2.3 | 03-Sep-2006 |
yamt | sync with head.
|
| 1.31.2.2 | 11-Aug-2006 |
yamt | sync with head
|
| 1.31.2.1 | 24-May-2006 |
yamt | sync with head.
|
| 1.32.4.1 | 13-Jul-2006 |
gdamore | Merge from HEAD.
|
| 1.35.4.2 | 10-Dec-2006 |
yamt | sync with head.
|
| 1.35.4.1 | 22-Oct-2006 |
yamt | sync with head
|
| 1.35.2.2 | 01-Feb-2007 |
ad | Sync with head.
|
| 1.35.2.1 | 18-Nov-2006 |
ad | Sync with head.
|
| 1.39.2.1 | 12-Mar-2007 |
rmind | Sync with HEAD.
|
| 1.40.6.1 | 09-Dec-2007 |
reinoud | Pullup to HEAD
|
| 1.40.4.1 | 11-Jul-2007 |
mjf | Sync with head.
|
| 1.40.2.10 | 24-Oct-2007 |
ad | - Kill ISODEVMAP. - Mark cd9660 MPSAFE.
|
| 1.40.2.9 | 24-Oct-2007 |
ad | - Fix a race in cd9660_vget(). - simplelock -> mutex.
|
| 1.40.2.8 | 16-Sep-2007 |
ad | Checkpoint work in progress on the vnode lifecycle and reference counting stuff. This makes it work properly without kernel_lock and fixes a few quite old bugs. See vfs_subr.c 1.283.2.17 for details.
|
| 1.40.2.7 | 24-Aug-2007 |
ad | Sync with buffer cache locking changes. See buf.h/vfs_bio.c for details. Some minor portions are incomplete and needs to be verified as a whole.
|
| 1.40.2.6 | 20-Aug-2007 |
ad | Sync with HEAD.
|
| 1.40.2.5 | 29-Jul-2007 |
ad | Add vfs_destroy() to free mount structures. The specificdata_ref was being leaked.
|
| 1.40.2.4 | 15-Jul-2007 |
ad | Sync with head.
|
| 1.40.2.3 | 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.40.2.2 | 13-May-2007 |
ad | - Pass the error number and residual count to biodone(), and let it handle setting error indicators. Prepare to eliminate B_ERROR. - Add a flag argument to brelse() to be set into the buf's flags, instead of doing it directly. Typically used to set B_INVAL. - Add a "struct cpu_info *" argument to kthread_create(), to be used to create bound threads. Change "bool mpsafe" to "int flags". - Allow exit of LWPs in the IDL state when (l != curlwp). - More locking fixes & conversion to the new API.
|
| 1.40.2.1 | 13-Mar-2007 |
ad | Pull in the initial set of changes for the vmlocking branch.
|
| 1.44.2.1 | 15-Aug-2007 |
skrll | Sync with HEAD.
|
| 1.47.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.47.8.1 | 31-Jul-2007 |
pooka | file cd9660_vfsops.c was added on branch matt-mips64 on 2007-07-31 21:14:18 +0000
|
| 1.47.6.1 | 14-Oct-2007 |
yamt | sync with head.
|
| 1.47.4.3 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.47.4.2 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.47.4.1 | 06-Nov-2007 |
matt | sync with HEAD
|
| 1.47.2.3 | 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
| 1.47.2.2 | 27-Nov-2007 |
joerg | Sync with HEAD. amd64 Xen support needs testing.
|
| 1.47.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.49.4.3 | 18-Feb-2008 |
mjf | Sync with HEAD.
|
| 1.49.4.2 | 27-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.49.4.1 | 08-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.50.2.3 | 26-Dec-2007 |
ad | Sync with head.
|
| 1.50.2.2 | 08-Dec-2007 |
ad | Sync with head.
|
| 1.50.2.1 | 04-Dec-2007 |
ad | Pull the vmlocking changes into a new branch.
|
| 1.52.4.1 | 02-Jan-2008 |
bouyer | Sync with HEAD
|
| 1.56.6.4 | 17-Jan-2009 |
mjf | Sync with HEAD.
|
| 1.56.6.3 | 29-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.56.6.2 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.56.6.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.56.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.57.4.5 | 11-Aug-2010 |
yamt | sync with head.
|
| 1.57.4.4 | 11-Mar-2010 |
yamt | sync with head
|
| 1.57.4.3 | 18-Jul-2009 |
yamt | sync with head.
|
| 1.57.4.2 | 04-May-2009 |
yamt | sync with head.
|
| 1.57.4.1 | 16-May-2008 |
yamt | sync with head.
|
| 1.57.2.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.61.2.2 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.61.2.1 | 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
| 1.62.2.1 | 03-Jul-2008 |
simonb | Sync with head.
|
| 1.63.12.1 | 21-Apr-2010 |
matt | sync to netbsd-5
|
| 1.63.6.2 | 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.63.6.1 | 27-Oct-2009 |
bouyer | branches: 1.63.6.1.2; 1.63.6.1.6; Pull up following revision(s) (requested by tsutsui in ticket #1115): sys/fs/cd9660/cd9660_vfsops.c: revision 1.68 Apply a similar fix for mount function from ffs_vfsops.c rev 1.186: Change cd9660_mount, in MNT_UPDATE case, to check dev_t's for equality instead of just vnode pointers. Fixes erroneous "Invalid argument" errors from mount(8) with -u against cd9660 root in the presence of mfs or tmpfs /dev prepared after initial mountroot. Tested on QEMU running cobalt Restore CD.
|
| 1.63.6.1.6.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.63.6.1.2.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.63.4.3 | 28-Apr-2009 |
skrll | Sync with HEAD.
|
| 1.63.4.2 | 03-Mar-2009 |
skrll | Sync with HEAD.
|
| 1.63.4.1 | 19-Jan-2009 |
skrll | Sync with HEAD.
|
| 1.65.2.2 | 23-Jul-2009 |
jym | Sync with HEAD.
|
| 1.65.2.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.70.4.2 | 19-May-2011 |
rmind | Implement sharing of vnode_t::v_interlock amongst vnodes: - Lock is shared amongst UVM objects using uvm_obj_setlock() or getnewvnode(). - Adjust vnode cache to handle unsharing, add VI_LOCKSHARE flag for that. - Use sharing in tmpfs and layerfs for underlying object. - Simplify locking in ubc_fault(). - Sprinkle some asserts.
Discussed with ad@.
|
| 1.70.4.1 | 03-Jul-2010 |
rmind | sync with head
|
| 1.70.2.1 | 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
| 1.71.6.1 | 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
| 1.73.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.73.2.2 | 23-Jan-2013 |
yamt | sync with head
|
| 1.73.2.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.74.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.74.10.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.74.6.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.74.4.1 | 05-Apr-2012 |
mrg | sync to latest -current.
|
| 1.75.2.4 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.75.2.3 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.75.2.2 | 23-Jun-2013 |
tls | resync from head
|
| 1.75.2.1 | 25-Feb-2013 |
tls | resync with head
|
| 1.78.2.1 | 18-May-2014 |
rmind | sync with head
|
| 1.83.2.1 | 10-Aug-2014 |
tls | Rebase.
|
| 1.89.4.2 | 28-Aug-2017 |
skrll | Sync with HEAD
|
| 1.89.4.1 | 06-Apr-2015 |
skrll | Sync with HEAD
|
| 1.90.4.1 | 21-Apr-2017 |
bouyer | Sync with HEAD
|
| 1.90.2.4 | 26-Apr-2017 |
pgoyette | Sync with HEAD
|
| 1.90.2.3 | 20-Mar-2017 |
pgoyette | Sync with HEAD
|
| 1.90.2.2 | 23-Jul-2016 |
pgoyette | Be consistent in the ordering of operations.
|
| 1.90.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.93.18.2 | 19-Jan-2020 |
ad | Set IMNT_SHRLOOKUP and use it for the in-cache case. Need to check what more can be done with tmpfs though, it can probably do the whole lookup.
|
| 1.93.18.1 | 17-Jan-2020 |
ad | Sync with head.
|
| 1.93.12.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.93.2.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.104.2.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.63 | 02-Feb-2024 |
christos | PR/57897: Ricardo Branco: Add support for mount options mask,dirmask,uid,gid
|
| 1.62 | 27-Mar-2022 |
christos | dedup the eofs link/symlink methods
|
| 1.61 | 19-Jul-2021 |
dholland | Abolish all the silly indirection macros for initializing vnode ops tables.
These are things of the form #define foofs_op genfs_op, or #define foofs_op genfs_eopnotsupp, or similar. They serve no purpose besides obfuscation, and have gotten cutpasted all over everywhere.
Part 2; cvs randomly didn't commit these changes before, and then hid them from me until I touched the files to force it to rethink. Dunno what happened.
There's probably more of these, going to have to scan the tree the hard way.
|
| 1.60 | 18-Jul-2021 |
dholland | Use macros for the canned parts of device and fifo vnode op tables.
Add GENFS_SPECOP_ENTRIES and GENFS_FIFOOP_ENTRIES macros that contain the portion of the vnode ops table declaration that is (conservatively) the same in every fs. Use these in every fs that supports devices and/or fifos with separate ops tables.
Note that ptyfs works differently (it has one type of vnode with open-coded dispatch to the specfs code, which I haven't changed in this commit) and rump/librump/rumpvfs/rumpfs.c has an indirect dynamic dispatch that already does more or less the same thing, which I also haven't changed.
Also note that this anticipates a few bits in the next changeset here and there, and adds missing but unreachable calls in some cases (e.g. most fses weren't defining whiteout on devices and fifos, but it isn't reachable there), and it changes parsepath on devices and fifos to genfs_badop from genfs_parsepath (but it's not reachable there either).
It appears that devices in kernfs were missing kqfilter, so it's possible that if you try to use kqueue on /kern/rootdev that it'll explode.
And finally note that the ops declaration tables aren't order-dependent. (Other than vop_default_desc has to come first.) Otherwise this wouldn't work.
|
| 1.59 | 29-Jun-2021 |
dholland | - Add a new vnode op: VOP_PARSEPATH. - Move namei_getcomponent to genfs_vnops.c and call it genfs_parsepath. - Add a parsepath entry to every vnode ops table.
VOP_PARSEPATH takes a directory vnode to be searched and a complete following path and chooses how much of that path to consume. To begin with, all parsepath calls are genfs_parsepath, which locates the first '/' as always.
Note that the call doesn't take the whole struct componentname, only the string. The other bits of struct componentname should not be needed and there's no reason to cause potential complications by exposing them.
|
| 1.58 | 27-Jun-2020 |
christos | branches: 1.58.6; Introduce genfs_pathconf() and use it for the default case in all filesystems.
|
| 1.57 | 16-May-2020 |
christos | Add ACL support for FFS. From FreeBSD.
|
| 1.56 | 23-Apr-2020 |
ad | PR kern/54759 (vm.ubc_direct deadlock when read()/write() into mapping of itself)
- Add new flag UBC_ISMAPPED which tells ubc_uiomove() the object is mmap()ed somewhere. Use it to decide whether to do direct-mapped copy, rather than poking around directly in the vnode in ubc_uiomove(), which is ugly and doesn't work for tmpfs. It would be nicer to contain all this in UVM but the filesystem provides the needed locking here (VV_MAPPED) and to reinvent that would suck more.
- Rename UBC_UNMAP_FLAG() to UBC_VNODE_FLAGS(). Pass in UBC_ISMAPPED where appropriate.
|
| 1.55 | 12-Jul-2019 |
maxv | branches: 1.55.8; Fix info leak: zero out the buffer, because it is not entirely filled, and the uninitialized bytes get copied to userland in sys___getdens30(). Remove unneeded cast while here.
|
| 1.54 | 12-Mar-2016 |
christos | branches: 1.54.10; 1.54.18; PR/50951: Unmess this up.
|
| 1.53 | 11-Mar-2016 |
christos | PR/50951: David Binderman: Fix misplaced parens
|
| 1.52 | 20-Apr-2015 |
riastradh | Make VOP_LINK return directory still locked and referenced.
Ride 7.99.10 bump.
|
| 1.51 | 28-Mar-2015 |
maxv | Remove the 'cred' argument from bread(). Remove a now unused var in ffs_snapshot.c. Update the man page accordingly.
ok hannken@
|
| 1.50 | 28-Mar-2015 |
maxv | Remove the 'cred' argument from breadn(), and update the man page accordingly.
ok hannken@
|
| 1.49 | 25-Jul-2014 |
dholland | branches: 1.49.4; Add VOP_FALLOCATE and VOP_FDISCARD to every vnode ops table I can find.
The filesystem ones all call genfs_eopnotsupp - right now I am only implementing the plumbing and we can implement fallocate and/or fdiscard for files later.
The device ones call spec_fallocate (which is also genfs_eopnotsupp) and spec_fdiscard, which dispatches to the device-level op.
The fifo ones all call vn_fifo_bypass, which also ends up being EOPNOTSUPP.
|
| 1.48 | 14-Jun-2014 |
hannken | Remove the hints "isodir" and "relocated" from cd9660_vget_internal() and always reread the directory entry by inumber. For directories the directory entry is always its "." entry.
Always read directories via the device vnode to prevent buffer cache inconsistency. Keep i_devvp as a hint for fstat(1) and friends and always use im_devvp for reads. No need to vref()/vrele() i_devvp.
The additional bread is either cached because cd9660_lookup() just released the buffer or will be used in the near future when the directory gets traversed during lookup.
No objections on tech-kern@
|
| 1.47 | 23-Jan-2014 |
hannken | branches: 1.47.2; Change vnode operations create, mknod, mkdir and symlink to return the resulting vnode *vpp unlocked.
Discussed on tech-kern@
Welcome to 6.99.30
|
| 1.46 | 17-Jan-2014 |
hannken | Change vnode operations create, mknod, mkdir and symlink to keep the directory node dvp locked on return.
Discussed on tech-kern@
Welcome to 6.99.29
|
| 1.45 | 23-Jun-2013 |
dholland | branches: 1.45.2; Stick ffs_, ext2_, chfs_, filecore_, cd9660_, or mfs_ in front of the following symbols so as to disambiguate fully. (Christos already did the lfs ones.)
lblkno lblktosize lfragtosize numfrags blkroundup fragroundup
|
| 1.44 | 19-Jun-2013 |
dholland | blkoff() -> cd9660_blkoff() blksize() -> cd9660_blksize()
|
| 1.43 | 18-Mar-2013 |
plunky | C99 section 6.7.2.3 (Tags) Note 3 states that:
A type specifier of the form
enum identifier
without an enumerator list shall only appear after the type it specifies is complete.
which means that we cannot pass an "enum vtype" argument to kauth_access_action() without fully specifying the type first. Unfortunately there is a complicated include file loop which makes that difficult, so convert this minimal function into a macro (and capitalize it).
(ok elad@)
|
| 1.42 | 20-Dec-2012 |
hannken | Change bread() and breadn() to never return a buffer on error and modify all callers to not brelse() on error.
Welcome to 6.99.16
PR kern/46282 (6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread -> bio_doread)
|
| 1.41 | 13-Mar-2012 |
elad | branches: 1.41.2; Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with something meaningful. All relevant documentation has been updated or written.
Most of these changes were brought up in the following messages:
http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html
Thanks to christos, manu, njoly, and jmmv for input.
Huge thanks to pgoyette for spinning these changes through some build cycles and ATF.
|
| 1.40 | 27-Sep-2011 |
christos | branches: 1.40.2; 1.40.6; use ISO_MAXNAMLEN instead of NAME_MAX
|
| 1.39 | 29-Mar-2010 |
pooka | Stop exposing fifofs internals and leave only fifo_vnodeop_p visible.
|
| 1.38 | 03-Jul-2009 |
elad | branches: 1.38.2; 1.38.4; Where possible, extract the file-system's access() routine to two internal functions: the first checking if the operation is possible (regardless of permissions), the second checking file-system permissions, ACLs, etc.
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005311.html
|
| 1.37 | 23-Jun-2009 |
elad | Move the implementation of vaccess() to genfs_can_access(), in line with the other routines of the same spirit.
Adjust file-system code to use it.
Keep vaccess() for KPI compatibility and to keep element of least surprise. A "diagnostic" message warning that vaccess() is deprecated will be printed when it's used (obviously, only in DIAGNOSTIC kernels).
No objections on tech-kern@:
http://mail-index.netbsd.org/tech-kern/2009/06/21/msg005310.html
|
| 1.36 | 17-Dec-2008 |
cegger | branches: 1.36.2; kill MALLOC and FREE macros.
|
| 1.35 | 26-Nov-2008 |
pooka | Rototill all remaining file systems to use ubc_uiomove() instead of the ubc_alloc() - uiomove() - ubc_release() dance.
|
| 1.34 | 16-May-2008 |
hannken | branches: 1.34.4; 1.34.6; Make sure all cached buffers with valid, not yet written data have been run through copy-on-write. Call fscow_run() with valid data where possible.
The LP_UFSCOW hack is no longer needed to protect ffs_copyonwrite() against endless recursion.
- Add a flag B_MODIFY to bread(), breada() and breadn(). If set the caller intends to modify the buffer returned.
- Always run copy-on-write on buffers returned from ffs_balloc().
- Add new function ffs_getblk() that gets a buffer, assigns a new blkno, may clear the buffer and runs copy-on-write. Process possible errors from getblk() or fscow_run(). Part of PR kern/38664.
Welcome to 4.99.63
Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
|
| 1.33 | 27-Feb-2008 |
matt | branches: 1.33.2; 1.33.4; 1.33.6; Convert to ansi definitions from old-style definitons.
|
| 1.32 | 25-Jan-2008 |
ad | branches: 1.32.2; 1.32.6; Remove VOP_LEASE. Discussed on tech-kern.
|
| 1.31 | 08-Dec-2007 |
ad | Merge locking changes + fixes from the vmlocking branch.
|
| 1.30 | 26-Nov-2007 |
pooka | branches: 1.30.2; 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.29 | 08-Oct-2007 |
ad | branches: 1.29.4; Merge brelse() changes from the vmlocking branch.
|
| 1.28 | 29-Jul-2007 |
rumble | branches: 1.28.4; 1.28.6; 1.28.8; 1.28.10; Use _DIRENT_MINSIZE when determining the number of NFS cookies to allocate, rather than hard-coding 16.
|
| 1.27 | 29-Jul-2007 |
ad | It's not a good idea for device drivers to modify b_flags, as they don't need to understand the locking around that field. Instead of setting B_ERROR, set b_error instead. b_error is 'owned' by whoever completes the I/O request.
|
| 1.26 | 04-Mar-2007 |
christos | branches: 1.26.2; 1.26.6; 1.26.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
| 1.25 | 21-Feb-2007 |
thorpej | Replace the Mach-derived boolean_t type with the C99 bool type. A future commit will replace use of TRUE and FALSE with true and false.
|
| 1.24 | 16-Nov-2006 |
christos | branches: 1.24.4; __unused removal on arguments; approved by core.
|
| 1.23 | 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
| 1.22 | 14-May-2006 |
elad | branches: 1.22.8; 1.22.10; integrate kauth.
|
| 1.21 | 15-Apr-2006 |
christos | Coverity CID 1197: Add KASSERT before deref.
|
| 1.20 | 01-Mar-2006 |
yamt | branches: 1.20.2; 1.20.4; 1.20.6; merge yamt-uio_vmspace branch.
- use vmspace rather than proc or lwp where appropriate. the latter is more natural to specify an address space. (and less likely to be abused for random purposes.) - fix a swdmover race.
|
| 1.19 | 11-Dec-2005 |
christos | branches: 1.19.2; 1.19.4; 1.19.6; merge ktrace-lwp.
|
| 1.18 | 29-Nov-2005 |
yamt | merge yamt-readahead branch.
|
| 1.17 | 11-Nov-2005 |
yamt | branches: 1.17.2; - ignore truncation for VCHR/VBLK/VFIFO as it used to be before yamt-vop merge. PR/32049 from Atsushi Onoe. - reject setattr which attempts to change size of VLNK/VSOCK.
|
| 1.16 | 02-Nov-2005 |
yamt | merge yamt-vop branch. remove following VOPs.
VOP_BLKATOFF VOP_VALLOC VOP_BALLOC VOP_REALLOCBLKS VOP_VFREE VOP_TRUNCATE VOP_UPDATE
|
| 1.15 | 30-Aug-2005 |
xtraeme | branches: 1.15.2; Remove __P()
|
| 1.14 | 19-Aug-2005 |
christos | 64 bit inode changes.
|
| 1.13 | 23-Jun-2005 |
thorpej | branches: 1.13.2; Remove the last references to M_NAMEI; everything should be using PNBUF_*() now (for a long time now). Remove M_NAMEI, and bump the kernel version to 3.99.7 to reflect its removal.
|
| 1.12 | 26-Feb-2005 |
perry | nuke trailing whitespace
|
| 1.11 | 09-Jan-2005 |
chs | branches: 1.11.2; 1.11.4; adjust the UBC mapping code to support non-vnode uvm_objects. this means we can no longer look at the vnode size to determine how many pages to request in a fault, which is good since for NFS the size can change out from under us on the server anyway. there's also a new flag UBC_UNMAP for ubc_release(), so that the file system code can make the decision about whether to cache mappings for files being used as executables.
|
| 1.10 | 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.9 | 04-May-2004 |
jrf | Remove caddr_t inlines. Approved by christos@NetBSD.org.
|
| 1.8 | 26-Jan-2004 |
hannken | Fix xxx_strategy() to use the vnode arg instead of bp->b_vp.
|
| 1.7 | 25-Jan-2004 |
hannken | Make VOP_STRATEGY(bp) a real VOP as discussed on tech-kern.
VOP_STRATEGY(bp) is replaced by one of two new functions:
- VOP_STRATEGY(vp, bp) Call the strategy routine of vp for bp. - DEV_STRATEGY(bp) Call the d_strategy routine of bp->b_dev for bp.
DEV_STRATEGY(bp) is used only for block-to-block device situations.
|
| 1.6 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.5 | 29-Jun-2003 |
fvdl | branches: 1.5.2; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
| 1.4 | 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.3 | 07-Jun-2003 |
reinoud | Fix a botch in a boolean expression. Thanks to Martim Husemann for the fix :)
PR kern/21816: Big DVD's with cd9660 fs (can) crash Alpha can be closed allready :)
|
| 1.2 | 16-May-2003 |
itojun | use strlcpy. check size if we are to use namei buffer.
|
| 1.1 | 23-Dec-2002 |
jdolecek | branches: 1.1.2; move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
|
| 1.1.2.2 | 29-Dec-2002 |
thorpej | With with HEAD.
|
| 1.1.2.1 | 23-Dec-2002 |
thorpej | file cd9660_vnops.c was added on branch nathanw_sa on 2002-12-29 19:55:42 +0000
|
| 1.5.2.8 | 11-Dec-2005 |
christos | Sync with head.
|
| 1.5.2.7 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.5.2.6 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.5.2.5 | 17-Jan-2005 |
skrll | Sync with HEAD.
|
| 1.5.2.4 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.5.2.3 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.5.2.2 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.5.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.11.4.1 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.11.2.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.13.2.9 | 17-Mar-2008 |
yamt | sync with head.
|
| 1.13.2.8 | 04-Feb-2008 |
yamt | sync with head.
|
| 1.13.2.7 | 21-Jan-2008 |
yamt | sync with head
|
| 1.13.2.6 | 07-Dec-2007 |
yamt | sync with head
|
| 1.13.2.5 | 27-Oct-2007 |
yamt | sync with head.
|
| 1.13.2.4 | 03-Sep-2007 |
yamt | sync with head.
|
| 1.13.2.3 | 26-Feb-2007 |
yamt | sync with head.
|
| 1.13.2.2 | 30-Dec-2006 |
yamt | sync with head.
|
| 1.13.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.15.2.2 | 29-Oct-2005 |
yamt | cd9660_setattr: remove extra checks. return EOPNOTSUPP immediately. suggested by Chuck Silvers.
|
| 1.15.2.1 | 20-Oct-2005 |
yamt | adapt cd9660.
|
| 1.17.2.4 | 19-Nov-2005 |
yamt | - as read-ahead context is per-vnode now, there are less reasons to make VOP_READ call uvm_ra_request explicitly. move it to pager (uvn_get) so that it can handle accesses via mmap as well. - pass advice to pager via ubc. - tweak DPRINTF.
XXX can be disturbed by PGO_LOCKED.
XXX it's controversial where it should be done. (uvm_fault, uvn_get or genfs_getpages.)
|
| 1.17.2.3 | 19-Nov-2005 |
yamt | - finish reverting VOP_READ prototype changes. - remove unused variables. - fix typos. some of them are pointed by Juan RP.
|
| 1.17.2.2 | 18-Nov-2005 |
yamt | - associate read-ahead context to vnode, rather than file. - revert VOP_READ prototype.
|
| 1.17.2.1 | 15-Nov-2005 |
yamt | adapt the rest of filesystems which use genfs_getpages.
|
| 1.19.6.2 | 01-Jun-2006 |
kardel | Sync with head.
|
| 1.19.6.1 | 22-Apr-2006 |
simonb | Sync with head.
|
| 1.19.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.19.2.1 | 05-Feb-2006 |
yamt | adapt cd9660.
|
| 1.20.6.1 | 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.20.4.3 | 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.20.4.2 | 19-Apr-2006 |
elad | sync with head.
|
| 1.20.4.1 | 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
|
| 1.20.2.1 | 24-May-2006 |
yamt | sync with head.
|
| 1.22.10.2 | 10-Dec-2006 |
yamt | sync with head.
|
| 1.22.10.1 | 22-Oct-2006 |
yamt | sync with head
|
| 1.22.8.1 | 18-Nov-2006 |
ad | Sync with head.
|
| 1.24.4.2 | 12-Mar-2007 |
rmind | Sync with HEAD.
|
| 1.24.4.1 | 27-Feb-2007 |
yamt | - sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
|
| 1.26.10.1 | 15-Aug-2007 |
skrll | Sync with HEAD.
|
| 1.26.6.1 | 09-Dec-2007 |
reinoud | Pullup to HEAD
|
| 1.26.2.5 | 24-Oct-2007 |
ad | - Kill ISODEVMAP. - Mark cd9660 MPSAFE.
|
| 1.26.2.4 | 16-Sep-2007 |
ad | Checkpoint work in progress on the vnode lifecycle and reference counting stuff. This makes it work properly without kernel_lock and fixes a few quite old bugs. See vfs_subr.c 1.283.2.17 for details.
|
| 1.26.2.3 | 20-Aug-2007 |
ad | Sync with HEAD.
|
| 1.26.2.2 | 19-Aug-2007 |
ad | - Back out the biodone() changes. - Eliminate B_ERROR (from HEAD).
|
| 1.26.2.1 | 13-May-2007 |
ad | - Pass the error number and residual count to biodone(), and let it handle setting error indicators. Prepare to eliminate B_ERROR. - Add a flag argument to brelse() to be set into the buf's flags, instead of doing it directly. Typically used to set B_INVAL. - Add a "struct cpu_info *" argument to kthread_create(), to be used to create bound threads. Change "bool mpsafe" to "int flags". - Allow exit of LWPs in the IDL state when (l != curlwp). - More locking fixes & conversion to the new API.
|
| 1.28.10.2 | 29-Jul-2007 |
rumble | Use _DIRENT_MINSIZE when determining the number of NFS cookies to allocate, rather than hard-coding 16.
|
| 1.28.10.1 | 29-Jul-2007 |
rumble | file cd9660_vnops.c was added on branch matt-mips64 on 2007-07-29 21:17:42 +0000
|
| 1.28.8.1 | 14-Oct-2007 |
yamt | sync with head.
|
| 1.28.6.3 | 23-Mar-2008 |
matt | sync with HEAD
|
| 1.28.6.2 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.28.6.1 | 06-Nov-2007 |
matt | sync with HEAD
|
| 1.28.4.3 | 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
| 1.28.4.2 | 27-Nov-2007 |
joerg | Sync with HEAD. amd64 Xen support needs testing.
|
| 1.28.4.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.29.4.3 | 18-Feb-2008 |
mjf | Sync with HEAD.
|
| 1.29.4.2 | 27-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.29.4.1 | 08-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.30.2.2 | 08-Dec-2007 |
ad | Sync with head.
|
| 1.30.2.1 | 04-Dec-2007 |
ad | Pull the vmlocking changes into a new branch.
|
| 1.32.6.3 | 17-Jan-2009 |
mjf | Sync with HEAD.
|
| 1.32.6.2 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.32.6.1 | 03-Apr-2008 |
mjf | Sync with HEAD.
|
| 1.32.2.1 | 24-Mar-2008 |
keiichi | sync with head.
|
| 1.33.6.1 | 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
| 1.33.4.3 | 11-Aug-2010 |
yamt | sync with head.
|
| 1.33.4.2 | 18-Jul-2009 |
yamt | sync with head.
|
| 1.33.4.1 | 04-May-2009 |
yamt | sync with head.
|
| 1.33.2.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.34.6.1 | 19-Jan-2009 |
skrll | Sync with HEAD.
|
| 1.34.4.1 | 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
| 1.36.2.1 | 23-Jul-2009 |
jym | Sync with HEAD.
|
| 1.38.4.1 | 30-May-2010 |
rmind | sync with head
|
| 1.38.2.1 | 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
| 1.40.6.1 | 05-Apr-2012 |
mrg | sync to latest -current.
|
| 1.40.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.40.2.2 | 23-Jan-2013 |
yamt | sync with head
|
| 1.40.2.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.41.2.4 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.41.2.3 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.41.2.2 | 23-Jun-2013 |
tls | resync from head
|
| 1.41.2.1 | 25-Feb-2013 |
tls | resync with head
|
| 1.45.2.1 | 18-May-2014 |
rmind | sync with head
|
| 1.47.2.1 | 10-Aug-2014 |
tls | Rebase.
|
| 1.49.4.3 | 19-Mar-2016 |
skrll | Sync with HEAD
|
| 1.49.4.2 | 06-Jun-2015 |
skrll | Sync with HEAD
|
| 1.49.4.1 | 06-Apr-2015 |
skrll | Sync with HEAD
|
| 1.54.18.1 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.54.10.1 | 04-Aug-2019 |
martin | Pull up following revision(s) (requested by maxv in ticket #1322):
sys/fs/cd9660/cd9660_vnops.c: revision 1.55
Fix info leak: zero out the buffer, because it is not entirely filled, and the uninitialized bytes get copied to userland in sys___getdens30(). Remove unneeded cast while here.
|
| 1.55.8.1 | 25-Apr-2020 |
bouyer | Sync with bouyer-xenpvh-base2 (HEAD)
|
| 1.58.6.1 | 01-Aug-2021 |
thorpej | Sync with HEAD.
|
| 1.2 | 11-Oct-2014 |
uebayasi | Define filesystem attributes with vfs dependency.
|
| 1.1 | 23-Dec-2002 |
jdolecek | branches: 1.1.2; 1.1.152; move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
|
| 1.1.152.1 | 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.1.2.2 | 29-Dec-2002 |
thorpej | With with HEAD.
|
| 1.1.2.1 | 23-Dec-2002 |
thorpej | file files.cd9660 was added on branch nathanw_sa on 2002-12-29 19:55:42 +0000
|
| 1.10 | 27-Sep-2011 |
christos | define and use ISO_MAXNAMLEN instead of MAXNAMLEN
|
| 1.9 | 27-Jan-2007 |
cbiere | * Added missing cast in isonum_712(). * Added const-qualifiers. * Removed unnecessary duplicate prototypes. * Use the endian conversion functions from <sys/endian.h>.
|
| 1.8 | 16-Feb-2006 |
perry | branches: 1.8.14; Change "inline" back to "__inline" in .h files -- C99 is still too new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
|
| 1.7 | 24-Dec-2005 |
perry | branches: 1.7.2; 1.7.4; 1.7.6; Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
|
| 1.6 | 03-Dec-2005 |
christos | - protect userland exported files against multiple inclusion. - make sure that kernel only files don't compile in userland using #error - XXX: some kernel only files still get installed. - XXX: some files used in userland, don't get installed.
|
| 1.5 | 22-Jun-2005 |
junyoung | branches: 1.5.2; ANSIfy and de-__P.
|
| 1.4 | 26-Feb-2005 |
perry | nuke trailing whitespace
|
| 1.3 | 30-Nov-2004 |
martin | branches: 1.3.4; 1.3.6; Declare functions with the proper type they return. While there, replace some strange type names with their C99 equivalent. This avoids sign extension of 32bit fields (like the file size) on 64bit archs. Based on a patch supplied by Olaf 'Rhialto' Seibert in PR kern/28471; should fix that PR.
|
| 1.2 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.1 | 23-Dec-2002 |
jdolecek | branches: 1.1.2; 1.1.4; move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
|
| 1.1.4.7 | 11-Dec-2005 |
christos | Sync with head.
|
| 1.1.4.6 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.1.4.5 | 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
| 1.1.4.4 | 18-Dec-2004 |
skrll | Sync with HEAD.
|
| 1.1.4.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.1.4.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.1.4.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.1.2.2 | 29-Dec-2002 |
thorpej | With with HEAD.
|
| 1.1.2.1 | 23-Dec-2002 |
thorpej | file iso.h was added on branch nathanw_sa on 2002-12-29 19:55:43 +0000
|
| 1.3.6.1 | 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
| 1.3.4.1 | 29-Apr-2005 |
kent | sync with -current
|
| 1.5.2.2 | 26-Feb-2007 |
yamt | sync with head.
|
| 1.5.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.7.6.1 | 22-Apr-2006 |
simonb | Sync with head.
|
| 1.7.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.7.2.1 | 18-Feb-2006 |
yamt | sync with head.
|
| 1.8.14.1 | 01-Feb-2007 |
ad | Sync with head.
|
| 1.4 | 03-Dec-2005 |
christos | - protect userland exported files against multiple inclusion. - make sure that kernel only files don't compile in userland using #error - XXX: some kernel only files still get installed. - XXX: some files used in userland, don't get installed.
|
| 1.3 | 30-Aug-2005 |
xtraeme | Remove __P()
|
| 1.2 | 07-Aug-2003 |
agc | branches: 1.2.16; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
| 1.1 | 23-Dec-2002 |
jdolecek | branches: 1.1.2; 1.1.4; move cd9660 filesystem code from sys/isofs/cd9660 to sys/fs/cd9660
|
| 1.1.4.5 | 11-Dec-2005 |
christos | Sync with head.
|
| 1.1.4.4 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.1.4.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.1.4.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.1.4.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.1.2.2 | 29-Dec-2002 |
thorpej | With with HEAD.
|
| 1.1.2.1 | 23-Dec-2002 |
thorpej | file iso_rrip.h was added on branch nathanw_sa on 2002-12-29 19:55:45 +0000
|
| 1.2.16.1 | 21-Jun-2006 |
yamt | sync with head.
|