All of lore.kernel.org
 help / color / mirror / Atom feed
* possible regression with filecon equivalency
@ 2025-05-29 14:03 Dominick Grift
  2025-05-29 14:18 ` Dominick Grift
  2025-05-29 16:14 ` Petr Lautrbach
  0 siblings, 2 replies; 4+ messages in thread
From: Dominick Grift @ 2025-05-29 14:03 UTC (permalink / raw)
  To: selinux


This worked a while ago:

root@nimbus:~# cat >> /etc/selinux/dssp5-debian/contexts/files/file_contexts.subs_dist <<'EOF'
> /foo /usr/bin
> /sysroot/foo /usr/bin
> EOF

root@nimbus:~# matchpathcon -m dir /usr/bin
/usr/bin        sys.id:sys.role:exec.file:s0
root@nimbus:~# matchpathcon -m dir /foo
/foo    sys.id:sys.role:exec.file:s0
root@nimbus:~# matchpathcon -m dir /sysroot/foo
/sysroot/foo    sys.id:sys.role:unknown.file:s0

What happened?

-- 
gpg --locate-keys dominick.grift@defensec.nl (wkd)
Key fingerprint = FCD2 3660 5D6B 9D27 7FC6  E0FF DA7E 521F 10F6 4098
Dominick Grift
Mastodon: @kcinimod@defensec.nl

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

end of thread, other threads:[~2025-05-29 16:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-29 14:03 possible regression with filecon equivalency Dominick Grift
2025-05-29 14:18 ` Dominick Grift
2025-05-29 14:28   ` Dominick Grift
2025-05-29 16:14 ` Petr Lautrbach

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.