aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/syscalls.c
Commit message (Collapse)AuthorAgeFilesLines
* Regen for the thr_exit() syscall change.Mike Makonnen2004-10-091-1/+1
| | | | | | | Approved by: re/scottl Notes: svn path=/stable/5/; revision=136318
* Give kldunload a -f(orce) argument.Poul-Henning Kamp2004-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. Notes: svn path=/head/; revision=132117
* Regen.Marcel Moolenaar2004-07-021-1/+1
| | | | Notes: svn path=/head/; revision=131430
* Regenerate after updating syscalls.master.Robert Watson2004-06-221-1/+1
| | | | Notes: svn path=/head/; revision=130908
* Rebuild following marking link() as MPSAFE.Robert Watson2004-06-221-1/+1
| | | | Notes: svn path=/head/; revision=130905
* Regen.Doug Rabson2004-04-051-2/+2
| | | | Notes: svn path=/head/; revision=127891
* Regen for libthr thread synchronization syscalls.Mike Makonnen2004-03-271-1/+3
| | | | Notes: svn path=/head/; revision=127484
* Nudge Giant as far as I can into kern_open(). Mark open() as MPSAFE.David Malone2004-03-161-1/+1
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=127062
* Regen for ptrace being safe again.John Baldwin2004-03-151-1/+1
| | | | Notes: svn path=/head/; revision=127035
* Regen for mpsafe kse_create()Peter Wemm2004-03-131-1/+1
| | | | Notes: svn path=/head/; revision=126933
* Regen after adding ksem_timedwait().Daniel Eischen2004-02-031-1/+2
| | | | Notes: svn path=/head/; revision=125369
* Regen - this should be essentially a NOP, except for rcsid changes.Peter Wemm2003-12-231-1/+1
| | | | Notes: svn path=/head/; revision=123751
* RegenPeter Wemm2003-12-101-1/+1
| | | | Notes: svn path=/head/; revision=123413
* Regen due to kse_switchin(2).Marcel Moolenaar2003-12-071-1/+2
| | | | Notes: svn path=/head/; revision=123253
* - regen.Jeff Roberson2003-11-141-1/+1
| | | | Notes: svn path=/head/; revision=122636
* Update the five files derived from /sys/kern/syscalls.masterKirk McKusick2003-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. Notes: svn path=/head/; revision=122540
* Regen.John Baldwin2003-11-071-1/+1
| | | | Notes: svn path=/head/; revision=122245
* Don peril-sensitive sunglasses and mark pipe(2) as MPSAFE. I've beaten upScott Long2003-10-211-1/+1
| | | | | | | | on it for the last 15 hours with no signs of problems. It gives a small (1%) gain on buildworld since pipe_read/pipe_write are already free of Giant. Notes: svn path=/head/; revision=121298
* Mark dup as MPSAFE. Giant was pushed into dup ages ago, but it looksDavid Malone2003-10-201-1/+1
| | | | | | | | | like it was missed in syscalls.master. Spotted by: alc Notes: svn path=/head/; revision=121284
* msync(2) should be declared MP-safe.Alan Cox2003-09-071-1/+1
| | | | Notes: svn path=/head/; revision=119827
* o Refine kse_thr_interrupt to allow it to handle different commands.David Xu2003-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 Notes: svn path=/head/; revision=117704
* Regen from syscalls.master:1.149, addition of extended attributeRobert Watson2003-06-041-1/+4
| | | | | | | list system calls for fd, file, link. Notes: svn path=/head/; revision=115800
* Regen.Mike Barcroft2003-04-091-1/+2
| | | | Notes: svn path=/head/; revision=113276
* - Regen.Jeff Roberson2003-04-011-1/+1
| | | | Notes: svn path=/head/; revision=112913
* - Regen for umtx.Jeff Roberson2003-04-011-1/+3
| | | | Notes: svn path=/head/; revision=112909
* - Regen for thr related system calls.Jeff Roberson2003-04-011-1/+5
| | | | Notes: svn path=/head/; revision=112902
* - Regen for the sig*wait* system calls.Jeff Roberson2003-03-311-3/+4
| | | | Notes: svn path=/head/; revision=112895
* Add a timeout parameter to kse_release.David Xu2003-02-201-1/+1
| | | | Notes: svn path=/head/; revision=111169
* Some KSE syscalls are MPSAFE.David Xu2003-01-081-1/+1
| | | | Notes: svn path=/head/; revision=108919
* Regen from syscalls.master:1.139Robert Watson2002-12-291-1/+5
| | | | Notes: svn path=/head/; revision=108406
* Regenerate system calls (swapoff added)Matthew Dillon2002-12-151-1/+2
| | | | Notes: svn path=/head/; revision=107914
* Regenerate after adding system calls.Daniel Eischen2002-11-161-1/+4
| | | | Notes: svn path=/head/; revision=106978
* Regen.Robert Watson2002-11-051-2/+2
| | | | Notes: svn path=/head/; revision=106467
* Regen from yesterday's system call placeholder rename.Robert Watson2002-11-021-2/+2
| | | | Notes: svn path=/head/; revision=106363
* The syscall names are string constants, so make them consts.David Malone2002-10-291-2/+2
| | | | Notes: svn path=/head/; revision=106149
* Split 4.x and 5.x signal handling so that we can keep 4.x signalPeter Wemm2002-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 Notes: svn path=/head/; revision=105950
* Regen.Robert Watson2002-10-221-4/+10
| | | | Notes: svn path=/head/; revision=105692
* Regen from addition of execve_mac placeholder.Robert Watson2002-10-191-1/+1
| | | | Notes: svn path=/head/; revision=105478
* Regen from syntax fix to syscalls.master.Robert Watson2002-10-101-1/+1
| | | | | | | | | | | | PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after: Notes: svn path=/head/; revision=104748
* Regen.Robert Watson2002-10-091-4/+4
| | | | Notes: svn path=/head/; revision=104731
* Regen.Robert Watson2002-10-011-1/+7
| | | | Notes: svn path=/head/; revision=104263
* Make the following name changes to KSE related functions, etc., to betterArchie Cobbs2002-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 Notes: svn path=/head/; revision=103972
* Regen for added syscalls.Alfred Perlstein2002-09-191-0/+14
| | | | Notes: svn path=/head/; revision=103575
* Regen.Robert Watson2002-08-191-1/+1
| | | | Notes: svn path=/head/; revision=102133
* Regen.Robert Watson2002-08-061-2/+2
| | | | Notes: svn path=/head/; revision=101426
* Regen.Robert Watson2002-07-311-1/+1
| | | | Notes: svn path=/head/; revision=100999
* Regen.Robert Watson2002-07-301-1/+2
| | | | Notes: svn path=/head/; revision=100956
* Rebuild of files generated from syscalls.master.Robert Watson2002-07-301-7/+7
| | | | | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=100897
* regen for freebsd4_sendfile(2) compat.Alfred Perlstein2002-07-121-2/+3
| | | | Notes: svn path=/head/; revision=99856
* Regen.Robert Watson2002-06-131-7/+7
| | | | Notes: svn path=/head/; revision=98198