]> git.ipfire.org Git - people/stevee/selinux-policy.git/commitdiff
Get rid of extra fuse rules covered by userdom_home_manager
authorDan Walsh <dwalsh@redhat.com>
Fri, 18 Nov 2011 18:45:13 +0000 (13:45 -0500)
committerDan Walsh <dwalsh@redhat.com>
Fri, 18 Nov 2011 18:45:13 +0000 (13:45 -0500)
policy/modules/services/ssh.te
policy/modules/services/xserver.te

index e93db051385feb1566d2770035e9980ab8cd690a..12ad27c5a99599c1ad7f6344190dd0ff6ab29704 100644 (file)
@@ -206,11 +206,6 @@ tunable_policy(`allow_ssh_keysign',`
        domtrans_pattern(ssh_t, ssh_keysign_exec_t, ssh_keysign_t)
 ')
 
-tunable_policy(`use_fusefs_home_dirs',`
-       fs_manage_fusefs_dirs(ssh_t)
-       fs_manage_fusefs_files(ssh_t)
-')
-
 # for port forwarding
 tunable_policy(`user_tcp_server',`
        corenet_tcp_bind_ssh_port(ssh_t)
@@ -481,7 +476,9 @@ tunable_policy(`ssh_chroot_rw_homedirs && use_samba_home_dirs',`
 ')
 
 tunable_policy(`ssh_chroot_rw_homedirs && use_fusefs_home_dirs',`
+    fs_manage_fusefs_dirs(chroot_user_t)
     fs_manage_fusefs_files(chroot_user_t)
+    fs_manage_fusefs_symlinks(chroot_user_t)
 ')
 
 tunable_policy(`use_samba_home_dirs',`
index ab908aad9c18582e9d75993d938af49281c1b32e..a3e787d3599eb1bcd2c6613c1cb061510bc55416 100644 (file)
@@ -373,10 +373,6 @@ ifdef(`hide_broken_symptoms',`
        miscfiles_read_fonts(xauth_t)
 ')
 
-tunable_policy(`use_fusefs_home_dirs',`
-       fs_manage_fusefs_files(xauth_t)
-')
-
 userdom_home_manager(xauth_t)
 
 ifdef(`hide_broken_symptoms',`
@@ -677,11 +673,6 @@ ifdef(`distro_rhel4',`
        allow xdm_t self:process { execheap execmem };
 ')
 
-tunable_policy(`use_fusefs_home_dirs',`
-       fs_manage_fusefs_dirs(xdm_t)
-       fs_manage_fusefs_files(xdm_t)
-')
-
 tunable_policy(`use_nfs_home_dirs',`
        fs_exec_nfs_files(xdm_t)
 ')