From 354c1e73d07d9c385dfcc1cb74580712f90e065c Mon Sep 17 00:00:00 2001 From: Lukas Vrabec Date: Wed, 4 Oct 2023 10:41:14 +0200 Subject: [PATCH] Improve default file context(None) of /var/lib/authselect/backups Following fix improves(commit: 01c6e6f2a08f7bb1f5810d4a556b9b4e6fbfdc8d) the default file context for /var/lib/authselect/backups to all sub objects under this directory to None.` --- policy/modules/kernel/files.fc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy/modules/kernel/files.fc b/policy/modules/kernel/files.fc index 33ed9b3fca..668b5710c2 100644 --- a/policy/modules/kernel/files.fc +++ b/policy/modules/kernel/files.fc @@ -285,7 +285,7 @@ ifndef(`distro_redhat',` /var/lib(/.*)? gen_context(system_u:object_r:var_lib_t,s0) -/var/lib/authselect/backups <> +/var/lib/authselect/backups(/.*)? <> /var/lib/nfs/rpc_pipefs(/.*)? <>