Home | History | Annotate | Download | only in freebsd
History log of /src/sys/compat/freebsd/freebsd_sysent.c
RevisionDateAuthorComments
 1.93  18-Jun-2019  christos regen
 1.92  10-Aug-2018  pgoyette Regen
 1.91  06-Jan-2018  kamil branches: 1.91.2; 1.91.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.90  19-Dec-2017  kamil compat/freebsd: Drop SYS_vadvise

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

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

sbrk - change data segment size

This syscall is dummy since the inception of the project.

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

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

Sponsored by <The NetBSD Foundation>
 1.87  08-Aug-2017  maxv Move freebsd_machdep.h into sys/compat/freebsd, and don't install it. Now,
the compat_freebsd files are all contained in sys/compat/freebsd.
 1.86  10-May-2017  riastradh regen
 1.85  16-Jan-2017  christos branches: 1.85.4;
regen
 1.84  13-Jan-2017  christos branches: 1.84.2;
regen
 1.83  24-Sep-2015  christos branches: 1.83.2;
Regen
 1.82  07-Mar-2015  christos regen
 1.81  07-Nov-2013  njoly branches: 1.81.6;
Regen for dup/dup2/dup3 argument types fix.
 1.80  10-Mar-2012  joerg branches: 1.80.2; 1.80.4;
P1003_1B_SEMAPHORE is no longer optional.
 1.79  06-Mar-2011  bouyer branches: 1.79.4; 1.79.8;
merge the bouyer-quota2 branch. This adds a new on-disk format
to store disk quota usage and limits, integrated with ffs
metadata. Usage is checked by fsck_ffs (no more quotacheck)
and is covered by the WAPBL journal. Enabled with kernel
option QUOTA2 (added where QUOTA was enabled in kernel config files),
turned on with tunefs(8) on a per-filesystem
basis. mount_mfs(8) can also turn quotas on.

See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html
for details.
 1.78  02-Mar-2010  pooka branches: 1.78.2; 1.78.4; 1.78.6;
regen:
- remove nfssvc / fs_nfs.h / #ifdef NFS
- make getfh unconditional
 1.77  02-Mar-2010  pooka regen for conditional lfs syscall removal
 1.76  14-Dec-2009  matt branches: 1.76.2;
Regen (new makesyscalls.sh)
 1.75  13-Jan-2009  pooka Regen to prove I didn't screw up the conversion: purely RCSID changes.
 1.74  11-Jan-2009  christos merge christos-time_t
 1.73  19-Nov-2008  ad Regen.
 1.72  14-Nov-2008  ad Regen.
 1.71  20-Dec-2007  dsl branches: 1.71.6; 1.71.8; 1.71.12; 1.71.18; 1.71.20;
regen
 1.70  13-Jul-2007  dsl branches: 1.70.8; 1.70.16; 1.70.20;
Update generated files.
 1.69  09-Feb-2007  ad branches: 1.69.6;
Merge newlock2 to head.
 1.68  01-Sep-2006  matt branches: 1.68.2;
Regen.
 1.67  30-Aug-2006  matt Regen (for PTRACE).
 1.66  31-Jul-2006  martin Make filehandles opaque to userland
 1.65  26-Jun-2006  mrg regenerate.
 1.64  04-May-2006  christos branches: 1.64.4;
Regen
 1.63  11-Dec-2005  christos branches: 1.63.4; 1.63.6; 1.63.8; 1.63.10; 1.63.12;
merge ktrace-lwp.
 1.62  13-Sep-2005  christos compat code reorg.
 1.61  19-Aug-2005  christos 64 bit inode changes.
 1.60  26-Feb-2005  perry branches: 1.60.4;
regen
 1.59  22-Feb-2005  heas Re-gen for sysctl emulation
 1.58  11-May-2004  drochner branches: 1.58.4; 1.58.6;
regen
 1.57  10-May-2004  jonathan Regen src/sys/compat/freebsd_sys{call.h,callargs.h,calls.c,ent.c} from
syscalls.master rev 1.45, with COMPAT_2.0 fix.
 1.56  21-Apr-2004  christos Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
 1.55  29-Jan-2004  tsarna uuidgen(2) syscall. Originally from FreeBSD, ported by John Franklin in
PR#23470, with minor updates by me. This is only the syscall support
from that PR, for now.

Changes: port over fix from FreeBSD for multicast address generation.
Changed bcopy to memcpy. For now, #ifdef notyet the portions of
kern_uuid.c that are meant to be used by (currently nonexistent) other
things in the kernel. Added syscall to COMPAT_FREEBSD as well, though
that's currently not useful, as any program new enough to use this call
also uses other syscalls we don't (yet) emulate.
 1.54  26-Nov-2003  jdolecek Regen: add new syscalls to the list
 1.53  18-Sep-2003  pooka regen
 1.52  18-Jan-2003  thorpej branches: 1.52.2;
Regen to get correct RCS ID.
 1.51  18-Jan-2003  thorpej Regen: Merge the nathanw_sa branch.
 1.50  22-Dec-2002  gmcgarry Add stubs for scheduler syscalls.
 1.49  09-Oct-2002  pooka regen for rfork
 1.48  03-May-2002  eeh Regen.
 1.47  13-Nov-2001  lukem add RCSIDs (including regeneration of files as appropriate)
 1.46  27-Oct-2001  jdolecek Regen:
Hook in minherit(2), fhstatfs(2), fhopen(2), fhstat(2).
Adresses kern/8622 by Paul Shupak.
 1.45  30-May-2001  mrg branches: 1.45.2; 1.45.6;
use _KERNEL_OPT.
 1.44  27-Jan-2001  thorpej branches: 1.44.2;
Regen; add sy_flags.
 1.43  17-Dec-2000  jdolecek regen
 1.42  09-Dec-2000  mycroft Regen.
 1.41  09-Dec-2000  mycroft Regen.
 1.40  09-Dec-2000  mycroft Regen.
 1.39  30-Nov-2000  jdolecek LKMify
 1.38  18-Aug-2000  cgd update for changed makesyscalls.master
 1.37  08-Aug-2000  itojun regen
 1.36  07-Aug-2000  bjh21 Second phase of changes to remove ntp_adjtime(2) from the kernel entirely if
NTP is not defined.

Also removes sysctl_ntptime, since that's unreferenced without NTP.

ntp_gettime(2) is left alone, since it doesn't raise SIGSYS, which sys_nosys()
does.
 1.35  18-Jul-2000  onoe implement new signal syscalls in FreeBSD 4.0-RELEASE, using native syscalls:
sigaction, sigprocmask, sigsuspend, and sigpending.
 1.34  23-May-2000  tv branches: 1.34.4;
Add names for many syscalls not yet implemented, including those in
FreeBSD 4.0-RELEASE. Also implement the following using existing NetBSD
syscalls: pread, pwrite, getsid, mlockall, munlockall, __getcwd.
 1.33  21-Apr-2000  minoura Regen.
 1.32  25-Aug-1999  thorpej branches: 1.32.2;
Regen.
 1.31  12-Jul-1999  kleink Regen.
 1.30  09-Jun-1999  drochner regen
 1.29  09-Feb-1999  christos branches: 1.29.4;
Regen
 1.28  10-Dec-1998  christos Regen
 1.27  19-Oct-1998  tron Regen.
 1.26  11-Sep-1998  mycroft Regen.
 1.25  25-Jun-1998  thorpej Regen: defopt NFSSERVER
 1.24  25-Jun-1998  thorpej Regen: defopt KTRACE
 1.23  02-May-1998  christos regen.
 1.22  19-Feb-1998  thorpej Regen: makesyscalls.sh changed.
 1.21  19-Feb-1998  thorpej Regen: syscalls.master and makesyscalls.sh changed.
 1.20  22-Jan-1998  mycroft Regen.
 1.19  22-Jan-1998  mycroft Put a local copy of the SysV IPC compatibility from compat/common in here, so
it's not dependent on COMPAT_10. Also, fix translation of shmctl(), since
FreeBSD's is a little different.
 1.18  09-Jan-1998  thorpej Regen.
 1.17  09-Jan-1998  thorpej Regen.
 1.16  08-Jan-1998  thorpej Regen: back out RCD ID related changes.
 1.15  05-Jan-1998  perry regened with RCSIDs in place
 1.14  30-Nov-1997  veego Regen.
 1.13  18-Oct-1997  christos branches: 1.13.2;
Regen.
 1.12  16-Oct-1997  christos Regen.
 1.11  16-Oct-1997  mycroft Regen.
 1.10  10-Oct-1997  enami Regen from syscalls.master 1.9.
 1.9  10-Oct-1997  fvdl Regen.
 1.8  13-Jun-1997  thorpej branches: 1.8.4;
Regen: Use compat_12_sys_swapon().
 1.7  31-Jan-1997  thorpej branches: 1.7.2;
Syscalls.master changed, regen. (NFSCLIENT -> NFS)
 1.6  20-Sep-1996  christos branches: 1.6.2;
regen
 1.5  23-Jun-1996  mycroft Catch up with setre[ug]id() changes.
 1.4  10-Oct-1995  mycroft branches: 1.4.4;
Fix minor oversight.
 1.3  10-Oct-1995  mycroft branches: 1.3.2;
Fix typo.
 1.2  10-Oct-1995  mycroft Oops; remove something.
 1.1  10-Oct-1995  mycroft Output of makesyscalls.sh.
 1.3.2.1  20-Oct-1995  pk getppid => sys_getppid; re-ran makesyscalls.sh. (PR#1643).
 1.4.4.1  10-Dec-1996  mycroft Regen.
 1.6.2.2  14-Jan-1997  thorpej syscalls.master changed; regen.
 1.6.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.7.2.1  14-Feb-1997  mrg regen.
 1.8.4.1  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.13.2.2  30-Sep-1998  cgd regen after pull-up of syscalls.master rev 1.16 from trunk (tv)
 1.13.2.1  29-Jan-1998  mellon Regen
 1.29.4.2  02-Aug-1999  thorpej Regen.
 1.29.4.1  21-Jun-1999  thorpej Sync w/ -current.
 1.32.2.5  11-Feb-2001  bouyer Sync with HEAD.
 1.32.2.4  05-Jan-2001  bouyer Sync with HEAD
 1.32.2.3  13-Dec-2000  bouyer Sync with HEAD (for UBC fixes).
 1.32.2.2  08-Dec-2000  bouyer Sync with HEAD.
 1.32.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.34.4.1  06-Mar-2002  he Pull up regenerated files (requested by jonathan):
Add support for FreeBSD 4.x signals; fixes PR#9769.
 1.44.2.8  29-Dec-2002  thorpej Sync with HEAD.
 1.44.2.7  18-Oct-2002  nathanw Catch up to -current.
 1.44.2.6  20-Jun-2002  nathanw Catch up to -current.
 1.44.2.5  29-May-2002  nathanw Regen.
 1.44.2.4  28-Feb-2002  nathanw Regen.
 1.44.2.3  14-Nov-2001  nathanw Catch up to -current.
 1.44.2.2  21-Jun-2001  nathanw Catch up to -current.
 1.44.2.1  05-Mar-2001  nathanw Initial commit of scheduler activations and lightweight process support.
 1.45.6.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.45.2.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.45.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.52.2.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.52.2.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.52.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.52.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.52.2.1  03-Aug-2004  skrll Sync with HEAD
 1.58.6.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.58.4.1  29-Apr-2005  kent sync with -current
 1.60.4.5  21-Jan-2008  yamt sync with head
 1.60.4.4  03-Sep-2007  yamt sync with head.
 1.60.4.3  26-Feb-2007  yamt sync with head.
 1.60.4.2  30-Dec-2006  yamt sync with head.
 1.60.4.1  21-Jun-2006  yamt sync with head.
 1.63.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.63.10.1  11-May-2006  elad sync with head
 1.63.8.3  03-Sep-2006  yamt sync with head.
 1.63.8.2  11-Aug-2006  yamt sync with head
 1.63.8.1  24-May-2006  yamt sync with head.
 1.63.6.1  01-Jun-2006  kardel Sync with head.
 1.63.4.1  09-Sep-2006  rpaulo sync with head
 1.64.4.1  13-Jul-2006  gdamore Merge from HEAD.
 1.68.2.1  30-Jan-2007  ad Remove support for SA. Ok core@.
 1.69.6.1  15-Jul-2007  ad Sync with head.
 1.70.20.1  02-Jan-2008  bouyer Sync with HEAD
 1.70.16.1  26-Dec-2007  ad Sync with head.
 1.70.8.1  09-Jan-2008  matt sync with HEAD
 1.71.20.1  19-Jan-2009  skrll Sync with HEAD.
 1.71.18.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.71.12.2  11-Mar-2010  yamt sync with head
 1.71.12.1  04-May-2009  yamt sync with head.
 1.71.8.2  20-Nov-2008  christos merge with head.
 1.71.8.1  29-Mar-2008  christos Welcome to the time_t=long long dev_t=uint64_t branch.
 1.71.6.1  17-Jan-2009  mjf Sync with HEAD.
 1.76.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.78.6.1  08-Feb-2011  bouyer Regen: quotactl compat
 1.78.4.1  06-Jun-2011  jruoho Sync with HEAD.
 1.78.2.1  21-Apr-2011  rmind sync with head
 1.79.8.1  11-Mar-2012  mrg sync to latest -current
 1.79.4.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.79.4.1  17-Apr-2012  yamt sync with head
 1.80.4.1  18-May-2014  rmind sync with head
 1.80.2.2  03-Dec-2017  jdolecek update from HEAD
 1.80.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.81.6.3  28-Aug-2017  skrll Sync with HEAD
 1.81.6.2  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.81.6.1  06-Apr-2015  skrll Sync with HEAD
 1.83.2.1  20-Mar-2017  pgoyette Sync with HEAD
 1.84.2.1  21-Apr-2017  bouyer Sync with HEAD
 1.85.4.1  11-May-2017  pgoyette Sync with HEAD
 1.91.4.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.91.4.1  10-Jun-2019  christos Sync with HEAD
 1.91.2.1  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

RSS XML Feed