trunk: firstboot update from dan.
This commit is contained in:
parent
36095d11ce
commit
21ea2b1884
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
policy_module(firstboot, 1.7.1)
|
policy_module(firstboot, 1.7.2)
|
||||||
|
|
||||||
gen_require(`
|
gen_require(`
|
||||||
class passwd rootok;
|
class passwd rootok;
|
||||||
@ -118,6 +118,10 @@ optional_policy(`
|
|||||||
usermanage_domtrans_admin_passwd(firstboot_t)
|
usermanage_domtrans_admin_passwd(firstboot_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
|
optional_policy(`
|
||||||
|
xserver_rw_xdm_xserver_shm(firstboot_t)
|
||||||
|
')
|
||||||
|
|
||||||
ifdef(`TODO',`
|
ifdef(`TODO',`
|
||||||
allow firstboot_t proc_t:file write;
|
allow firstboot_t proc_t:file write;
|
||||||
|
|
||||||
|
@ -1672,6 +1672,24 @@ interface(`xserver_stream_connect_xdm_xserver',`
|
|||||||
stream_connect_pattern($1, xdm_xserver_tmp_t, xdm_xserver_tmp_t, xdm_xserver_t)
|
stream_connect_pattern($1, xdm_xserver_tmp_t, xdm_xserver_tmp_t, xdm_xserver_t)
|
||||||
')
|
')
|
||||||
|
|
||||||
|
########################################
|
||||||
|
## <summary>
|
||||||
|
## xdm xserver RW shared memory socket.
|
||||||
|
## </summary>
|
||||||
|
## <param name="domain">
|
||||||
|
## <summary>
|
||||||
|
## Domain allowed access.
|
||||||
|
## </summary>
|
||||||
|
## </param>
|
||||||
|
#
|
||||||
|
interface(`xserver_rw_xdm_xserver_shm',`
|
||||||
|
gen_require(`
|
||||||
|
type xdm_xserver_t;
|
||||||
|
')
|
||||||
|
|
||||||
|
allow $1 xdm_xserver_t:shm rw_shm_perms;
|
||||||
|
')
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
## <summary>
|
## <summary>
|
||||||
## Interface to provide X object permissions on a given X server to
|
## Interface to provide X object permissions on a given X server to
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
policy_module(xserver, 2.1.0)
|
policy_module(xserver, 2.1.1)
|
||||||
|
|
||||||
########################################
|
########################################
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user