Home | History | Annotate | Download | only in netbsd32
History log of /src/sys/compat/netbsd32/files.netbsd32
RevisionDateAuthorComments
 1.56  19-May-2024  christos version dup3
 1.55  30-Jul-2023  rin COMPAT_NETBSD32: Add support for epoll(2).
 1.54  19-Dec-2022  pgoyette Create compat_100 module infrastructure now that we have branched
for NetBSD-10
 1.53  17-Apr-2021  simonb Compile in compat32 syscall names all the time, as we do for native
syscall names. Needed for dtrace.
 1.52  16-May-2020  christos branches: 1.52.4;
Add ACL support for FFS. From FreeBSD.
 1.51  26-Apr-2020  thorpej Add a NetBSD native futex implementation, mostly written by riastradh@.
Map the COMPAT_LINUX futex calls to the native ones.
 1.50  12-Mar-2020  pgoyette Split out the quota code from the rest of compat_netbsd32 module. This
allows loading of compat_netbsd32 on kernels that don't have ``options
QUOTA'' enabled.
 1.49  22-Sep-2019  christos Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=
 1.48  20-Aug-2019  christos make things compile again.
 1.47  20-Aug-2019  maxv Disable netbsd32_drm.c until it receives proper review.
 1.46  20-Aug-2019  christos compat32 drm ioctl support from Surya Shankar at GSoC 2019
 1.45  18-Jun-2019  christos use option quota
 1.44  27-Jan-2019  christos remove dup
 1.43  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.42  24-Dec-2018  mrg quotactl is always included, regardless of options QUOTA.
 1.41  24-Dec-2018  mrg move mmap(), compat 40 mount(), pipe() and getfh() into their own files
as the implementation is non trivial or is compat. mark old mount()
properly instead of manually #if'ing ito to ENOSYS.
 1.40  24-Dec-2018  mrg move rlimit and quota code into their own modules.

(netbsd32_netbsd.c should have only simple shims. anything more
than copying arguments from one args struct to the other should
not be placed in this file. still a couple more to move out.)
 1.39  19-Oct-2016  skrll branches: 1.39.14; 1.39.16;
PR kern/51514: ptrace(2) fails for 32-bit process on 64-bit kernel

Updated from the original patch in the PR by me.
 1.38  03-Dec-2015  pgoyette branches: 1.38.2;
Missed these.

Only include the compat_14 sys calls if this being compiled as part of
the compat_netbsd32_sysvipc module.
 1.37  01-Dec-2015  pgoyette Properly mark netbsd32_mqueue.c to depend on 'options MQUEUE'

Yes, MQUEUE is included in all kernels by default, but it can be removed.
If it is removed, the compat_netbsd32 module should not include it, either.
 1.36  22-Jun-2015  mrg add netbsd32 support for nfssvc(2). we do this by defining 5 copyin/out
functions that do all the ugly work, are just plain copyin/out for the
native system calls, and do the necessary translations for netbsd32.

with this i'm able to run 32 bit nfsd and mountd on 64 bit kernel and
mount the file systems remotely.
 1.35  20-Jun-2015  martin Implement modctl, sigqueinfo and mq_*
 1.34  17-Nov-2014  uebayasi branches: 1.34.2;
Define compat modules (but without dependencies yet).
 1.33  29-Mar-2013  christos branches: 1.33.10;
compat glue for new lwp_park
 1.32  10-Mar-2012  joerg branches: 1.32.2;
P1003_1B_SEMAPHORE is no longer optional.
 1.31  19-Feb-2012  rmind Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3!
Approved by core@.
 1.30  04-Jan-2011  matt branches: 1.30.8; 1.30.12;
Make the SA support as optional as is possible.
 1.29  10-Dec-2009  matt branches: 1.29.4;
Move saemul_netbsd32 to netbsd32_sa.c and allow the KERN_SA bits to be omitted.
 1.28  11-Jan-2009  christos merge christos-time_t
 1.27  19-Nov-2008  ad branches: 1.27.4;
Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
 1.26  15-Oct-2008  wrstuden branches: 1.26.2;
Merge wrstuden-revivesa into HEAD.
 1.25  18-Feb-2007  cube branches: 1.25.38; 1.25.42; 1.25.44; 1.25.48;
Add missing lwp syscalls. Put them all together into a new file,
netbsd32_lwp.c, and remove remaining traces of SA.

This still needs some MD (and possibly MI, depending on the chosen
solution) changes to actually work.
 1.24  09-Nov-2006  cube branches: 1.24.4;
- Make better use of COMPAT_XX type in syscalls.master
- Remove useless (thanks to COMPAT_XX behaviour) #ifdefs in
syscalls.master
- Make netbsd32_compat_43.c compiled per COMPAT_LINUX32 because the latter
needs stuff from it.

Fixes Perry's PR#34951.
 1.23  30-Aug-2006  cube branches: 1.23.2; 1.23.4;
netbsd32_core.c is need only under options COREDUMP.
 1.22  29-Mar-2006  cube Implement the _lwp* and sa_* families of syscalls, using the newly
introduced hooks in the native code.
 1.21  05-Mar-2006  cube branches: 1.21.2; 1.21.4; 1.21.6;
Implement the ksem_* family of syscalls.
 1.20  11-Dec-2005  christos branches: 1.20.4; 1.20.6;
merge ktrace-lwp.
 1.19  23-Oct-2005  cube - Split sys_kevent into kevent1 so that it can be used by COMPAT_NETBSD32
code.

- To achieve COMPAT_NETBSD32 compatibility, introduce a parameter to
kevent1 that points to functions that do the actual copyin/copyout
operations. This is similar to what was done in FreeBSD by Paul Saab.

- Add the COMPAT_NETBSD32 definitions and hooks.
 1.18  19-Aug-2005  christos branches: 1.18.2;
64 bit inode changes.
 1.17  17-Jun-2004  cube branches: 1.17.12;
o Add support for the statvfs family of syscalls (statvfs1, fstatvfs1,
fhstatvfs1 and getvfsstat)
o Move the statfs family out of netbsd32_fs.c and netbsd32_netbsd.c to
netbsd_compat_20.c, compiled with COMPAT_20

Reviewed by christos@.
 1.16  16-Jan-2004  mrg clean up a little:
- delete ktrsyscall32()
- add a check #ifdef _LP64 to do the conversion if P_32 is set to the
standard ktrsyscall()
- add a couple of similar _LP64/P_32 checks to the systrace code.

this should get systrace working for 32 bit apps as well as complete
ktrace support for "trace_enter/trace_exit" using platforms such as amd64.

XXX: systrace isn't supported on sparc64 currently... (it doesn't use
trace_enter/trace_exit, or have it's own calls to systrace_xxx()...)
 1.15  15-Jan-2004  mrg add a copy of the ktrsyscall() entry point for 32 bit emulated calls.
the main purpose of this function is to adjust the "argsize" value of
the ktrace syscall record, otherwise userland will see N/2 (rounded
down) arguments instead of N.
 1.14  25-Oct-2003  chs allow COMPAT_SUNOS without COMPAT_43.
 1.13  15-Oct-2003  fvdl Don't put the netbsd32_compat*.c files in the 'compat library'. Unconditionally
compiling these causes a ripple effect making it hard to conditionalize
anything on COMPAT_* in the kernel.
 1.12  29-Apr-2002  mrg branches: 1.12.10;
build the netbsd32_compat* objects into libcompat.a, so they are available
to emulations not just netbsd itself. rename the compat_10 functions to
match everything else. fixes a problem reported by julian coleman.
 1.11  08-Dec-2001  thorpej Make the coredump routine exec-format/emulation specific. Split
out traditional NetBSD coredump routines into core_netbsd.c and
netbsd32_core.c (for COMPAT_NETBSD32).
 1.10  06-Jun-2001  mrg branches: 1.10.2;
add netbsd32_uvm_unix.c and netbsd32_kern_sig.c
 1.9  08-Feb-2001  mrg branches: 1.9.2;
split up netbsd32_netbsd.c into 9 new files, leaving only those syscalls that
have no special interpretations besides simple syscall args conversion.
 1.8  07-Feb-2001  mrg compat_sunos needs netbsd32_compat_09.c
 1.7  01-Dec-2000  jdolecek put a.out/elf32 specific things in netbsd32_exec_{aout|elf32}.c
emul_netbsd32 was moved to netbsd32_netbsd.c
g/c netbsd32_exec.c now
 1.6  11-Oct-1999  eeh branches: 1.6.2;
Add netbsd32_compat_14.c

Rename everything from compat_netbsd32 -> netbsd32 so we don't have silly
names like compat_14_compat_netbsd32_sys_shmctl().
 1.5  24-Apr-1999  eeh branches: 1.5.2;
Don't defopt COMPAT_NETBSD32 here; it's done in sys/conf/files.
 1.4  25-Mar-1999  mrg branches: 1.4.4;
clean and up make compile
 1.3  25-Mar-1999  mrg move sparc32 to netbsd32; split out MD part (signal handling) (mostly via repository copy, rename and perl -pi :-)
 1.2  01-Oct-1998  eeh Overhaul. Now will run simple things like /bin/sh and /bin/echo.
 1.1  26-Aug-1998  mrg add a 32-bit compatibility module for the sparc64 port, so it can run NetBSD/sparc binaries with a LP64 kernel.
 1.4.4.1  21-Jun-1999  thorpej Sync w/ -current.
 1.5.2.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.2.2  11-Feb-2001  bouyer Sync with HEAD.
 1.6.2.1  08-Dec-2000  bouyer Sync with HEAD.
 1.9.2.3  20-Jun-2002  nathanw Catch up to -current.
 1.9.2.2  08-Jan-2002  nathanw Catch up to -current.
 1.9.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.10.2.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.10.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.12.10.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.12.10.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.10.2  18-Sep-2004  skrll Sync with HEAD.
 1.12.10.1  03-Aug-2004  skrll Sync with HEAD
 1.17.12.3  26-Feb-2007  yamt sync with head.
 1.17.12.2  30-Dec-2006  yamt sync with head.
 1.17.12.1  21-Jun-2006  yamt sync with head.
 1.18.2.1  26-Oct-2005  yamt sync with head
 1.20.6.1  22-Apr-2006  simonb Sync with head.
 1.20.4.1  09-Sep-2006  rpaulo sync with head
 1.21.6.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.21.4.1  19-Apr-2006  elad sync with head.
 1.21.2.3  03-Sep-2006  yamt sync with head.
 1.21.2.2  01-Apr-2006  yamt sync with head.
 1.21.2.1  05-Mar-2006  yamt file files.netbsd32 was added on branch yamt-pdpolicy on 2006-04-01 12:06:41 +0000
 1.23.4.1  10-Dec-2006  yamt sync with head.
 1.23.2.1  18-Nov-2006  ad 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.25.48.2  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.25.48.1  19-Oct-2008  haad Sync with HEAD.
 1.25.44.1  28-Sep-2008  skrll Adapt the SA COMPAT_NETBSD32 stuff to this branch.
 1.25.42.2  11-Mar-2010  yamt sync with head
 1.25.42.1  04-May-2009  yamt sync with head.
 1.25.38.1  17-Jan-2009  mjf Sync with HEAD.
 1.26.2.1  19-Jan-2009  skrll Sync with HEAD.
 1.27.4.2  04-Jan-2009  christos add new syscalls.
 1.27.4.1  19-Nov-2008  christos file files.netbsd32 was added on branch christos-time_t on 2009-01-04 01:56:02 +0000
 1.29.4.1  05-Mar-2011  rmind sync with head
 1.30.12.2  11-Mar-2012  mrg sync to latest -current
 1.30.12.1  24-Feb-2012  mrg sync to -current.
 1.30.8.2  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.8.1  17-Apr-2012  yamt sync with head
 1.32.2.2  03-Dec-2017  jdolecek update from HEAD
 1.32.2.1  23-Jun-2013  tls resync from head
 1.33.10.1  04-Nov-2015  riz Pull up following revision(s) (requested by mrg in ticket #956):
sys/compat/netbsd32/files.netbsd32: revision 1.36
sys/compat/netbsd32/netbsd32_sysent.c: revision 1.115
sys/compat/netbsd32/netbsd32_syscallargs.h: revision 1.116
sys/nfs/nfs_var.h: revision 1.93
sys/compat/netbsd32/netbsd32_conv.h: revision 1.30
sys/compat/netbsd32/netbsd32_syscall.h: revision 1.116
sys/compat/netbsd32/netbsd32_syscalls.c: revision 1.115
sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.1
sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.3
sys/nfs/nfs_syscalls.c: revision 1.156
sys/compat/netbsd32/syscalls.master: revision 1.108
sys/compat/netbsd32/netbsd32.h: revision 1.107
add netbsd32 support for nfssvc(2). we do this by defining 5 copyin/out
functions that do all the ugly work, are just plain copyin/out for the
native system calls, and do the necessary translations for netbsd32.
with this i'm able to run 32 bit nfsd and mountd on 64 bit kernel and
mount the file systems remotely.
don't copy the first netbsd32_export_args nexports times, but actually
advance the userland pointer each entry through the loop. oops.
 1.34.2.3  05-Dec-2016  skrll Sync with HEAD
 1.34.2.2  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.34.2.1  22-Sep-2015  skrll Sync with HEAD
 1.38.2.1  04-Nov-2016  pgoyette Sync with HEAD
 1.39.16.3  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.39.16.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.39.16.1  10-Jun-2019  christos Sync with HEAD
 1.39.14.6  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.39.14.5  23-Sep-2018  pgoyette More work on kern_proc_32
 1.39.14.4  12-Sep-2018  pgoyette Split compat_netbsd32_sysvipc into version-specific modules
 1.39.14.3  12-Sep-2018  pgoyette Add a compat_netbsd32_16 to handle the sigcode stuff.
 1.39.14.2  11-Sep-2018  pgoyette Also need to declare the emul_netbsd32 !
 1.39.14.1  21-Mar-2018  pgoyette Split compat/rndpseudo_50.c into two pieces, one for native compat and
a second piece for compat32. Update both modules accordingly.
 1.52.4.1  17-Apr-2021  thorpej Sync with HEAD.

RSS XML Feed