summaryrefslogtreecommitdiffstats
path: root/sys/kern/init_sysent.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Regenerate.davidxu2006-03-231-1/+2
|
* Regenerate.davidxu2006-03-011-12/+12
|
* Regenerate.rwatson2006-02-061-23/+23
|
* Regenerate.davidxu2006-02-051-1/+2
|
* Regenerate.rwatson2006-02-031-211/+211
|
* Regenerate.rwatson2006-02-021-10/+10
|
* Regen.davidxu2006-01-221-12/+12
|
* Regenerate sysent with new abort2 system call.phk2005-12-231-1/+2
| | | | | | Implement abort2(const char *reason, int narg, void **args); Submitted by: "Wojciech A. Koszek" <dunstan@freebsd.czest.pl>
* Regen.davidxu2005-11-271-7/+13
|
* Regen.davidxu2005-11-261-7/+7
|
* Regen.davidxu2005-10-301-7/+7
|
* Regen for POSIX timer syscalls.davidxu2005-10-231-6/+6
|
* Regen for sigqueue syscall.davidxu2005-10-141-1/+1
|
* 1. Change prototype of trapsignal and sendsig to use ksiginfo_t *, mostdavidxu2005-10-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes in MD code are trivial, before this change, trapsignal and sendsig use discrete parameters, now they uses member fields of ksiginfo_t structure. For sendsig, this change allows us to pass POSIX realtime signal value to user code. 2. Remove cpu_thread_siginfo, it is no longer needed because we now always generate ksiginfo_t data and feed it to libpthread. 3. Add p_sigqueue to proc structure to hold shared signals which were blocked by all threads in the proc. 4. Add td_sigqueue to thread structure to hold all signals delivered to thread. 5. i386 and amd64 now return POSIX standard si_code, other arches will be fixed. 6. In this sigqueue implementation, pending signal set is kept as before, an extra siginfo list holds additional siginfo_t data for signals. kernel code uses psignal() still behavior as before, it won't be failed even under memory pressure, only exception is when deleting a signal, we should call sigqueue_delete to remove signal from sigqueue but not SIGDELSET. Current there is no kernel code will deliver a signal with additional data, so kernel should be as stable as before, a ksiginfo can carry more information, for example, allow signal to be delivered but throw away siginfo data if memory is not enough. SIGKILL and SIGSTOP have fast path in sigqueue_add, because they can not be caught or masked. The sigqueue() syscall allows user code to queue a signal to target process, if resource is unavailable, EAGAIN will be returned as specification said. Just before thread exits, signal queue memory will be freed by sigqueue_flush. Current, all signals are allowed to be queued, not only realtime signals. Earlier patch reviewed by: jhb, deischen Tested on: i386, amd64
* Update the "created from" section to reflect the most recent version ofcsjp2005-09-271-1/+1
| | | | | | syscalls.master Requested by: jhb
* Implement new world order in VFS locking for extended attributes. This willcsjp2005-09-241-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | remove the unconditional acquisition of Giant for extended attribute related operations. If the file system is set as being MP safe and debug.mpsafevfs is 1, do not pickup Giant. Mark the following system calls as being MP safe so we no longer pickup Giant in the system call handler: o extattrctl o extattr_set_file o extattr_get_file o extattr_delete_file o extattr_set_fd o extattr_get_fd o extattr_delete_fd o extattr_set_link o extattr_get_link o extattr_delete_link o extattr_list_file o extattr_list_link o extattr_list_fd -Pass MPSAFE flags to namei(9) lookup and introduce vfslocked variable which will keep track of any Giant acquisitions. -Wrap any fd operations which manipulate vnodes in VFS_{UN}LOCK_GIANT -Drop VFS_ASSERT_GIANT into function which operate on vnodes to ensure that we are sufficiently protected. I've tested these changes with various TrustedBSD MAC policies which use extended attribute a lot on SMP and UP systems (thanks to Scott Long for making some SMP hardware available to me for testing). Discussed with: jeff Requested by: jhb, rwatson
* Regen.jhb2005-07-081-2/+2
| | | | Approved by: re (scottl)
* Regenerate.jhb2005-07-071-3/+3
| | | | Approved by: re (scottl)
* Rebuild generated system call definition files following the addition ofrwatson2005-05-301-457/+458
| | | | | | | the audit event field to the syscalls.master file format. Submitted by: wsalamon Obtained from: TrustedBSD Project
* Regenerate from syscalls.master.rwatson2005-05-281-2/+2
|
* Regenerate for updated syscalls.master.rwatson2005-05-281-9/+9
|
* Regenerate from syscalls.master.rwatson2005-05-281-2/+2
|
* Regenerate from updated syscalls.master.rwatson2005-05-281-2/+2
|
* Regenerate system call tables from syscalls.master.rwatson2005-05-281-5/+5
|
* Regen.davidxu2005-04-231-1/+2
|
* regenps2005-03-011-1/+1
|
* - Regenjeff2005-01-261-3/+3
|
* - Regen for recent vfs syscall changes.jeff2005-01-241-47/+47
| | | | Sponsored By: Isilon Systems, Inc.
* Regen.marcel2005-01-031-2/+2
|
* Make _umtx_op() as more general interface, the final parameter needn't bedavidxu2004-12-251-1/+1
| | | | timespec pointer, every parameter will be interpreted by its opcode.
* 1. make umtx sharable between processes, the way is two or more processesdavidxu2004-12-181-0/+1
| | | | | | | | | | call mmap() to create a shared space, and then initialize umtx on it, after that, each thread in different processes can use the umtx same as threads in same process. 2. introduce a new syscall _umtx_op to support timed lock and condition variable semantics. also, orignal umtx_lock and umtx_unlock inline functions now are reimplemented by using _umtx_op, the _umtx_op can use arbitrary id not just a thread id.
* Regen.phk2004-11-251-4/+4
|
* Rebuild from syscalls.master:1.179marks2004-11-181-1/+1
| | | | | Reviewed by: imp, phk, njl, peter Approved by: njl
* Rebuild from syscalls.master:1.178.rwatson2004-10-231-1/+10
|
* Regen to unbreak world.davidxu2004-10-071-1/+1
| | | | Pointy hat to: mtm
* Give kldunload a -f(orce) argument.phk2004-07-131-1/+2
| | | | | | | | | | | | | | | | | Add a MOD_QUIESCE event for modules. This should return error (EBUSY) of the module is in use. MOD_UNLOAD should now only fail if it is impossible (as opposed to inconvenient) to unload the module. Valid reasons are memory references into the module which cannot be tracked down and eliminated. When kldunloading, we abandon if MOD_UNLOAD fails, and if -force is not given, MOD_QUIESCE failing will also prevent the unload. For backwards compatibility, we treat EOPNOTSUPP from MOD_QUIESCE as success. Document that modules should return EOPNOTSUPP for unknown events.
* Regen.marcel2004-07-021-1/+1
|
* Regenerate after updating syscalls.master.rwatson2004-06-221-2/+2
|
* Rebuild following marking link() as MPSAFE.rwatson2004-06-221-2/+2
|
* Regen.dfr2004-04-051-2/+2
|
* Regen for libthr thread synchronization syscalls.mtm2004-03-271-1/+3
|
* Nudge Giant as far as I can into kern_open(). Mark open() as MPSAFE.dwmalone2004-03-161-4/+4
| | | | | | | | Use kern_open() to implement creat() rather than taking the long route through open(). Mark creat as MPSAFE. While I'm at it, mark nosys() (syscall 0) as MPSAFE, for all the difference it will make.
* Regen for ptrace being safe again.jhb2004-03-151-2/+2
|
* Regen for mpsafe kse_create()peter2004-03-131-2/+2
|
* Regen after adding ksem_timedwait().deischen2004-02-031-1/+2
|
* Regen - this should be essentially a NOP, except for rcsid changes.peter2003-12-231-1/+1
|
* Regenpeter2003-12-101-1/+1
|
* Regen due to kse_switchin(2).marcel2003-12-071-1/+2
|
* - regen.jeff2003-11-141-2/+2
|
* Update the five files derived from /sys/kern/syscalls.mastermckusick2003-11-121-9/+9
| | | | | | | | | after the additions made for the new statfs structure (version 1.157). These must be updated in a separate checkin after syscalls.master has been checked in so that they reflect its new CVS identity. As these are purely derived files, it is not clear to me why they are under CVS at all. I presume that it has something to do with having `make world' operate properly.
OpenPOWER on IntegriCloud