Commit Graph

220 Commits

Author SHA1 Message Date
martin a3b5baed42 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!).
2006-07-13 12:00:24 +00:00
mrg 1b7ff51599 regenerate. 2006-06-26 21:30:50 +00:00
drochner 4f2e2f7d77 regen 2006-05-29 09:58:51 +00:00
christos 89a5572015 Regen 2006-05-04 17:50:28 +00:00
drochner 4de7d24ae3 regen 2006-02-24 19:25:28 +00:00
yamt 7af60d1ad1 regen (after remove -kk) 2005-11-29 23:01:19 +00:00
yamt 83427523dc regen. 2005-11-29 22:54:08 +00:00
yamt 221616873d merge yamt-readahead branch. 2005-11-29 22:52:02 +00:00
christos 2cbe95f3ac Regen. 2005-09-26 03:04:46 +00:00
christos 50f8955b6e 64 bit inode changes. 2005-08-19 02:04:03 +00:00
thorpej 9c6adeffa0 Regen:
Add Linux-compatible {,fl}{get,set,list}xattr() system call interface
to the VFS extended attribute subsystem.
2005-07-10 22:05:24 +00:00
christos b636cdfe8a Regen 2005-05-29 21:11:30 +00:00
perry 77f2a006d0 regen 2005-02-26 23:58:19 +00:00
matt 47a6f2d4b0 Regen. (for pselect and pollts) 2005-02-25 19:55:18 +00:00
matt 832084d8ae Regen. (no actual differences) 2005-02-19 22:19:02 +00:00
thorpej 4dfb0d5670 Regen for extended attribute system calls. 2005-01-02 17:47:29 +00:00
kleink 90c0c343b0 Regen from syscalls.master rev. 1.142:
POSIX-2001: Change readlink(2)'s return type from int to ssize_t.
2004-05-10 22:30:41 +00:00
kleink 3925dc263a Regen from syscalls.master 1.141: [gs]ettimeofday(2) argument declaration
change.
2004-04-27 01:15:38 +00:00
kleink 679cb3e5a5 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.
2004-04-25 22:21:17 +00:00
christos 6bd1d6d4db Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
drochner 4f4ec7e627 regen after __HAVE_SIGINFO removal 2004-03-26 15:29:28 +00:00
cl 63fe298156 regen after:
g/c sys_sa_unblockyield which has been unused since 2004/01/02
2004-03-14 00:47:25 +00:00
tsarna 72489e1ea0 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.
2004-01-29 02:00:02 +00:00
cl d5645dec8e regen 2004-01-02 18:53:45 +00:00
thorpej 001102c808 Regen: fsync_range(2) system call. 2003-11-15 01:20:48 +00:00
christos 7bd9c302eb Regen 2003-09-30 20:36:40 +00:00
matt 2546f51a33 Regen. 2003-09-26 23:11:16 +00:00
christos 643e2f262c Regen 2003-09-23 14:34:38 +00:00
cl d973127f38 Regen. 2003-09-16 13:49:23 +00:00
christos 6b4bd0dc1b regen. 2003-09-11 14:00:21 +00:00
christos cbd4e9f601 Regen 2003-09-10 16:44:12 +00:00
christos 46bb05bc86 regen 2003-03-18 18:09:48 +00:00
jdolecek fa2b78c32c regen:
- added __sigtimedwait(2)
- g/c sigwaitinfo(2) slot, move sigqueue(2) slot and free slot #246
2003-02-15 20:56:48 +00:00
thorpej 157e66459d Regen; reserve slots for <mqueue.h> and <sched.h> system calls. 2003-01-24 01:28:05 +00:00
thorpej 30427190e0 Regen; allocate slot for _ksem_timedwait(). 2003-01-24 01:18:50 +00:00
thorpej 9243a2a667 Regen; allow ktruss/kdump to properly see _ksem_*(). 2003-01-23 23:31:36 +00:00
christos 326105323e regen 2003-01-20 20:25:04 +00:00
christos f82c14c1fc regen 2003-01-20 20:06:25 +00:00
thorpej a03cb2b851 Regen to get correct RCS ID. 2003-01-18 23:28:15 +00:00
thorpej 022e5e7902 Regen: Merge the nathanw_sa branch. 2003-01-18 10:08:00 +00:00
thorpej 4c82425f5e Regen: reserved syscall slots for sigwaitinfo(2), sigtimedwait(2),
and sigqueue(2).
2002-12-19 23:53:42 +00:00
jdolecek 25f6d9c389 regen: kqueue branch merge, addition of kqueue(2), kevent(2) 2002-10-23 09:18:16 +00:00
jdolecek 32fad21d27 regen: claim syscall slots for kqueue(2) and kevent(2) 2002-09-04 07:46:25 +00:00
gmcgarry 14e30716d8 Regenerate: rasctl 2002-08-28 07:18:50 +00:00
briggs 5b1917a886 Regen for pmc_get_info, pmc_control. 2002-08-07 04:54:29 +00:00
thorpej a08a4aecac Regenerate: Added __sigaction_sigtramp at #340. 2002-07-04 23:34:28 +00:00
eeh 89e107d917 Regen. 2002-05-03 00:22:16 +00:00
lukem 6e65bad538 regen (for RCSID) 2001-11-12 15:03:35 +00:00
thorpej ce232da4eb Regen; added Linux-compatible clone(2) system call. 2001-07-01 18:07:33 +00:00
mrg 09cf52ad81 regen. 2001-05-30 11:48:07 +00:00
kleink fba80da1d1 Regen. 2001-04-10 11:06:20 +00:00
thorpej cfa7048975 Regen; getpid(2) is MP-safe. 2001-01-27 07:48:28 +00:00
thorpej 1b6a66420e Regen; add sy_flags. 2001-01-27 07:23:06 +00:00
jdolecek 2bd5bf0ec2 regen after utrace() parameter rename 2001-01-05 21:53:38 +00:00
jdolecek 7899fd7798 regen - utrace(2) addition 2000-12-28 11:16:48 +00:00
mycroft 547de8a6a3 Regen. 2000-12-09 07:05:10 +00:00
mycroft 51e3b887d7 Regen. 2000-12-09 06:19:40 +00:00
mycroft f348afacb9 Regen. 2000-12-09 05:37:01 +00:00
jdolecek 78b866e95a change the type of *syscallnames[] array to 'const char * const foo[]' 2000-11-13 21:32:15 +00:00
cgd 0199b04bef update for changed makesyscalls.master 2000-08-18 19:35:15 +00:00
bjh21 24f9914cb3 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.
2000-08-07 18:10:20 +00:00
minoura d982197440 Regen. 2000-04-21 16:16:15 +00:00
mrg 9dc12ba15b regen 2000-04-17 14:33:11 +00:00
christos 3d9c5d0450 Regen 2000-01-31 15:13:24 +00:00
mycroft 0153fa8a4d Regen. 2000-01-23 01:01:51 +00:00
thorpej 4aafee104b Regen. 1999-08-25 05:06:31 +00:00
thorpej 5fdbf26214 Regen. 1999-07-12 23:01:47 +00:00
kleink dfa5aad003 Regen. 1999-07-12 22:04:00 +00:00
wrstuden a9e728797e regen. 1999-06-29 22:17:39 +00:00
thorpej ad528dfdf0 Regen. 1999-06-15 23:29:17 +00:00
christos e13d964178 Regen 1999-06-09 04:25:54 +00:00
thorpej c146fe969e Regen. 1999-06-08 03:08:32 +00:00
kleink 1c35ac8f6b Regen. 1999-03-28 17:32:51 +00:00
sommerfe 6d0f67d6aa 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().
1999-03-22 17:13:34 +00:00
kleink 5dfcd3c125 Regen: socklen_t changes. 1999-02-10 18:05:24 +00:00
christos 32b0dc0fbd Regen 1998-12-10 16:44:16 +00:00
kleink abd228c31c Regen: getpgid() prototype change. 1998-11-26 16:13:56 +00:00
tron f87a1b6e7a 1.93:Regen. 1998-10-19 22:19:26 +00:00
thorpej f93b23110f Regen. 1998-09-13 04:58:21 +00:00
mycroft b1c2e63db6 Regen. 1998-09-12 10:48:51 +00:00
mycroft 584cc642fc Regen. 1998-09-12 10:33:26 +00:00
thorpej 911fd86e93 Regen; signal changes. (mycroft must have forgotten to commit this) 1998-09-11 22:37:53 +00:00
jonathan d275e56dee * defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
TODO: revisit interaction between native compat and emul compat usage.
1998-07-05 08:49:30 +00:00
thorpej e5f49cece3 Regen: pad off_t args in pread/pwrite/preadv/pwritev. 1998-07-02 01:24:24 +00:00
thorpej 1f37d1d569 Regen: added pread(2), pwrite(2), preadv(2), pwritev(2). 1998-06-30 19:34:20 +00:00
thorpej 23e23646da Regen: defopt NFSSERVER 1998-06-25 22:17:21 +00:00
thorpej 5b5a9f45a5 Regen: defopt KTRACE 1998-06-25 21:16:58 +00:00
kleink 4648a78bba Regen: addition of fdatasync(). 1998-06-05 20:36:53 +00:00
kleink 4c3bf73d01 Regen: mlock() and munlock() prototype changes. 1998-05-30 22:23:30 +00:00
kleink fb27bb18d3 Regen: various SysV IPC prototype changes. 1998-05-07 17:24:30 +00:00
christos 1efd649b47 Regen 1998-05-02 18:34:13 +00:00
christos 02cecf686a New fktrace syscall from Darren Reed [with fixes from me] 1998-05-02 18:33:19 +00:00
kleink 5d9a1f3207 Regen: syscalls.master changed. 1998-03-27 13:09:52 +00:00
perry a5385186b1 regen 1998-02-25 21:30:36 +00:00
thorpej 95cd40bf13 Regen; makesyscalls.sh changed 1998-02-19 03:31:11 +00:00
thorpej 990ca1baa0 Regen; syscalls.master and makesyscalls.sh changed. 1998-02-19 00:53:17 +00:00
kleink f339e80ad6 Regen: syscalls.master change (addition of __posix_chown(), __posix_fchown(),
__posix_lchown(); posix_rename() -> __posix_rename()).
1998-02-14 20:05:53 +00:00
thorpej 6da644fd03 Regen: syscalls.master changes (getsid(2)) 1998-02-14 00:40:45 +00:00
thorpej 1a49aac581 Regen. 1998-01-09 06:09:17 +00:00
thorpej 585f0dec73 Regen: back out RCD ID related changes. 1998-01-08 00:17:11 +00:00