freebsd-dev/sys/dev/syscons
John Baldwin 44731cab3b Change the suser() API to take advantage of td_ucred as well as do a
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@
2002-04-01 21:31:13 +00:00
..
apm Remove __P. 2002-03-20 06:48:11 +00:00
blank
daemon Fixed warnings. 2001-02-21 11:28:02 +00:00
dragon Add new graphical screen saver (dragon_saver). 2002-03-23 12:36:19 +00:00
fade
fire Add new graphical screen saver (dragon_saver). 2002-03-23 12:36:19 +00:00
green
logo Add new graphical screen saver (dragon_saver). 2002-03-23 12:36:19 +00:00
rain Remote newly unused variable to unbreak LINT. 2002-03-25 02:55:34 +00:00
snake Fixed warnings. 2001-02-21 11:28:02 +00:00
star Fixed warnings. 2001-02-21 11:28:02 +00:00
warp Add new graphical screen saver (dragon_saver). 2002-03-23 12:36:19 +00:00
scgfbrndr.c Spell #if 0 correctly 2002-02-14 22:29:03 +00:00
schistory.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
scmouse.c In the word selection mode don't append newline if the word ends at the 2002-01-05 16:52:44 +00:00
scterm-dumb.c Remove unneeded #include <sys/kernel.h> 2000-04-29 15:36:14 +00:00
scterm-sc.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
scterm.c With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
sctermvar.h Fix off by one error for ESC[1J. 2001-07-20 14:08:12 +00:00
scvesactl.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
scvgarndr.c Fixed compilation warnings. 2002-03-06 08:55:34 +00:00
scvidctl.c Lock struct pgrp, session and sigio. 2002-02-23 11:12:57 +00:00
scvtb.c Don't free buffers we didn't allocate. 2001-06-29 08:24:56 +00:00
syscons.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
syscons.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
sysmouse.c Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00