summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_sysent.c
Commit message (Collapse)AuthorAgeFilesLines
* Regen: fix prototypes for {o|}{g|s}etrlimit.marcel2000-08-281-1/+1
|
* Regen. (Fix SYS_exit)peter2000-07-291-2/+2
|
* Regenerate with makesyscalls.shpeter2000-07-291-2/+2
|
* o Commit two of two, introducing __cap_{get,set}_{fd,file} syscalls torwatson2000-07-131-1/+5
| | | | | | modify capability sets on files. Obtained from: TrustedBSD Project
* Second of two commits adding capability manipulation syscalls forrwatson2000-06-151-1/+3
| | | | | | processes. Obtained from: TrustedBSD Project
* Regenerated (fixed the calculation of sy_nargs in sysent tables).bde2000-05-091-254/+256
|
* Regenerated (fixed the type of mmap()'s padding arg).bde2000-05-091-1/+1
|
* Regenerate (removed semconfig)peter2000-05-011-2/+2
|
* Introduce kqueue() and kevent(), a kernel event notification facility.jlemon2000-04-161-1/+3
|
* regenerate with MPSAFE from syscalls.masteralfred2000-04-031-5/+5
|
* Make the sigprocmask() and geteuid() system calls MP SAFE. Expanddillon2000-04-021-3/+3
| | | | | | | commentary for copyin/copyout to indicate that they are MP SAFE as well. Reviewed by: msmith
* Commit major SMP cleanups and move the BGL (big giant lock) in thedillon2000-03-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | syscall path inward. A system call may select whether it needs the MP lock or not (the default being that it does need it). A great deal of conditional SMP code for various deadended experiments has been removed. 'cil' and 'cml' have been removed entirely, and the locking around the cpl has been removed. The conditional separately-locked fast-interrupt code has been removed, meaning that interrupts must hold the CPL now (but they pretty much had to anyway). Another reason for doing this is that the original separate-lock for interrupts just doesn't apply to the interrupt thread mechanism being contemplated. Modifications to the cpl may now ONLY occur while holding the MP lock. For example, if an otherwise MP safe syscall needs to mess with the cpl, it must hold the MP lock for the duration and must (as usual) save/restore the cpl in a nested fashion. This is precursor work for the real meat coming later: avoiding having to hold the MP lock for common syscalls and I/O's and interrupt threads. It is expected that the spl mechanisms and new interrupt threading mechanisms will be able to run in tandem, allowing a slow piecemeal transition to occur. This patch should result in a moderate performance improvement due to the considerable amount of code that has been removed from the critical path, especially the simplification of the spl*() calls. The real performance gains will come later. Approved by: jkh Reviewed by: current, bde (exception.s) Some work taken from: luoqi's patch
* Fix bde'isms in acl/extattr syscall interface, renaming syscalls torwatson2000-01-191-9/+9
| | | | | | | | prettier (?) names, adding some const's around here, et al. Commit 2 out of 3. Reviewed by: bde
* Implement setres[ug]id() and getres[ug]id(). This has been sitting inpeter2000-01-161-3/+5
| | | | | | | 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-1/+2
| | | | | | | | 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>
* regenerate after making getfh a standard syscall.alfred1999-12-211-1/+1
|
* Second pass commit to introduce new ACL and Extended Attribute systemrwatson1999-12-191-1/+13
| | | | | | | calls, vnops, vfsops, both in /kern, and to individual file systems that require a vfsop_ array entry. Reviewed by: eivind
* Cop on a bit and regenerate things correctly.brian1999-11-181-1/+1
| | | | Pointed out by: bde
* Now that userland, including modules don't use the osig* syscallsmarcel1999-10-121-6/+6
| | | | | and the kernel itself doesn't use any SYS_osig* constants, change the syscalls to be of type COMPAT.
* sigset_t change (part 2 of 5)marcel1999-09-291-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------- The core of the signalling code has been rewritten to operate on the new sigset_t. No methodological changes have been made. Most references to a sigset_t object are through macros (see signalvar.h) to create a level of abstraction and to provide a basis for further improvements. The NSIG constant has not been changed to reflect the maximum number of signals possible. The reason is that it breaks programs (especially shells) which assume that all signals have a non-null name in sys_signame. See src/bin/sh/trap.c for an example. Instead _SIG_MAXSIG has been introduced to hold the maximum signal possible with the new sigset_t. struct sigprop has been moved from signalvar.h to kern_sig.c because a) it is only used there, and b) access must be done though function sigprop(). The latter because the table doesn't holds properties for all signals, but only for the first NSIG signals. signal.h has been reorganized to make reading easier and to add the new and/or modified structures. The "old" structures are moved to signalvar.h to prevent namespace polution. Especially the coda filesystem suffers from the change, because it contained lines like (p->p_sigmask == SIGIO), which is easy to do for integral types, but not for compound types. NOTE: kdump (and port linux_kdump) must be recompiled. Thanks to Garrett Wollman and Daniel Eischen for pressing the importance of changing sigreturn as well.
* regenerate to include proper "gererated from" taglines.alfred1999-09-111-1/+1
|
* 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
* Regen after Id->FreeBSDpeter1999-08-281-1/+1
|
* Re-commit these files after updating syscalls.master (in the proper orderjkh1999-08-051-1/+1
| | | | | | this time). Pointed out by: bde
* Reserve a syscall for the arla folks. I'm assuming that since syscalls.cjkh1999-08-041-0/+1
| | | | | 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? :)
* Regenerated.bde1999-05-131-1/+1
|
* This Implements the mumbled about "Jail" feature.phk1999-04-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a seriously beefed up chroot kind of thing. The process is jailed along the same lines as a chroot does it, but with additional tough restrictions imposed on what the superuser can do. For all I know, it is safe to hand over the root bit inside a prison to the customer living in that prison, this is what it was developed for in fact: "real virtual servers". Each prison has an ip number associated with it, which all IP communications will be coerced to use and each prison has its own hostname. Needless to say, you need more RAM this way, but the advantage is that each customer can run their own particular version of apache and not stomp on the toes of their neighbors. It generally does what one would expect, but setting up a jail still takes a little knowledge. A few notes: I have no scripts for setting up a jail, don't ask me for them. The IP number should be an alias on one of the interfaces. mount a /proc in each jail, it will make ps more useable. /proc/<pid>/status tells the hostname of the prison for jailed processes. Quotas are only sensible if you have a mountpoint per prison. There are no privisions for stopping resource-hogging. Some "#ifdef INET" and similar may be missing (send patches!) If somebody wants to take it from here and develop it into more of a "virtual machine" they should be most welcome! Tools, comments, patches & documentation most welcome. Have fun... Sponsored by: http://www.rndassociates.com/ Run for almost a year by: http://www.servetheweb.com/
* Regenerate (padding for pread and pwrite).dt1999-04-041-3/+3
|
* Added pread and pwrite. These functions are defined by the X/Openalc1999-03-271-2/+2
| | | | | | Threads Extension. (Note: We use the same syscall numbers as NetBSD.) Submitted by: John Plevyak <jplevyak@inktomi.com>
* regenerate (+kldsym)peter1998-11-111-1/+2
|
* Implemented zero-copy TCP/IP extensions via sendfile(2) - send adg1998-11-051-0/+1
| | | | | | | | | | | 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.
* Regnerate.dfr1998-08-241-1/+1
|
* Updated generated files.bde1998-06-081-1/+1
|
* regen after signanosleep nukepeter1998-05-141-2/+2
|
* Fix the futimes/undelete/utrace conflict with other BSD's. Note thatdyson1998-05-111-11/+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-0/+8
| | | | | | | | | | | | | | | | _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.
* Updated generated files.bde1998-02-031-1/+1
|
* Retire LFS.phk1998-01-301-12/+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
* Regenerate after changing makesyscalls.sh.eivind1997-12-161-1/+2
|
* Make COMPAT_43 and COMPAT_SUNOS new-style options.eivind1997-12-161-0/+1
|
* Remade syscalls.master derived files.phk1997-10-261-11/+3
|
* Regenerate _after_ the commit to syscalls.masterpeter1997-09-151-1/+1
|
* Add a __getcwd() syscall. This is intentionally undocumented, but allphk1997-09-141-0/+1
| | | | | | 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.
* Regenerate (added poll etc)peter1997-09-141-3/+3
|
* Regeneratepeter1997-08-191-3/+3
|
* Updated generated files (makesyscalls.sh changed). Only sysproto.hbde1997-06-291-1/+1
| | | | really changed.
* Modifications to existing files to support the initial AIO/LIO anddyson1997-06-161-0/+12
| | | | kernel based threading support.
* Regeneratepeter1997-06-011-1/+2
|
* regeneratepeter1997-05-081-13/+16
|
* This is the kernel linker. To use it, you will first need to applydfr1997-05-071-0/+55
| | | | | | | 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.
OpenPOWER on IntegriCloud