All of lore.kernel.org
 help / color / mirror / Atom feed
* refpolicy HEAD, Debian, patch for udev.te
@ 2007-11-26 14:45 Václav Ovsík
  2007-11-27 18:49 ` Christopher J. PeBenito
  0 siblings, 1 reply; 11+ messages in thread
From: Václav Ovsík @ 2007-11-26 14:45 UTC (permalink / raw)
  To: selinux

[-- Attachment #1: Type: text/plain, Size: 706 bytes --]

Hi,
Debian Etch, refpolicy HEAD, udev produces during startup (udevsettle)
wile creating symlinks into /dev/disk/by-uuid/...
following:

audit(1195744042.060:3): avc:  denied  { relabelfrom } for  pid=836 comm="udevd" name="44517f56-2445-4330-bce7-5168aa534c1c" dev=tmpfs ino=1646 scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=lnk_file
audit(1195744042.060:4): avc:  denied  { relabelto } for  pid=836 comm="udevd" name="44517f56-2445-4330-bce7-5168aa534c1c" dev=tmpfs ino=1646 scontext=system_u:system_r:udev_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=lnk_file

Attached patch solves this.
Can be merged into refpolicy please?
-- 
Zito

[-- Attachment #2: udev.te.debian.patch --]
[-- Type: text/x-diff, Size: 464 bytes --]

Index: policy/modules/system/udev.te
===================================================================
--- policy/modules/system/udev.te	(revision 2530)
+++ policy/modules/system/udev.te	(working copy)
@@ -96,6 +96,7 @@
 dev_delete_generic_files(udev_t)
 dev_search_usbfs(udev_t)
 dev_relabel_all_dev_nodes(udev_t)
+dev_relabel_generic_symlinks(udev_t)
 
 domain_read_all_domains_state(udev_t)
 domain_dontaudit_ptrace_all_domains(udev_t) #pidof triggers these 

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-12-04 14:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-26 14:45 refpolicy HEAD, Debian, patch for udev.te Václav Ovsík
2007-11-27 18:49 ` Christopher J. PeBenito
2007-11-29 20:06   ` Martin Orr
2007-11-30 13:49     ` Václav Ovsík
2007-11-30 14:38       ` Christopher J. PeBenito
2007-11-30 15:30         ` Václav Ovsík
2007-11-30 15:55           ` Christopher J. PeBenito
2007-11-30 17:24             ` Martin Orr
2007-12-01 23:21               ` Chris PeBenito
2007-12-04 10:41                 ` Martin Orr
2007-12-04 14:07                 ` Daniel J Walsh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.