Home | History | Annotate | Download | only in umapfs
History log of /src/sys/miscfs/umapfs/umap_subr.c
RevisionDateAuthorComments
 1.29  09-Nov-2014  maxv Do not uselessly include <sys/malloc.h>.
 1.28  15-Mar-2009  cegger branches: 1.28.22; 1.28.38;
ansify function definitions
 1.27  14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.26  13-Feb-2009  plunky While we remap credentials we should ignore cred == FSCRED as well as
cred == NOCRED.

This fixes a page fault occurring when a union is mounted over a umap,
as FSCRED is passed by union filesystem.
 1.25  30-Jun-2007  dsl branches: 1.25.32; 1.25.42; 1.25.44; 1.25.48;
Updates for changes prototype of kauth_cred_set/getgroups().
 1.24  14-May-2006  elad branches: 1.24.18; 1.24.20;
integrate kauth.
 1.23  11-Dec-2005  christos branches: 1.23.4; 1.23.6; 1.23.8; 1.23.10; 1.23.12;
merge ktrace-lwp.
 1.22  30-Aug-2005  xtraeme Remove __P()
 1.21  26-Feb-2005  perry branches: 1.21.4;
nuke trailing whitespace
 1.20  07-Aug-2003  agc branches: 1.20.8; 1.20.10;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.19  15-Nov-2001  lukem branches: 1.19.16;
don't need <sys/types.h> when including <sys/param.h>
 1.18  10-Nov-2001  lukem add RCSIDs
 1.17  07-Jun-2001  wiz branches: 1.17.2; 1.17.6;
Typos and grammer fixes in comments (misc/13133 by Michael K. Sanders)
 1.16  13-Mar-2000  soren branches: 1.16.6;
Fix doubled 'the's in comments.
 1.15  08-Jul-1999  wrstuden branches: 1.15.2;
Introduce layer library in genfs. This set of files abstracts most of
the functionality of nullfs. The latter is now just a mount & unmount
routine, and a few tables. umapfs borrow most of this infrastructure.

Both fs's are now nfs-exportable.

All layered fs's share a common format to private mount & private
vnode structs (which a particular fs can extend).

Also add genfs_noerr_rele(), a vnode op which will vrele/vput
operand vnodes appropriately.
 1.14  19-Mar-1999  perseant branches: 1.14.4;
Apply patch from kern/5538:

Fix group mapping so members of group 0 get other group-ids mapped as well.
Avoid rename panic by checking (*this_vp_p) against NULLVP before
dereferencing it (same change as to NULLFS some time ago).
 1.13  01-Mar-1998  fvdl Merge with Lite2 + local changes
 1.12  07-Feb-1998  chs add flags arg to hashinit(), to pass to malloc().
 1.11  10-Sep-1997  christos PR/4098: Alan Barrett: Fix diagnostic printf formatting.
 1.10  13-Oct-1996  christos branches: 1.10.10;
backout previous kprintf changes
 1.9  10-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.8  05-Mar-1996  thorpej Don't deref a bad ucred pointer, from Dave Carrel <carrel@cisco.com>,
PR #1699.
 1.7  09-Feb-1996  christos miscfs prototype changes
 1.6  01-Jun-1995  jtc Moved egid credential from cr_groups[0] to new field cr_gid. POSIX.1
requires that sgid executables and the setuid() syscall *not* change
the supplemental group list.
 1.5  15-Apr-1995  cgd clean up some return-type warnings
 1.4  20-Sep-1994  cgd fix device aliasing and lost vnode problems.
 1.3  19-Aug-1994  mycroft Convert hash tables.
 1.2  29-Jun-1994  cgd branches: 1.2.2;
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
 1.1  08-Jun-1994  mycroft branches: 1.1.1;
Update to 4.4-Lite fs code, with local changes.
 1.1.1.2  01-Mar-1998  fvdl Import 4.4BSD-Lite2
 1.1.1.1  01-Mar-1998  fvdl Import 4.4BSD-Lite for reference
 1.2.2.2  20-Sep-1994  cgd from trunk.
 1.2.2.1  19-Aug-1994  mycroft update from trunk
 1.10.10.1  16-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.14.4.1  02-Aug-1999  thorpej Update from trunk.
 1.15.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.16.6.3  08-Jan-2002  nathanw Catch up to -current.
 1.16.6.2  14-Nov-2001  nathanw Catch up to -current.
 1.16.6.1  21-Jun-2001  nathanw Catch up to -current.
 1.17.6.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.17.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.19.16.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.19.16.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.19.16.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.19.16.2  18-Sep-2004  skrll Sync with HEAD.
 1.19.16.1  03-Aug-2004  skrll Sync with HEAD
 1.20.10.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.20.8.1  29-Apr-2005  kent sync with -current
 1.21.4.2  03-Sep-2007  yamt sync with head.
 1.21.4.1  21-Jun-2006  yamt sync with head.
 1.23.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.23.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.23.10.2  14-Mar-2006  elad Use kauth_cred_[sg]etgroups() where appropriate.
 1.23.10.1  08-Mar-2006  elad Adapt to kernel authorization KPI.
 1.23.8.1  24-May-2006  yamt sync with head.
 1.23.6.1  01-Jun-2006  kardel Sync with head.
 1.23.4.1  09-Sep-2006  rpaulo sync with head
 1.24.20.1  11-Jul-2007  mjf Sync with head.
 1.24.18.1  15-Jul-2007  ad Sync with head.
 1.25.48.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.25.44.1  23-Feb-2009  snj Pull up following revision(s) (requested by plunky in ticket #461):
sys/miscfs/umapfs/umap_subr.c: revision 1.26
sys/miscfs/umapfs/umap_vnops.c: revision 1.44
While we remap credentials we should ignore cred == FSCRED as well as
cred == NOCRED.
This fixes a page fault occurring when a union is mounted over a umap,
as FSCRED is passed by union filesystem.
 1.25.42.2  28-Apr-2009  skrll Sync with HEAD.
 1.25.42.1  03-Mar-2009  skrll Sync with HEAD.
 1.25.32.1  04-May-2009  yamt sync with head.
 1.28.38.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.28.22.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed