XFree86 and SELinux on PPC

W. Michael Petullo mike at flyn.org
Sun Apr 11 12:43:45 UTC 2004


On my PowerPC-based system, x.org's server wishes to access /proc/sys/dev
(probably for mac_hid/mouse emulation) and /proc/bus/pci.  When I set
SELinux to enforce, these operations are blocked and X does not start.

Here are the relavent logs:

avc:  denied  { search } for  pid=1504 exe=/usr/X11R6/bin/XFree86 name=dev dev=
ino=5303 scontext=system_u:system_r:xdm_xserver_t tcontext=system_u:object_r:sysctl_dev_t tclass=dir
                                                                                
avc:  denied  { getattr } for  pid=1504 exe=/usr/X11R6/bin/XFree86 path=/proc/bus/pci dev= ino=5458 scontext=system_u:system_r:xdm_xserver_t tcontext=system_u:object_r:proc_t tclass=dir

Does x86's X server not touch these directories?  I assume this policy
works on x86.  I'd be happy to throw this in bugzilla.

-- 
Mike

:wq





More information about the fedora-test-list mailing list