Home | History | Annotate | Download | only in aoutm68k
History log of /src/sys/compat/aoutm68k/syscalls.master
RevisionDateAuthorComments
 1.44  18-Jun-2019  christos fix excl
 1.43  18-Jun-2019  christos add quota check
 1.42  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.41  06-Jan-2018  kamil branches: 1.41.2; 1.41.4;
Revert vadvise(2) removal

This system call was used in legacy Lisp code, that was inherited to modern
age and still compiled against supported compat layers (e.g. in clisp,
oaklisp, Franz Lisp).

It used to instruct the kernel about paging policy (G/C aware, flush etc).

Newly compiled code (assuming that it will detect vadvise()) will use the
libc stub for vadvise(). The headers for this interface are gone.

vadvise(2) could be marked as COMPAT_80, but as long as we support ultrix,
sunos or aout68k ABI, don't bother with this.

Requested by <mrg>
 1.40  19-Dec-2017  kamil compat/aoutm68k: Drop SYS_vadvise

The (o)vadvise syscall is dummy since the beginning of NetBSD.

Sponsored by <The NetBSD Foundation>
 1.39  19-Dec-2017  kamil compat/aoutm68k: Drop SYS_sbrk

sbrk - change data segment size

This syscall is dummy since the inception of the project. It's implemented
in userland in libc.

Sponsored by <The NetBSD Foundation>
 1.38  19-Dec-2017  kamil compat aoutm68k: Mark sstk(2) as OBSOL

Remove the sstk(2) syscall support and mark it as obsolete.
It has never been implemented in the kernel.

Sponsored by <The NetBSD Foundation>
 1.37  07-Mar-2011  bouyer Use the COMPAT_50 quotactl, not the native one.
Should fix build of COMPAT_AOUT_M68K
 1.36  02-Mar-2010  pooka branches: 1.36.2; 1.36.4;
Kill fs_nfs.h and #ifdef NFS by making getfh() support unconditional
and nfssvc unsupport unconditional. nfs server was just a fancy
NOP anyway for all except Ultrix. I know I'm boring but I couldn't
imagine why someone would want to run an Ultrix nfs server (and I
also doubt that it would work anymore with all the changes to fs
exporting etc).
 1.35  02-Mar-2010  pooka -fs_lfs.h
 1.34  02-Mar-2010  pooka Remove lfs syscall support from compat. I can't really imagine
anyone wanting to run lfs megamaid as a e.g. FreeBSD binary.
Besides, the real action has been in fcntl() for >5 years now.
The only place where the compat syscalls might have made the tiniest
bit of sense was netbsd32, but they were unimplemented there.
 1.33  13-Jan-2009  pooka branches: 1.33.4;
Convert the syscalls.master to a format from which it is easier
to parse and generate the compat name and basename (e.g. __stat50
and stat). Use this to autogenerate __RENAME()'s to the rump_syscalls
header so that they can be called e.g. rump_sys_socket() instead
of rump_sys___socket30().
 1.32  13-Jan-2009  pooka Make one UNIMPL consistent with the rest: remove signature.
 1.31  11-Jan-2009  tsutsui Update for compat_50 stuff. (compile test only)
 1.30  21-Nov-2008  he sys_nfssvc() is actually only defined when NFSSERVER is defined,
not when only NFS is defined, according to sys/nfs/files.nfs.
Adapt accordingly. Fixes build of amiga INSTALL kernel.
 1.29  12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.28  21-Jun-2008  he branches: 1.28.2; 1.28.4;
<sys/sycallargs.h> needs <sys/sched.h> now.
 1.27  23-Apr-2008  ad branches: 1.27.2; 1.27.4; 1.27.6;
-SYCALL_MPSAFE
 1.26  12-Nov-2007  dsl branches: 1.26.14; 1.26.16;
syscall() needs to be 'NOARGS INDIR'.
Actually I wonder if this code could use the standard syscall table ?
 1.25  09-Nov-2007  dsl Add arguments to sys_syscall and sys___syscall.
Use MI wrappers for them in netbsd32.
Change prefix for constants from netbsd32 to NETBSD32 (used in #defines etc).
 1.24  14-Jul-2007  dsl branches: 1.24.6; 1.24.8; 1.24.12; 1.24.14;
Change calls from sys_mount() to compat_40_sys_mount()
 1.23  04-Mar-2007  christos branches: 1.23.2;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.22  09-Feb-2007  ad branches: 1.22.2;
Merge newlock2 to head.
 1.21  01-Sep-2006  matt branches: 1.21.2;
Don't conditionalize *sys_ptrace. The lack of sys_ptrace will be dealt
with differently.
 1.20  30-Aug-2006  he Update to deal with options PTRACE.
 1.19  01-Aug-2006  martin Adapt to latest fhandle_t changes.
Pointed out by Havard Eidnes.
 1.18  13-Jul-2006  pavel use the COMPAT_30 getfh. And do it always - don't protect it by
#if defined(NFS) || defined(NFSSERVER).
 1.17  26-Jun-2006  mrg version the socket(2) syscall. for compat30 socket, we use
EPROTONOSUPPORT instead of EAFNOSUPPORT.

from pavel@ with a little bit of clean up from myself.

XXX: netbsd32 (and perhaps other emulations) should be able
XXX: to call the standard socket calls for this i think, but
XXX: revisit this at another time.
 1.16  29-May-2006  drochner branches: 1.16.2;
Remove emulation of ntp_gettime. In preparation for "timecounters" we
will change "struct ntptimeval", so some translation would be necessary.
ntp_gettine is considered dispensable, the only userland program known
to use it is "ntptime".
 1.15  07-May-2006  tsutsui branches: 1.15.2;
Use "#if defined(COMPAT_xx) || !defined(_KERNEL)" so that
kdump(1) can get all proper syscall names.
 1.14  04-May-2006  christos Add compat30 getdents. Pointed out by Izumi Tsutsui.
 1.13  11-Dec-2005  christos branches: 1.13.4; 1.13.6; 1.13.8; 1.13.10; 1.13.12;
merge ktrace-lwp.
 1.12  14-Sep-2004  jdolecek branches: 1.12.12;
remove all alternative path check code, and (empty) ioctl wrapper
 1.11  21-Apr-2004  christos Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
 1.10  23-Sep-2003  cl catch up with sys___sigaction14 compat_16 rename
 1.9  22-Sep-2003  cl SA_SIGINFO support for m68k (compat aoutm68k)
 1.8  18-Jan-2003  thorpej branches: 1.8.2;
Merge the nathanw_sa branch.
 1.7  03-May-2002  eeh Use #if defined(_LP64) to determine if we're generating 64-bit binaries,
not #if defined(alpha).
 1.6  30-May-2001  mrg branches: 1.6.2;
use _KERNEL_OPT.
 1.5  07-Apr-2001  tsutsui Allow enabling/disabling /emul/aout alternate path search
on COMPAT_AOUT_M68K environment by options COMPAT_AOUT_ALTPATH.
 1.4  27-Jan-2001  thorpej branches: 1.4.2;
getpid(2) is MP-safe.
 1.3  09-Dec-2000  mycroft branches: 1.3.2;
Add the %% separators.
 1.2  06-Dec-2000  jdolecek make LKM safe (need to use if/endif, #if/#endif is filtered out by makesyscalls.sh)
 1.1  02-Dec-2000  scw Initial cut of COMPAT_AOUT_M68K.
This gets most existing m68k a.out binaries working with m68k ELF
kernels.

There are still some remaining ABI issues to track down; most notably,
some ioctl(2) calls are affected by the change.
 1.3.2.4  21-Apr-2001  bouyer Sync with HEAD
 1.3.2.3  11-Feb-2001  bouyer Sync with HEAD.
 1.3.2.2  08-Jan-2001  bouyer Files added on trunk.
 1.3.2.1  09-Dec-2000  bouyer file syscalls.master was added on branch thorpej_scsipi on 2001-01-08 14:56:51 +0000
 1.4.2.6  21-Jun-2002  gmcgarry sys_setlogin -> sys___setlogin syscall rename
 1.4.2.5  20-Jun-2002  nathanw Catch up to -current.
 1.4.2.4  29-May-2002  nathanw #include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)
 1.4.2.3  17-Nov-2001  scw Add set/get_context syscall entries and regenerate sources from
syscalls.master.
Also s/proc/lwp/ where appropriate.
 1.4.2.2  21-Jun-2001  nathanw Catch up to -current.
 1.4.2.1  09-Apr-2001  nathanw Catch up with -current.
 1.6.2.1  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.8.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.8.2.1  03-Aug-2004  skrll Sync with HEAD
 1.12.12.5  15-Nov-2007  yamt sync with head.
 1.12.12.4  03-Sep-2007  yamt sync with head.
 1.12.12.3  26-Feb-2007  yamt sync with head.
 1.12.12.2  30-Dec-2006  yamt sync with head.
 1.12.12.1  21-Jun-2006  yamt sync with head.
 1.13.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.13.10.1  11-May-2006  elad sync with head
 1.13.8.3  11-Aug-2006  yamt sync with head
 1.13.8.2  26-Jun-2006  yamt sync with head.
 1.13.8.1  24-May-2006  yamt sync with head.
 1.13.6.1  01-Jun-2006  kardel Sync with head.
 1.13.4.1  09-Sep-2006  rpaulo sync with head
 1.15.2.1  19-Jun-2006  chap Sync with head.
 1.16.2.1  13-Jul-2006  gdamore Merge from HEAD.
 1.21.2.1  30-Jan-2007  ad Remove support for SA. Ok core@.
 1.22.2.1  12-Mar-2007  rmind Sync with HEAD.
 1.23.2.1  15-Jul-2007  ad Sync with head.
 1.24.14.1  19-Nov-2007  mjf Sync with HEAD.
 1.24.12.1  13-Nov-2007  bouyer Sync with HEAD
 1.24.8.1  09-Jan-2008  matt sync with HEAD
 1.24.6.2  14-Nov-2007  joerg Sync with HEAD.
 1.24.6.1  11-Nov-2007  joerg Sync with HEAD.
 1.26.16.1  18-May-2008  yamt sync with head.
 1.26.14.3  17-Jan-2009  mjf Sync with HEAD.
 1.26.14.2  29-Jun-2008  mjf Sync with HEAD.
 1.26.14.1  02-Jun-2008  mjf Sync with HEAD.
 1.27.6.1  27-Jun-2008  simonb Sync with head.
 1.27.4.3  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.27.4.2  14-May-2008  wrstuden Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.
 1.27.4.1  10-May-2008  wrstuden Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.
 1.27.2.2  11-Mar-2010  yamt sync with head
 1.27.2.1  04-May-2009  yamt sync with head.
 1.28.4.1  19-Jan-2009  skrll Sync with HEAD.
 1.28.2.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.33.4.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.36.4.1  06-Jun-2011  jruoho Sync with HEAD.
 1.36.2.1  21-Apr-2011  rmind sync with head
 1.41.4.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.41.4.1  10-Jun-2019  christos Sync with HEAD
 1.41.2.1  29-Sep-2018  pgoyette Conditionalize some compat_30 syscalls appropriately

RSS XML Feed