All of lore.kernel.org
 help / color / mirror / Atom feed
* Mislabeled /proc/<pid>/ns/mnt files?
@ 2019-05-09 19:56 Jeffrey Vander Stoep
  2019-05-09 21:11 ` Stephen Smalley
  0 siblings, 1 reply; 9+ messages in thread
From: Jeffrey Vander Stoep @ 2019-05-09 19:56 UTC (permalink / raw)
  To: selinux, Joel Galenson

I expected files here would have the process's context, but they
don't. The files are actually all symlinks so it's entirely possible
that the they shouldn't have the process's context. If that's the
case, how can I provide different labels for them? Neither "proc" nor
"unlabeled" are appropriate.

On a device with a 3.18 kernel they have the "proc" context:
sailfish:/ # ls -LZ1 /proc/1/ns
u:object_r:proc:s0 mnt
u:object_r:proc:s0 net

On a device with the 4.9 kernel the have the "unlabeled" context:
blueline:/ # ls -LZ1 /proc/1/ns
u:object_r:unlabeled:s0 cgroup
u:object_r:unlabeled:s0 mnt
u:object_r:unlabeled:s0 net

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

end of thread, other threads:[~2019-05-14 20:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-09 19:56 Mislabeled /proc/<pid>/ns/mnt files? Jeffrey Vander Stoep
2019-05-09 21:11 ` Stephen Smalley
2019-05-09 21:47   ` Jeffrey Vander Stoep
2019-05-10  7:12     ` Dominick Grift
2019-05-10 14:28       ` Stephen Smalley
2019-05-10 14:40         ` Dominick Grift
     [not found]     ` <CAB9W1A2LPEk_XixkFU5mVgr9c2yNoiGzBjXYjpc3vDM1b2VpyA@mail.gmail.com>
2019-05-10 12:38       ` Stephen Smalley
2019-05-10 14:55         ` Stephen Smalley
2019-05-14 20:13           ` Stephen Smalley

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.