summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_sysent.c
Commit message (Collapse)AuthorAgeFilesLines
* o Refine kse_thr_interrupt to allow it to handle different commands.davidxu2003-07-171-1/+1
| | | | | | | o Remove TDF_NOSIGPOST. o Add a member td_waitset to proc structure, it will be used for sigwait. Tested by: deischen
* Regen from syscalls.master:1.149, addition of extended attributerwatson2003-06-041-1/+4
| | | | list system calls for fd, file, link.
* Regen.mike2003-04-091-1/+2
|
* - Regen.jeff2003-04-011-5/+5
|
* - Regen for umtx.jeff2003-04-011-1/+3
|
* - Regen for thr related system calls.jeff2003-04-011-1/+5
|
* - Regen for the sig*wait* system calls.jeff2003-03-311-3/+4
|
* Add a timeout parameter to kse_release.davidxu2003-02-201-2/+2
|
* Some KSE syscalls are MPSAFE.davidxu2003-01-081-4/+4
|
* Regen from syscalls.master:1.139rwatson2002-12-291-1/+5
|
* Regenerate system calls (swapoff added)dillon2002-12-151-1/+2
|
* Regenerate after adding system calls.deischen2002-11-161-1/+4
|
* Regen.rwatson2002-11-051-2/+2
|
* Regen from yesterday's system call placeholder rename.rwatson2002-11-021-2/+2
|
* Split 4.x and 5.x signal handling so that we can keep 4.x signalpeter2002-10-251-5/+5
| | | | | | | | | | | | | | | | handling clean and functional as 5.x evolves. This allows some of the nasty bandaids in the 5.x codepaths to be unwound. Encapsulate 4.x signal handling under COMPAT_FREEBSD4 (there is an anti-foot-shooting measure in place, 5.x folks need this for a while) and finish encapsulating the older stuff under COMPAT_43. Since the ancient stuff is required on alpha (longjmp(3) passes a 'struct osigcontext *' to the current sigreturn(2), instead of the 'ucontext_t *' that sigreturn is supposed to take), add a compile time check to prevent foot shooting there too. Add uniform COMPAT_43 stubs for ia64/sparc64/powerpc. Tested on: i386, alpha, ia64. Compiled on sparc64 (a few days ago). Approved by: re
* Regen.rwatson2002-10-221-4/+10
|
* Regen from addition of execve_mac placeholder.rwatson2002-10-191-1/+1
|
* Regen from syntax fix to syscalls.master.rwatson2002-10-101-1/+1
| | | | | | | | | PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after:
* Regen.rwatson2002-10-091-4/+4
|
* Let kse_wakeup() take a KSE mailbox pointer argument.archie2002-10-021-1/+1
| | | | Reviewed by: julian
* Regen.rwatson2002-10-011-1/+7
|
* Make the following name changes to KSE related functions, etc., to betterarchie2002-09-251-3/+3
| | | | | | | | | | | | | | | represent their purpose and minimize namespace conflicts: kse_fn_t -> kse_func_t struct thread_mailbox -> struct kse_thr_mailbox thread_interrupt() -> kse_thr_interrupt() kse_yield() -> kse_release() kse_new() -> kse_create() Add missing declaration of kse_thr_interrupt() to <sys/kse.h>. Regenerate the various generated syscall files. Minor style fixes. Reviewed by: julian
* Regen for added syscalls.alfred2002-09-191-0/+14
|
* Regen.rwatson2002-08-191-2/+2
|
* Regen.rwatson2002-08-061-2/+2
|
* Regen.rwatson2002-07-311-1/+1
|
* Regen.rwatson2002-07-301-1/+2
|
* Rebuild of files generated from syscalls.master.rwatson2002-07-301-7/+7
| | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* regen for freebsd4_sendfile(2) compat.alfred2002-07-121-2/+9
|
* Part 1 of KSE-IIIjulian2002-06-291-1/+1
| | | | | | | | | | | | | The ability to schedule multiple threads per process (one one cpu) by making ALL system calls optionally asynchronous. to come: ia64 and power-pc patches, patches for gdb, test program (in tools) Reviewed by: Almost everyone who counts (at various times, peter, jhb, matt, alfred, mini, bernd, and a cast of thousands) NOTE: this is still Beta code, and contains lots of debugging stuff. expect slight instability in signals..
* Regen.rwatson2002-06-131-7/+7
|
* Add uuidgen(2) and uuidgen(1).marcel2002-05-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The uuidgen command, by means of the uuidgen syscall, generates one or more Universally Unique Identifiers compatible with OSF/DCE 1.1 version 1 UUIDs. From the Perforce logs (change 11995): Round of cleanups: o Give uuidgen() the correct prototype in syscalls.master o Define struct uuid according to DCE 1.1 in sys/uuid.h o Use struct uuid instead of uuid_t. The latter is defined in sys/uuid.h but should not be used in kernel land. o Add snprintf_uuid(), printf_uuid() and sbuf_printf_uuid() to kern_uuid.c for use in the kernel (currently geom_gpt.c). o Rename the non-standard struct uuid in kern/kern_uuid.c to struct uuid_private and give it a slightly better definition for better byte-order handling. See below. o In sys/gpt.h, fix the broken uuid definitions to match the now compliant struct uuid definition. See below. o In usr.bin/uuidgen/uuidgen.c catch up with struct uuid change. A note about byte-order: The standard failed to provide a non-conflicting and unambiguous definition for the binary representation. My initial implementation always wrote the timestamp as a 64-bit little-endian (2s-complement) integral. The clock sequence was always written as a 16-bit big-endian (2s-complement) integral. After a good nights sleep and couple of Pan Galactic Gargle Blasters (not necessarily in that order :-) I reread the spec and came to the conclusion that the time fields are always written in the native by order, provided the the low, mid and hi chopping still occurs. The spec mentions that you "might need to swap bytes if you talk to a machine that has a different byte-order". The clock sequence is always written in big-endian order (as is the IEEE 802 address) because its division is resulting in bytes, making the ordering unambiguous.
* Add the lchflags(2) syscall.mux2002-05-051-1/+2
| | | | Reviewed by: rwatson
* Rework the kernel environment subsystem. We now convert the staticmux2002-04-171-0/+1
| | | | | | | | | | | | | | | | | environment needed at boot time to a dynamic subsystem when VM is up. The dynamic kernel environment is protected by an sx lock. This adds some new functions to manipulate the kernel environment : freeenv(), setenv(), unsetenv() and testenv(). freeenv() has to be called after every getenv() when you have finished using the string. testenv() only tests if an environment variable is present, and doesn't require a freeenv() call. setenv() and unsetenv() are self explanatory. The kenv(2) syscall exports these new functionalities to userland, mainly for kenv(1). Reviewed by: peter
* Regenalc2002-04-141-2/+2
|
* Regenalc2002-04-111-2/+2
|
* Part II: update various mechanically generated files to allow for newrwatson2002-03-051-1/+7
| | | | | | | system call number allocations. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
* Add stub syscalls and definitions for KSE calls.julian2002-02-191-1/+6
| | | | "Book'em Danno"
* Regenerate these files after change to syscalls.master.deischen2002-02-171-1/+1
|
* Part II: Update system calls for extended attributes. Rebuild ofrwatson2002-02-101-1/+1
| | | | generated files.
* Regenerate to make osigreturn standard.bde2002-02-011-2/+2
|
* Regenerate _after_ the commit to syscalls.master.bde2002-01-301-1/+1
|
* Make AIO a loadable module.alfred2001-12-291-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | Remove the explicit call to aio_proc_rundown() from exit1(), instead AIO will use at_exit(9). Add functions at_exec(9), rm_at_exec(9) which function nearly the same as at_exec(9) and rm_at_exec(9), these functions are called on behalf of modules at the time of execve(2) after the image activator has run. Use a modified version of tegge's suggestion via at_exec(9) to close an exploitable race in AIO. Fix SYSCALL_MODULE_HELPER such that it's archetecuterally neutral, the problem was that one had to pass it a paramater indicating the number of arguments which were actually the number of "int". Fix it by using an inline version of the AS macro against the syscall arguments. (AS should be available globally but we'll get to that later.) Add a primative system for dynamically adding kqueue ops, it's really not as sophisticated as it should be, but I'll discuss with jlemon when he's around.
* Add nmount() stub function and regenerate the syscall-glue which shouldphk2001-11-021-1/+2
| | | | not need to check in generated files.
* o Update init_sysent.c and friends for allocation of afs_syscall.rwatson2001-10-131-1/+2
|
* Regenerate syscall stuff.phk2001-10-131-11/+11
| | | | Remove syscall-hide.h
* o Part two of eaccess(2) commit, rebuilt system call code.rwatson2001-09-211-1/+2
| | | | Obtained from: TrustedBSD Project
* Regeneratepeter2001-09-181-1/+2
|
* Regenerate syscallsdillon2001-09-011-105/+105
|
* regenerate syscallsdillon2001-09-011-20/+20
|
OpenPOWER on IntegriCloud