summaryrefslogtreecommitdiffstats
path: root/sys/kern/syscalls.master
Commit message (Collapse)AuthorAgeFilesLines
* Fix prototypes for {o|}{g|s}etrlimit. A recent change in themarcel2000-08-281-4/+4
| | | | Linuxulator caused this bug to trigger.
* Sigh. Fix SYS_exit problems. I misunderstood the significance of thesepeter2000-07-291-1/+1
| | | | trailing options.
* Change the 'exit()' system call to 'sys_exit()'. This avoids overlappingpeter2000-07-291-1/+1
| | | | | | gcc's internal exit() prototypes and the (futile) hackery that we did to try and avoid warnings. main() was renamed for similar reasons. Remove an exit related hack from makesyscalls.sh.
* Simplify kqueue API slightly.jlemon2000-07-181-3/+3
| | | | Discussed on: -arch
* o Introduce syscall prototypes, stubs for __cap_{get,set}_{fd,file},rwatson2000-07-131-0/+4
| | | | | | syscalls to manage capability sets on files. First of two commits. Obtained from: TrustedBSD Project
* Introduce syscalls for process capability manipulation. Currently backsrwatson2000-06-151-0/+2
| | | | | | | onto already committed stubs. Commit one of two. Reviewed by: Damned if I can remember. Many people. Obtained from: TrustedBSD Project
* Fixed the declaration of mmap(). The crufty padding arg had the wrongbde2000-05-091-3/+3
| | | | | | | | | | | | type. This gave an inconsistent amount of crufty padding on i386's with 64-bit longs (8 bytes instead of 4). On alphas it gives a consistent amount of crufty padding (8 bytes) in addition to the 4 bytes of normal padding caused by passing int args as register_t's. Fixed the args struct tag for the NOPROTO syscalls (netbsd_lchown() and netbsd_msync()). The tag is currently unused for NOPROTO syscalls, so the bug has no effect, but it will be used even in the NOPROTO case to calculate sy_nargs correctly.
* Remove undocumented broken-as-designed semconfig() syscall.peter2000-05-011-1/+1
|
* Introduce kqueue() and kevent(), a kernel event notification facility.jlemon2000-04-161-0/+5
|
* Make makesyscalls.sh parse an optional field 'MPSAFE' that specifiesalfred2000-04-031-8/+10
| | | | | | | that a syscall does not want the BGL to be grabbed automatically. Add the new MPSAFE flag to the syscalls that dillon has determined to be MPSAFE.
* Fix bde'isms in acl/extattr syscall interface, renaming syscalls torwatson2000-01-191-12/+25
| | | | | | | | prettier (?) names, adding some const's around here, et al. Commit 1 out of 3. Reviewed by: bde
* Implement setres[ug]id() and getres[ug]id(). This has been sitting inpeter2000-01-161-2/+4
| | | | | | | my tree for ages (~2 years) waiting for an excuse to commit it. Now Linux has implemented it and it seems that Staroffice (when using the linux_base6.1 port's libc) calls this in the linux emulator and dies in setup. The Linux emulator can call these now.
* Add aio_waitcomplete(). Make aio work correctly for socket descriptors.jasone2000-01-141-0/+1
| | | | | | | | Make gratuitous style(9) fixes (me, not the submitter) to make the aio code more readable. PR: kern/12053 Submitted by: Chris Sedore <cmsedore@maxwell.syr.edu>
* make getfh a standard syscall instead of dependant on havingalfred1999-12-211-1/+1
| | | | | | | | NFSSERVER defined, useful for userland fileservers that want to use a filehandle type interface to the filesystem. Submitted by: Assar Westerlund assar@stacken.kth.se PR: kern/15452
* First pass commit to introduce new ACL and Extended Attribute system calls.rwatson1999-12-191-0/+12
| | | | | | | The second pass commit with all the supporting code will happen shortly afterwards. Reviewed by: eivind
* modfind(char *) -> modfind(const char *)brian1999-11-171-1/+1
| | | | Reminded by: dfr
* Now that userland including modules don't use the osig* syscalls,marcel1999-10-121-5/+5
| | | | make them of type COMPAT.
* sigset_t change (part 1 of 5)marcel1999-09-291-8/+16
| | | | | | | | | | | | | | | | | | ----------------------------- Rename sigaction, sigprocmask, sigpending and sigsuspend to osigaction, osigprocmask, osigpending and osigsuspend (resp) and add new syscalls for them to support the new sisgset_t without breaking existing binaries. Change the prototype of sigaltstack to use the typedef stack_t instead of struct sigaltstack to reflect that it is SUSv2 compliant. Also, rename sigreturn to osigreturn and add a new syscall to support the modified stackframe. The change is caused by sigreturn operating on ucontext_t now and the fact that siginfo_t has been updated to conform to SUSv2.
* Seperate the export check in VFS_FHTOVP, exports are now checked viaalfred1999-09-111-3/+4
| | | | | | | | | VFS_CHECKEXP. Add fh(open|stat|stafs) syscalls to allow userland to query filesystems based on (network) filehandle. Obtained from: NetBSD
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add CPT_NOA, LIBCOMPAT, NODEF, NOARGS, NOPROTO, and NOIMPL to the commentednik1999-08-111-2/+3
| | | | | | | list of available types. PR: docs/13007 Submitted by: Assar Westerlund <assar@sics.se>
* Move syscall 180 back to where it was before and fix thejkh1999-08-051-3/+3
| | | | incorrect comment which led me to move it in the first place.
* Reserve a syscall for the arla folks. I'm assuming that since syscalls.cjkh1999-08-041-2/+3
| | | | | and init_sysent.c are checked into CVS, I should also commit the regenerated copies even though they're built by syscalls.master. Correct? Bruce? :)
* Fixed nonsense arg type `const caddr_t' in the prototype() for utrace().bde1999-05-131-3/+3
| | | | | | | | | Changed to `const void *'. utrace() is undocumented, so nothing should notice. Fixed missing consts for utrace() and ktrace() in syscalls.master. sys/ktrace.h is missing some Lite2 changes of shorts to ints.
* Add the jail system call.phk1999-04-281-1/+2
|
* Add standard padding argument to pread and pwrite syscall. That should make themdt1999-04-041-3/+5
| | | | | | | | | NetBSD compatible. Add parameter to fo_read and fo_write. (The only flag FOF_OFFSET mean that the offset is set in the struct uio). Factor out some common code from read/pread/write/pwrite syscalls.
* Added pread and pwrite. These functions are defined by the X/Openalc1999-03-271-3/+3
| | | | | | Threads Extension. (Note: We use the same syscall numbers as NetBSD.) Submitted by: John Plevyak <jplevyak@inktomi.com>
* A kldsym(2) syscall prototype for extracting information from the in-kernelpeter1998-11-111-1/+2
| | | | | | | | | | linker. This is intended to replace kvm_mkdb etc. The first version only does name->value lookups, but it's open ended. value->name lookups would probably be a good thing to do too. It's been suggested to try and connect the symbol tables to sysctl (which is probably a more flexible way of doing it if it's done right), but that is far more complex and difficult than I was ready to have a shot at.
* Implemented zero-copy TCP/IP extensions via sendfile(2) - send adg1998-11-051-1/+3
| | | | | | | | | | | file to a stream socket. sendfile(2) is similar to implementations in HP-UX, Linux, and other systems, but the API is more extensive and addresses many of the complaints that the Apache Group and others have had with those other implementations. Thanks to Marc Slemko of the Apache Group for helping me work out the best API for this. Anyway, this has the "net" result of speeding up sends of files over TCP/IP sockets by about 10X (that is to say, uses 1/10th of the CPU cycles) when compared to a traditional read/write loop.
* Fix a few syscall arguments to use size_t instead of u_int.dfr1998-08-241-6/+6
|
* This commit fixes various 64bit portability problems required fordfr1998-06-071-2/+2
| | | | | | | | | | FreeBSD/alpha. The most significant item is to change the command argument to ioctl functions from int to u_long. This change brings us inline with various other BSD versions. Driver writers may like to use (__FreeBSD_version == 300003) to detect this change. The prototype FreeBSD/alpha machdep will follow in a couple of days time.
* deep-six signanosleep(). It sounded like a good idea at the time.peter1998-05-141-3/+2
|
* Fix the futimes/undelete/utrace conflict with other BSD's. Note thatdyson1998-05-111-15/+12
| | | | | | | the only common usage of utrace (the possible problem with this commit) is with malloc, so this should be a real problem. Add the various NetBSD syscalls that allow full emulation of their development environment.
* Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B anddufault1998-03-281-1/+12
| | | | | | | | | | | | | | | | _KPOSIX_PRIORITY_SCHEDULING options to work. Changes: Change all "posix4" to "p1003_1b". Misnamed files are left as "posix4" until I'm told if I can simply delete them and add new ones; Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux; Add man pages for _POSIX_PRIORITY_SCHEDULING system calls; Add options to LINT; Minor fixes to P1003_1B code during testing.
* Fixed type of mincore().bde1998-02-031-2/+3
|
* Retire LFS.phk1998-01-301-18/+5
| | | | | | | | | | | | If you want to play with it, you can find the final version of the code in the repository the tag LFS_RETIREMENT. If somebody makes LFS work again, adding it back is certainly desireable, but as it is now nobody seems to care much about it, and it has suffered considerable bitrot since its somewhat haphazard integration. R.I.P
* Make all file-system (MFS, FFS, NFS, LFS, DEVFS) related option new-style.eivind1998-01-241-1/+3
| | | | | | | | This introduce an xxxFS_BOOT for each of the rootable filesystems. (Presently not required, but encouraged to allow a smooth move of option *FS to opt_dontuse.h later.) LFS is temporarily disabled, and will be re-enabled tomorrow.
* Added missing caddr_t --> void * conversions for sys/mman.h functions.alex1998-01-011-9/+9
| | | | Submitted by: bde
* Add "NOIMPL" for syscalls we know what is, but don't implement as "STD".phk1997-10-261-11/+5
| | | | Use this for getfh & nfssvc.
* Add a __getcwd() syscall. This is intentionally undocumented, but allphk1997-09-141-1/+2
| | | | | | it does is to try to figure the pwd out from the vfs namecache, and return a reversed string to it. libc:getcwd() is responsible for flipping it back.
* Activate poll(2) syscallpeter1997-09-141-3/+5
|
* SVR4/XPG-style getpgid()/getsid() syscalls.peter1997-08-191-3/+3
|
* Modifications to existing files to support the initial AIO/LIO anddyson1997-06-161-1/+13
| | | | kernel based threading support.
* New syscall, signanosleep(), which is a hybrid of sigsuspend(2) andpeter1997-06-011-2/+3
| | | | | nanosleep(2). It sleeps until either the time expires, or a signal permitted by the supplied mask arrives (eg: SIGALRM if appropriate)
* oops. NODIDE -> NOHIDEpeter1997-05-081-2/+2
|
* Define entries for the posix-style clock/timer syscalls includingpeter1997-05-081-14/+26
| | | | | nanosleep(). Also, note some syscall conflicts with other systems and indicate slots tagged for use with other syscalls some day.
* This is the kernel linker. To use it, you will first need to applydfr1997-05-071-1/+57
| | | | | | | the patches in freefall:/home/dfr/ld.diffs to your ld sources and set BINFORMAT to aoutkld when linking the kernel. Library changes and userland utilities will appear in a later commit.
* issetugid is now implemented rather than reservedpeter1997-03-311-2/+2
|
* Reserve 252 (poll, first in OpenBSD)peter1997-03-311-1/+4
| | | | | Reserve 253 (issetugid, as in OpenBSD) Allocate 254 for lchown(2)
* Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are notpeter1997-02-221-1/+1
| | | | ready for it yet.
OpenPOWER on IntegriCloud