Revision tags: release/4.9.0_cvs, release/4.9.0 |
|
#
184dcdc7 |
| 21-Oct-2003 |
Mike Silbersack <silby@FreeBSD.org> |
Change all SYSCTLS which are readonly and have a related TUNABLE from CTLFLAG_RD to CTLFLAG_RDTUN so that sysctl(8) can provide more useful error messages.
|
#
01b9dc96 |
| 07-Aug-2003 |
Jacques Vidrine <nectar@FreeBSD.org> |
Update some argument-documenting comments to match reality.
Add an explicit range check to those same arguments to reduce risk of cardiac arrest in future code readers.
|
#
677b542e |
| 11-Jun-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Use __FBSDID().
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0 |
|
#
75b8b3b2 |
| 24-Mar-2003 |
John Baldwin <jhb@FreeBSD.org> |
Replace the at_fork, at_exec, and at_exit functions with the slightly more flexible process_fork, process_exec, and process_exit eventhandlers. This reduces code duplication and also means that I do
Replace the at_fork, at_exec, and at_exit functions with the slightly more flexible process_fork, process_exec, and process_exit eventhandlers. This reduces code duplication and also means that I don't have to go duplicate the eventhandler locking three more times for each of at_fork, at_exec, and at_exit.
Reviewed by: phk, jake, almost complete silence on arch@
show more ...
|
#
a163d034 |
| 19-Feb-2003 |
Warner Losh <imp@FreeBSD.org> |
Back out M_* changes, per decision of the TRB.
Approved by: trb
|
#
af7cbce8 |
| 29-Jan-2003 |
Tim J. Robbins <tjr@FreeBSD.org> |
Fix two fatal signedness errors introduced when i and j in semop() were changed from int to size_t in the previous revision.
PR: 47625
|
#
3beb3270 |
| 25-Jan-2003 |
Alfred Perlstein <alfred@FreeBSD.org> |
Bring semop() closer the the opengroup standards.
PR: 47471 Submitted by: Craig Rodrigues <rodrigc@attbi.com>
|
#
44956c98 |
| 21-Jan-2003 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
|
Revision tags: release/5.0.0_cvs, release/5.0.0 |
|
#
871de19f |
| 19-Oct-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Don't leak memory in semop(2). (Fix a bug I introduced in rev 1.55.)
Detective work by: jake
|
Revision tags: release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2 |
|
#
149004e9 |
| 13-Aug-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Make SYSVSEM mpsafe. Each semaphore set gets its own lock, however there is a global lock over the undo structures because of the way they are managed.
Switch to using SLIST instead of rolling our
Make SYSVSEM mpsafe. Each semaphore set gets its own lock, however there is a global lock over the undo structures because of the way they are managed.
Switch to using SLIST instead of rolling our own linked list.
Fix several races where a permission check was done before a copyin/copyout, if the copy happened to fault it may have been possible to race for access to a semaphore set that one shouldn't have access to.
Requested by: rwatson Tested by: NetBSD regression suite.
show more ...
|
#
4442e4a4 |
| 05-Aug-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Cleanup: Fix line wrapping. Remove 'register'. malloc(9) with M_WAITOK can't fail, so remove checks for that.
|
#
fd6d9be4 |
| 22-Jul-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Cleanup: Define a debug printf macro rather than wrapping all calls to printf with #ifdefs.
|
#
2cc593fd |
| 22-Jul-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove caddr_t.
|
Revision tags: release/4.6.1, release/4.6.0_cvs |
|
#
4d77a549 |
| 19-Mar-2002 |
Alfred Perlstein <alfred@FreeBSD.org> |
Remove __P.
|
#
3ba30c18 |
| 19-Mar-2002 |
Peter Wemm <peter@FreeBSD.org> |
Pacify gcc-3.1+, initialize two variables to avoid -Wuninitialized warnings.
|
#
cf11f482 |
| 06-Mar-2002 |
Maxim Konovalov <maxim@FreeBSD.org> |
Fix a typo, unbreak the world.
Thanks to: mux Approved by: ru
|
#
9dfd307b |
| 06-Mar-2002 |
Maxim Konovalov <maxim@FreeBSD.org> |
Maximum semid is seminfo.semmni not seminfo.semmsl.
PR: kern/34979 Submitted by: James Gritton <jamie@gritton.org> Reviewed by: alfred, ru Approved by: ru MFC after: 1 week
|
#
c6f55f33 |
| 05-Mar-2002 |
John Baldwin <jhb@FreeBSD.org> |
- Use td_ucred for jail checks. - Move jail checks and some other checks involving constants and stack variables out from under Giant. This isn't perfectly safe atm because jail_sysvipc_allowed
- Use td_ucred for jail checks. - Move jail checks and some other checks involving constants and stack variables out from under Giant. This isn't perfectly safe atm because jail_sysvipc_allowed is read w/o a lock meaning that its value could be stale. This global variable will soon become a per-jail flag, however, at which time it will either not need a lock or will use the prison lock.
show more ...
|
#
4a7d6cd2 |
| 27-Feb-2002 |
John Baldwin <jhb@FreeBSD.org> |
Fix Giant leakage in several error cases in __semctl().
|
#
a854ed98 |
| 27-Feb-2002 |
John Baldwin <jhb@FreeBSD.org> |
Simple p_ucred -> td_ucred changes to start using the per-thread ucred reference.
|
#
b541b65d |
| 18-Feb-2002 |
Robert Watson <rwatson@FreeBSD.org> |
Rehash of 1.43: simply remove the comment, since it's highly redundant and only partially correct.
|
#
3056874a |
| 18-Feb-2002 |
Robert Watson <rwatson@FreeBSD.org> |
style(9) prefers formatted comments in '/*' ... '*/' as opposed to #if 0'd.
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
477b78a0 |
| 30-Dec-2001 |
Alan Cox <alc@FreeBSD.org> |
Eliminate semexit_hook using at_exit(9) and rm_at_exit(9).
Reviewed by: alfred
|
#
21d56e9c |
| 29-Dec-2001 |
Alfred Perlstein <alfred@FreeBSD.org> |
Make AIO a loadable module.
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 a
Make AIO a loadable module.
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.
show more ...
|
#
91a701cd |
| 11-Oct-2001 |
Michael Reifenberger <mr@FreeBSD.org> |
Fix SysV Semaphore Handling. Updated by peter following KSE and Giant pushdown. I've running with this patch for two week with no ill side effects.
PR: kern/12014: Fix SysV Semaphore handling Submi
Fix SysV Semaphore Handling. Updated by peter following KSE and Giant pushdown. I've running with this patch for two week with no ill side effects.
PR: kern/12014: Fix SysV Semaphore handling Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
show more ...
|