summaryrefslogtreecommitdiffstats
path: root/sys/kern/syscalls.master
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* This is the kernel Lite/2 commit. There are some requisite userlanddyson1997-02-101-3/+3
| | | | | | | | | | | | | | | changes, so don't expect to be able to run the kernel as-is (very well) without the appropriate Lite/2 userland changes. The system boots and can mount UFS filesystems. Untested: ext2fs, msdosfs, NFS Known problems: Incorrect Berkeley ID strings in some files. Mount_std mounts will not work until the getfsent library routine is changed. Reviewed by: various people Submitted by: Jeffery Hsu <hsu@freebsd.org>
* Reduced #include spam in <sys/sysproto.h> and fixed things that dependedbde1997-01-161-8/+13
| | | | | | | | | | | | | | on it. makesyscalls.sh: This parsed $Id$. Fixed(?) to parse $FreeBSD$. The output is wrong when the id is not expanded in the source file. syscalls.master: Fixed declaration of sigsuspend(). There are still some bogons and spam involving sigset_t. Use `struct foo *' instead of the equivalent `foo_t *' for some nfs and lfs syscalls so that <sys/sysproto.h> doesn't depend on <sys/mount.h>.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Add the utrace(caddr_t addr,size_t len) syscall, that will store thephk1996-09-191-2/+2
| | | | | | | | data pointed at in a ktrace file, if this process is being ktrace'ed. I'm using this to profile malloc usage. The advantage is that there is no context around this call, ie, no open file or socket, so it will work in any process, and you can decide if you want it to collect data or not.
* Remove the kernel FD_SETSIZE limit for select().smpatel1996-08-201-2/+2
| | | | | | Make select()'s first argument 'int' not 'u_int'. Reviewed by: bde
* Change the 'int len' args in the mmap/msync/mincore/etc class syscallspeter1996-03-021-20/+6
| | | | to 'size_t' as per bde's request.
* Add hooks for rfork/minherit pair, and reset args of vfork in preperationpeter1996-02-231-2/+24
| | | | for adding the syscalls.
* Note the syscall numbers used in BSD/OS 2.x. We dont want topeter1996-02-231-10/+9
| | | | | | accidently use one of these ourselves as it'd make it harder to run their binaries. Also, remove the now-defunct #include "opt_sysvipc.h".
* Add an option NFS_NOSERVER which saves 100K in the install kernel (orphk1996-01-131-2/+2
| | | | any other kernel that uses it). Use with option NFS.
* Remove the #ifdef SYSVSHM etc. Always call the functions, some stubspeter1996-01-081-34/+1
| | | | | | are about to go in. This is to fix the problem with the ibcs2 and linux lkm's not being able to call the sysv ipc functions unless the build is modified.
OpenPOWER on IntegriCloud