tweaks from dan

This commit is contained in:
Chris PeBenito 2005-11-22 17:56:53 +00:00
parent 95f82b0de8
commit 9cc2ccc4ed
3 changed files with 9 additions and 9 deletions

View File

@ -1,7 +1,6 @@
- Fixes from Dan Walsh for ldap and authlogin.
- Miscellaneous fixes from Dan Walsh.
- Fix corenetwork gen_context()'s to expand during the policy
build phase instead of during the generation phase.
- DISTRO=redhat now implies DIRECT_INITRC=y.
- Added policies:
amanda
avahi

View File

@ -142,9 +142,6 @@ endif
# enable distribution-specific policy
ifneq ($(DISTRO),)
override M4PARAM += -D distro_$(DISTRO)
ifeq ($(DISTRO),redhat)
override DIRECT_INITRC := y
endif
endif
ifneq ($(OUTPUT_POLICY),)

View File

@ -2465,11 +2465,15 @@ interface(`userdom_write_unpriv_user_tmp',`
## </param>
#
interface(`userdom_dontaudit_use_unpriv_user_tty',`
gen_require(`
attribute user_ttynode;
')
ifdef(`targeted_policy',`
term_dontaudit_use_generic_pty($1)
',`
gen_require(`
attribute user_ttynode;
')
dontaudit $1 user_ttynode:chr_file rw_file_perms;
dontaudit $1 user_ttynode:chr_file rw_file_perms;
')
')
########################################