- Allow openoffice execstack/execmem privs
This commit is contained in:
parent
a3e038c1a1
commit
d8e5d05b6e
@ -8,7 +8,7 @@ allow_execmod = false
|
|||||||
|
|
||||||
# Allow making the stack executable via mprotect.Also requires allow_execmem.
|
# Allow making the stack executable via mprotect.Also requires allow_execmem.
|
||||||
#
|
#
|
||||||
allow_execstack = false
|
allow_execstack = true
|
||||||
|
|
||||||
# Allow ftpd to read cifs directories.
|
# Allow ftpd to read cifs directories.
|
||||||
#
|
#
|
||||||
|
@ -8,7 +8,7 @@ allow_execmod = false
|
|||||||
|
|
||||||
# Allow making the stack executable via mprotect.Also requires allow_execmem.
|
# Allow making the stack executable via mprotect.Also requires allow_execmem.
|
||||||
#
|
#
|
||||||
allow_execstack = false
|
allow_execstack = true
|
||||||
|
|
||||||
# Allow ftpd to read cifs directories.
|
# Allow ftpd to read cifs directories.
|
||||||
#
|
#
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -323,15 +323,10 @@ SELinux Reference policy targeted base module.
|
|||||||
%post targeted
|
%post targeted
|
||||||
if [ $1 -eq 1 ]; then
|
if [ $1 -eq 1 ]; then
|
||||||
%loadpolicy targeted
|
%loadpolicy targeted
|
||||||
semanage -S targeted -i - << __eof
|
#semanage -S targeted -i - << __eof
|
||||||
user -a -P user -R "unconfined_r system_r" -r s0-s0:c0.c1023 unconfined_u
|
#login -m -s unconfined_u -r s0-s0:c0.c1023 __default__
|
||||||
user -a -P user -R guest_r guest_u
|
#login -m -s unconfined_u -r s0-s0:c0.c1023 root
|
||||||
user -a -P user -R xguest_r xguest_u
|
#__eof
|
||||||
__eof
|
|
||||||
semanage -S targeted -i - << __eof
|
|
||||||
login -m -s unconfined_u -r s0-s0:c0.c1023 __default__
|
|
||||||
login -m -s unconfined_u -r s0-s0:c0.c1023 root
|
|
||||||
__eof
|
|
||||||
restorecon -R /root /var/log /var/run 2> /dev/null
|
restorecon -R /root /var/log /var/run 2> /dev/null
|
||||||
else
|
else
|
||||||
semodule -s targeted -r moilscanner 2>/dev/null
|
semodule -s targeted -r moilscanner 2>/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user