summaryrefslogtreecommitdiff
path: root/sys/kern/syscalls.master
AgeCommit message (Collapse)Author
2006-09-22Put the LFS syscall stubs back in, turns out libc is unable to buildPedro Martelletto
without those, even though they're currently not implemented
2006-09-22Remove LFS system callsPedro Martelletto
2006-06-14Introducing adjfreq(2), to adjust the clock frequency.Otto Moerbeek
Loosely based on dragonfly code. ok deraadt@
2006-06-09spacing that made a grep look very suspiciousTheo de Raadt
2006-04-28Instrumentation for an in-kernel getcwd() implementation.Pedro Martelletto
Not yet activated. Diff by marius@ long ago, from NetBSD. Okay miod@ and krw@.
2005-12-30change thrwakeup to take an argument which specifies how many threadsTed Unangst
to wakeup.
2005-12-13change the first arg to thrsleep and thrwakeup to a void *.Ted Unangst
i had initially selected long since the kernel doesn't attempt to interpret this value in any way, but since it is always a pointer value in practice, this makes a little more sense. binary compat in any case. suggestion from deraadt@
2005-12-03kernel support for threaded processes (rthreads).Ted Unangst
uses rfork(RFTHREAD) to create threads, which are presently processes that are a little more tightly bound together. several new syscalls added to facilitate a userland thread library. all conditional on RTHREADS, currently disabled. ok deraadt
2005-07-03Extended Attributes was a piece to get to ACLs, however ACLs have notDale Rahn
been worked on, so EA is pointless. Also the code is not enabled in GENERIC so it is not being tested or maintained.
2005-06-17remove undelete syscallTodd C. Miller
2004-07-153 functions had inexact types; millert okTheo de Raadt
2004-07-15Rename structs oipc_perm, omsqid_ds, osemid_ds, oshmid_ds to ipc_perm23,Todd C. Miller
etc to avoid confusion and for consistency with the *35 ones. Remove *n2o functions that don't belong outside of compat.
2004-07-14Because mode_t is used in struct ipc_perm we need new versions ofTodd C. Miller
the msgctl, semctl, and shmctl system calls. This moves the old versions to COMPAT_35 and adds new ones. WARNING: While this fixes things like shared memory in the X server for old (pre-mode_t change) binaries, it will break binaries that use shared memory built between the time of the mode_t change (Jul 13th) and now. If you rebuild X during that interval you will need to do it again after updating the rest of userland.
2004-07-14fhstat(2) uses struct stat too and so needs replacing as well.Todd C. Miller
OK miod@
2004-07-13Change mode_t and nlink_t from 16bit to 32bit. This allows us toTodd C. Miller
use mode_t in syscalls.master and to use mode_t in more places in the kernel. It also makes lint much more useful on kernel code. I've also added a placeholder for st_birthtime to make a UFS2 import easier at some future date. Requested by and OK deraadt@
2004-07-09Rename ostat -> stat43 to disambiguate from upcoming struct stat changes.Todd C. Miller
Idea from NetBSD, OK deraadt@
2004-05-27make acct(2) optional with ACCOUNTINGTed Unangst
ok art@ deraadt@
2004-05-03POSIX says the length parameter for semop(2) and shmget(2) should be size_t.Todd C. Miller
Create new syscalls with the correct parameters and add compat versions for the old ones under COMPAT_35.
2004-02-28Rather than adding amd64 to the 64-bit platform which do not require theMiod Vallat
old COMPAT_10 SysV syscalls, check for __LP64__ instead. ok deraadt@
2004-01-14change sigaltstack.ss_size type to size_t. handle syscall fallout.Ted Unangst
add stack_t and ucontext_t typedefs. ok deraadt@
2004-01-12new syscall closefrom(int fd) closes all fds equal and greater than fd.Ted Unangst
ok deraadt@ millert@
2003-12-31wait4(2) takes and returns pid_t, not int. OK deraadt@ and miod@Todd C. Miller
2003-12-11Add id_t type as per POSIX and use it for [gs]etpriority(2).Todd C. Miller
OK henning@ and deraadt@
2003-12-10Add an nfds_t type as per POSIX and also add pollfd_t like Solaris has.Todd C. Miller
2003-09-07No COMPAT_10 SYSVSHM syscalls on sparc64; ok deraadt@Miod Vallat
2003-07-01remove sys_omquery. it was only used for two weeks, and you can'tTed Unangst
source upgrade from a system that used it anyway. ok art deraadt drahn
2003-06-23fix nfds type; tedu marc okTheo de Raadt
2003-06-22extra headersTheo de Raadt
2003-05-10Deprecate the swapon system call and move it to COMPAT_25 land, since swapctlMiod Vallat
has been introduced for this release. ok deraadt@ weingart@
2003-04-29Deprecate omsync syscall, and only enable it if COMPAT_25 is required.Miod Vallat
ok deraadt@
2003-04-28Change mquery() function call signature to be the same a mmap(). ItDale Rahn
needs the prot/flags info and passing the addresses via arg/return allows it to be traced via ktrace better than an in/out paramter. This adds a new mquery syscall and renames the old one to omquery. New kernel _MUST_ be built, booted, and 'make includes' before building ld.so with this change.
2003-04-25backout mquery change, something broke when not combined with a different diff.Dale Rahn
2003-04-25change mquery() function call signature to be the same a mmap(). ItDale Rahn
needs the prot/flags info and passing the addresses via arg/return allows it to be traced via ktrace better than an in/out paramter. This adds a new mquery syscall and renames the old one to omquery. New kernel _MUST_ be built and installed before building ld.so with this change. ok millert@ tedu@
2003-04-14There are two related changes.Artur Grabowski
The first one is an mquery(2) syscall. It's for asking the VM system about where to map things. It will be used by ld.so, read the man page for details. The second change is related and is a centralization of uvm_map hint that all callers of uvm_map calculated. This will allow us to adjust this hint on architectures that have segments for non-exec mappings. deraadt@ drahn@ ok.
2003-01-30Bring back setreuid(2) and setregid(2) as first class syscallsTodd C. Miller
(but still implemented via setres[ug]id(2)). Basically this just moves them from COMPAT_43 into kern_prot.c. Also fixes a typo in my old implementation. The userland portion will follow in a few days. deraadt@ OK
2002-10-30Implement setresuid(2), getresuid(2), setresgid(2), getresgid(2), basedTodd C. Miller
partly on the Linux emul code and FreeBSD versions. We need these for Linux, FreeBSD, and HP-UX emulation. Also change sys_setreuid() and sys_setregid() to use uid_t and gid_t respectively.
2002-07-06Remove kernel support for NTP. ok deraadt@ and tholo@Thomas Nordin
2002-03-14Turn the ptrace(2) syscall into a kernel compile option, option PTRACE inMiod Vallat
your kernel configuration file. By default, GENERIC will enable this. When PTRACE is not enabled, several ptrace-like features of the procfs filesystem will be disabled as well (namely, the ability to read and write any process' registers, as well as attching, single stepping and detaching to/from processes). This should help paranoid people build better sandboxens, and us to build smaller ramdisks.
2002-02-22Extended Attribute support from FreeBSD/TrustedBSD ok art@, deraadt@Dale Rahn
2001-06-26implement djb's getpeereid(2), to allow local-domain servers to determine ↵Dug Song
client credentials. mostly from superscript.com. deraadt@ ok
2001-06-16sysarch() takes a void *Theo de Raadt
2001-05-16Create COMPAT_25 and move ogetfsstat, ostatfs and ostatfs into it.Todd C. Miller
Create COMPAT_23 and move __osemctl, omsgctl, oshmctl there.
2001-03-09Add mlockall and munlockall (dummy for the old vm system).Artur Grabowski
2000-11-16support kernel event queues, from FreeBSD by Jonathan Lemon,Niels Provos
okay art@, millert@
2000-09-12sys_getsid() and sys_getpgid() return pid_t, not int (though pid_t *is*Todd C. Miller
an int so this didn't break anything).
2000-06-22make vtrace always obsolte; art@Michael Shalayeff
2000-05-01sys_semconfig goes awayTheo de Raadt
2000-04-20system call hookup for p{read,write}{,v}Theo de Raadt
2000-02-07always include sys_getfh. add fhopen, fhstat, and fhstatfsassar
1999-06-07replacement pipe() system call; copies data into place inside kernel, soTheo de Raadt
that EFAULT return value is possible