History log of /src/sys/compat/common/compat_util.c |
Revision | | Date | Author | Comments |
1.47 |
| 27-Jan-2019 |
pgoyette | Merge the [pgoyette-compat] branch
|
1.46 |
| 09-Nov-2014 |
maxv | branches: 1.46.18; 1.46.20; Do not uselessly include <sys/malloc.h>.
|
1.45 |
| 17-Dec-2013 |
martin | branches: 1.45.4; Free pathbuf in an error path. From Maxime Villard.
|
1.44 |
| 19-Nov-2010 |
dholland | branches: 1.44.8; 1.44.14; 1.44.18; 1.44.20; 1.44.22; 1.44.28; Introduce struct pathbuf. This is an abstraction to hold a pathname and the metadata required to interpret it. Callers of namei must now create a pathbuf and pass it to NDINIT (instead of a string and a uio_seg), then destroy the pathbuf after the namei session is complete.
Update all namei call sites accordingly. Add a pathbuf(9) man page and update namei(9).
The pathbuf interface also now appears in a couple of related additional places that were passing string/uio_seg pairs that were later fed into NDINIT. Update other call sites accordingly.
|
1.43 |
| 14-Dec-2009 |
mrg | branches: 1.43.4; replace mips:elf_check_itp() and ELFNAME2(netbsd32,probe_noteless) that it's based upon with a common compat_elf_check_interp().
tested on MALTA64 and sparc64.
|
1.42 |
| 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.41 |
| 28-Apr-2008 |
martin | branches: 1.41.10; 1.41.14; 1.41.18; 1.41.20; 1.41.24; Remove clause 3 and 4 from TNF licenses
|
1.40 |
| 31-Dec-2007 |
ad | branches: 1.40.6; 1.40.8; 1.40.10; Remove systrace. Ok core@.
|
1.39 |
| 08-Dec-2007 |
pooka | branches: 1.39.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.38 |
| 08-Dec-2007 |
dsl | ANSIfy most of the function definitions in sys/compat (but not ndis). All by the magic of sed ...
|
1.37 |
| 13-Jul-2007 |
dsl | branches: 1.37.6; 1.37.8; 1.37.14; 1.37.16; Put the stackgap code under OPT_SYSTRACE.
|
1.36 |
| 26-Apr-2007 |
dsl | Pass the emulation root string into namei() from emul_find_interp() so that the ktrace entries for lookups done during exec can have the full filename. This is rather a hack :-)
|
1.35 |
| 22-Apr-2007 |
dsl | Change the way that emulations locate files within the emulation root to avoid having to allocate space in the 'stackgap' - which is very LWP unfriendly. The additional code for non-emulation namei() is trivial, the reduction for the emulations is massive. The vnode for a processes emulation root is saved in the cwdi structure during process exec. If the emulation root the TRYEMULROOT flag are set, namei() will do an initial search for absolute pathnames in the emulation root, if that fails it will retry from the normal root. ".." at the emulation root will always go to the real root, even in the middle of paths and when expanding symlinks. Absolute symlinks found using absolute paths in the emulation root will be relative to the emulation root (so /usr/lib/xxx.so -> /lib/xxx.so links inside the emulation root don't need changing). If the root of the emulation would be returned (for an emulation lookup), then the real root is returned instead (matching the behaviour of emul_lookup, but being a cheap comparison here) so that programs that scan "../.." looking for the root dircetory don't loop forever. The target for symbolic links is no longer mangled (it used to get the CHECK_ALT_xxx() treatment, so could get /emul/xxx prepended). CHECK_ALT_xxx() are no more. Most of the change is deleting them, and adding TRYEMULROOT to the flags to NDINIT(). A lot of the emulation system call stubs could now be deleted.
|
1.34 |
| 04-Mar-2007 |
christos | branches: 1.34.2; 1.34.4; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.33 |
| 24-Nov-2006 |
wiz | branches: 1.33.4; s/existance/existence/, from Zafer.
|
1.32 |
| 23-Jul-2006 |
ad | branches: 1.32.4; 1.32.6; Use the LWP cached credentials where sane.
|
1.31 |
| 14-May-2006 |
elad | integrate kauth.
|
1.30 |
| 11-Dec-2005 |
christos | branches: 1.30.4; 1.30.6; 1.30.8; 1.30.10; 1.30.12; merge ktrace-lwp.
|
1.29 |
| 29-May-2005 |
christos | branches: 1.29.2; - sprinkle const. - add XXXUNCONST to the emul_find() pbuf argument free'ing. XXX: this needs an api change. - avoid variable shadowing.
|
1.28 |
| 26-Feb-2005 |
perry | nuke trailing whitespace
|
1.27 |
| 29-Jun-2003 |
fvdl | branches: 1.27.2; 1.27.10; 1.27.12; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
1.26 |
| 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.25 |
| 29-Nov-2002 |
jdolecek | add emul_find_interp() function: the function looks for interpreter in alternative emul tree first, and updates interpreter pathname if found there; if not found in alternative emul tree, pathname without the emul prefix is checked, and error returned if the file doesn't exist
|
1.24 |
| 23-Sep-2002 |
simonb | Remove a meaningless type qualifier on a cast.
|
1.23 |
| 17-Mar-2002 |
christos | panic if more space than stackgaplen is requested. Maybe I should remove the size option completely.
|
1.22 |
| 16-Mar-2002 |
christos | make the stackgap_{init,alloc} functions MP friendly (i.e. pass struct proc * in, instead of using curproc). While there add an optional size argument to stackgap_init.
|
1.21 |
| 13-Nov-2001 |
lukem | add RCSIDs (including regeneration of files as appropriate)
|
1.20 |
| 02-Feb-2001 |
jdolecek | branches: 1.20.2; 1.20.4; emul_find(): actually, the emulation root vnode dance has to be done for CHECK_ALT_SYMLINK() same way as for CHECK_ALT_EXISTS() This fixes lossage reported on current-users and kern/12019 by Ross Harvey.
|
1.19 |
| 22-Jan-2001 |
jdolecek | Introduce CHECK_ALT_SYMLINK() - this checks for alternative location without following links, hence is usable for checking of presence of a symlink. Also slighly cleanup EXISTS and CREAT cases - use symbolic constants instead of 0/1. This is needed for emulation of readlink(2), lchown(2) and similar. Addresses kern/11757.
|
1.18 |
| 20-Nov-2000 |
jdolecek | make const the struct emul * pointers passed/used in stackgap_init(), stackgap_alloc()
|
1.17 |
| 28-Sep-2000 |
eeh | Add support for variable end of user stacks needed to support COMPAT_NETBSD32:
`struct vmspace' has a new field `vm_minsaddr' which is the user TOS.
PS_STRINGS is deprecated in favor of curproc->p_pstr which is derived from `vm_minsaddr'.
Bump the kernel version number.
|
1.16 |
| 29-Aug-2000 |
sommerfeld | Emulation stackgap sanity checks, based partly on fixes from FreeBSD-SA00:42.
Change stackgap_alloc to bounds-check the allocation vs. the stack gap, returning NULL if there isn't room for the allocation.
Change emul_find() to check for a NULL return from stackgap_alloc() and convert that into ENAMETOOLONG.
Reorder various emulation syscalls so that all *_CHECK_ALT_{EXIST,CREAT} calls (which turn into emul_find() under the covers come *after* small, fixed-size stackgap_alloc() calls.
Clean up ibcs2 {get,set}groups.
|
1.15 |
| 26-Jun-2000 |
mrg | remove redundant vm includes.
|
1.14 |
| 27-Apr-1999 |
christos | branches: 1.14.2; 1.14.12; From cgd again: pbuf == path on failure.
|
1.13 |
| 27-Apr-1999 |
christos | Make the usage consistant and document it: if the path was given in a user buffer, return the new path in a user buffer. if the path was given in a kernel buffer, allocate a new kernel buffer to return the new path; the caller is responsible for freeing the buffer if we fail always set the new path to NULL. This usage broke when I adde the /../ shortcut. Noted by cgd.
|
1.12 |
| 24-Apr-1999 |
cgd | implement a simple function, emul_flags_translate() to do table-based flags translation.
|
1.11 |
| 14-Feb-1999 |
christos | branches: 1.11.2; 1.11.4; 1.11.6; Provide a way for compat programs to specify files in the normal tree. We do this using a trick similar to mach's /../; if a path is given as /..<absolute-path-name>, then we return <absolute-path-name>
|
1.10 |
| 09-Feb-1999 |
christos | char * and char ** -> const char * and const char **
|
1.9 |
| 03-Oct-1998 |
fvdl | Assign to TNF completely.
|
1.8 |
| 05-Sep-1998 |
christos | Assign copyright to TNF.
|
1.7 |
| 10-Oct-1997 |
fvdl | Add getdirentries backward compat syscall. Provide common function to signal cookie overflow during emulated getdents and friends.
|
1.6 |
| 25-Oct-1996 |
cgd | branches: 1.6.10; make the namei struct members ni_dirp and ni_next, and the componentname struct member cn_nameptr 'const', since they should never be used to modify the path name. (Only the pathname buffer, cn_pnbuf, should be modified.) Propagate the const poisoning to code that uses the namei and componentname structs.
|
1.5 |
| 12-Oct-1996 |
thorpej | Don't inline stackgap_init() and stackgap_alloc(). Doing so generates an include file dependency graph that's much more complicated than it needs to be, and wastes space in the kernel.
|
1.4 |
| 14-Mar-1996 |
christos | Fix compiler warnings
|
1.3 |
| 22-Oct-1995 |
mycroft | Make sure we free the pathname buffer in all error cases.
|
1.2 |
| 26-Jun-1995 |
christos | branches: 1.2.2; Fix PR1160... (bug with the new compat_util prefix)
|
1.1 |
| 24-Jun-1995 |
christos | - Extracted all compat routines from the kern directory and moved here. - Created compat_util.c and compat_util.h to be used by the compatibility modules, so they don't duplicate the same code. - Added prototypes to the stackgap allocation routines.
|
1.2.2.1 |
| 22-Oct-1995 |
mycroft | Make sure we free the pathname buffer in all error cases.
|
1.6.10.1 |
| 14-Oct-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.11.6.1 |
| 30-Nov-1999 |
itojun | bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch just for reference purposes. This commit includes 1.4 -> 1.4.1 sync for kame branch.
The branch does not compile at all (due to the lack of ALTQ and some other source code). Please do not try to modify the branch, this is just for referenre purposes.
synchronization to latest KAME will take place on HEAD branch soon.
|
1.11.4.1 |
| 21-Jun-1999 |
thorpej | Sync w/ -current.
|
1.11.2.3 |
| 09-Sep-2000 |
he | Pull up revision 1.16 (requested by simonb): More carefully check length of user-supplied data, in particular make sure we don't overrun the available stack gap in stack gap allocations.
|
1.11.2.2 |
| 21-Jun-1999 |
cgd | pull up rev(s) 1.12 from trunk. (cgd)
|
1.11.2.1 |
| 18-Jun-1999 |
perry | pullup 1.12->1.14 (cgd)
|
1.14.12.2 |
| 18-Oct-2000 |
tv | Pullup by patch [eeh]: Support userspace at multiple addresses by making PSSTRINGS variable (using p_psstr), and fix stackgap_init() appropriately.
|
1.14.12.1 |
| 30-Aug-2000 |
sommerfeld | Pull up: syssrc/sys/compat/common/compat_util.c 1.16 syssrc/sys/compat/hpux/hpux_file.c 1.14 syssrc/sys/compat/ibcs2/ibcs2_misc.c 1.52 syssrc/sys/compat/ibcs2/ibcs2_stat.c 1.16 syssrc/sys/compat/linux/common/linux_file.c 1.29 syssrc/sys/compat/linux/common/linux_misc_notalpha.c 1.58 syssrc/sys/compat/svr4/svr4_stat.c 1.40 syssrc/sys/compat/svr4/svr4_stream.c 1.40,1.41
Approved by thorpej and jhawk.
Emulation stackgap sanity checks, based partly on fixes from FreeBSD-SA00:42.
Change stackgap_alloc to bounds-check the allocation vs. the stack gap, returning NULL if there isn't room for the allocation.
Change emul_find() to check for a NULL return from stackgap_alloc() and convert that into ENAMETOOLONG.
Reorder various emulation syscalls so that all *_CHECK_ALT_{EXIST,CREAT} calls (which turn into emul_find() under the covers come *after* small, fixed-size stackgap_alloc() calls.
Clean up ibcs2 {get,set}groups.
Add range checks to svr4_stream.c
|
1.14.2.3 |
| 11-Feb-2001 |
bouyer | Sync with HEAD.
|
1.14.2.2 |
| 22-Nov-2000 |
bouyer | Sync with HEAD.
|
1.14.2.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
1.20.4.3 |
| 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.20.4.2 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.20.4.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.20.2.6 |
| 11-Dec-2002 |
thorpej | Sync with HEAD.
|
1.20.2.5 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.20.2.4 |
| 12-Jul-2002 |
nathanw | No longer need to pull in lwp.h; proc.h pulls it in for us.
|
1.20.2.3 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.20.2.2 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.20.2.1 |
| 05-Mar-2001 |
nathanw | Initial commit of scheduler activations and lightweight process support.
|
1.27.12.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.27.10.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.27.2.5 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.27.2.4 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.27.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.27.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.27.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.29.2.4 |
| 21-Jan-2008 |
yamt | sync with head
|
1.29.2.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.29.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.29.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.30.12.1 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.30.10.1 |
| 08-Mar-2006 |
elad | Adapt to kernel authorization KPI.
|
1.30.8.2 |
| 11-Aug-2006 |
yamt | sync with head
|
1.30.8.1 |
| 24-May-2006 |
yamt | sync with head.
|
1.30.6.1 |
| 01-Jun-2006 |
kardel | Sync with head.
|
1.30.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.32.6.1 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.32.4.1 |
| 12-Jan-2007 |
ad | Sync with head.
|
1.33.4.2 |
| 07-May-2007 |
yamt | sync with head.
|
1.33.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.34.4.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.34.2.2 |
| 15-Jul-2007 |
ad | Sync with head.
|
1.34.2.1 |
| 27-May-2007 |
ad | Sync with head.
|
1.37.16.1 |
| 26-Dec-2007 |
ad | Sync with head.
|
1.37.14.1 |
| 18-Feb-2008 |
mjf | Sync with HEAD.
|
1.37.8.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.37.6.1 |
| 09-Dec-2007 |
jmcneill | Sync with HEAD.
|
1.39.4.1 |
| 02-Jan-2008 |
bouyer | Sync with HEAD
|
1.40.10.3 |
| 11-Mar-2010 |
yamt | sync with head
|
1.40.10.2 |
| 18-Jul-2009 |
yamt | sync with head.
|
1.40.10.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.40.8.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.40.6.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.41.24.2 |
| 18-Dec-2013 |
riz | Revert ticket #1893 - netbsd-5 does not have pathbuf_destroy()
|
1.41.24.1 |
| 17-Dec-2013 |
bouyer | Pull up following revision(s) (requested by martin in ticket #1893): sys/compat/common/compat_util.c: revision 1.45 Free pathbuf in an error path. From Maxime Villard.
|
1.41.20.2 |
| 18-Dec-2013 |
riz | Revert ticket #1893 - netbsd-5 does not have pathbuf_destroy()
|
1.41.20.1 |
| 17-Dec-2013 |
bouyer | Pull up following revision(s) (requested by martin in ticket #1893): sys/compat/common/compat_util.c: revision 1.45 Free pathbuf in an error path. From Maxime Villard.
|
1.41.18.1 |
| 14-Dec-2009 |
mrg | pullup from -current: >replace mips:elf_check_itp() and ELFNAME2(netbsd32,probe_noteless) that >it's based upon with a common compat_elf_check_interp(). > >tested on MALTA64 and sparc64.
|
1.41.14.1 |
| 23-Jul-2009 |
jym | Sync with HEAD.
|
1.41.10.2 |
| 18-Dec-2013 |
riz | Revert ticket #1893 - netbsd-5 does not have pathbuf_destroy()
|
1.41.10.1 |
| 17-Dec-2013 |
bouyer | Pull up following revision(s) (requested by martin in ticket #1893): sys/compat/common/compat_util.c: revision 1.45 Free pathbuf in an error path. From Maxime Villard.
|
1.43.4.1 |
| 05-Mar-2011 |
rmind | sync with head
|
1.44.28.1 |
| 17-Dec-2013 |
bouyer | Pull up following revision(s) (requested by martin in ticket #999): sys/compat/common/compat_util.c: revision 1.45 Free pathbuf in an error path. From Maxime Villard.
|
1.44.22.1 |
| 18-May-2014 |
rmind | sync with head
|
1.44.20.1 |
| 17-Dec-2013 |
bouyer | Pull up following revision(s) (requested by martin in ticket #999): sys/compat/common/compat_util.c: revision 1.45 Free pathbuf in an error path. From Maxime Villard.
|
1.44.18.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.44.18.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.44.14.1 |
| 17-Dec-2013 |
bouyer | Pull up following revision(s) (requested by martin in ticket #999): sys/compat/common/compat_util.c: revision 1.45 Free pathbuf in an error path. From Maxime Villard.
|
1.44.8.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.45.4.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.46.20.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.46.18.4 |
| 22-Sep-2018 |
pgoyette | #include "opt_compat_netbsd.h" for all sources that provide compat code.
|
1.46.18.3 |
| 10-Sep-2018 |
pgoyette | Remove the monolithic compat and compat_sysv modules. Now that we don't have aliases, we need to use only the version-specific module names when resolving dependencies.
|
1.46.18.2 |
| 30-Mar-2018 |
pgoyette | Create the compat_util module for use by version-specific compat code. (It's automatically included in the monolithic compat module, as well as in kernels with built-in compat code.)
|
1.46.18.1 |
| 06-Mar-2018 |
pgoyette | Move necessary routines out of compat_util.c and into exec_elf.c
Once again, compat_util.c is only for modules, so move it back into compat/common/files.common and out of kern/files.kern
|