Home | History | Annotate | Download | only in ultrix
History log of /src/sys/compat/ultrix/syscalls.master
RevisionDateAuthorComments
 1.58  03-Mar-2019  pgoyette The compat_09_{get,set}domainname() syscalls should not be defined
based on existence of COMPAT_09. Make them modular instead, and
reference the compat_09 module.
 1.57  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.56  06-Jan-2018  kamil branches: 1.56.2; 1.56.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.55  19-Dec-2017  kamil compat/ultrix: Drop SYS_vadvise

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

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

sbrk - change data segment size

This syscall is dummy since the inception of the project.

Sponsored by <The NetBSD Foundation>
 1.53  19-Dec-2017  kamil compat ultrix: Drop the sstk(2) syscall

sstk(2) has never been implemented by the NetBSD kernel.

Sponsored by <The NetBSD Foundation>
 1.52  07-Nov-2013  njoly Fix dup/dup2/dup3 argument types (u_int -> int).
 1.51  02-Mar-2010  pooka branches: 1.51.10; 1.51.20; 1.51.24;
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.50  17-Jan-2009  he branches: 1.50.4;
Adapt to the state after the recent time_t change.
Type changes:
timeval -> timeval50
itimerval -> itimerval50
rusage -> rusage50
and use of the compat_50 calls where appropriate.
Untested, but at least it builds.

Discussed with christos@
 1.49  13-Jan-2009  pooka 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.48  13-Jan-2009  pooka UNIMPL police (two mount syscalls with the same signature?!?)
 1.47  19-Nov-2008  ad 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.46  19-Jun-2008  hans branches: 1.46.2; 1.46.4;
include <sys/sched.h> for cpuset_t
 1.45  23-Apr-2008  ad branches: 1.45.2; 1.45.4; 1.45.6;
-SYCALL_MPSAFE
 1.44  04-Mar-2007  christos branches: 1.44.36; 1.44.38;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.43  09-Feb-2007  ad branches: 1.43.2;
Merge newlock2 to head.
 1.42  13-Jul-2006  pavel branches: 1.42.4;
use the COMPAT_30 getfh.
 1.41  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.40  11-Dec-2005  christos branches: 1.40.4; 1.40.8; 1.40.16;
merge ktrace-lwp.
 1.39  26-Feb-2005  perry branches: 1.39.4;
nuke trailing whitespace
 1.38  18-Jan-2003  thorpej branches: 1.38.2; 1.38.10; 1.38.12;
Merge the nathanw_sa branch.
 1.37  30-May-2001  mrg use _KERNEL_OPT.
 1.36  27-Jan-2001  thorpej branches: 1.36.2;
getpid(2) is MP-safe.
 1.35  09-Dec-2000  mycroft Add the %% separators.
 1.34  09-Dec-2000  mycroft Add the %% separators.
 1.33  30-Nov-2000  jdolecek LKMify
 1.32  30-Jul-1999  drochner branches: 1.32.2;
emulate fcntl(F_SETLK) & Co.
(seti@home works now:-)
 1.31  12-Jul-1999  kleink XSH5: change function signature to `void *sbrk(intptr_t)'.
 1.30  09-Feb-1999  christos branches: 1.30.2; 1.30.4;
const poisoning and CHECK_ALT_CREAT fixes.
 1.29  18-Dec-1998  drochner remove compat_xxx dependencies where they don't belong
 1.28  10-Dec-1998  christos Defopt COMPAT_43
 1.27  03-Oct-1998  drochner Use a private implementation of sys_sigvec(). Ultrix uses an sv_flags bit
unknown to NetBSD and sigaction1() does (now?) complain about it.
 1.26  26-Sep-1998  drochner Make Ultrix emulation private functions for sigreturn and sigsuspend
because the NetBSD implementation differs now.
 1.25  25-Jun-1998  thorpej defopt NFSSERVER
 1.24  19-Feb-1998  thorpej Include the NFS option header.
 1.23  14-Feb-1998  kleink Use sys___posix_{chown,fchown}() instead of sys_{chown,fchown}().
 1.22  16-Oct-1997  christos ostat -> stat43
 1.21  13-Jun-1997  thorpej Use compat_12_sys_swapon().
 1.20  09-Jun-1997  jonathan Emulate RISC Ultrix cacheflush() and cachectl() syscalls on mips.
 1.19  09-Jun-1997  jonathan Declare ultrix_sys_symshs(). Ultrix uses the standard (BRL?) hack to
implement sysV shm using one system call.
 1.18  31-Jan-1997  thorpej branches: 1.18.2;
NFSCLIENT -> NFS
 1.17  03-Sep-1996  mycroft branches: 1.17.2;
Define execv() and execve() consistently across emulations.
Do path name translation.
 1.16  23-Jun-1996  mycroft Catch up with setre[ug]id() changes.
 1.15  07-Jan-1996  jonathan branches: 1.15.4;
Add '/emul/ultrix' pathname processing to Ultrix emulation, and move
Ultrix syscalls that require that processing out of ultrix_misc.c
to ultrix_pathname.c.
 1.14  26-Dec-1995  jonathan Add emulation of ultrix mount(2). Sufficient to NFS-mount filesystems
using a NetBSD kernel in an ultrix root filesystem.

Move wait emulation to the old (v7) wait syscall number, as that's
what the Ultrix ufs_mount binary uses.
 1.13  26-Dec-1995  jonathan Fix ultrix_sys_select() entry.
 1.12  26-Dec-1995  jonathan Add emulation of Ultrix select: before calling native sys_select(),
limit the number of FDs to select on to the maximum supported by NetBSD --
which is as many FDs as the emul_ultrix process can have open, anyway.

Add emulation of Ultrix getmnt(2) in ultrix_fs.c

Add partial emulation of Ultrix tty ioctl()s in ultrix_ioctl.c, derived
from compat/sunos/sunos_ioctl.c. Ultrix libc's ``isatty()'' now works
in compat_emul processes.
 1.11  07-Oct-1995  mycroft Prefix names of system call implementation functions with `sys_'.
 1.10  01-Jun-1995  mellon Clear up name conflict between Ultrix syscall 103 and 139.
 1.9  01-Feb-1995  mellon Fix up some incompatibilities and some indentation botches
 1.8  02-Dec-1994  dean fixed typo
 1.7  01-Dec-1994  dean added sigreturn
 1.6  23-Nov-1994  dean changes for new sysent structure (from J. Stone)
 1.5  01-Aug-1994  glass ultrix_{get,set}info from Arne H Juul <arnej@dsl.unit.no>
 1.4  29-Jun-1994  cgd branches: 1.4.2;
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
 1.3  22-Jun-1994  glass update for getdtablesize change, and track compat_sunos
 1.2  15-Jun-1994  glass much works but untested w/new fs. expect more tomorrow
 1.1  02-Jun-1994  glass first swipe at ultrix compat. expect many bug fixes. very related to compat/sunos
 1.4.2.1  01-Aug-1994  cgd From trunk.
 1.15.4.2  10-Dec-1996  mycroft From trunk:
Do execv() and execve() path name translation consistently across
emulations.
 1.15.4.1  10-Dec-1996  mycroft From trunk:
Implement setre[ug]id() for real.
 1.17.2.1  14-Jan-1997  thorpej Snapshot of work-in-progress, committed to private branch.

These changes implement machine-independent root device and file system
selection. Notable features:

- All ports behave in a consistent manner regarding root
device selection.
- No more "options GENERIC"; all kernels have the ability
to boot with RB_ASKNAME to select root device and file system
type.
- Root file system type can be wildcarded; a machine-independent
function will try all possible file systems for the selected
root device until one succeeds.
- If the root file system fails to mount, the operator will
be given the chance to select a new root device and file
system type, rather than having the machine simply panic.
- nfs_mountroot() no longer panics if any part of the NFS
mount process fails; it now returns an error, giving the
operator a chance to recover.
- New, more consistent, config(8) grammar. The constructs:

config netbsd swap generic
config netbsd root on nfs

have been replaced with:

config netbsd root on ? type ?
config netbsd root on ? type nfs

Additionally, the operator may select or wildcard root file
system type in the kernel configuration file:

config netbsd root on cd0a type cd9660

config(8) now requires that a "root" specification be
made. "root" may be wired down or wildcarded. "swap" and
"dump" specifications are optional, and follow previous
semantics.

- config(8) has a new "file-system" keyword, used to configure
file systems into the kernel. Eventually, this will be used
to generate the default vfssw[].

- "options NFSCLIENT" is obsolete, and is replaced by
"file-system NFS". "options NFSSERVER" still exists, since
NFS server support is independent of the NFS file system
client.

- sys/arch/<foo>/<foo>/swapgeneric.c is no longer used, and
will be removed; all information is now generated by config(8).

As of this commit, all ports except arm32 have been updated to use
the new setroot(). Only SPARC, i386, and Alpha ports have been
tested at this time. Port masters should test these changes on their
ports, and report any problems back to me.

More changes are on their way, including RB_ASKNAME support in
nfs_mountroot() (to prompt for server address and path) and, potentially,
the ability to select rarp/bootparam or bootp in nfs_mountroot().
 1.18.2.1  12-Feb-1997  mrg initial work for dynamic swap additions.
 1.30.4.1  02-Aug-1999  thorpej Update from trunk.
 1.30.2.1  31-Jan-2000  he Pull up revision 1.32 (requested by mhitch):
Emulate Ultrix fcntl(F_SETLK) & Co. so the Ultrix seti@home client
works.
 1.32.2.3  11-Feb-2001  bouyer Sync with HEAD.
 1.32.2.2  13-Dec-2000  bouyer Sync with HEAD (for UBC fixes).
 1.32.2.1  08-Dec-2000  bouyer Sync with HEAD.
 1.36.2.2  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.36.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.38.12.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.38.10.1  29-Apr-2005  kent sync with -current
 1.38.2.1  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.39.4.3  03-Sep-2007  yamt sync with head.
 1.39.4.2  26-Feb-2007  yamt sync with head.
 1.39.4.1  30-Dec-2006  yamt sync with head.
 1.40.16.1  13-Jul-2006  gdamore Merge from HEAD.
 1.40.8.1  11-Aug-2006  yamt sync with head
 1.40.4.1  09-Sep-2006  rpaulo sync with head
 1.42.4.1  30-Jan-2007  ad Remove support for SA. Ok core@.
 1.43.2.1  12-Mar-2007  rmind Sync with HEAD.
 1.44.38.1  18-May-2008  yamt sync with head.
 1.44.36.3  17-Jan-2009  mjf Sync with HEAD.
 1.44.36.2  29-Jun-2008  mjf Sync with HEAD.
 1.44.36.1  02-Jun-2008  mjf Sync with HEAD.
 1.45.6.1  27-Jun-2008  simonb Sync with head.
 1.45.4.3  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.45.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.45.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.45.2.2  11-Mar-2010  yamt sync with head
 1.45.2.1  04-May-2009  yamt sync with head.
 1.46.4.1  19-Jan-2009  skrll Sync with HEAD.
 1.46.2.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.50.4.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.51.24.1  18-May-2014  rmind sync with head
 1.51.20.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.51.10.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.56.4.1  10-Jun-2019  christos Sync with HEAD
 1.56.2.1  29-Sep-2018  pgoyette Conditionalize compat_09_sys_{get,set}domainname syscalls appropriately.

RSS XML Feed