freebsd-src/sys/alpha
Alfred Perlstein 1419eacb86 Squish the "could sleep with process lock" messages caused by calling
uifind() with a proc lock held.

change_ruid() and change_euid() have been modified to take a uidinfo
structure which will be pre-allocated by callers, they will then
call uihold() on the uidinfo structure so that the caller's logic
is simplified.

This allows one to call uifind() before locking the proc struct and
thereby avoid a potential blocking allocation with the proc lock
held.

This may need revisiting, perhaps keeping a spare uidinfo allocated
per process to handle this situation or re-examining if the proc
lock needs to be held over the entire operation of changing real
or effective user id.

Submitted by: Don Lewis <dl-freebsd@catspoiler.org>
2002-06-19 06:39:25 +00:00
..
alpha - Fixup / remove obsolete comments. 2002-06-07 05:47:35 +00:00
compile Don't need the .keep_me files. Obrien and I committed past each other. 2001-07-01 23:35:44 +00:00
conf Botcho. I included in the last commit the 2002-06-16 06:48:42 +00:00
include Move the definition of ElfN_Hashelt to common headers. The only platform 2002-05-30 08:32:18 +00:00
isa Tidy up some loose ends. 2002-04-29 07:43:16 +00:00
linux Fix typo in the BSD copyright: s/withough/without/ 2002-06-02 20:05:59 +00:00
mcbus Initialise the AS4100 console at the same time as most of the other 2002-03-26 19:46:40 +00:00
osf1 Squish the "could sleep with process lock" messages caused by calling 2002-06-19 06:39:25 +00:00
pci Remove ## concatination in the CFGREAD and CFGWRITE macros, as gcc3 complains 2002-05-10 16:56:14 +00:00
tc Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
tlsb Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
Makefile Add a dopey makefile to do the tags dance, which is probably not perfect 2000-12-31 23:26:34 +00:00