Date: Sat, 5 Mar 2011 12:40:35 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/include unistd.h src/lib/libc/sys Symbol.map src/lib/libutil login_cap.h login_class.c src/sys/compat/freebsd32 syscalls.master src/sys/conf files src/sys/kern init_main.c kern_jail.c kern_loginclass.c kern_prot.c syscalls.master ... Message-ID: <201103051243.p25ChBni037308@repoman.freebsd.org>
index | next in thread | raw e-mail
trasz 2011-03-05 12:40:35 UTC
FreeBSD src repository
Modified files:
include unistd.h
lib/libc/sys Symbol.map
lib/libutil login_cap.h login_class.c
sys/compat/freebsd32 syscalls.master
sys/conf files
sys/kern init_main.c kern_jail.c kern_prot.c
syscalls.master
sys/sys priv.h ucred.h
usr.bin/id id.1 id.c
Added files:
sys/kern kern_loginclass.c
sys/sys loginclass.h
Log:
SVN rev 219304 on 2011-03-05 12:40:35Z by trasz
Add two new system calls, setloginclass(2) and getloginclass(2). This makes
it possible for the kernel to track login class the process is assigned to,
which is required for RCTL. This change also make setusercontext(3) call
setloginclass(2) and makes it possible to retrieve current login class using
id(1).
Reviewed by: kib (as part of a larger patch)
Revision Changes Path
1.101 +2 -0 src/include/unistd.h
1.33 +2 -0 src/lib/libc/sys/Symbol.map
1.14 +2 -1 src/lib/libutil/login_cap.h
1.33 +23 -0 src/lib/libutil/login_class.c
1.134 +3 -0 src/sys/compat/freebsd32/syscalls.master
1.1570 +1 -0 src/sys/conf/files
1.320 +2 -0 src/sys/kern/init_main.c
1.141 +6 -0 src/sys/kern/kern_jail.c
1.1 +220 -0 src/sys/kern/kern_loginclass.c (new)
1.232 +4 -0 src/sys/kern/kern_prot.c
1.267 +3 -0 src/sys/kern/syscalls.master
1.1 +49 -0 src/sys/sys/loginclass.h (new)
1.43 +1 -0 src/sys/sys/priv.h
1.63 +3 -1 src/sys/sys/ucred.h
1.20 +5 -1 src/usr.bin/id/id.1
1.37 +18 -4 src/usr.bin/id/id.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103051243.p25ChBni037308>
