summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Proc locking.jhb2001-01-236-8/+41
|
* - Use 'p' instead of 'curproc' for the namei lookup as this is whatjhb2001-01-231-6/+20
| | | | | other image activators use. - Proc locking.
* Proc locking.jhb2001-01-231-0/+2
|
* Hmm. This must be a first. The man page was updated *before* the source.mjacob2001-01-231-0/+4
| | | | Correct some slight inaccuracies in the man page.
* Allow fxp to configure in I/O space if the user wants it and specifiesmjacob2001-01-234-20/+84
| | | | | | | | an override as a loader settable variable (fxp_iomap). fxp_iomap is a bitmap of fxp units that should be configured to use PCI I/O space in stead of PCI Memory space. Reviewed by: Kees Jan Koster <dutchman@tccn.cs.kun.nl>, dg@freebsd.org
* Proc locking, mostly protecting p_ucred while obtaining additionaljhb2001-01-234-10/+56
| | | | references.
* - Remove unused header include.jhb2001-01-231-5/+3
| | | | - Use queue macros.
* Proc locking to protect p_ucred while we obtain an additional reference.jhb2001-01-231-1/+9
|
* - FreeBSD doesn't have an abortop vnop as far as I can tell, so #ifdefjhb2001-01-231-4/+2
| | | | | references to the hpf op out. - Remove a lockdestroy() on a non-existent variable.
* Tag unused functions with __unused.jhb2001-01-231-2/+2
|
* Proc locking to protect p_ucred while we obtain another reference to it.jhb2001-01-231-5/+19
|
* Use suser(9) instead of checking p->p_ucred->cr_uid directly.jhb2001-01-231-1/+1
|
* Remove a prototype for an unused and undefined debugging function.jhb2001-01-231-1/+0
|
* Tag unused functions with __unused.jhb2001-01-233-35/+36
|
* - Move stg_card_intr()'s prototype and definition inside appropriatejhb2001-01-231-8/+10
| | | | | #ifdef's as it is is only used on older versions of FreeBSD. - #ifdef a local variable only used on older versions of FreeBSD.
* When flipping the first entry in the qinfifo with the "next queued SCB",gibbs2001-01-231-1/+4
| | | | | | | | we must also inform the card of this change. Otherwise the sequencer will traverse a corrupt list of SCBS. The side effects of this problem were unknown SCBs completing in the qoutfifo or worse yet, panics due to sequencer interrupts that referenced what, to the kernel, were invalid SCB ids.
* Relocate the 'hwfuncs' functions below the inlined functions they attemptjhb2001-01-231-85/+85
| | | | to call so that the other functions can actually be inlined.
* - Proc locking.jhb2001-01-233-27/+73
| | | | | | | - Use queue macros. - Use NULL instead of 0 for pointers. Reviewed by: des
* Move nsp_card_intr()'s prototype and definition inside the appropriatejhb2001-01-231-8/+8
| | | | #ifdef's as it is only used in older versions of FreeBSD.
* Move the definition of nsp_start_timer() earlier in the file before it isjhb2001-01-231-12/+12
| | | | called so that it can be inlined.
* The ncv_card_intr function is only used in older versions of FreeBSD, sojhb2001-01-231-9/+9
| | | | move its prototype and definition inside the appropriate #ifdef's.
* Use the 'slp' local variable that was otherwise unused instead of castingjhb2001-01-231-1/+1
| | | | | the driver softc under the assumption that the first part of it was a struct scsi_low_softc.
* #if 0 out local variables only used in #if 0'd code and remove unusedjhb2001-01-231-1/+4
| | | | local variables.
* Add curly braces ({}) around each struct speedtab to quiet warnings.jhb2001-01-232-38/+38
|
* Proc locking in the form of using the proc lock to protect p_ucred whilejhb2001-01-232-12/+68
| | | | we obtain another reference to it for vnode operations.
* Axe unused local variable.jhb2001-01-231-1/+0
|
* - Mark an unused function with __unused.jhb2001-01-231-1/+6
| | | | - Temporarily #if 0 some unused local variables.
* Axe an unused static softc.jhb2001-01-231-2/+0
|
* Move a temporary #ifdef of code (just the #ifdef part) up so that it isjhb2001-01-231-4/+4
| | | | | above the local variable declaration to quiet warnings about unused variables.
* Kill a warning by marking an unused function with __unused.jhb2001-01-231-1/+1
|
* Call pam_setcred.nectar2001-01-231-0/+4
| | | | Reviewed by: markm, months ago
* Argh, atomic_store_rel -> atomic_store_rel_int.jhb2001-01-231-1/+1
|
* Woops, add in missing headers.jhb2001-01-231-1/+3
|
* Proc locking.jhb2001-01-235-17/+63
|
* Use queue macros.jhb2001-01-231-5/+4
|
* - Add proc locking.jhb2001-01-231-35/+104
| | | | | | | | - Fix several bugs in the wait syscall, including freeing the actual proc start, freeing the args, freeing the prison, and other minor nits. - Use appropriate queue(3) macros. - Use zpfind() instead of walking zombproc ourselves.
* Fix the vulnerability with TCP ECE packets recently fixed in ipfw.kris2001-01-233-7/+20
| | | | This is untested, but believed to work.
* - Use proper atomic operations to make the run time initializationjhb2001-01-231-10/+20
| | | | controlled by svr_str_initialized be MP safe.
* - Add necessary proc locking.jhb2001-01-231-5/+15
| | | | | | - Use proper atomic operations to make the run time initialization controlled by svr_str_initialized be MP safe. - Use appropriate queue(3) macros where needed.
* FreeBSD doesn't have p_emuldata, and our stackgap_init() doesn't take anjhb2001-01-231-3/+3
| | | | argument.
* Use proc lock to safely obtain references to p_ucred before vnodejhb2001-01-231-3/+13
| | | | operations.
* Protect calcru() with sched_lock.jhb2001-01-231-0/+2
|
* - Activate runqueue.9, scheduler.9, and sleepqueue.9 along with appropriatejhb2001-01-231-3/+12
| | | | | MLINKS. - Update MLINKS for mi_switch.9.
* Catch up to the new way that the scheduling code works since the originaljhb2001-01-231-40/+27
| | | | | | | SMPng commit. Also document the new cpu_throw function (currently only on i386). Reviewed by: sheldonh
* Document the various functions and variables used by the currentjhb2001-01-231-0/+276
| | | | | | | scheduler code. Includes a rough description of the various priority values stored in struct proc as well as priority propagation. Reviewed by: chris
* Document the current organization and helper functions used to implementjhb2001-01-231-0/+89
| | | | | | the sleep queues used by msleep/wakeup and friends. Submitted by: sheldonh
* Document the current organization of the run queues and the variousjhb2001-01-231-0/+137
| | | | | | functions used to manage them. Reviewed by: sheldonh
* I made a last-minute change before the last commit which brokewollman2001-01-231-3/+1
| | | | the errno semantics. Get it (closer to) right this time.
* zero-cleared allocated prefix information when configured.ume2001-01-231-0/+2
| | | | Obtained from: KAME
* Do not do the commenting out the way that saves bytes and looks cleanermjacob2001-01-231-1/+4
| | | | to you. Do it the way Vox Populi wants it.
OpenPOWER on IntegriCloud