summaryrefslogtreecommitdiff
path: root/Xext/xselinux.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-02-07 14:35:02 -0500
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2008-02-07 14:35:02 -0500
commit2259b144f0fd4855085a656111a0c64246733e78 (patch)
treed42cd990d72c0bd32363b9f41f022bedbfbf17e1 /Xext/xselinux.c
parent5c30327275509576b7848a5f842e7a1bffabe980 (diff)
xselinux: Add getattr and setattr to the permission map for properties.
Diffstat (limited to 'Xext/xselinux.c')
-rw-r--r--Xext/xselinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xext/xselinux.c b/Xext/xselinux.c
index b3d938b0a..c7ab8d095 100644
--- a/Xext/xselinux.c
+++ b/Xext/xselinux.c
@@ -127,7 +127,7 @@ static struct security_class_mapping map[] = {
{ "x_gc", { "", "", "destroy", "create", "getattr", "setattr", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "use", NULL }},
{ "x_font", { "", "", "destroy", "create", "getattr", "", "", "", "", "", "", "", "add_glyph", "remove_glyph", "", "", "", "", "", "", "", "", "", "", "use", NULL }},
{ "x_colormap", { "read", "write", "destroy", "create", "getattr", "", "", "", "", "", "", "", "add_color", "remove_color", "", "", "", "", "", "", "install", "uninstall", "", "", "use", NULL }},
- { "x_property", { "read", "write", "destroy", "create", NULL }},
+ { "x_property", { "read", "write", "destroy", "create", "getattr", "setattr", NULL }},
{ "x_selection", { "read", "", "", "", "getattr", "setattr", NULL }},
{ "x_cursor", { "read", "write", "destroy", "create", "getattr", "setattr", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "use", NULL }},
{ "x_client", { "", "", "destroy", "", "getattr", "setattr", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "manage", NULL }},