All of lore.kernel.org
 help / color / mirror / Atom feed
* /proc file context
@ 2002-10-08 14:26 Tom
  2002-10-08 14:36 ` Stephen Smalley
  0 siblings, 1 reply; 3+ messages in thread
From: Tom @ 2002-10-08 14:26 UTC (permalink / raw)
  To: selinux

I noticed that the Debian sid default policy seems to be lacking
file_context entries for /proc. Not a problem if you are using procfs.
If you don't, maybe this patch to file_contexts/types.fc is useful
(all types taken from the procfs.te file).
I'm almost certain these file contexts were present in an earlier
default policy, so it's likely that they just were ommitted.


*** /usr/share/selinux/policy/default/file_contexts/types.fc    Wed Oct  2 02:12:59 2002
--- types.fc    Tue Oct  8 18:17:25 2002
***************
*** 337,339 ****
--- 337,354 ----
  #
  .*/lost\+found(/.*)?          system_u:object_r:lost_found_t

+ #
+ # /proc
+ #
+ /proc(/.*)?                   system_u:object_r:proc_t
+ /proc/kmsg                    system_u:object_r:proc_kmsg_t
+ /proc/kcore                   system_u:object_r:proc_kcore_t
+ /proc/sys(/.*)?                       system_u:object_r:sysctl_t
+ /proc/sys/fs(/.*)?            system_u:object_r:sysctl_fs_t
+ /proc/sys/kernel(/.*)?                system_u:object_r:sysctl_kernel_t
+ /proc/sys/kernel/modprobe     system_u:object_r:sysctl_modprobe_t
+ /proc/sys/net(/.*)?           system_u:object_r:sysctl_net_t
+ /proc/sys/net/unix(/.*)?      system_u:object_r:sysctl_net_unix_t
+ /proc/sys/vm(/.*)?            system_u:object_r:sysctl_vm_t
+ /proc/sys/dev(/.*)?           system_u:object_r:sysctl_dev_t


-- 
PGP/GPG key: http://web.lemuria.org/pubkey.html
pub  1024D/2D7A04F5 2002-05-16 Tom Vogt <tom@lemuria.org>
     Key fingerprint = C731 64D1 4BCF 4C20 48A4  29B2 BF01 9FA1 2D7A 04F5

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

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

end of thread, other threads:[~2002-10-08 14:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-08 14:26 /proc file context Tom
2002-10-08 14:36 ` Stephen Smalley
2002-10-08 14:41   ` Tom

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.