Home | History | Annotate | Download | only in kern
History log of /src/sys/kern/syscalls.c
RevisionDateAuthorComments
 1.334  09-Oct-2024  christos regen
 1.333  05-Oct-2024  mlelstv regen
 1.332  03-Oct-2024  christos regen
 1.331  20-May-2024  christos branches: 1.331.2;
regen
 1.330  19-May-2024  christos regen
 1.329  28-Jul-2023  christos regen
 1.328  10-Jul-2023  christos Regen
 1.327  01-Nov-2021  thorpej regen for "struct sigaltstack" -> "stack_t"
 1.326  19-Sep-2021  thorpej Regen for eventfd(2) and timerfd(2).
 1.325  02-Nov-2020  christos regen
 1.324  14-Aug-2020  riastradh branches: 1.324.2;
regen
 1.323  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.322  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.321  02-Jun-2020  kamil Regenerate native NetBSD syscalls

The only change is rump repecting syscall alias names.

No binary change.
 1.320  16-May-2020  christos Add ACL support for FFS. From FreeBSD.
 1.319  26-Apr-2020  thorpej Regen for futex call relocation.
 1.318  26-Apr-2020  thorpej Regen for native futex calls.
 1.317  22-Apr-2020  thorpej Regen for removal of _lwp_gettid(2).
 1.316  04-Apr-2020  thorpej branches: 1.316.2;
Regen for _lwp_gettid(2).
 1.315  21-Jan-2020  pgoyette Regen
 1.314  22-Sep-2019  christos branches: 1.314.2;
regen
 1.313  10-Aug-2018  pgoyette Regen
 1.312  31-Jul-2018  rjs regen.
 1.311  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.310  06-Jan-2018  kamil branches: 1.310.2; 1.310.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.309  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.308  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.307  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.306  08-Dec-2017  christos regen
XXX: pullup-8
 1.305  10-May-2017  riastradh regen
 1.304  13-Jan-2017  christos branches: 1.304.6;
regen
 1.303  02-Nov-2016  pgoyette Regenerate files for modularization of ptrace(2)
 1.302  03-Jul-2016  christos branches: 1.302.2;
regen
 1.301  06-May-2016  pooka regen syscall files
 1.300  23-Apr-2016  christos regen
 1.299  03-Apr-2016  christos regen
 1.298  03-Apr-2016  christos regen
 1.297  02-Apr-2016  christos regen
 1.296  26-Jan-2016  pooka regen syscall files
 1.295  03-Dec-2015  pgoyette Regen
 1.294  01-Dec-2015  pgoyette Regen
 1.293  30-Nov-2015  pgoyette And now fix the actual syntax error. :(
 1.292  30-Nov-2015  pgoyette Fix typo
 1.291  30-Nov-2015  pgoyette Regen for 7.99.23
 1.290  10-Oct-2015  pgoyette Regen
 1.289  24-Sep-2015  christos regen
 1.288  24-Aug-2015  pooka regen
 1.287  18-Jun-2015  pooka regen
 1.286  13-May-2015  pgoyette Regenerate
 1.285  10-May-2015  pgoyette Regen for changes related to separation of compat_sysv syscalls into a
separate module.
 1.284  09-May-2015  pgoyette Regen again, this time without the extra word in the "generated from" line.
 1.283  09-May-2015  pgoyette Another regenerated file
 1.282  12-Mar-2015  christos regen
 1.281  07-Mar-2015  christos regen
 1.280  22-Feb-2015  christos PR/49684: Pierre Pronchery: readlinkat(2) return type is wrong.
 1.279  10-Feb-2015  christos regen
 1.278  25-Jul-2014  dholland branches: 1.278.2; 1.278.4;
Regen for fdiscard and posix_fallocate.
 1.277  24-Jul-2014  pooka regen
 1.276  23-Jul-2014  pooka regen
 1.275  12-Jun-2014  joerg Regenerate
 1.274  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.273  09-Apr-2014  pooka regen
 1.272  14-Mar-2014  pooka branches: 1.272.2;
regen: time/timer related syscalls for rump kernels
 1.271  11-Dec-2013  pooka reregengen
 1.270  09-Dec-2013  pooka regen
 1.269  09-Dec-2013  pooka regen
 1.268  09-Dec-2013  pooka regen
 1.267  09-Dec-2013  pooka regen
 1.266  17-Oct-2013  njoly Regen for mknodat(2) device argument type change.
 1.265  10-Sep-2013  pooka regen
 1.264  03-Sep-2013  pooka regen
 1.263  30-Aug-2013  pooka commit all files when regen'ing
 1.262  29-Mar-2013  christos branches: 1.262.4;
regen
 1.261  02-Oct-2012  christos regen
 1.260  03-Aug-2012  pooka branches: 1.260.2;
reregen
 1.259  03-Aug-2012  pooka regen
 1.258  20-Jul-2012  pooka regen
 1.257  22-Jun-2012  christos regen
 1.256  05-May-2012  christos regen
 1.255  08-Mar-2012  joerg Implement sem_timedwait.
 1.254  19-Feb-2012  matt Regen.
 1.253  19-Feb-2012  matt Regen.
 1.252  11-Feb-2012  martin branches: 1.252.2;
Regen for posix_spawn
 1.251  01-Feb-2012  dholland Regen syscalls with proper id info.
 1.250  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.249  17-Aug-2011  manu branches: 1.249.2; 1.249.6;
regen
 1.248  08-Aug-2011  manu regen
 1.247  18-Jul-2011  drochner regen after *setxattr constification
 1.246  26-Jun-2011  christos regen
 1.245  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.244  21-Feb-2011  pooka regen: NOERR syscalls
 1.243  31-Jan-2011  christos regen
 1.242  18-Jan-2011  pooka branches: 1.242.2;
regen: include sys/sched.h in syscallargs.h
 1.241  17-Jan-2011  pooka regen with no changes (to show previous commits affected rump only)
 1.240  10-Jan-2011  christos branches: 1.240.2;
regen
 1.239  30-Dec-2010  pooka regen: fill syscallnames up to the rim
 1.238  30-Aug-2010  pooka regen: rump syscalls for kern_prot interfaces
 1.237  30-Aug-2010  pooka Empty commit to show makesyscalls.sh rev 1.99 didn't change anything (yet).
 1.236  02-Mar-2010  pooka branches: 1.236.2;
regen: lfs megamaid syscalls -> MODULAR
 1.235  05-Jan-2010  skrll branches: 1.235.2;
Regen.
 1.234  14-Dec-2009  matt Regen (new makesyscalls.sh)
 1.233  14-Dec-2009  matt Merge from matt-nb5-mips64
 1.232  13-Oct-2009  pooka regen: fix rump varargs syscalls prototypes
 1.231  19-Jul-2009  rmind Regen.
 1.230  15-May-2009  pooka regen: pad -> PAD
 1.229  13-Jan-2009  pooka branches: 1.229.2;
Regen to prove I didn't screw up the conversion: purely RCSID changes.
 1.228  11-Jan-2009  christos regen.
 1.227  11-Jan-2009  tsutsui Regen to pull proper "created from" revision strings.
 1.226  11-Jan-2009  christos merge christos-time_t
 1.225  19-Nov-2008  ad Regen.
 1.224  14-Nov-2008  ad Regen.
 1.223  14-Nov-2008  ad Regen.
 1.222  12-Nov-2008  ad Regen.
 1.221  12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.220  16-Oct-2008  wrstuden branches: 1.220.2; 1.220.4; 1.220.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.219  15-Oct-2008  wrstuden Merge wrstuden-revivesa into HEAD.
 1.218  17-Jun-2008  tsutsui branches: 1.218.2;
Regen from syscalls.master rev 1.204:
> Include <sys/sched.h> before <sys/syscallargs.h> for cpuset_t.
 1.217  16-Jun-2008  christos regen
 1.216  16-Jun-2008  christos regen
 1.215  24-Apr-2008  ad branches: 1.215.2; 1.215.4; 1.215.6;
Regen.
 1.214  21-Apr-2008  ad Regen.
 1.213  21-Apr-2008  ad Regen.
 1.212  27-Mar-2008  ad branches: 1.212.2; 1.212.4;
Regen.
 1.211  24-Mar-2008  yamt regen.
 1.210  24-Mar-2008  yamt regen.
 1.209  21-Mar-2008  ad Regen.
 1.208  11-Mar-2008  pooka regen
 1.207  24-Feb-2008  martin Regen (old posix_fadvise ignored)
 1.206  15-Feb-2008  ad branches: 1.206.2; 1.206.6;
Regen.
 1.205  09-Feb-2008  yamt regen.
 1.204  28-Jan-2008  yamt regen.
 1.203  27-Jan-2008  martin Regen (posix_fadvise got a pad arg)
 1.202  25-Jan-2008  ad Regen.
 1.201  16-Jan-2008  ad Regen.
 1.200  15-Jan-2008  rmind Regen syscalls.
 1.199  07-Jan-2008  ad Regen.
 1.198  02-Jan-2008  ad Regen.
 1.197  02-Jan-2008  ad Regen.
 1.196  02-Jan-2008  ad Merge vmlocking2 to head.
 1.195  20-Dec-2007  dsl regen
 1.194  12-Nov-2007  ad branches: 1.194.2; 1.194.6;
Regen.
 1.193  09-Nov-2007  dsl Regen
 1.192  07-Nov-2007  ad Regen.
 1.191  07-Sep-2007  rmind branches: 1.191.4; 1.191.6;
Regen syscalls.
 1.190  15-Aug-2007  ad branches: 1.190.2;
Regen.
 1.189  07-Aug-2007  ad Regen.
 1.188  17-Jul-2007  joerg branches: 1.188.2; 1.188.6;
Regen.
 1.187  14-Jul-2007  dsl Version mount(2) so that the length of the 'data' buffer is passed into
the kernel.
 1.186  30-Apr-2007  rmind Regen syscalls for AIO.
 1.185  06-Mar-2007  drochner branches: 1.185.2; 1.185.4;
regen
 1.184  26-Feb-2007  drochner regen
 1.183  10-Feb-2007  ad branches: 1.183.2;
Regen.
 1.182  10-Feb-2007  ad Regen.
 1.181  09-Feb-2007  ad Merge newlock2 to head.
 1.180  16-Jan-2007  ad Regen.
 1.179  16-Jan-2007  ad Regen.
 1.178  17-Oct-2006  christos regen
 1.177  01-Sep-2006  matt branches: 1.177.2; 1.177.4;
Missed commit (Regen'ed).
 1.176  30-Aug-2006  cube Regen against correct syscalls.master version [hi gimpy!].
 1.175  30-Aug-2006  matt Regen.
 1.174  29-Aug-2006  matt Regen.
 1.173  29-Aug-2006  matt Fix typo (ktrace -> ptrace)
 1.172  31-Jul-2006  martin Make filehandles opaque to userland
 1.171  13-Jul-2006  pavel regenerate again to have correct source RCS Id
 1.170  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.169  26-Jun-2006  mrg regenerate.
 1.168  29-May-2006  drochner branches: 1.168.2;
regen
 1.167  04-May-2006  christos branches: 1.167.2;
Regen
 1.166  24-Feb-2006  drochner branches: 1.166.2; 1.166.4; 1.166.6;
regen
 1.165  29-Nov-2005  yamt branches: 1.165.2; 1.165.4; 1.165.6;
regen (after remove -kk)
 1.164  29-Nov-2005  yamt regen.
 1.163  29-Nov-2005  yamt merge yamt-readahead branch.
 1.162  26-Sep-2005  christos branches: 1.162.6;
Regen.
 1.161  19-Aug-2005  christos 64 bit inode changes.
 1.160  10-Jul-2005  thorpej Regen:

Add Linux-compatible {,fl}{get,set,list}xattr() system call interface
to the VFS extended attribute subsystem.
 1.159  29-May-2005  christos branches: 1.159.2;
Regen
 1.158  27-Feb-2005  perry regen
 1.157  25-Feb-2005  matt Regen. (for pselect and pollts)
 1.156  19-Feb-2005  matt Regen. (no actual differences)
 1.155  02-Jan-2005  thorpej branches: 1.155.2; 1.155.4;
Regen for extended attribute system calls.
 1.154  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.153  27-Apr-2004  kleink Regen from syscalls.master 1.141: [gs]ettimeofday(2) argument declaration
change.
 1.152  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.151  21-Apr-2004  christos Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
 1.150  26-Mar-2004  drochner regen after __HAVE_SIGINFO removal
 1.149  14-Mar-2004  cl regen after:
g/c sys_sa_unblockyield which has been unused since 2004/01/02
 1.148  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.147  02-Jan-2004  cl regen
 1.146  15-Nov-2003  thorpej Regen: fsync_range(2) system call.
 1.145  30-Sep-2003  christos Regen
 1.144  26-Sep-2003  matt Regen.
 1.143  23-Sep-2003  christos Regen
 1.142  16-Sep-2003  cl Regen.
 1.141  11-Sep-2003  christos regen.
 1.140  10-Sep-2003  christos Regen
 1.139  18-Mar-2003  christos branches: 1.139.2;
regen
 1.138  15-Feb-2003  jdolecek regen:
- added __sigtimedwait(2)
- g/c sigwaitinfo(2) slot, move sigqueue(2) slot and free slot #246
 1.137  24-Jan-2003  thorpej Regen; reserve slots for <mqueue.h> and <sched.h> system calls.
 1.136  24-Jan-2003  thorpej Regen; allocate slot for _ksem_timedwait().
 1.135  23-Jan-2003  thorpej Regen; allow ktruss/kdump to properly see _ksem_*().
 1.134  20-Jan-2003  christos regen
 1.133  20-Jan-2003  christos regen
 1.132  18-Jan-2003  thorpej Regen to get correct RCS ID.
 1.131  18-Jan-2003  thorpej Regen: Merge the nathanw_sa branch.
 1.130  19-Dec-2002  thorpej Regen: reserved syscall slots for sigwaitinfo(2), sigtimedwait(2),
and sigqueue(2).
 1.129  23-Oct-2002  jdolecek regen: kqueue branch merge, addition of kqueue(2), kevent(2)
 1.128  04-Sep-2002  jdolecek regen: claim syscall slots for kqueue(2) and kevent(2)
 1.127  28-Aug-2002  gmcgarry Regenerate: rasctl
 1.126  07-Aug-2002  briggs Regen for pmc_get_info, pmc_control.
 1.125  04-Jul-2002  thorpej Regenerate: Added __sigaction_sigtramp at #340.
 1.124  03-May-2002  eeh branches: 1.124.2;
Regen.
 1.123  12-Nov-2001  lukem regen (for RCSID)
 1.122  01-Jul-2001  thorpej branches: 1.122.2; 1.122.6;
Regen; added Linux-compatible clone(2) system call.
 1.121  30-May-2001  mrg regen.
 1.120  10-Apr-2001  kleink Regen.
 1.119  27-Jan-2001  thorpej branches: 1.119.2;
Regen; getpid(2) is MP-safe.
 1.118  27-Jan-2001  thorpej Regen; add sy_flags.
 1.117  05-Jan-2001  jdolecek regen after utrace() parameter rename
 1.116  28-Dec-2000  jdolecek regen - utrace(2) addition
 1.115  09-Dec-2000  mycroft Regen.
 1.114  09-Dec-2000  mycroft Regen.
 1.113  09-Dec-2000  mycroft Regen.
 1.112  13-Nov-2000  jdolecek change the type of *syscallnames[] array to 'const char * const foo[]'
 1.111  18-Aug-2000  cgd update for changed makesyscalls.master
 1.110  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.109  21-Apr-2000  minoura Regen.
 1.108  17-Apr-2000  mrg regen
 1.107  31-Jan-2000  christos Regen
 1.106  23-Jan-2000  mycroft Regen.
 1.105  25-Aug-1999  thorpej branches: 1.105.2;
Regen.
 1.104  12-Jul-1999  thorpej Regen.
 1.103  12-Jul-1999  kleink Regen.
 1.102  29-Jun-1999  wrstuden regen.
 1.101  15-Jun-1999  thorpej Regen.
 1.100  09-Jun-1999  christos Regen
 1.99  08-Jun-1999  thorpej Regen.
 1.98  28-Mar-1999  kleink branches: 1.98.2; 1.98.4;
Regen.
 1.97  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.96  10-Feb-1999  kleink Regen: socklen_t changes.
 1.95  10-Dec-1998  christos Regen
 1.94  26-Nov-1998  kleink Regen: getpgid() prototype change.
 1.93  19-Oct-1998  tron 1.93:Regen.
 1.92  13-Sep-1998  thorpej Regen.
 1.91  12-Sep-1998  mycroft Regen.
 1.90  12-Sep-1998  mycroft Regen.
 1.89  11-Sep-1998  thorpej Regen; signal changes. (mycroft must have forgotten to commit this)
 1.88  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.87  02-Jul-1998  thorpej Regen: pad off_t args in pread/pwrite/preadv/pwritev.
 1.86  30-Jun-1998  thorpej Regen: added pread(2), pwrite(2), preadv(2), pwritev(2).
 1.85  25-Jun-1998  thorpej Regen: defopt NFSSERVER
 1.84  25-Jun-1998  thorpej Regen: defopt KTRACE
 1.83  05-Jun-1998  kleink Regen: addition of fdatasync().
 1.82  30-May-1998  kleink Regen: mlock() and munlock() prototype changes.
 1.81  07-May-1998  kleink Regen: various SysV IPC prototype changes.
 1.80  02-May-1998  christos Regen
 1.79  02-May-1998  christos New fktrace syscall from Darren Reed [with fixes from me]
 1.78  27-Mar-1998  kleink Regen: syscalls.master changed.
 1.77  25-Feb-1998  perry regen
 1.76  19-Feb-1998  thorpej Regen; makesyscalls.sh changed
 1.75  19-Feb-1998  thorpej Regen; syscalls.master and makesyscalls.sh changed.
 1.74  14-Feb-1998  kleink Regen: syscalls.master change (addition of __posix_chown(), __posix_fchown(),
__posix_lchown(); posix_rename() -> __posix_rename()).
 1.73  14-Feb-1998  thorpej Regen: syscalls.master changes (getsid(2))
 1.72  09-Jan-1998  thorpej Regen.
 1.71  08-Jan-1998  thorpej Regen: back out RCD ID related changes.
 1.70  05-Jan-1998  perry regened with RCSID
 1.69  04-Jan-1998  thorpej Regen: add __vfork14() at #282.
 1.68  29-Nov-1997  kleink Regen.
 1.67  25-Nov-1997  kleink Regen again to reflect correct syscalls.master version.
 1.66  25-Nov-1997  kleink Regen.
 1.65  04-Nov-1997  thorpej Regen - syscalls.master changed.
 1.64  20-Oct-1997  thorpej branches: 1.64.2;
Regen, syscalls.master changed.
 1.63  19-Oct-1997  mycroft Regen.
 1.62  18-Oct-1997  christos Regen.
 1.61  16-Oct-1997  christos Regen
 1.60  15-Oct-1997  mycroft Regen.
 1.59  15-Oct-1997  mycroft Regen.
 1.58  10-Oct-1997  fvdl Regen.
 1.57  04-Oct-1997  veego Regen with the correct NetBSD RCS ID from syscalls.master.
 1.56  03-Oct-1997  enami Regen.
 1.55  09-Sep-1997  veego syscalls.master changed; regen.
 1.54  08-Sep-1997  chuck syscalls.master changed; regen.
 1.53  12-Jun-1997  mrg branches: 1.53.4;
regenerate.
 1.52  12-Jun-1997  mrg regenerate.
 1.51  12-Jun-1997  mrg regenerate.
 1.50  18-May-1997  kleink Add posix_rename() syscall: regen.
 1.49  16-Apr-1997  jtc branches: 1.49.2;
Add POSIX.1b nanosleep().
 1.48  31-Jan-1997  thorpej branches: 1.48.2;
Syscalls.master changed, regen. (NFSCLIENT -> NFS)
 1.47  22-Dec-1996  cgd branches: 1.47.2;
update for new syscalls.master
 1.46  22-Dec-1996  cgd regen for syscalls.master and makesyscalls.sh changes
 1.45  06-Dec-1996  thorpej syscalls.master changed; regen.
 1.44  03-Dec-1996  thorpej syscalls.master changed; regen.
 1.43  15-Nov-1996  jtc Add clock_gettime, clock_settime, and clock_getres
 1.42  14-Nov-1996  thorpej Regen.
 1.41  19-Sep-1996  jtc renamed sys_getlogin to sys___getlogin. required by libc namespace conventions
 1.40  07-Sep-1996  mycroft Regen.
 1.39  07-Sep-1996  mycroft Regen.
 1.38  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.37  23-Jun-1996  mycroft Regen.
 1.36  23-Apr-1996  mycroft branches: 1.36.4;
Regen.
 1.35  08-Mar-1996  mycroft Reran makesyscalls.sh.
 1.34  22-Nov-1995  cgd update for new syscalls.master
 1.33  10-Oct-1995  mycroft Reran makesyscalls.sh.
 1.32  07-Oct-1995  mycroft Reran makesyscalls.sh.
 1.31  09-Mar-1995  mycroft Update to match syscalls.master.
 1.30  06-Jan-1995  cgd update for new syscalls.master
 1.29  24-Dec-1994  cgd make from latest syscalls.master.
 1.28  14-Dec-1994  mycroft Add undelete syscall, per CSRG.
 1.27  21-Oct-1994  mycroft Reran makesyscalls.sh.
 1.26  20-Oct-1994  cgd update rcsid
 1.25  20-Oct-1994  cgd update for new syscall args description mechanism
 1.24  30-Jun-1994  cgd gen syscall fiels from new syscalls.master
 1.23  14-Jun-1994  cgd make getdtablesize COMPAT_43; should be COMPAT_44 or _09, but that has probs
 1.22  08-Jun-1994  mycroft Update to 4.4-Lite fs code.
 1.21  17-May-1994  cgd make getdomainname, setdomainname, and uname COMPAT_09 in syscall table
 1.20  07-May-1994  cgd do the syscall shuffle
 1.19  04-May-1994  cgd expand the rlimit struct, kill last vestiges of off_t bogosity.
 1.18  29-Apr-1994  cgd kill syscall name aliases. no user-visible changes
 1.17  16-Apr-1994  cgd start to phase out temp. off_t syscalls
 1.16  07-Apr-1994  cgd SUGID semantics, similar to 4.4BSD
 1.15  02-Apr-1994  cgd frob arguments a little bit
 1.14  27-Mar-1994  cgd expand uid_t/gid_t/off_t
 1.13  08-Mar-1994  cgd syscalls.master updated
 1.12  12-Dec-1993  deraadt update to new syscalls.master
 1.11  14-Nov-1993  cgd Add the System V message queue and semaphore facilities. Implemented
by Daniel Boulet <danny@BouletFermat.ab.ca>
 1.10  02-Oct-1993  mycroft Update after fixing syscalls.master.
 1.9  19-Sep-1993  brezak Add sysarch() syscall.
 1.8  07-Jun-1993  cgd branches: 1.8.4;
add support for terry lambert's loadable kernel modules.
needs a bit of cleanup, but overall: SLICK!
 1.7  20-May-1993  cgd the id strings are now made immutable by rcs.
 1.6  20-May-1993  cgd fix for new syscalls.master versioning
 1.5  06-May-1993  cgd diffs for uname (posix!) system call, provided by John Brezak <brezak@osf.org>
 1.4  10-Apr-1993  glass fixed '#ifdef NFS' appropriately.
 1.3  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.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.8.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.8.4.2  10-Nov-1993  deraadt update to new syscalls.master
 1.8.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.36.4.1  10-Dec-1996  mycroft Regen.
 1.47.2.1  14-Jan-1997  thorpej syscalls.master changed; regen.
 1.48.2.2  14-Feb-1997  mrg swapon has a new syscall number; deal with oswapon.
 1.48.2.1  12-Feb-1997  mrg initial work for dynamic swap additions.
 1.49.2.4  01-Jun-1997  mrg regen.
 1.49.2.3  01-Jun-1997  mrg regen.
 1.49.2.2  04-May-1997  mrg oops; fix these.
 1.49.2.1  04-May-1997  mrg re-merge mrg-vm-swap into -current, and call it mrg-vm-swap2.
 1.53.4.2  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.53.4.1  16-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.64.2.1  04-Nov-1997  thorpej Regen - syscalls.master changed.
 1.98.4.3  02-Aug-1999  thorpej Regen.
 1.98.4.2  01-Jul-1999  thorpej Sync w/ -current.
 1.98.4.1  21-Jun-1999  thorpej Sync w/ -current.
 1.98.2.1  06-Oct-2000  he Pull up regenerated files (requested by sommerfeld):
Introduce the issetugid() system call.
 1.105.2.7  21-Apr-2001  bouyer Sync with HEAD
 1.105.2.6  11-Feb-2001  bouyer Sync with HEAD.
 1.105.2.5  18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.105.2.4  05-Jan-2001  bouyer Sync with HEAD
 1.105.2.3  13-Dec-2000  bouyer Sync with HEAD (for UBC fixes).
 1.105.2.2  22-Nov-2000  bouyer Sync with HEAD.
 1.105.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.119.2.17  17-Jan-2003  thorpej Implement _lwp_getprivate(2) and _lwp_setprivate(2).
 1.119.2.16  29-Dec-2002  thorpej Sync with HEAD.
 1.119.2.15  19-Dec-2002  thorpej Regen: Sync with HEAD.
 1.119.2.14  11-Nov-2002  nathanw Catch up to -current
 1.119.2.13  17-Sep-2002  nathanw Catch up to -current.
 1.119.2.12  31-Aug-2002  nathanw Regen.
 1.119.2.11  13-Aug-2002  nathanw Catch up to -current.
 1.119.2.10  01-Aug-2002  nathanw Catch up to -current.
 1.119.2.9  20-Jun-2002  nathanw Catch up to -current.
 1.119.2.8  29-May-2002  nathanw Regen.
 1.119.2.7  25-Feb-2002  nathanw Regen.
 1.119.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.119.2.5  17-Nov-2001  nathanw Regen for timers.
 1.119.2.4  14-Nov-2001  nathanw Catch up to -current.
 1.119.2.3  24-Aug-2001  nathanw Catch up with -current.
 1.119.2.2  21-Jun-2001  nathanw Catch up to -current.
 1.119.2.1  05-Mar-2001  nathanw Initial commit of scheduler activations and lightweight process support.
 1.122.6.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.122.2.8  11-Oct-2002  jdolecek regen, to get correct 'generated from'
 1.122.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.122.2.6  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.122.2.5  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.122.2.4  16-Jun-2002  jdolecek regen - nchanges and nevents are size_t
 1.122.2.3  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.122.2.2  03-Aug-2001  lukem update to -current
 1.122.2.1  10-Jul-2001  lukem regen for kqueue(2) and kevent(2)
 1.124.2.2  29-Aug-2002  gehenna catch up with -current.
 1.124.2.1  15-Jul-2002  gehenna catch up with -current.
 1.139.2.7  11-Dec-2005  christos Sync with head.
 1.139.2.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.139.2.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.139.2.4  17-Jan-2005  skrll Sync with HEAD.
 1.139.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.139.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.139.2.1  03-Aug-2004  skrll Sync with HEAD
 1.155.4.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.155.2.1  29-Apr-2005  kent sync with -current
 1.159.2.12  24-Mar-2008  yamt sync with head.
 1.159.2.11  17-Mar-2008  yamt sync with head.
 1.159.2.10  27-Feb-2008  yamt sync with head.
 1.159.2.9  11-Feb-2008  yamt regen.
 1.159.2.8  04-Feb-2008  yamt sync with head.
 1.159.2.7  21-Jan-2008  yamt sync with head
 1.159.2.6  15-Nov-2007  yamt sync with head.
 1.159.2.5  27-Oct-2007  yamt sync with head.
 1.159.2.4  03-Sep-2007  yamt sync with head.
 1.159.2.3  26-Feb-2007  yamt sync with head.
 1.159.2.2  30-Dec-2006  yamt sync with head.
 1.159.2.1  21-Jun-2006  yamt sync with head.
 1.162.6.3  18-Nov-2005  yamt - associate read-ahead context to vnode, rather than file.
- revert VOP_READ prototype.
 1.162.6.2  16-Nov-2005  yamt regen.
 1.162.6.1  15-Nov-2005  yamt regen.
 1.165.6.2  01-Jun-2006  kardel Sync with head.
 1.165.6.1  22-Apr-2006  simonb Sync with head.
 1.165.4.1  09-Sep-2006  rpaulo sync with head
 1.165.2.1  01-Mar-2006  yamt sync with head.
 1.166.6.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.166.4.1  11-May-2006  elad sync with head
 1.166.2.4  03-Sep-2006  yamt sync with head.
 1.166.2.3  11-Aug-2006  yamt sync with head
 1.166.2.2  26-Jun-2006  yamt sync with head.
 1.166.2.1  24-May-2006  yamt sync with head.
 1.167.2.1  19-Jun-2006  chap Sync with head.
 1.168.2.1  13-Jul-2006  gdamore Merge from HEAD.
 1.177.4.1  22-Oct-2006  yamt sync with head
 1.177.2.5  01-Feb-2007  ad Sync with head.
 1.177.2.4  30-Jan-2007  ad Remove support for SA. Ok core@.
 1.177.2.3  11-Jan-2007  ad Checkpoint work in progress.
 1.177.2.2  29-Dec-2006  ad Checkpoint work in progress.
 1.177.2.1  24-Oct-2006  ad Regen.
 1.183.2.3  07-May-2007  yamt sync with head.
 1.183.2.2  12-Mar-2007  rmind Sync with HEAD.
 1.183.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.185.4.1  11-Jul-2007  mjf Sync with head.
 1.185.2.8  04-Nov-2007  yamt regen for syscalls.master 1.168.2.11.
 1.185.2.7  09-Oct-2007  ad Sync with head.
 1.185.2.6  26-Aug-2007  yamt regen.
 1.185.2.5  20-Aug-2007  ad Sync with HEAD.
 1.185.2.4  19-Aug-2007  ad - Back out the biodone() changes.
- Eliminate B_ERROR (from HEAD).
 1.185.2.3  15-Jul-2007  ad Sync with head.
 1.185.2.2  15-Jul-2007  ad Sync with head.
 1.185.2.1  08-Jun-2007  ad Sync with head.
 1.188.6.5  14-Nov-2007  joerg Sync with HEAD.
 1.188.6.4  11-Nov-2007  joerg Sync with HEAD.
 1.188.6.3  02-Oct-2007  joerg Sync with HEAD.
 1.188.6.2  16-Aug-2007  jmcneill Sync with HEAD.
 1.188.6.1  09-Aug-2007  jmcneill Sync with HEAD.
 1.188.2.3  10-Sep-2007  skrll Sync with HEAD.
 1.188.2.2  03-Sep-2007  skrll Sync with HEAD.
 1.188.2.1  15-Aug-2007  skrll Sync with HEAD.
 1.190.2.4  23-Mar-2008  matt sync with HEAD
 1.190.2.3  09-Jan-2008  matt sync with HEAD
 1.190.2.2  08-Nov-2007  matt sync with -HEAD
 1.190.2.1  06-Nov-2007  matt sync with HEAD
 1.191.6.3  18-Feb-2008  mjf Sync with HEAD.
 1.191.6.2  27-Dec-2007  mjf Sync with HEAD.
 1.191.6.1  19-Nov-2007  mjf Sync with HEAD.
 1.191.4.1  13-Nov-2007  bouyer Sync with HEAD
 1.194.6.3  19-Jan-2008  bouyer Sync with HEAD
 1.194.6.2  08-Jan-2008  bouyer Sync with HEAD
 1.194.6.1  02-Jan-2008  bouyer Sync with HEAD
 1.194.2.4  29-Dec-2007  yamt regen
 1.194.2.3  26-Dec-2007  ad Sync with head.
 1.194.2.2  05-Dec-2007  rmind Regen syscalls.
 1.194.2.1  04-Dec-2007  ad Pull the vmlocking changes into a new branch.
 1.206.6.4  17-Jan-2009  mjf Sync with HEAD.
 1.206.6.3  29-Jun-2008  mjf Sync with HEAD.
 1.206.6.2  02-Jun-2008  mjf Sync with HEAD.
 1.206.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.206.2.1  24-Mar-2008  keiichi sync with head.
 1.212.4.2  17-Jun-2008  yamt sync with head.
 1.212.4.1  18-May-2008  yamt sync with head.
 1.212.2.9  29-Dec-2008  christos regen
 1.212.2.8  28-Dec-2008  christos regen
 1.212.2.7  27-Dec-2008  christos merge with head.
 1.212.2.6  20-Nov-2008  christos catch up with head.
 1.212.2.5  20-Nov-2008  christos merge with head.
 1.212.2.4  09-Nov-2008  christos fix parameters of fhstat
 1.212.2.3  09-Nov-2008  christos fix fhstat
make major and minor ull
 1.212.2.2  01-Nov-2008  christos Sync with head.
 1.212.2.1  29-Mar-2008  christos Welcome to the time_t=long long dev_t=uint64_t branch.
 1.215.6.1  18-Jun-2008  simonb Sync with head.
 1.215.4.4  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.215.4.3  28-May-2008  wrstuden Regen.
 1.215.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.215.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.215.2.5  09-Oct-2010  yamt sync with head
 1.215.2.4  11-Mar-2010  yamt sync with head
 1.215.2.3  19-Aug-2009  yamt sync with head.
 1.215.2.2  16-May-2009  yamt sync with head
 1.215.2.1  04-May-2009  yamt sync with head.
 1.218.2.2  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.218.2.1  19-Oct-2008  haad Sync with HEAD.
 1.220.8.1  21-Apr-2010  matt sync to netbsd-5
 1.220.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.220.2.1  19-Jan-2009  skrll Sync with HEAD.
 1.229.2.1  23-Jul-2009  jym Sync with HEAD.
 1.235.2.2  22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.235.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.236.2.2  21-Apr-2011  rmind sync with head
 1.236.2.1  05-Mar-2011  rmind sync with head
 1.240.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.242.2.3  05-Mar-2011  bouyer Sync with HEAD
 1.242.2.2  08-Feb-2011  bouyer Sync with HEAD
 1.242.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.249.6.4  02-Jun-2012  mrg sync to latest -current.
 1.249.6.3  11-Mar-2012  mrg sync to latest -current
 1.249.6.2  24-Feb-2012  mrg sync to -current.
 1.249.6.1  18-Feb-2012  mrg merge to -current.
 1.249.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.249.2.3  30-Oct-2012  yamt sync with head
 1.249.2.2  23-May-2012  yamt sync with head.
 1.249.2.1  17-Apr-2012  yamt sync with head
 1.252.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.260.2.4  03-Dec-2017  jdolecek update from HEAD
 1.260.2.3  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.260.2.2  23-Jun-2013  tls resync from head
 1.260.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.262.4.1  18-May-2014  rmind sync with head
 1.272.2.1  10-Aug-2014  tls Rebase.
 1.278.4.8  05-Dec-2016  skrll Sync with HEAD
 1.278.4.7  09-Jul-2016  skrll Sync with HEAD
 1.278.4.6  29-May-2016  skrll Sync with HEAD
 1.278.4.5  22-Apr-2016  skrll Sync with HEAD
 1.278.4.4  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.278.4.3  22-Sep-2015  skrll Sync with HEAD
 1.278.4.2  06-Jun-2015  skrll Sync with HEAD
 1.278.4.1  06-Apr-2015  skrll Sync with HEAD
 1.278.2.1  24-Feb-2015  martin regen
 1.302.2.2  20-Mar-2017  pgoyette Sync with HEAD
 1.302.2.1  04-Nov-2016  pgoyette Sync with HEAD
 1.304.6.1  11-May-2017  pgoyette Sync with HEAD
 1.310.4.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.310.4.1  10-Jun-2019  christos Sync with HEAD
 1.310.2.9  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.310.2.8  28-Jul-2018  pgoyette Sync with HEAD
 1.310.2.7  18-Apr-2018  pgoyette Regen
 1.310.2.6  27-Mar-2018  pgoyette Regen
 1.310.2.5  25-Mar-2018  pgoyette Missed this in the regen
 1.310.2.4  17-Mar-2018  pgoyette Regen
 1.310.2.3  16-Mar-2018  pgoyette Regen
 1.310.2.2  15-Mar-2018  pgoyette Regen
 1.310.2.1  10-Mar-2018  pgoyette Regen
 1.314.2.1  25-Jan-2020  ad Sync with head.
 1.316.2.1  25-Apr-2020  bouyer Sync with bouyer-xenpvh-base2 (HEAD)
 1.324.2.3  14-Dec-2020  thorpej Regen for timerfd.
 1.324.2.2  14-Dec-2020  thorpej Regen for eventfd(2).
 1.324.2.1  14-Dec-2020  thorpej Sync w/ HEAD.
 1.331.2.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed