commit: 0ab5f78712f23f767c60d32a0e99d03c6f82f025 Author: Chris PeBenito <pebenito <AT> ieee <DOT> org> AuthorDate: Mon Sep 8 12:09:20 2025 +0000 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> CommitDate: Sun Nov 16 00:13:57 2025 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=0ab5f787
filesystem: Fix pidfs typo. Change to task SID. Signed-off-by: Chris PeBenito <pebenito <AT> ieee.org> Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org> policy/modules/kernel/filesystem.te | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/policy/modules/kernel/filesystem.te b/policy/modules/kernel/filesystem.te index fd3537424..8eec541fc 100644 --- a/policy/modules/kernel/filesystem.te +++ b/policy/modules/kernel/filesystem.te @@ -52,6 +52,7 @@ fs_use_xattr zfs gen_context(system_u:object_r:fs_t,s0); # like pipes and sockets, so that these objects are labeled with the same # type as the creating task. fs_use_task eventpollfs gen_context(system_u:object_r:fs_t,s0); +fs_use_task pidfs gen_context(system_u:object_r:fs_t,s0); fs_use_task pipefs gen_context(system_u:object_r:fs_t,s0); fs_use_task sockfs gen_context(system_u:object_r:fs_t,s0); @@ -166,10 +167,6 @@ type oprofilefs_t; fs_type(oprofilefs_t) genfscon oprofilefs / gen_context(system_u:object_r:oprofilefs_t,s0) -type pidfs_t; -fs_type(pidfs_t) -genfscon pidfs_t / gen_context(system_u:object_r:pidfs_t,s0) - type pstore_t; fs_type(pstore_t) files_mountpoint(pstore_t)
