mirror of
https://github.com/opnsense/src.git
synced 2026-04-11 20:40:03 -04:00
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@ |
||
|---|---|---|
| .. | ||
| ncp.h | ||
| ncp_cfg.h | ||
| ncp_conn.c | ||
| ncp_conn.h | ||
| ncp_crypt.c | ||
| ncp_file.h | ||
| ncp_lib.h | ||
| ncp_login.c | ||
| ncp_mod.c | ||
| ncp_ncp.c | ||
| ncp_ncp.h | ||
| ncp_nls.c | ||
| ncp_nls.h | ||
| ncp_rcfile.h | ||
| ncp_rq.c | ||
| ncp_rq.h | ||
| ncp_sock.c | ||
| ncp_sock.h | ||
| ncp_subr.c | ||
| ncp_subr.h | ||
| ncp_user.h | ||
| nwerror.h | ||