1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/sys/netncp
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
..
ncp_cfg.h Initial import of ncp library sources. 1999-10-12 11:56:41 +00:00
ncp_conn.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ncp_conn.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
ncp_crypt.c Remove unneeded #include <sys/proc.h> lines. 2000-10-29 13:57:19 +00:00
ncp_file.h Add support for C++ in the headers. Some style cleanup. 1999-10-31 03:39:03 +00:00
ncp_lib.h Mark some functions as __printflike() and/or taking const char * arguments 2001-08-20 12:53:36 +00:00
ncp_login.c Move bindery authentication ncps to ncp_ncp.c file. ncp_login.c will stay 2001-03-22 10:38:16 +00:00
ncp_mod.c Move bindery authentication ncps to ncp_ncp.c file. ncp_login.c will stay 2001-03-22 10:38:16 +00:00
ncp_ncp.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ncp_ncp.h Move bindery authentication ncps to ncp_ncp.c file. ncp_login.c will stay 2001-03-22 10:38:16 +00:00
ncp_nls.c Major update of NCP requester: 2001-03-10 05:24:45 +00:00
ncp_nls.h Major update of NCP requester: 2001-03-10 05:24:45 +00:00
ncp_rcfile.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
ncp_rq.c Update to C99, s/__FUNCTION__/__func__/, 2001-12-10 08:09:49 +00:00
ncp_rq.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
ncp_sock.c Include sys/lock.h and sys/mutex.h so that this compiles. 2001-05-15 22:02:46 +00:00
ncp_sock.h Major update of NCP requester: 2001-03-10 05:24:45 +00:00
ncp_subr.c Use new kernel_sysctlbyname function. Remove private copy. 2001-05-19 05:48:07 +00:00
ncp_subr.h Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
ncp_user.h Update to version 1.3.4 of ncplib. Cleanup header files. 1999-12-12 05:50:07 +00:00
ncp.h Specify packing for an entire structure, not for each element of it. 2001-03-10 05:06:29 +00:00
nwerror.h Update to version 1.3.4 of ncplib. Cleanup header files. 1999-12-12 05:50:07 +00:00