44731cab3b
general cleanup of the API. The entire API now consists of two functions similar to the pre-KSE API. The suser() function takes a thread pointer as its only argument. The td_ucred member of this thread must be valid so the only valid thread pointers are curthread and a few kernel threads such as thread0. The suser_cred() function takes a pointer to a struct ucred as its first argument and an integer flag as its second argument. The flag is currently only used for the PRISON_ROOT flag. Discussed on: smp@ |
||
---|---|---|
.. | ||
atkbd_isa.c | ||
atkbdc_isa.c | ||
atrtc.c | ||
fd.c | ||
fdreg.h | ||
isa_common.c | ||
isa_common.h | ||
isa_if.m | ||
isahint.c | ||
isareg.h | ||
isavar.h | ||
orm.c | ||
pnp.c | ||
pnpparse.c | ||
pnpreg.h | ||
pnpvar.h | ||
ppc.c | ||
ppcreg.h | ||
psm.c | ||
rtc.h | ||
syscons_isa.c | ||
vga_isa.c |