Changeset 2624

Show
Ignore:
Timestamp:
02/21/08 14:21:35 (10 months ago)
Author:
pebenito
Message:

xselinux: drop screens and fonts.

Files:

Legend:

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

    r2623 r2624  
    195195                gen_require(` 
    196196                        attribute x_server_domain, x_domain; 
    197                         attribute xscreen_type, xfont_type; 
    198197                        attribute xproperty_type, xselection_type; 
    199198                        attribute xextension_type, xevent_type; 
     
    204203                allow $1_xserver_t x_server_domain:x_server *; 
    205204                allow $1_xserver_t { x_domain x_rootwindow_t }:x_drawable *; 
    206                 allow $1_xserver_t { xscreen_type x_rootscreen_t }:x_screen *; 
     205                allow $1_xserver_t x_rootscreen_t:x_screen *; 
    207206                allow $1_xserver_t x_domain:x_gc *; 
    208                 allow $1_xserver_t xfont_type:x_font *; 
    209207                allow $1_xserver_t { x_domain x_rootcolormap_t }:x_colormap *; 
    210208                allow $1_xserver_t xproperty_type:x_property *; 
     
    804802                gen_require(` 
    805803                        attribute x_server_domain, x_domain; 
    806                         attribute xscreen_type, xfont_type; 
    807804                        attribute xproperty_type, xselection_type; 
    808805                        attribute xextension_type, xevent_type; 
     
    813810                allow $3 x_server_domain:x_server *; 
    814811                allow $3 { x_domain x_rootwindow_t }:x_drawable *; 
    815                 allow $3 { xscreen_type x_rootscreen_t }:x_screen *; 
     812                allow $3 x_rootscreen_t:x_screen *; 
    816813                allow $3 x_domain:x_gc *; 
    817                 allow $3 xfont_type:x_font *; 
    818814                allow $3 { x_domain x_rootcolormap_t }:x_colormap *; 
    819815                allow $3 xproperty_type:x_property *; 
  • branches/xselinux/policy/modules/services/xserver.te

    r2621 r2624  
    4040# Per-object attributes 
    4141attribute x_domain; 
    42 attribute xscreen_type; 
    43 attribute xfont_type; 
    4442attribute xproperty_type; 
    4543attribute xselection_type; 
     
    499497allow xserver_unconfined_type x_server_domain:x_server *; 
    500498allow xserver_unconfined_type { x_domain x_rootwindow_t }:x_drawable *; 
    501 allow xserver_unconfined_type { xscreen_type x_rootscreen_t }:x_screen *; 
     499allow xserver_unconfined_type x_rootscreen_t:x_screen *; 
    502500allow xserver_unconfined_type x_domain:x_gc *; 
    503 allow xserver_unconfined_type xfont_type:x_font *; 
    504501allow xserver_unconfined_type { x_domain x_rootcolormap_t }:x_colormap *; 
    505502allow xserver_unconfined_type xproperty_type:x_property *;