Changeset 2759
- Timestamp:
- 07/11/08 14:01:14 (4 months ago)
- Files:
-
- branches/rbacsep/policy/constraints (modified) (8 diffs)
- branches/rbacsep/policy/modules/admin/su.if (modified) (1 diff)
- branches/rbacsep/policy/modules/admin/sudo.if (modified) (1 diff)
- branches/rbacsep/policy/modules/apps/cdrecord.te (modified) (1 diff)
- branches/rbacsep/policy/modules/apps/ethereal.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/apps/evolution.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/apps/games.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/apps/gift.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/apps/gnome.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/apps/gpg.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/apps/irc.te (modified) (1 diff)
- branches/rbacsep/policy/modules/apps/java.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/apps/lockdev.te (modified) (1 diff)
- branches/rbacsep/policy/modules/apps/mozilla.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/apps/mplayer.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/apps/rssh.te (modified) (1 diff)
- branches/rbacsep/policy/modules/apps/screen.if (modified) (1 diff)
- branches/rbacsep/policy/modules/apps/screen.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/apps/thunderbird.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/apps/tvtime.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/apps/uml.te (modified) (1 diff)
- branches/rbacsep/policy/modules/apps/userhelper.if (modified) (1 diff)
- branches/rbacsep/policy/modules/apps/wireshark.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/kernel/ubac.if (modified) (1 diff)
- branches/rbacsep/policy/modules/kernel/ubac.te (modified) (1 diff)
- branches/rbacsep/policy/modules/services/apache.te (modified) (1 diff)
- branches/rbacsep/policy/modules/services/bluetooth.te (modified) (1 diff)
- branches/rbacsep/policy/modules/services/cron.if (modified) (1 diff)
- branches/rbacsep/policy/modules/services/cron.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/services/dbus.if (modified) (1 diff)
- branches/rbacsep/policy/modules/services/dbus.te (modified) (1 diff)
- branches/rbacsep/policy/modules/services/lpd.te (modified) (1 diff)
- branches/rbacsep/policy/modules/services/mta.te (modified) (1 diff)
- branches/rbacsep/policy/modules/services/pyzor.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/services/razor.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/services/spamassassin.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/services/ssh.if (modified) (1 diff)
- branches/rbacsep/policy/modules/services/ssh.te (modified) (2 diffs)
- branches/rbacsep/policy/modules/services/xserver.if (modified) (1 diff)
- branches/rbacsep/policy/modules/services/xserver.te (modified) (5 diffs)
- branches/rbacsep/policy/modules/system/userdomain.if (modified) (14 diffs)
- branches/rbacsep/policy/modules/system/userdomain.te (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/rbacsep/policy/constraints
r2758 r2759 52 52 # 53 53 54 exempted_ubac_constraint(dir, ubacfile subj)55 exempted_ubac_constraint(file, ubacfile subj)56 exempted_ubac_constraint(lnk_file, ubacfile subj)57 exempted_ubac_constraint(fifo_file, ubacfile subj)58 exempted_ubac_constraint(sock_file, ubacfile subj)59 exempted_ubac_constraint(chr_file, ubacfile subj)60 exempted_ubac_constraint(blk_file, ubacfile subj)54 exempted_ubac_constraint(dir, ubacfile) 55 exempted_ubac_constraint(file, ubacfile) 56 exempted_ubac_constraint(lnk_file, ubacfile) 57 exempted_ubac_constraint(fifo_file, ubacfile) 58 exempted_ubac_constraint(sock_file, ubacfile) 59 exempted_ubac_constraint(chr_file, ubacfile) 60 exempted_ubac_constraint(blk_file, ubacfile) 61 61 62 62 # SElinux object identity change constraint: … … 75 75 ( 76 76 basic_ubac_conditions 77 or t1 == ubacproc subj77 or t1 == ubacproc 78 78 ); 79 79 … … 115 115 # 116 116 117 exempted_ubac_constraint(socket, ubacsock subj)118 exempted_ubac_constraint(tcp_socket, ubacsock subj)119 exempted_ubac_constraint(udp_socket, ubacsock subj)120 exempted_ubac_constraint(rawip_socket, ubacsock subj)121 exempted_ubac_constraint(netlink_socket, ubacsock subj)122 exempted_ubac_constraint(packet_socket, ubacsock subj)123 exempted_ubac_constraint(key_socket, ubacsock subj)124 exempted_ubac_constraint(unix_stream_socket, ubacsock subj)125 exempted_ubac_constraint(unix_dgram_socket, ubacsock subj)126 exempted_ubac_constraint(netlink_route_socket, ubacsock subj)127 exempted_ubac_constraint(netlink_firewall_socket, ubacsock subj)128 exempted_ubac_constraint(netlink_tcpdiag_socket, ubacsock subj)129 exempted_ubac_constraint(netlink_nflog_socket, ubacsock subj)130 exempted_ubac_constraint(netlink_xfrm_socket, ubacsock subj)131 exempted_ubac_constraint(netlink_selinux_socket, ubacsock subj)132 exempted_ubac_constraint(netlink_audit_socket, ubacsock subj)133 exempted_ubac_constraint(netlink_ip6fw_socket, ubacsock subj)134 exempted_ubac_constraint(netlink_dnrt_socket, ubacsock subj)135 exempted_ubac_constraint(netlink_kobject_uevent_socket, ubacsock subj)136 exempted_ubac_constraint(appletalk_socket, ubacsock subj)137 exempted_ubac_constraint(dccp_socket, ubacsock subj)117 exempted_ubac_constraint(socket, ubacsock) 118 exempted_ubac_constraint(tcp_socket, ubacsock) 119 exempted_ubac_constraint(udp_socket, ubacsock) 120 exempted_ubac_constraint(rawip_socket, ubacsock) 121 exempted_ubac_constraint(netlink_socket, ubacsock) 122 exempted_ubac_constraint(packet_socket, ubacsock) 123 exempted_ubac_constraint(key_socket, ubacsock) 124 exempted_ubac_constraint(unix_stream_socket, ubacsock) 125 exempted_ubac_constraint(unix_dgram_socket, ubacsock) 126 exempted_ubac_constraint(netlink_route_socket, ubacsock) 127 exempted_ubac_constraint(netlink_firewall_socket, ubacsock) 128 exempted_ubac_constraint(netlink_tcpdiag_socket, ubacsock) 129 exempted_ubac_constraint(netlink_nflog_socket, ubacsock) 130 exempted_ubac_constraint(netlink_xfrm_socket, ubacsock) 131 exempted_ubac_constraint(netlink_selinux_socket, ubacsock) 132 exempted_ubac_constraint(netlink_audit_socket, ubacsock) 133 exempted_ubac_constraint(netlink_ip6fw_socket, ubacsock) 134 exempted_ubac_constraint(netlink_dnrt_socket, ubacsock) 135 exempted_ubac_constraint(netlink_kobject_uevent_socket, ubacsock) 136 exempted_ubac_constraint(appletalk_socket, ubacsock) 137 exempted_ubac_constraint(dccp_socket, ubacsock) 138 138 139 139 constrain socket_class_set { create relabelto relabelfrom } … … 147 147 # SysV IPC rules 148 148 149 exempted_ubac_constraint(sem, ubacipc subj)150 exempted_ubac_constraint(msg, ubacipc subj)151 exempted_ubac_constraint(msgq, ubacipc subj)152 exempted_ubac_constraint(shm, ubacipc subj)153 exempted_ubac_constraint(ipc, ubacipc subj)149 exempted_ubac_constraint(sem, ubacipc) 150 exempted_ubac_constraint(msg, ubacipc) 151 exempted_ubac_constraint(msgq, ubacipc) 152 exempted_ubac_constraint(shm, ubacipc) 153 exempted_ubac_constraint(ipc, ubacipc) 154 154 155 155 ######################################## … … 158 158 # 159 159 160 exempted_ubac_constraint(x_drawable, ubacxwin subj)161 exempted_ubac_constraint(x_screen, ubacxwin subj)162 exempted_ubac_constraint(x_gc, ubacxwin subj)163 exempted_ubac_constraint(x_font, ubacxwin subj)164 exempted_ubac_constraint(x_colormap, ubacxwin subj)165 exempted_ubac_constraint(x_property, ubacxwin subj)166 exempted_ubac_constraint(x_selection, ubacxwin subj)167 exempted_ubac_constraint(x_cursor, ubacxwin subj)168 exempted_ubac_constraint(x_client, ubacxwin subj)169 exempted_ubac_constraint(x_device, ubacxwin subj)170 exempted_ubac_constraint(x_server, ubacxwin subj)171 exempted_ubac_constraint(x_extension, ubacxwin subj)172 exempted_ubac_constraint(x_resource, ubacxwin subj)173 exempted_ubac_constraint(x_event, ubacxwin subj)174 exempted_ubac_constraint(x_synthetic_event, ubacxwin subj)175 exempted_ubac_constraint(x_application_data, ubacxwin subj)160 exempted_ubac_constraint(x_drawable, ubacxwin) 161 exempted_ubac_constraint(x_screen, ubacxwin) 162 exempted_ubac_constraint(x_gc, ubacxwin) 163 exempted_ubac_constraint(x_font, ubacxwin) 164 exempted_ubac_constraint(x_colormap, ubacxwin) 165 exempted_ubac_constraint(x_property, ubacxwin) 166 exempted_ubac_constraint(x_selection, ubacxwin) 167 exempted_ubac_constraint(x_cursor, ubacxwin) 168 exempted_ubac_constraint(x_client, ubacxwin) 169 exempted_ubac_constraint(x_device, ubacxwin) 170 exempted_ubac_constraint(x_server, ubacxwin) 171 exempted_ubac_constraint(x_extension, ubacxwin) 172 exempted_ubac_constraint(x_resource, ubacxwin) 173 exempted_ubac_constraint(x_event, ubacxwin) 174 exempted_ubac_constraint(x_synthetic_event, ubacxwin) 175 exempted_ubac_constraint(x_application_data, ubacxwin) 176 176 177 177 ######################################## … … 180 180 # 181 181 182 exempted_ubac_constraint(dbus, ubacdbus subj)182 exempted_ubac_constraint(dbus, ubacdbus) 183 183 184 184 ######################################## … … 187 187 # 188 188 189 exempted_ubac_constraint(key, ubackey subj)189 exempted_ubac_constraint(key, ubackey) 190 190 191 191 ######################################## … … 194 194 # 195 195 196 exempted_ubac_constraint(db_database, ubacdb subj)197 exempted_ubac_constraint(db_table, ubacdb subj)198 exempted_ubac_constraint(db_procedure, ubacdb subj)199 exempted_ubac_constraint(db_column, ubacdb subj)200 exempted_ubac_constraint(db_tuple, ubacdb subj)201 exempted_ubac_constraint(db_blob, ubacdb subj)196 exempted_ubac_constraint(db_database, ubacdb) 197 exempted_ubac_constraint(db_table, ubacdb) 198 exempted_ubac_constraint(db_procedure, ubacdb) 199 exempted_ubac_constraint(db_column, ubacdb) 200 exempted_ubac_constraint(db_tuple, ubacdb) 201 exempted_ubac_constraint(db_blob, ubacdb) 202 202 203 203 branches/rbacsep/policy/modules/admin/su.if
r2736 r2759 158 158 domain_type($1_su_t) 159 159 domain_interactive_fd($1_su_t) 160 ubac_constrained($1_su_t) 160 161 role $2 types $1_su_t; 161 162 branches/rbacsep/policy/modules/admin/sudo.if
r2751 r2759 43 43 application_domain($1_sudo_t, sudo_exec_t) 44 44 domain_interactive_fd($1_sudo_t) 45 ubac_constrained($1_sudo_t) 45 46 role $2 types $1_sudo_t; 46 47 branches/rbacsep/policy/modules/apps/cdrecord.te
r2756 r2759 19 19 type cdrecord_exec_t; 20 20 application_domain(cdrecord_t, cdrecord_exec_t) 21 ubac_constrained(cdrecord_t) 21 22 22 23 ######################################## branches/rbacsep/policy/modules/apps/ethereal.te
r2727 r2759 10 10 type ethereal_exec_t; 11 11 application_domain(ethereal_t, ethereal_exec_t) 12 ubac_constrained(ethereal_t) 12 13 13 14 type ethereal_home_t; … … 17 18 type ethereal_tmp_t; 18 19 files_tmp_file(ethereal_tmp_t) 20 ubac_constrained(ethereal_tmp_t) 19 21 20 22 type ethereal_tmpfs_t; 21 23 files_tmpfs_file(ethereal_tmpfs_t) 24 ubac_constrained(ethereal_tmpfs_t) 22 25 23 26 type tethereal_t; branches/rbacsep/policy/modules/apps/evolution.te
r2724 r2759 10 10 type evolution_exec_t; 11 11 application_domain(evolution_t, evolution_exec_t) 12 ubac_constrained(evolution_t) 12 13 13 14 type evolution_alarm_t; 14 15 type evolution_alarm_exec_t; 15 16 application_domain(evolution_alarm_t, evolution_alarm_exec_t) 17 ubac_constrained(evolution_alarm_t) 16 18 17 19 type evolution_alarm_tmpfs_t; 18 20 files_tmpfs_file(evolution_alarm_tmpfs_t) 21 ubac_constrained(evolution_alarm_tmpfs_t) 19 22 20 23 type evolution_alarm_orbit_tmp_t; 21 24 files_tmp_file(evolution_alarm_orbit_tmp_t) 25 ubac_constrained(evolution_alarm_orbit_tmp_t) 22 26 23 27 type evolution_exchange_t; 24 28 type evolution_exchange_exec_t; 25 29 application_domain(evolution_exchange_t, evolution_exchange_exec_t) 30 ubac_constrained(evolution_exchange_t) 26 31 27 32 type evolution_exchange_tmpfs_t; 28 33 files_tmpfs_file(evolution_exchange_tmpfs_t) 34 ubac_constrained(evolution_exchange_tmpfs_t) 29 35 30 36 type evolution_exchange_tmp_t; 31 37 files_tmp_file(evolution_exchange_tmp_t) 38 ubac_constrained(evolution_exchange_tmp_t) 32 39 33 40 type evolution_exchange_orbit_tmp_t; 34 41 files_tmp_file(evolution_exchange_orbit_tmp_t) 42 ubac_constrained(evolution_exchange_orbit_tmp_t) 35 43 36 44 type evolution_home_t; … … 40 48 type evolution_orbit_tmp_t; 41 49 files_tmp_file(evolution_orbit_tmp_t) 50 ubac_constrained(evolution_orbit_tmp_t) 42 51 43 52 type evolution_server_t; 44 53 type evolution_server_exec_t; 45 54 application_domain(evolution_server_t, evolution_server_exec_t) 55 ubac_constrained(evolution_server_t) 46 56 47 57 type evolution_server_orbit_tmp_t; 48 58 files_tmp_file(evolution_server_orbit_tmp_t) 59 ubac_constrained(evolution_server_orbit_tmp_t) 49 60 50 61 type evolution_tmpfs_t; 51 62 files_tmpfs_file(evolution_tmpfs_t) 63 ubac_constrained(evolution_tmpfs_t) 52 64 53 65 type evolution_webcal_t; 54 66 type evolution_webcal_exec_t; 55 67 application_domain(evolution_webcal_t, evolution_webcal_exec_t) 68 ubac_constrained(evolution_webcal_t) 56 69 57 70 type evolution_webcal_tmpfs_t; 58 71 files_tmpfs_file(evolution_webcal_tmpfs_t) 72 ubac_constrained(evolution_webcal_tmpfs_t) 59 73 60 74 ######################################## branches/rbacsep/policy/modules/apps/games.te
r2745 r2759 9 9 type games_data_t; 10 10 files_type(games_data_t) 11 ubac_constrained(games_data_t) 11 12 12 13 type games_t; 13 14 type games_exec_t; 14 15 application_domain(games_t, games_exec_t) 16 ubac_constrained(games_t) 15 17 16 18 type games_devpts_t; 17 19 term_pty(games_devpts_t) 20 ubac_constrained(games_devpts_t) 18 21 19 22 # games_srv_t is for system operation of games, generic games daemons and … … 25 28 files_pid_file(games_srv_var_run_t) 26 29 30 type games_tmp_t; 31 files_tmp_file(games_tmp_t) 32 ubac_constrained(games_tmp_t) 33 27 34 type games_tmpfs_t; 28 35 files_tmpfs_file(games_tmpfs_t) 29 30 type games_tmp_t; 31 files_tmp_file(games_tmp_t) 36 ubac_constrained(games_tmpfs_t) 32 37 33 38 ######################################## branches/rbacsep/policy/modules/apps/gift.te
r2724 r2759 10 10 type gift_exec_t; 11 11 application_domain(gift_t, gift_exec_t) 12 ubac_constrained(gift_t) 12 13 13 14 type gift_home_t; … … 17 18 type gift_tmpfs_t; 18 19 files_tmpfs_file(gift_tmpfs_t) 20 ubac_constrained(gift_tmpfs_t) 19 21 20 22 type giftd_t; 21 23 type giftd_exec_t; 22 24 application_domain(giftd_t, giftd_exec_t) 25 ubac_constrained(giftd_t) 23 26 24 27 ############################## branches/rbacsep/policy/modules/apps/gnome.te
r2720 r2759 18 18 type gconfd_exec_t; 19 19 application_domain(gconfd_t, gconfd_exec_t) 20 ubac_constrained(gconfd_t) 20 21 21 22 type gnome_home_t; … … 24 25 type gconf_tmp_t; 25 26 files_tmp_file(gconf_tmp_t) 27 ubac_constrained(gconf_tmp_t) 26 28 27 29 ############################## branches/rbacsep/policy/modules/apps/gpg.te
r2745 r2759 18 18 type gpg_exec_t; 19 19 application_domain(gpg_t, gpg_exec_t) 20 ubac_constrained(gpg_t) 20 21 21 22 type gpg_agent_t; 22 23 type gpg_agent_exec_t; 23 24 application_domain(gpg_agent_t, gpg_agent_exec_t) 25 ubac_constrained(gpg_agent_t) 24 26 25 27 type gpg_agent_tmp_t; 26 28 files_tmp_file(gpg_agent_tmp_t) 29 ubac_constrained(gpg_agent_tmp_t) 27 30 28 31 type gpg_secret_t; … … 32 35 type gpg_helper_exec_t; 33 36 application_domain(gpg_helper_t, gpg_helper_exec_t) 37 ubac_constrained(gpg_helper_t) 34 38 35 39 type gpg_pinentry_t; 36 40 type pinentry_exec_t; 37 41 application_domain(gpg_pinentry_t, pinentry_exec_t) 42 ubac_constrained(gpg_pinentry_t) 38 43 39 44 ######################################## branches/rbacsep/policy/modules/apps/irc.te
r2720 r2759 11 11 type irc_exec_t; 12 12 application_domain(irc_t, irc_exec_t) 13 ubac_constrained(irc_t) 13 14 14 15 type irc_home_t; branches/rbacsep/policy/modules/apps/java.te
r2724 r2759 17 17 type java_exec_t; 18 18 application_domain(java_t, java_exec_t) 19 ubac_constrained(java_t) 19 20 typealias java_t alias { staff_javaplugin_t user_javaplugin_t sysadm_javaplugin_t }; 20 21 typealias java_t alias { auditadm_javaplugin_t secadm_javaplugin_t }; … … 22 23 type java_tmp_t; 23 24 files_tmp_file(java_tmp_t) 25 ubac_constrained(java_tmp_t) 24 26 typealias java_tmp_t alias { staff_javaplugin_tmp_t user_javaplugin_tmp_t sysadm_javaplugin_tmp_t }; 25 27 typealias java_tmp_t alias { auditadm_tmp_javaplugin_t secadm_javaplugin_tmp_t }; 26 28 27 29 type java_tmpfs_t; 30 ubac_constrained(java_tmpfs_t) 28 31 files_tmpfs_file(java_tmpfs_t) 29 32 typealias java_tmpfs_t alias { staff_javaplugin_tmpfs_t user_javaplugin_tmpfs_t sysadm_javaplugin_tmpfs_t }; branches/rbacsep/policy/modules/apps/lockdev.te
r2724 r2759 10 10 type lockdev_exec_t; 11 11 application_domain(lockdev_t, lockdev_exec_t) 12 ubac_constrained(lockdev_t) 12 13 13 14 type lockdev_lock_t; 14 15 files_lock_file(lockdev_lock_t) 16 ubac_constrained(lockdev_lock_t) 15 17 16 18 ######################################## branches/rbacsep/policy/modules/apps/mozilla.te
r2724 r2759 17 17 type mozilla_exec_t; 18 18 application_domain(mozilla_t, mozilla_exec_t) 19 ubac_constrained(mozilla_t) 19 20 20 21 type mozilla_conf_t; … … 27 28 type mozilla_tmpfs_t; 28 29 files_tmpfs_file(mozilla_tmpfs_t) 30 ubac_constrained(mozilla_tmpfs_t) 29 31 30 32 ######################################## branches/rbacsep/policy/modules/apps/mplayer.te
r2724 r2759 17 17 type mencoder_exec_t; 18 18 application_domain(mencoder_t, mencoder_exec_t) 19 ubac_constrained(mencoder_t) 19 20 20 21 type mplayer_t; 21 22 type mplayer_exec_t; 22 23 application_domain(mplayer_t, mplayer_exec_t) 24 ubac_constrained(mplayer_t) 23 25 24 26 type mplayer_etc_t; … … 31 33 type mplayer_tmpfs_t; 32 34 files_tmpfs_file(mplayer_tmpfs_t) 35 ubac_constrained(mplayer_tmpfs_t) 33 36 34 37 ######################################## branches/rbacsep/policy/modules/apps/rssh.te
r2724 r2759 15 15 domain_user_exemption_target(rssh_t) 16 16 domain_interactive_fd(rssh_t) 17 ubac_constrained(rssh_t) 17 18 role system_r types rssh_t; 18 19 19 20 type rssh_devpts_t; 20 21 term_user_pty(rssh_t, rssh_devpts_t) 22 ubac_constrained(rssh_devpts_t) 21 23 22 24 type rssh_ro_t, rssh_ro_content_type; branches/rbacsep/policy/modules/apps/screen.if
r2756 r2759 36 36 application_domain($1_screen_t, screen_exec_t) 37 37 domain_interactive_fd($1_screen_t) 38 ubac_constrained($1_screen_t) 38 39 role $2 types $1_screen_t; 39 40 branches/rbacsep/policy/modules/apps/screen.te
r2738 r2759 15 15 type screen_tmp_t; 16 16 files_tmp_file(screen_tmp_t) 17 ubac_constrained(screen_tmp_t) 17 18 18 19 type screen_home_t; … … 21 22 type screen_var_run_t; 22 23 files_pid_file(screen_var_run_t) 24 ubac_constrained(screen_var_run_t) branches/rbacsep/policy/modules/apps/thunderbird.te
r2724 r2759 10 10 type thunderbird_exec_t; 11 11 application_domain(thunderbird_t, thunderbird_exec_t) 12 ubac_constrained(thunderbird_t) 12 13 13 14 type thunderbird_home_t; … … 17 18 type thunderbird_tmpfs_t; 18 19 files_tmpfs_file(thunderbird_tmpfs_t) 20 ubac_constrained(thunderbird_tmpfs_t) 19 21 20 22 ######################################## branches/rbacsep/policy/modules/apps/tvtime.te
r2724 r2759 10 10 type tvtime_exec_t; 11 11 application_domain(tvtime_t, tvtime_exec_t) 12 ubac_constrained(tvtime_t) 12 13 13 14 type tvtime_home_t alias tvtime_rw_t; … … 17 18 type tvtime_tmp_t; 18 19 files_tmp_file(tvtime_tmp_t) 20 ubac_constrained(tvtime_tmp_t) 19 21 20 22 type tvtime_tmpfs_t; 21 23 files_tmpfs_file(tvtime_tmpfs_t) 24 ubac_constrained(tvtime_tmpfs_t) 22 25 23 26 ######################################## branches/rbacsep/policy/modules/apps/uml.te
r2745 r2759 10 10 type uml_exec_t; 11 11 application_domain(uml_t, uml_exec_t) 12 ubac_constrained(uml_t) 12 13 13 14 type uml_ro_t; 14 15 files_type(uml_ro_t) 16 ubac_constrained(uml_ro_t) 15 17 16 18 type uml_rw_t; 17 19 files_type(uml_rw_t) 20 ubac_constrained(uml_rw_t) 18 21 19 22 type uml_tmp_t; 20 23 files_tmp_file(uml_tmp_t) 24 ubac_constrained(uml_tmp_t) 21 25 22 26 type uml_tmpfs_t; 23 27 files_tmpfs_file(uml_tmpfs_t) 28 ubac_constrained(uml_tmpfs_t) 24 29 25 30 type uml_devpts_t; 26 31 term_pty(uml_devpts_t) 32 ubac_constrained(uml_devpts_t) 27 33 28 34 type uml_switch_t; branches/rbacsep/policy/modules/apps/userhelper.if
r2750 r2759 39 39 domain_interactive_fd($1_userhelper_t) 40 40 domain_subj_id_change_exemption($1_userhelper_t) 41 ubac_constrained($1_userhelper_t) 41 42 role $2 types $1_userhelper_t; 42 43 branches/rbacsep/policy/modules/apps/wireshark.te
r2724 r2759 10 10 type wireshark_exec_t; 11 11 application_domain(wireshark_t, wireshark_exec_t) 12 ubac_constrained(wireshark_t) 12 13 13 14 type wireshark_home_t; … … 17 18 type wireshark_tmp_t; 18 19 files_tmp_file(wireshark_tmp_t) 20 ubac_constrained(wireshark_tmp_t) 19 21 20 22 type wireshark_tmpfs_t; 21 23 files_tmpfs_file(wireshark_tmpfs_t) 24 ubac_constrained(wireshark_tmpfs_t) 22 25 23 26 ############################## branches/rbacsep/policy/modules/kernel/ubac.if
r2758 r2759 3 3 ## Contains attributes used in UBAC policy. 4 4 ## </required> 5 6 interface(`ubac_constrained',` 7 gen_require(` 8 attribute ubac_constrained_type; 9 ') 10 11 typeattribute $1 ubac_constrained_type; 12 ') 13 14 interface(`ubac_file_exempt',` 15 gen_require(` 16 attribute ubacfile; 17 ') 18 19 typeattribute $1 ubacfile; 20 ') 21 22 interface(`ubac_process_exempt',` 23 gen_require(` 24 attribute ubacproc; 25 ') 26 27 typeattribute $1 ubacproc; 28 ') 29 30 interface(`ubac_socket_exempt',` 31 gen_require(` 32 attribute ubacsock; 33 ') 34 35 typeattribute $1 ubacsock; 36 ') 37 38 interface(`ubac_sysvipc_exempt',` 39 gen_require(` 40 attribute ubacipc; 41 ') 42 43 typeattribute $1 ubacipc; 44 ') 45 46 interface(`ubac_xwin_exempt',` 47 gen_require(` 48 attribute ubacxwin; 49 ') 50 51 typeattribute $1 ubacxwin; 52 ') 53 54 interface(`ubac_dbus_exempt',` 55 gen_require(` 56 attribute ubacdbus; 57 ') 58 59 typeattribute $1 ubacdbus; 60 ') 61 62 interface(`ubac_key_exempt',` 63 gen_require(` 64 attribute ubackey; 65 ') 66 67 typeattribute $1 ubackey; 68 ') 69 70 interface(`ubac_db_exempt',` 71 gen_require(` 72 attribute ubacdb; 73 ') 74 75 typeattribute $1 ubacdb; 76 ') branches/rbacsep/policy/modules/kernel/ubac.te
r2758 r2759 9 9 attribute ubac_constrained_type; 10 10 11 attribute ubacfile subj;12 attribute ubacproc subj;13 attribute ubacsock subj;14 attribute ubacipc subj;15 attribute ubacxwin subj;16 attribute ubacdbus subj;17 attribute ubackey subj;18 attribute ubacdb subj;11 attribute ubacfile; 12 attribute ubacproc; 13 attribute ubacsock; 14 attribute ubacipc; 15 attribute ubacxwin; 16 attribute ubacdbus; 17 attribute ubackey; 18 attribute ubacdb; 19 19 branches/rbacsep/policy/modules/services/apache.te
r2745 r2759 751 751 752 752 typeattribute httpd_user_script_t httpd_script_domains; 753 ubac_constrained(httpd_user_script_t) 753 754 userdom_user_home_content(httpd_user_content_t) 755 userdom_user_home_content(httpd_user_htaccess_t) 756 userdom_user_home_content(httpd_user_script_exec_t) 757 userdom_user_home_content(httpd_user_script_ra_t) 758 userdom_user_home_content(httpd_user_script_ro_t) 759 userdom_user_home_content(httpd_user_script_rw_t) 754 760 755 761 tunable_policy(`httpd_enable_cgi && httpd_unified',` branches/rbacsep/policy/modules/services/bluetooth.te
r2745 r2759 19 19 type bluetooth_helper_exec_t; 20 20 application_domain(bluetooth_helper_t, bluetooth_helper_exec_t) 21 ubac_constrained(bluetooth_helper_t) 21 22 22 23 type bluetooth_helper_tmp_t; 23 24 files_tmp_file(bluetooth_helper_tmp_t) 25 ubac_constrained(bluetooth_helper_tmp_t) 24 26 25 27 type bluetooth_helper_tmpfs_t; 26 28 files_tmpfs_file(bluetooth_helper_tmpfs_t) 29 ubac_constrained(bluetooth_helper_tmpfs_t) 27 30 28 31 type bluetooth_lock_t; branches/rbacsep/policy/modules/services/cron.if
r2756 r2759 20 20 type $1_t; 21 21 application_domain($1_t, crontab_exec_t) 22 ubac_constrained($1_t) 22 23 23 24 type $1_tmp_t; branches/rbacsep/policy/modules/services/cron.te
r2756 r2759 47 47 domain_cron_exemption_target(cronjob_t) 48 48 corecmd_shell_entry_type(cronjob_t) 49 ubac_constrained(cronjob_t) 49 50 50 51 type crond_t; … … 91 92 type user_cron_spool_t, cron_spool_type; 92 93 files_type(user_cron_spool_t) 94 ubac_constrained(user_cron_spool_t) 93 95 94 96 ######################################## branches/rbacsep/policy/modules/services/dbus.if
r2756 r2759 55 55 domain_type($1_dbusd_t) 56 56 domain_entry_file($1_dbusd_t, dbusd_exec_t) 57 ubac_constrained($1_dbusd_t) 57 58 role $2 types $1_dbusd_t; 58 59 branches/rbacsep/policy/modules/services/dbus.te
r2753 r2759 21 21 type session_dbusd_tmp_t; 22 22 files_tmp_file(session_dbusd_tmp_t) 23 ubac_constrained(session_dbusd_tmp_t) 23 24 24 25 type system_dbusd_t; branches/rbacsep/policy/modules/services/lpd.te
r2745 r2759 35 35 type lpr_exec_t; 36 36 application_domain(lpr_t, lpr_exec_t) 37 ubac_constrained(lpr_t) 37 38 38 39 type lpr_tmp_t; 39 40 files_tmp_file(lpr_tmp_t) 41 ubac_constrained(lpr_tmp_t) 40 42 41 43 # Type for spool files. 42 44 type print_spool_t; 43 45 files_type(print_spool_t) 46 ubac_constrained(print_spool_t) 44 47 45 48 type printer_t; branches/rbacsep/policy/modules/services/mta.te
r2745 r2759 33 33 34 34 mta_base_mail_template(user) 35 ubac_constrained(user_mail_t) 36 ubac_constrained(user_mail_tmp_t) 35 37 36 38 ######################################## branches/rbacsep/policy/modules/services/pyzor.te
r2745 r2759 10 10 type pyzor_exec_t; 11 11 application_domain(pyzor_t,pyzor_exec_t) 12 ubac_constrained(pyzor_t) 12 13 role system_r types pyzor_t; 13 14 … … 20 21 type pyzor_tmp_t; 21 22 files_tmp_file(pyzor_tmp_t) 23 ubac_constrained(pyzor_tmp_t) 22 24 23 25 type pyzor_var_lib_t; 24 26 files_type(pyzor_var_lib_t) 27 ubac_constrained(pyzor_var_lib_t) 25 28 26 29 type pyzord_t; branches/rbacsep/policy/modules/services/razor.te
r2720 r2759 22 22 type razor_tmp_t; 23 23 files_tmp_file(razor_tmp_t) 24 ubac_constrained(razor_tmp_t) 24 25 25 26 type razor_var_lib_t; … … 28 29 # these are here due to ordering issues: 29 30 razor_common_domain_template(razor) 31 ubac_constrained(razor_t) 30 32 31 33 razor_common_domain_template(system_razor) branches/rbacsep/policy/modules/services/spamassassin.te
r2745 r2759 24 24 type spamassassin_exec_t; 25 25 application_domain(spamassassin_t, spamassassin_exec_t) 26 ubac_constrained(spamassassin_t) 26 27 27 28 type spamassassin_home_t; … … 31 32 type spamassassin_tmp_t; 32 33 files_tmp_file(spamassassin_tmp_t) 34 ubac_constrained(spamassassin_tmp_t) 33 35 34 36 type spamc_t; 35 37 type spamc_exec_t; 36 38 application_domain(spamc_t, spamc_exec_t) 39 ubac_constrained(spamc_t) 37 40 38 41 type spamc_tmp_t; 39 42 files_tmp_file(spamc_tmp_t) 43 ubac_constrained(spamc_tmp_t) 40 44 41 45 type spamd_t; branches/rbacsep/policy/modules/services/ssh.if
r2756 r2759 326 326 application_domain($1_ssh_agent_t, ssh_agent_exec_t) 327 327 domain_interactive_fd($1_ssh_agent_t) 328 ubac_constrained($1_ssh_agent_t) 328 329 role $2 types $1_ssh_agent_t; 329 330 branches/rbacsep/policy/modules/services/ssh.te
r2755 r2759
