Home | History | Annotate | Download | only in kern
History log of /src/sys/kern/init_sysent.c
RevisionDateAuthorComments
 1.346  09-Oct-2024  christos regen
 1.345  05-Oct-2024  mlelstv regen
 1.344  03-Oct-2024  christos regen
 1.343  20-May-2024  christos branches: 1.343.2;
regen
 1.342  19-May-2024  christos regen
 1.341  28-Jul-2023  christos regen
 1.340  10-Jul-2023  christos Regen
 1.339  01-Nov-2021  thorpej regen for "struct sigaltstack" -> "stack_t"
 1.338  19-Sep-2021  thorpej Regen for eventfd(2) and timerfd(2).
 1.337  02-Nov-2020  christos regen
 1.336  14-Aug-2020  riastradh branches: 1.336.2;
regen
 1.335  11-Jun-2020  dholland Regen with new makesyscalls.

(the large diff of rump_syscalls.h has been checked and was the point
of the makesyscalls change)
 1.334  02-Jun-2020  kamil Regenerate syscalls

Respect syscall alias names in rump.

No binary change in this version.

The previous commit was interrupted in the middle by CVS network outage.
 1.333  02-Jun-2020  kamil Regenerate native NetBSD syscalls

The only change is rump repecting syscall alias names.

No binary change.
 1.332  16-May-2020  christos Add ACL support for FFS. From FreeBSD.
 1.331  26-Apr-2020  thorpej Regen for futex call relocation.
 1.330  26-Apr-2020  thorpej Regen for native futex calls.
 1.329  22-Apr-2020  thorpej Regen for removal of _lwp_gettid(2).
 1.328  04-Apr-2020  thorpej branches: 1.328.2;
Regen for _lwp_gettid(2).
 1.327  21-Jan-2020  pgoyette Regen
 1.326  21-Oct-2019  christos branches: 1.326.2;
regen
 1.325  22-Sep-2019  christos regen
 1.324  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.323  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.322  10-Aug-2018  pgoyette Regen
 1.321  31-Jul-2018  rjs regen.
 1.320  12-Jul-2018  maxv Remove the kernel PMC code. Sent yesterday on tech-kern@.

This change:

* Removes "options PERFCTRS", the associated includes, and the associated
ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
good.

* Removes the PMC code of ARM XSCALE.

* Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

* Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
definitions are put in sysarch.h.

* Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
netbsd32 and rump.

* Removes the pmc_evid_t and pmc_ctr_t types.

* Removes all the associated man pages. The sets are marked as obsolete.
 1.319  06-Jan-2018  kamil branches: 1.319.2; 1.319.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.318  19-Dec-2017  kamil Drop SYS_vadvise

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

It is an obsolete remnant from the old UNIX.

Sponsored by <The NetBSD Foundation>
 1.317  19-Dec-2017  kamil Drop SYS_sbrk

sbrk - change data segment size

This syscall is dummy since the inception of the project.

Sponsored by <The NetBSD Foundation>
 1.316  19-Dec-2017  kamil Drop the sstk(2) syscall stub

sstk - change stack section size

This functionality has never been implemented and is a remnant from 16-bit
UNIX. This stub appeared with the first NetBSD commit.

Sponsored by <The NetBSD Foundation>
 1.315  10-May-2017  riastradh regen
 1.314  13-Jan-2017  christos branches: 1.314.6;
regen
 1.313  02-Nov-2016  pgoyette Regenerate files for modularization of ptrace(2)
 1.312  03-Jul-2016  christos branches: 1.312.2;
regen
 1.311  06-May-2016  pooka regen syscall files
 1.310  23-Apr-2016  christos regen
 1.309  03-Apr-2016  christos regen
 1.308  03-Apr-2016  christos regen
 1.307  02-Apr-2016  christos regen
 1.306  26-Jan-2016  pooka regen syscall files
 1.305  03-Dec-2015  pgoyette Regen
 1.304  01-Dec-2015  pgoyette Regen
 1.303  30-Nov-2015  pgoyette And now fix the actual syntax error. :(
 1.302  30-Nov-2015  pgoyette Regen for 7.99.23
 1.301  10-Oct-2015  pgoyette Regen
 1.300  24-Sep-2015  christos regen
 1.299  24-Aug-2015  pooka regen
 1.298  18-Jun-2015  pooka regen
 1.297  13-May-2015  pgoyette Regenerate
 1.296  10-May-2015  pgoyette Regen for changes related to separation of compat_sysv syscalls into a
separate module.
 1.295  09-May-2015  pgoyette Regen again, this time without the extra word in the "generated from" line.
 1.294  09-May-2015  pgoyette Regen from syscalls.master
 1.293  12-Mar-2015  christos regen
 1.292  07-Mar-2015  christos regen
 1.291  07-Mar-2015  christos regen
 1.290  07-Mar-2015  christos regen
 1.289  22-Feb-2015  christos PR/49684: Pierre Pronchery: readlinkat(2) return type is wrong.
 1.288  10-Feb-2015  christos regen
 1.287  25-Jul-2014  dholland branches: 1.287.2; 1.287.4;
Regen for fdiscard and posix_fallocate.
 1.286  24-Jul-2014  pooka regen
 1.285  23-Jul-2014  pooka regen
 1.284  12-Jun-2014  joerg Regenerate
 1.283  27-Apr-2014  pooka Eliminate weak symbols from rump kernel syscall handlers, part 5:

regen syscalls to eliminate weak aliases and link-time initialization
 1.282  09-Apr-2014  pooka regen
 1.281  14-Mar-2014  pooka branches: 1.281.2;
regen: time/timer related syscalls for rump kernels
 1.280  11-Dec-2013  pooka reregengen
 1.279  09-Dec-2013  pooka regen
 1.278  09-Dec-2013  pooka regen
 1.277  09-Dec-2013  pooka regen
 1.276  09-Dec-2013  pooka regen
 1.275  17-Oct-2013  njoly Regen for mknodat(2) device argument type change.
 1.274  10-Sep-2013  pooka regen
 1.273  03-Sep-2013  pooka regen
 1.272  30-Aug-2013  pooka commit all files when regen'ing
 1.271  29-Mar-2013  christos branches: 1.271.4;
regen
 1.270  02-Oct-2012  christos regen
 1.269  03-Aug-2012  pooka branches: 1.269.2;
reregen
 1.268  03-Aug-2012  pooka regen
 1.267  20-Jul-2012  pooka regen
 1.266  22-Jun-2012  christos regen
 1.265  05-May-2012  christos regen
 1.264  08-Mar-2012  joerg Implement sem_timedwait.
 1.263  19-Feb-2012  matt Regen.
 1.262  19-Feb-2012  matt Regen.
 1.261  11-Feb-2012  martin branches: 1.261.2;
Regen for posix_spawn
 1.260  01-Feb-2012  dholland Regen syscalls with proper id info.
 1.259  01-Feb-2012  dholland Change the syscall API for quotas over to the new non-proplib one.

- struct vfs_quotactl_args -> struct quotactl_args
- add sys/stdint.h to sys/quotactl.h for clean userland build
- install sys/quotactl.h in /usr/include
- update set lists for same
- add new marshalling code in libquota
- add new unmarshalling code in vfs_syscalls.c
- discard proplib interpreter code in vfs_quotactl.c
- add dispatching code for the 14 quotactl ops in vfs_quotactl.c
- mark the proplib quotactl syscall obsolete
- add a new syscall number for the new quotactl syscall
- change the name of the syscall to __quotactl()
- remove the decl of the old quotactl from quota/quotaprop.h
- add a decl of the new quotactl to sys/quotactl.h
- update the libc build
- update ktruss
- remove proplib marshalling code from libquota
- update copy of syscall table in gdb ppc sources
- hack rumphijack to accomodate new quotactl name (as I recall,
pooka wanted such a name change to simplify something, but I
don't really see what/how)

This change appears to require a kernel version bump for rumpish
reasons.
 1.258  17-Aug-2011  manu branches: 1.258.2; 1.258.6;
regen
 1.257  08-Aug-2011  manu regen
 1.256  18-Jul-2011  drochner regen after *setxattr constification
 1.255  26-Jun-2011  christos regen
 1.254  06-Mar-2011  bouyer 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.253  21-Feb-2011  pooka regen: NOERR syscalls
 1.252  31-Jan-2011  christos regen
 1.251  18-Jan-2011  pooka branches: 1.251.2;
regen: include sys/sched.h in syscallargs.h
 1.250  17-Jan-2011  pooka regen with no changes (to show previous commits affected rump only)
 1.249  10-Jan-2011  christos branches: 1.249.2;
regen
 1.248  30-Dec-2010  pooka regen: fill syscallnames up to the rim
 1.247  30-Aug-2010  pooka regen: rump syscalls for kern_prot interfaces
 1.246  30-Aug-2010  pooka Empty commit to show makesyscalls.sh rev 1.99 didn't change anything (yet).
 1.245  02-Mar-2010  pooka branches: 1.245.2;
regen: lfs megamaid syscalls -> MODULAR
 1.244  05-Jan-2010  skrll branches: 1.244.2;
Regen.
 1.243  14-Dec-2009  matt Regen (new makesyscalls.sh)
 1.242  14-Dec-2009  matt Merge from matt-nb5-mips64
 1.241  13-Oct-2009  pooka regen: fix rump varargs syscalls prototypes
 1.240  19-Jul-2009  rmind Regen.
 1.239  15-May-2009  pooka regen: pad -> PAD
 1.238  13-Jan-2009  pooka branches: 1.238.2;
Regen to prove I didn't screw up the conversion: purely RCSID changes.
 1.237  11-Jan-2009  christos regen.
 1.236  11-Jan-2009  tsutsui Regen to pull proper "created from" revision strings.
 1.235  11-Jan-2009  christos merge christos-time_t
 1.234  19-Nov-2008  ad Regen.
 1.233  14-Nov-2008  ad Regen.
 1.232  14-Nov-2008  ad Regen.
 1.231  12-Nov-2008  ad Regen.
 1.230  12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.229  16-Oct-2008  wrstuden branches: 1.229.2; 1.229.4; 1.229.8;
Regen syscall tables. I forgot to do it after revivesa. While pooka
did some, not all are regenerated. Do them all at once for consistency.
 1.228  15-Oct-2008  wrstuden Merge wrstuden-revivesa into HEAD.
 1.227  17-Jun-2008  tsutsui branches: 1.227.2;
Regen from syscalls.master rev 1.204:
> Include <sys/sched.h> before <sys/syscallargs.h> for cpuset_t.
 1.226  16-Jun-2008  christos regen
 1.225  16-Jun-2008  uebayasi Typo.
 1.224  16-Jun-2008  christos regen
 1.223  24-Apr-2008  ad branches: 1.223.2; 1.223.4; 1.223.6;
Regen.
 1.222  21-Apr-2008  ad Regen.
 1.221  21-Apr-2008  ad Regen.
 1.220  27-Mar-2008  ad branches: 1.220.2; 1.220.4;
Regen.
 1.219  24-Mar-2008  yamt regen.
 1.218  24-Mar-2008  yamt regen.
 1.217  24-Mar-2008  yamt merge yamt-lazymbuf branch.
 1.216  22-Mar-2008  ad Regen.
 1.215  21-Mar-2008  ad Regen.
 1.214  11-Mar-2008  pooka regen this too, not that it changes except for rcsid
 1.213  24-Feb-2008  martin Regen (old posix_fadvise ignored)
 1.212  15-Feb-2008  ad branches: 1.212.2; 1.212.6;
Regen.
 1.211  09-Feb-2008  yamt regen.
 1.210  28-Jan-2008  yamt regen.
 1.209  27-Jan-2008  martin Regen (posix_fadvise got a pad arg)
 1.208  25-Jan-2008  ad Regen.
 1.207  16-Jan-2008  ad Regen.
 1.206  15-Jan-2008  rmind Regen syscalls.
 1.205  07-Jan-2008  ad Regen.
 1.204  02-Jan-2008  ad Regen.
 1.203  02-Jan-2008  ad Regen.
 1.202  20-Dec-2007  dsl regen
 1.201  12-Nov-2007  ad branches: 1.201.2; 1.201.6;
Regen.
 1.200  09-Nov-2007  dsl Regen
 1.199  07-Nov-2007  ad Regen.
 1.198  07-Sep-2007  rmind branches: 1.198.4; 1.198.6;
Regen syscalls.
 1.197  15-Aug-2007  ad branches: 1.197.2;
Regen.
 1.196  07-Aug-2007  ad Regen.
 1.195  07-Aug-2007  ad Regen.
 1.194  07-Aug-2007  ad Regen.
 1.193  04-Aug-2007  ad branches: 1.193.2;
Mark the SysV semaphore syscalls MP safe.
 1.192  17-Jul-2007  joerg branches: 1.192.2; 1.192.6;
Regen.
 1.191  14-Jul-2007  dsl Version mount(2) so that the length of the 'data' buffer is passed into
the kernel.
 1.190  30-Apr-2007  rmind Regen syscalls for AIO.
 1.189  06-Mar-2007  drochner branches: 1.189.2; 1.189.4;
regen
 1.188  26-Feb-2007  drochner regen
 1.187  10-Feb-2007  ad branches: 1.187.2;
Regen.
 1.186  10-Feb-2007  ad Regen.
 1.185  09-Feb-2007  ad Merge newlock2 to head.
 1.184  16-Jan-2007  ad Regen.
 1.183  16-Jan-2007  ad Regen.
 1.182  17-Oct-2006  christos regen
 1.181  01-Sep-2006  matt branches: 1.181.2; 1.181.4;
Regen. (add __weak_alias(sys_ptrace, sys_nosys) when PTRACE is off)
 1.180  30-Aug-2006  cube Regen against correct syscalls.master version [hi gimpy!].
 1.179  30-Aug-2006  matt Regen.
 1.178  29-Aug-2006  matt Regen.
 1.177  31-Jul-2006  martin Make filehandles opaque to userland
 1.176  13-Jul-2006  pavel regenerate again to have correct source RCS Id
 1.175  13-Jul-2006  martin Fix alignement problems for fhandle_t, exposed by gcc4.1.

While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.

Discussed on tech-kern, with lots of help from yamt (thanks!).
 1.174  26-Jun-2006  mrg regenerate.
 1.173  29-May-2006  drochner branches: 1.173.2;
regen
 1.172  04-May-2006  christos branches: 1.172.2;
Regen
 1.171  24-Feb-2006  drochner branches: 1.171.2; 1.171.4; 1.171.6;
regen
 1.170  29-Nov-2005  yamt branches: 1.170.2; 1.170.4; 1.170.6;
regen (after remove -kk)
 1.169  29-Nov-2005  yamt regen.
 1.168  29-Nov-2005  yamt merge yamt-readahead branch.
 1.167  26-Sep-2005  christos branches: 1.167.6;
Regen.
 1.166  19-Aug-2005  christos 64 bit inode changes.
 1.165  10-Jul-2005  thorpej Regen:

Add Linux-compatible {,fl}{get,set,list}xattr() system call interface
to the VFS extended attribute subsystem.
 1.164  29-May-2005  christos branches: 1.164.2;
Regen
 1.163  27-Feb-2005  perry regen
 1.162  25-Feb-2005  matt Regen. (for pselect and pollts)
 1.161  19-Feb-2005  matt Regen. (no actual differences)
 1.160  02-Jan-2005  thorpej branches: 1.160.2; 1.160.4;
Regen for extended attribute system calls.
 1.159  10-May-2004  kleink Regen from syscalls.master rev. 1.142:
POSIX-2001: Change readlink(2)'s return type from int to ssize_t.
 1.158  27-Apr-2004  kleink Regen from syscalls.master 1.141: [gs]ettimeofday(2) argument declaration
change.
 1.157  25-Apr-2004  kleink Regen from rev. 1.140:
POSIX-2001: Change the `who' argument to [gs]etpriority(2) from int
to id_t. Partially addressing PR standards/25216 from Murray Armfield.
 1.156  21-Apr-2004  christos Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
 1.155  26-Mar-2004  drochner regen after __HAVE_SIGINFO removal
 1.154  14-Mar-2004  cl regen after:
g/c sys_sa_unblockyield which has been unused since 2004/01/02
 1.153  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.152  02-Jan-2004  cl regen
 1.151  15-Nov-2003  thorpej Regen: fsync_range(2) system call.
 1.150  30-Sep-2003  christos Regen
 1.149  26-Sep-2003  matt Regen.
 1.148  23-Sep-2003  christos Regen
 1.147  16-Sep-2003  cl Regen.
 1.146  11-Sep-2003  christos regen.
 1.145  10-Sep-2003  christos Regen
 1.144  18-Mar-2003  christos branches: 1.144.2;
regen
 1.143  15-Feb-2003  jdolecek regen:
- added __sigtimedwait(2)
- g/c sigwaitinfo(2) slot, move sigqueue(2) slot and free slot #246
 1.142  24-Jan-2003  thorpej Regen; reserve slots for <mqueue.h> and <sched.h> system calls.
 1.141  24-Jan-2003  thorpej Regen; allocate slot for _ksem_timedwait().
 1.140  23-Jan-2003  thorpej Regen; allow ktruss/kdump to properly see _ksem_*().
 1.139  20-Jan-2003  christos regen
 1.138  20-Jan-2003  christos regen
 1.137  18-Jan-2003  thorpej Regen to get correct RCS ID.
 1.136  18-Jan-2003  thorpej Regen: Merge the nathanw_sa branch.
 1.135  19-Dec-2002  thorpej Regen: reserved syscall slots for sigwaitinfo(2), sigtimedwait(2),
and sigqueue(2).
 1.134  23-Oct-2002  jdolecek regen: kqueue branch merge, addition of kqueue(2), kevent(2)
 1.133  04-Sep-2002  jdolecek regen: claim syscall slots for kqueue(2) and kevent(2)
 1.132  28-Aug-2002  gmcgarry Regenerate: rasctl
 1.131  07-Aug-2002  briggs Regen for pmc_get_info, pmc_control.
 1.130  04-Jul-2002  thorpej Regenerate: Added __sigaction_sigtramp at #340.
 1.129  03-May-2002  eeh branches: 1.129.2;
Regen.
 1.128  12-Nov-2001  lukem regen (for RCSID)
 1.127  01-Jul-2001  thorpej branches: 1.127.2; 1.127.6;
Regen; added Linux-compatible clone(2) system call.
 1.126  24-May-2001  lukem regen for whitespace cleanup
 1.125  10-Apr-2001  kleink Regen.
 1.124  27-Jan-2001  thorpej branches: 1.124.2;
Regen; getpid(2) is MP-safe.
 1.123  27-Jan-2001  thorpej Regen; add sy_flags.
 1.122  05-Jan-2001  jdolecek regen after utrace() parameter rename
 1.121  28-Dec-2000  jdolecek regen - utrace(2) addition
 1.120  09-Dec-2000  mycroft Regen.
 1.119  09-Dec-2000  mycroft Regen.
 1.118  09-Dec-2000  mycroft Regen.
 1.117  18-Aug-2000  cgd update for changed makesyscalls.master
 1.116  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.115  21-Apr-2000  minoura Regen.
 1.114  17-Apr-2000  mrg regen
 1.113  31-Jan-2000  christos Regen
 1.112  23-Jan-2000  mycroft Regen.
 1.111  25-Aug-1999  thorpej branches: 1.111.2;
Regen.
 1.110  12-Jul-1999  thorpej Regen.
 1.109  12-Jul-1999  kleink Regen.
 1.108  29-Jun-1999  wrstuden Add fhopen, fhstat, fhstatfs syscalls. Also move getfh in from the nfs
syscall code.
 1.107  15-Jun-1999  thorpej Regen.
 1.106  09-Jun-1999  christos Regen
 1.105  08-Jun-1999  thorpej Regen.
 1.104  28-Mar-1999  kleink branches: 1.104.2; 1.104.4;
Regen.
 1.103  22-Mar-1999  sommerfe Regen files based on changes to syscalls.master, vnode_if.src (latter
was changes to comments only, but..)
Build vfs_getcwd.c as standard part of kernel.
Add implementation of fchroot(), since two emulations already had it.
Call vn_isunder() in fchdir(), chroot(), and fchroot() to make it harder
to escape chroot().
 1.102  10-Feb-1999  kleink Regen: socklen_t changes.
 1.101  10-Dec-1998  christos Regen
 1.100  26-Nov-1998  kleink Regen: getpgid() prototype change.
 1.99  19-Oct-1998  tron 1.99:Regen.
 1.98  13-Sep-1998  thorpej Regen.
 1.97  12-Sep-1998  mycroft Regen.
 1.96  12-Sep-1998  mycroft Regen.
 1.95  11-Sep-1998  mycroft Regen.
 1.94  05-Jul-1998  jonathan * defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
TODO: revisit interaction between native compat and emul compat usage.
 1.93  02-Jul-1998  thorpej Regen: pad off_t args in pread/pwrite/preadv/pwritev.
 1.92  30-Jun-1998  thorpej Regen: added pread(2), pwrite(2), preadv(2), pwritev(2).
 1.91  25-Jun-1998  thorpej Regen: defopt NFSSERVER
 1.90  25-Jun-1998  thorpej Regen: defopt KTRACE
 1.89  05-Jun-1998  kleink Regen: addition of fdatasync().
 1.88  30-May-1998  kleink Regen: mlock() and munlock() prototype changes.
 1.87  07-May-1998  kleink Regen: various SysV IPC prototype changes.
 1.86  02-May-1998  christos Regen
 1.85  02-May-1998  christos New fktrace syscall from Darren Reed [with fixes from me]
 1.84  27-Mar-1998  kleink Regen: syscalls.master changed.
 1.83  25-Feb-1998  perry regen
 1.82  19-Feb-1998  thorpej Regen; makesyscalls.sh changed
 1.81  19-Feb-1998  thorpej Regen; syscalls.master and makesyscalls.sh changed.
 1.80  14-Feb-1998  kleink Regen: syscalls.master change (addition of __posix_chown(), __posix_fchown(),
__posix_lchown(); posix_rename() -> __posix_rename()).
 1.79  14-Feb-1998  thorpej Regen: syscalls.master changes (getsid(2))
 1.78  09-Jan-1998  thorpej Regen.
 1.77  09-Jan-1998  thorpej Regen.
 1.76  08-Jan-1998  thorpej Regen: back out RCD ID related changes.
 1.75  05-Jan-1998  perry regened with RCSID
 1.74  04-Jan-1998  thorpej Regen: add __vfork14() at #282.
 1.73  29-Nov-1997  kleink Regen.
 1.72  25-Nov-1997  kleink Regen again to reflect correct syscalls.master version.
 1.71  25-Nov-1997  kleink Regen.
 1.70  04-Nov-1997  thorpej Regen - syscalls.master changed.
 1.69  20-Oct-1997  thorpej branches: 1.69.2;
Regen, syscalls.master changed.
 1.68  19-Oct-1997  mycroft Regen.
 1.67  18-Oct-1997  christos Regen.
 1.66  16-Oct-1997  christos Regen
 1.65  15-Oct-1997  mycroft Regen.
 1.64  15-Oct-1997  mycroft Regen.
 1.63  10-Oct-1997  fvdl Regen.
 1.62  04-Oct-1997  veego Regen with the correct NetBSD RCS ID from syscalls.master.
 1.61  03-Oct-1997  enami Regen.
 1.60  09-Sep-1997  veego syscalls.master changed; regen.
 1.59  08-Sep-1997  chuck syscalls.master changed; regen.
 1.58  12-Jun-1997  mrg branches: 1.58.4;
regenerate.
 1.57  12-Jun-1997  mrg regenerate.
 1.56  12-Jun-1997  mrg regenerate.
 1.55  18-May-1997  kleink Add posix_rename() syscall: regen.
 1.54  16-Apr-1997  jtc branches: 1.54.2;
Add POSIX.1b nanosleep().
 1.53  31-Jan-1997  thorpej branches: 1.53.2;
Syscalls.master changed, regen. (NFSCLIENT -> NFS)
 1.52  22-Dec-1996  cgd branches: 1.52.2;
update for new syscalls.master
 1.51  22-Dec-1996  cgd regen for syscalls.master and makesyscalls.sh changes
 1.50  06-Dec-1996  thorpej syscalls.master changed; regen.
 1.49  03-Dec-1996  thorpej syscalls.master changed; regen.
 1.48  15-Nov-1996  jtc Add clock_gettime, clock_settime, and clock_getres
 1.47  14-Nov-1996  thorpej Regen.
 1.46  19-Sep-1996  jtc renamed sys_getlogin to sys___getlogin. required by libc namespace conventions
 1.45  07-Sep-1996  mycroft Regen.
 1.44  07-Sep-1996  mycroft Regen.
 1.43  09-Aug-1996  mrg Change reboot(2) to take two arguments: bootopt like normal and also
a boot string for firmware that can do this, such as the SPARC and
the sun3 models. It is currently silently ignored on all other
hardware now, however. The MD function "boot()" has been changed to
also take a char *.
 1.42  23-Jun-1996  mycroft Regen.
 1.41  23-Apr-1996  mycroft branches: 1.41.4;
Regen.
 1.40  08-Mar-1996  mycroft Reran makesyscalls.sh.
 1.39  22-Nov-1995  cgd update for new syscalls.master
 1.38  10-Oct-1995  mycroft Reran makesyscalls.sh.
 1.37  07-Oct-1995  mycroft Reran makesyscalls.sh.
 1.36  19-Sep-1995  thorpej makesyscalls.sh changed
 1.35  22-Apr-1995  christos makesyscalls.sh was changed
 1.34  09-Mar-1995  mycroft Update to match syscalls.master.
 1.33  06-Jan-1995  cgd update for new syscalls.master
 1.32  24-Dec-1994  cgd make from latest syscalls.master.
 1.31  14-Dec-1994  mycroft Add undelete syscall, per CSRG.
 1.30  21-Oct-1994  mycroft Reran makesyscalls.sh.
 1.29  20-Oct-1994  cgd update rcsid
 1.28  20-Oct-1994  cgd update for new syscall args description mechanism
 1.27  30-Jun-1994  cgd gen syscall fiels from new syscalls.master
 1.26  14-Jun-1994  cgd make getdtablesize COMPAT_43; should be COMPAT_44 or _09, but that has probs
 1.25  08-Jun-1994  mycroft Update to 4.4-Lite fs code.
 1.24  17-May-1994  cgd make getdomainname, setdomainname, and uname COMPAT_09 in syscall table
 1.23  07-May-1994  cgd do the syscall shuffle
 1.22  04-May-1994  cgd expand the rlimit struct, kill last vestiges of off_t bogosity.
 1.21  29-Apr-1994  cgd kill syscall name aliases. no user-visible changes
 1.20  16-Apr-1994  cgd start to phase out temp. off_t syscalls
 1.19  07-Apr-1994  cgd SUGID semantics, similar to 4.4BSD
 1.18  02-Apr-1994  cgd frob arguments a little bit
 1.17  27-Mar-1994  cgd expand uid_t/gid_t/off_t
 1.16  08-Mar-1994  cgd syscalls.master updated
 1.15  18-Dec-1993  mycroft Canonicalize all #includes.
 1.14  12-Dec-1993  deraadt update to new syscalls.master
 1.13  14-Nov-1993  cgd Add the System V message queue and semaphore facilities. Implemented
by Daniel Boulet <danny@BouletFermat.ab.ca>
 1.12  02-Oct-1993  mycroft Update after fixing syscalls.master.
 1.11  19-Sep-1993  brezak Add sysarch() syscall.
 1.10  07-Jun-1993  cgd branches: 1.10.4;
add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!
 1.9  20-May-1993  cgd the id strings are now made immutable by rcs.
 1.8  20-May-1993  cgd fix for new syscalls.master versioning
 1.7  16-May-1993  cgd getpgrp actually takes void. ask the IEEE...
 1.6  06-May-1993  cgd diffs for uname (posix!) system call, provided by John Brezak <brezak@osf.org>
 1.5  10-Apr-1993  glass fixed '#ifdef NFS' appropriately.
 1.4  06-Apr-1993  glass added 'makesyscalls.sh' from BNR/2. Edit only 'syscalls.master'
recreates init_sysent.c syscalls.c ../sys/syscall.h which should
then be checked back in.
 1.3  02-Apr-1993  deraadt getdomainname fix. had to declare get/setdomainname() implicitly extern.
 1.2  02-Apr-1993  deraadt added: the entire domainanme set. domainmame(1), domainname(2), and a spiffy
man page.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.3  01-Mar-1998  fvdl Import 4.4BSD-Lite2
 1.1.1.2  01-Mar-1998  fvdl Import 4.4BSD-Lite for reference
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10.4.3  14-Nov-1993  cgd Update from trunk:
Add the System V message queue and semaphore facilities. Implemented
by Daniel Boulet <danny@BouletFermat.ab.ca>
 1.10.4.2  10-Nov-1993  deraadt update to new syscalls.master
 1.10.4.1  24-Sep-1993  mycroft Make all files using spl*() #include cpu.h. Changes from trunk.
init_main.c: New method of pseudo-device of initialization.
kern_clock.c: hardclock() and softclock() now take a pointer to a clockframe.
softclock() only does callouts.
kern_synch.c: Remove spurious declaration of endtsleep(). Adjust uses of
averunnable for new struct loadav.
subr_prf.c: Allow printf() formats in panic().
tty.c: averunnable changes.
vfs_subr.c: va_size and va_bytes are now quads.
 1.41.4.1  10-Dec-1996  mycroft Regen.
 1.52.2.1  14-Jan-1997  thorpej syscalls.master changed; regen.
 1.53.2.2  14-Feb-1997  mrg swapon has a new syscall number; deal with oswapon.
 1.53.2.1  12-Feb-1997  mrg initial work for dynamic swap additions.
 1.54.2.3  01-Jun-1997  mrg regen.
 1.54.2.2  01-Jun-1997  mrg regen.
 1.54.2.1  04-May-1997  mrg oops; fix these.
 1.58.4.2  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.58.4.1  16-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.69.2.1  04-Nov-1997  thorpej Regen - syscalls.master changed.
 1.104.4.3  02-Aug-1999  thorpej Regen.
 1.104.4.2  01-Jul-1999  thorpej Sync w/ -current.
 1.104.4.1  21-Jun-1999  thorpej Sync w/ -current.
 1.104.2.1  06-Oct-2000  he Pull up regenerated files (requested by sommerfeld):
Introduce the issetugid() system call.
 1.111.2.6  21-Apr-2001  bouyer Sync with HEAD
 1.111.2.5  11-Feb-2001  bouyer Sync with HEAD.
 1.111.2.4  18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.111.2.3  05-Jan-2001  bouyer Sync with HEAD
 1.111.2.2  13-Dec-2000  bouyer Sync with HEAD (for UBC fixes).
 1.111.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.124.2.17  17-Jan-2003  thorpej Implement _lwp_getprivate(2) and _lwp_setprivate(2).
 1.124.2.16  29-Dec-2002  thorpej Sync with HEAD.
 1.124.2.15  19-Dec-2002  thorpej Regen: Sync with HEAD.
 1.124.2.14  11-Nov-2002  nathanw Catch up to -current
 1.124.2.13  17-Sep-2002  nathanw Catch up to -current.
 1.124.2.12  31-Aug-2002  nathanw Regen.
 1.124.2.11  13-Aug-2002  nathanw Catch up to -current.
 1.124.2.10  01-Aug-2002  nathanw Catch up to -current.
 1.124.2.9  20-Jun-2002  nathanw Catch up to -current.
 1.124.2.8  29-May-2002  nathanw Regen.
 1.124.2.7  25-Feb-2002  nathanw Regen.
 1.124.2.6  28-Jan-2002  nathanw Add a system call, _lwp_wakeup(), to wake up LWPs that are sleeping
interruptably. This is necessary when another thread has requested the
cancellation of a thread that is sleeping in the kernel.

This interface is slightly klugey. It might be better handled with a _lwp_kill()
interface, but that requires all of the machinery to deliver signals to
individual LWPs, which is large, complicated, and not clearly necessary.
 1.124.2.5  17-Nov-2001  nathanw Regen for timers.
 1.124.2.4  14-Nov-2001  nathanw Catch up to -current.
 1.124.2.3  24-Aug-2001  nathanw Catch up with -current.
 1.124.2.2  21-Jun-2001  nathanw Catch up to -current.
 1.124.2.1  05-Mar-2001  nathanw Initial commit of scheduler activations and lightweight process support.
 1.127.6.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.127.2.8  11-Oct-2002  jdolecek regen, to get correct 'generated from'
 1.127.2.7  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.127.2.6  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.127.2.5  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.127.2.4  16-Jun-2002  jdolecek regen - nchanges and nevents are size_t
 1.127.2.3  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.127.2.2  03-Aug-2001  lukem update to -current
 1.127.2.1  10-Jul-2001  lukem regen for kqueue(2) and kevent(2)
 1.129.2.2  29-Aug-2002  gehenna catch up with -current.
 1.129.2.1  15-Jul-2002  gehenna catch up with -current.
 1.144.2.7  11-Dec-2005  christos Sync with head.
 1.144.2.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.144.2.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.144.2.4  17-Jan-2005  skrll Sync with HEAD.
 1.144.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.144.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.144.2.1  03-Aug-2004  skrll Sync with HEAD
 1.160.4.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.160.2.1  29-Apr-2005  kent sync with -current
 1.164.2.12  24-Mar-2008  yamt sync with head.
 1.164.2.11  17-Mar-2008  yamt sync with head.
 1.164.2.10  27-Feb-2008  yamt sync with head.
 1.164.2.9  11-Feb-2008  yamt regen.
 1.164.2.8  04-Feb-2008  yamt sync with head.
 1.164.2.7  21-Jan-2008  yamt sync with head
 1.164.2.6  15-Nov-2007  yamt sync with head.
 1.164.2.5  27-Oct-2007  yamt sync with head.
 1.164.2.4  03-Sep-2007  yamt sync with head.
 1.164.2.3  26-Feb-2007  yamt sync with head.
 1.164.2.2  30-Dec-2006  yamt sync with head.
 1.164.2.1  21-Jun-2006  yamt sync with head.
 1.167.6.2  16-Nov-2005  yamt regen.
 1.167.6.1  15-Nov-2005  yamt regen.
 1.170.6.2  01-Jun-2006  kardel Sync with head.
 1.170.6.1  22-Apr-2006  simonb Sync with head.
 1.170.4.1  09-Sep-2006  rpaulo sync with head
 1.170.2.1  01-Mar-2006  yamt sync with head.
 1.171.6.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.171.4.1  11-May-2006  elad sync with head
 1.171.2.4  03-Sep-2006  yamt sync with head.
 1.171.2.3  11-Aug-2006  yamt sync with head
 1.171.2.2  26-Jun-2006  yamt sync with head.
 1.171.2.1  24-May-2006  yamt sync with head.
 1.172.2.1  19-Jun-2006  chap Sync with head.
 1.173.2.1  13-Jul-2006  gdamore Merge from HEAD.
 1.181.4.1  22-Oct-2006  yamt sync with head
 1.181.2.7  05-Feb-2007  ad Mark another 50-60 syscalls as MPSAFE.
 1.181.2.6  01-Feb-2007  ad Sync with head.
 1.181.2.5  30-Jan-2007  ad Remove support for SA. Ok core@.
 1.181.2.4  16-Jan-2007  ad Adjust arguments to _lwp_park() and friends so that in the best case
_lwp_unpark_all() only has to traverse one sleep queue.
 1.181.2.3  11-Jan-2007  ad Checkpoint work in progress.
 1.181.2.2  29-Dec-2006  ad Checkpoint work in progress.
 1.181.2.1  24-Oct-2006  ad Regen.
 1.187.2.3  07-May-2007  yamt sync with head.
 1.187.2.2  12-Mar-2007  rmind Sync with HEAD.
 1.187.2.1  27-Feb-2007  yamt - sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
 1.189.4.1  11-Jul-2007  mjf Sync with head.
 1.189.2.11  04-Nov-2007  yamt regen for syscalls.master 1.168.2.11.
 1.189.2.10  09-Oct-2007  ad Sync with head.
 1.189.2.9  26-Aug-2007  yamt regen.
 1.189.2.8  20-Aug-2007  ad Sync with HEAD.
 1.189.2.7  19-Aug-2007  ad - Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).
 1.189.2.6  15-Jul-2007  ad Sync with head.
 1.189.2.5  15-Jul-2007  ad Sync with head.
 1.189.2.4  08-Jun-2007  ad Sync with head.
 1.189.2.3  22-Apr-2007  ad Mark SysV & POSIX semaphore system calls as MP safe.
 1.189.2.2  10-Apr-2007  ad Mark another 8 syscalls MP safe, for testing.
 1.189.2.1  06-Apr-2007  ad Mark another 65 syscalls as MP safe, for testing. More work is needed.
 1.192.6.6  14-Nov-2007  joerg Sync with HEAD.
 1.192.6.5  11-Nov-2007  joerg Sync with HEAD.
 1.192.6.4  02-Oct-2007  joerg Sync with HEAD.
 1.192.6.3  16-Aug-2007  jmcneill Sync with HEAD.
 1.192.6.2  09-Aug-2007  jmcneill Sync with HEAD.
 1.192.6.1  04-Aug-2007  jmcneill Sync with HEAD.
 1.192.2.3  10-Sep-2007  skrll Sync with HEAD.
 1.192.2.2  03-Sep-2007  skrll Sync with HEAD.
 1.192.2.1  15-Aug-2007  skrll Sync with HEAD.
 1.193.2.2  04-Aug-2007  ad Mark the SysV semaphore syscalls MP safe.
 1.193.2.1  04-Aug-2007  ad file init_sysent.c was added on branch matt-mips64 on 2007-08-04 10:52:58 +0000
 1.197.2.4  23-Mar-2008  matt sync with HEAD
 1.197.2.3  09-Jan-2008  matt sync with HEAD
 1.197.2.2  08-Nov-2007  matt sync with -HEAD
 1.197.2.1  06-Nov-2007  matt sync with HEAD
 1.198.6.3  18-Feb-2008  mjf Sync with HEAD.
 1.198.6.2  27-Dec-2007  mjf Sync with HEAD.
 1.198.6.1  19-Nov-2007  mjf Sync with HEAD.
 1.198.4.1  13-Nov-2007  bouyer Sync with HEAD
 1.201.6.3  19-Jan-2008  bouyer Sync with HEAD
 1.201.6.2  08-Jan-2008  bouyer Sync with HEAD
 1.201.6.1  02-Jan-2008  bouyer Sync with HEAD
 1.201.2.10  02-Jan-2008  ad Put sendmsg/recvmsg back under kernel_lock for the moment.
 1.201.2.9  29-Dec-2007  yamt regen
 1.201.2.8  27-Dec-2007  ad Regen.
 1.201.2.7  26-Dec-2007  ad - Push kernel_lock back into exit, wait and sysctl system calls, mainly
for visibility.
- Serialize calls to brk() from within the same process.
- Mark more syscalls MPSAFE.
 1.201.2.6  26-Dec-2007  ad Sync with head.
 1.201.2.5  15-Dec-2007  ad - Use pool_cache for a few more items and make those caches static.
- Mark another 10 syscalls MPSAFE including execve(). A small bit of
work is required to fix a couple of issues (tty, kqueue).
 1.201.2.4  15-Dec-2007  ad Mark MPSAFE: fork, kill, sync.
 1.201.2.3  05-Dec-2007  rmind Regen syscalls.
 1.201.2.2  04-Dec-2007  ad Make periphery of sendmsg/recvmsg/sendto/recvfrom MP safe.
 1.201.2.1  04-Dec-2007  ad Pull the vmlocking changes into a new branch.
 1.212.6.4  17-Jan-2009  mjf Sync with HEAD.
 1.212.6.3  29-Jun-2008  mjf Sync with HEAD.
 1.212.6.2  02-Jun-2008  mjf Sync with HEAD.
 1.212.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.212.2.1  24-Mar-2008  keiichi sync with head.
 1.220.4.2  17-Jun-2008  yamt sync with head.
 1.220.4.1  18-May-2008  yamt sync with head.
 1.220.2.9  29-Dec-2008  christos regen
 1.220.2.8  28-Dec-2008  christos regen
 1.220.2.7  27-Dec-2008  christos merge with head.
 1.220.2.6  20-Nov-2008  christos catch up with head.
 1.220.2.5  20-Nov-2008  christos merge with head.
 1.220.2.4  09-Nov-2008  christos fix parameters of fhstat
 1.220.2.3  09-Nov-2008  christos fix fhstat
make major and minor ull
 1.220.2.2  01-Nov-2008  christos Sync with head.
 1.220.2.1  29-Mar-2008  christos Welcome to the time_t=long long dev_t=uint64_t branch.
 1.223.6.1  18-Jun-2008  simonb Sync with head.
 1.223.4.4  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.223.4.3  28-May-2008  wrstuden Regen.
 1.223.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.223.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.223.2.5  09-Oct-2010  yamt sync with head
 1.223.2.4  11-Mar-2010  yamt sync with head
 1.223.2.3  19-Aug-2009  yamt sync with head.
 1.223.2.2  16-May-2009  yamt sync with head
 1.223.2.1  04-May-2009  yamt sync with head.
 1.227.2.2  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.227.2.1  19-Oct-2008  haad Sync with HEAD.
 1.229.8.2  21-Apr-2010  matt sync to netbsd-5
 1.229.8.1  22-Aug-2009  matt Regen for new 64 arg stuff
 1.229.4.1  17-Sep-2011  bouyer Pull up following revision(s) (requested by manu in ticket #1658):
sys/rump/include/rump/rump_syscalls.h: revision 1.52 via patch
sys/kern/init_sysent.c: revision 1.257 via patch
sys/rump/include/rump/rumpvnode_if.h: revision 1.12 via patch
lib/libc/sys/Makefile.inc: revision 1.208 via patch
sys/sys/syscallargs.h: revision 1.227 via patch
sys/kern/kern_exec.c: revision 1.317 via patch
sys/rump/librump/rumpkern/rump_syscalls.c: revision 1.74 via patch
include/limits.h: revision 1.30 via patch
sys/kern/syscalls.master: revision 1.251 via patch
sys/sys/vnode_if.h: revision 1.83 via patch
sys/sys/fcntl.h: revision 1.40 via patch
sys/sys/fcntl.h: revision 1.41 via patch
sys/kern/vfs_syscalls.c: revision 1.433 via patch
sys/rump/librump/rumpvfs/rumpvnode_if.c: revision 1.11 via patch
sys/kern/syscalls.c: revision 1.248 via patch
sys/sys/syscall.h: revision 1.244 via patch
lib/libc/sys/link.2: revision 1.25 via patch
include/unistd.h: revision 1.127 via patch
distrib/sets/lists/comp/mi: revision 1.1659 via patch
sys/sys/stat.h: revision 1.61 via patch
First stage of support for Extended API set 2. Most of the think is
unimplemented, except enough of linkat(2) to hardlink to a symlink.
Everything new in headers is guarded #ifdef _INCOMPLETE_XOPEN_C063 since
some software (e.g.: xcvs in our own tree) will assume they can use openat(2)
when AT_FDCWD is defined. _INCOMPLETE_XOPEN_C063 will go away once support
will be completed.
regen
improve comment about AT_* defines: they are not only used by linkat(2)
Add macros to hide OpenGroup extened API set 2 from GNU configure. This
is a temporary workaround until the implementation is completed.
 1.229.2.1  19-Jan-2009  skrll Sync with HEAD.
 1.238.2.1  23-Jul-2009  jym Sync with HEAD.
 1.244.2.2  22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.244.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.245.2.2  21-Apr-2011  rmind sync with head
 1.245.2.1  05-Mar-2011  rmind sync with head
 1.249.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.251.2.3  05-Mar-2011  bouyer Sync with HEAD
 1.251.2.2  08-Feb-2011  bouyer Sync with HEAD
 1.251.2.1  20-Jan-2011  bouyer Snapshot of work in progress on a modernised disk quota system:
- new quotactl syscall (versionned for backward compat), which takes
as parameter a path to a mount point, and a prop_dictionary
(in plistref format) describing commands and arguments.
For each command, status and data are returned as a prop_dictionary.
quota commands features will be added to take advantage of this,
exporting quota data or getting quota commands as plists.

- new on disk-format storage (all 64bit wide), integrated to metadata for
ffs (and playing nicely with wapbl).
Quotas are enabled on a ffs filesystem via superblock flags.
tunefs(8) can enable or disable quotas.
On a quota-enabled filesystem, fsck_ffs(8) will track per-uid/gid
block and inode usages, and will check and update quotas in Pass 6.
quota usage and limits are stored in unliked files (one for users,
one for groups)l fsck_ffs(8) will create the files if needed, or
free them if needed. This means that after enabling or disabling
quotas on a filesystem; a fsck_ffs(8) run is required.
quotacheck(8) is not needed any more, on a unclean shutdown
fsck or journal replay will take care of fixing quotas.
newfs(8) can create a ready-to-mount quota-enabled filesystem
(superblock flags are set and quota inodes are created).
Other new features or semantic changes:
- default quota datas, applied to users or groups which don't already
have a quota entry
- per-user/group grace time (instead of a filesystem global one)
- 0 really means "nothing allowed at all", not "no limit".
If you want "no limit", set the limit to UQUAD_MAX (tools will
understand "unlimited" and "-")

A quota file is structured as follow:
it starts with a header, containing a few per-filesystem values,
and the default quota limits.
Quota entries are linked together as a simple list, each entry has a
pointer (as an offset withing the file) to the next.
The header has a pointer to a list of free quota entries, and
a hash table of in-use entries. The size of the hash table depends
on the filesystem block size (header+hash table should fit in the
first block). The file is not sparse and is a multiple of
filesystem block size (when the free quota entry list is empty a new
filesystem block is allocated). quota entries to not cross
filesystem block boundaries.

In memory, the kernel keeps a cache of recently used quota entries
as a reference to the block number, and offset withing the block.
The quota entry itself is keept in the buf cache.

fsck_ffs(8), tunefs(8) and newfs(8) supports are completed (with
related atf tests :)
The kernel can update disk usage and report it via quotactl(2).

Todo: enforce quotas limits (limits are not checked by kernel yet)
update repquota, edquota and rpc.rquotad to the new world
implement compat_50_quotactl ioctl.
update quotactl(2) man page

fsck_ffs required fixes so that allocating new blocks or inodes will
properly update the superblock and cg sumaries. This was not an issue up
to now because superblock and cg sumaries check happened last, but now
allocations or frees can happen in pass 6.
 1.258.6.4  02-Jun-2012  mrg sync to latest -current.
 1.258.6.3  11-Mar-2012  mrg sync to latest -current
 1.258.6.2  24-Feb-2012  mrg sync to -current.
 1.258.6.1  18-Feb-2012  mrg merge to -current.
 1.258.2.4  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.258.2.3  30-Oct-2012  yamt sync with head
 1.258.2.2  23-May-2012  yamt sync with head.
 1.258.2.1  17-Apr-2012  yamt sync with head
 1.261.2.1  14-Apr-2015  msaitoh Pull up following revision(s) (requested by khorben in ticket #1264):

include/unistd.h 1.144
sys/kern/init_sysent.c regen
sys/kern/syscalls.c regen
sys/kern/syscalls.master 1.272
sys/rump/include/rump/rump_syscalls.h regen
sys/rump/librump/rumpkern/rump_syscalls.c regen
sys/sys/syscall.h regen
sys/sys/syscallargs.h regen
sys/compat/netbds32/netbsd32_syscall.h regen
sys/compat/netbds32/netbsd32_syscallargs.h regen
sys/compat/netbds32/netbsd32_syscalls.c regen
sys/compat/netbds32/netbsd32_sysent.c regen
sys/compat/netbsd32/syscalls.master 1.102

Fix return type of the readlinkat(2) syscall. PR#49684.
 1.269.2.4  03-Dec-2017  jdolecek update from HEAD
 1.269.2.3  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.269.2.2  23-Jun-2013  tls resync from head
 1.269.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.271.4.1  18-May-2014  rmind sync with head
 1.281.2.1  10-Aug-2014  tls Rebase.
 1.287.4.8  05-Dec-2016  skrll Sync with HEAD
 1.287.4.7  09-Jul-2016  skrll Sync with HEAD
 1.287.4.6  29-May-2016  skrll Sync with HEAD
 1.287.4.5  22-Apr-2016  skrll Sync with HEAD
 1.287.4.4  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.287.4.3  22-Sep-2015  skrll Sync with HEAD
 1.287.4.2  06-Jun-2015  skrll Sync with HEAD
 1.287.4.1  06-Apr-2015  skrll Sync with HEAD
 1.287.2.1  24-Feb-2015  martin regen
 1.312.2.2  20-Mar-2017  pgoyette Sync with HEAD
 1.312.2.1  04-Nov-2016  pgoyette Sync with HEAD
 1.314.6.1  11-May-2017  pgoyette Sync with HEAD
 1.319.4.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.319.4.1  10-Jun-2019  christos Sync with HEAD
 1.319.2.9  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.319.2.8  28-Jul-2018  pgoyette Sync with HEAD
 1.319.2.7  18-Apr-2018  pgoyette Regen
 1.319.2.6  27-Mar-2018  pgoyette Regen
 1.319.2.5  25-Mar-2018  pgoyette Regen
 1.319.2.4  17-Mar-2018  pgoyette Regen
 1.319.2.3  16-Mar-2018  pgoyette Regen
 1.319.2.2  15-Mar-2018  pgoyette Regen
 1.319.2.1  10-Mar-2018  pgoyette Regen
 1.326.2.1  25-Jan-2020  ad Sync with head.
 1.328.2.1  25-Apr-2020  bouyer Sync with bouyer-xenpvh-base2 (HEAD)
 1.336.2.3  14-Dec-2020  thorpej Regen for timerfd.
 1.336.2.2  14-Dec-2020  thorpej Regen for eventfd(2).
 1.336.2.1  14-Dec-2020  thorpej Sync w/ HEAD.
 1.343.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed