Changeset 2710

Show
Ignore:
Timestamp:
06/06/08 00:34:42 (6 months ago)
Author:
cpebenito
Message:

rbacsep: additional xserver_role pieces.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/rbacsep/policy/modules/services/xserver.if

    r2708 r2710  
    532532        allow xserver_t $2:shm rw_shm_perms; 
    533533        allow $2 xserver_t:shm rw_shm_perms; 
     534 
     535        # allow ps to show iceauth 
     536        ps_process_pattern($2, iceauth_t) 
     537         
     538        domtrans_pattern($2, iceauth_exec_t, iceauth_t) 
     539         
     540        allow $2 iceauth_home_t:file manage_file_perms; 
     541        allow $2 iceauth_home_t:file { relabelfrom relabelto }; 
     542         
     543        domtrans_pattern($2, xauth_exec_t, xauth_t) 
     544         
     545        allow $2 xauth_t:process signal; 
     546         
     547        # allow ps to show xauth 
     548        ps_process_pattern($2,xauth_t) 
     549         
     550        allow $2 xauth_home_t:file manage_file_perms; 
     551        allow $2 xauth_home_t:file { relabelfrom relabelto }; 
     552 
    534553 
    535554        ############################## 
  • branches/rbacsep/policy/modules/services/xserver.te

    r2708 r2710  
    169169# 
    170170 
    171 domtrans_pattern($2, iceauth_exec_t, iceauth_t) 
    172171 
    173172allow iceauth_t iceauth_home_t:file manage_file_perms; 
    174173userdom_user_home_dir_filetrans($1,iceauth_t,iceauth_home_t,file) 
    175  
    176 # allow ps to show iceauth 
    177 ps_process_pattern($2, iceauth_t) 
    178  
    179 allow $2 iceauth_home_t:file manage_file_perms; 
    180 allow $2 iceauth_home_t:file { relabelfrom relabelto }; 
    181174 
    182175allow xdm_t iceauth_home_t:file read_file_perms; 
     
    211204manage_files_pattern(xauth_t, xauth_tmp_t, xauth_tmp_t) 
    212205files_tmp_filetrans(xauth_t, xauth_tmp_t, { file dir }) 
    213  
    214 domtrans_pattern($2, xauth_exec_t, xauth_t) 
    215  
    216 allow $2 xauth_t:process signal; 
    217  
    218 # allow ps to show xauth 
    219 ps_process_pattern($2,xauth_t) 
    220  
    221 allow $2 xauth_home_t:file manage_file_perms; 
    222 allow $2 xauth_home_t:file { relabelfrom relabelto }; 
    223206 
    224207allow xdm_t xauth_home_t:file manage_file_perms;