init: add interface to setsched on init
Signed-off-by: Kenton Groombridge <me@concord.sh>
This commit is contained in:
parent
00d16e45f8
commit
43c778e646
@ -922,6 +922,24 @@ interface(`init_sigchld',`
|
||||
allow $1 init_t:process sigchld;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Set the nice level of init.
|
||||
## </summary>
|
||||
## <param name="domain">
|
||||
## <summary>
|
||||
## Domain allowed access.
|
||||
## </summary>
|
||||
## </param>
|
||||
#
|
||||
interface(`init_setsched',`
|
||||
gen_require(`
|
||||
type init_t;
|
||||
')
|
||||
|
||||
allow $1 init_t:process setsched;
|
||||
')
|
||||
|
||||
########################################
|
||||
## <summary>
|
||||
## Connect to init with a unix socket.
|
||||
|
Loading…
Reference in New Issue
Block a user