diff options
| author | Danish Prakash <contact@danishpraka.sh> | 2025-10-30 16:19:13 +0530 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-11-04 18:49:43 +0100 |
| commit | 1d164396397799088b6dad13178781553333f2aa (patch) | |
| tree | dc5fa5e442bfa8b32803f6bd8b6f6f5795c9d69a /test/lib | |
| parent | f6b6118fcabda6d6a89a4a16dfee151ab97f1d7a (diff) | |
| download | passt-1d164396397799088b6dad13178781553333f2aa.tar passt-1d164396397799088b6dad13178781553333f2aa.tar.gz passt-1d164396397799088b6dad13178781553333f2aa.tar.bz2 passt-1d164396397799088b6dad13178781553333f2aa.tar.lz passt-1d164396397799088b6dad13178781553333f2aa.tar.xz passt-1d164396397799088b6dad13178781553333f2aa.tar.zst passt-1d164396397799088b6dad13178781553333f2aa.zip | |
contrib/selinux: use regex instead of SELinux template
It might be possible to avoid using SELinux template (%USERID),
and instead using regex to match user ids. This would allow
discarding the explicit restorecon call while during package builds[1].
Original suggestion from cathy.hu@suse.com:
> running restorecon would be unnecessary if the passt upstream selinux
> module would not use ${USERID} in pasta.fc (gets converted to [0-9]+ anyway)
[1] - https://passt.top/passt/commit/?id=e019323538699967c155c29411545223dadfc0f5
Signed-off-by: Danish Prakash <contact@danishpraka.sh>
Reviewed-by: Max Chernoff <git@maxchernoff.ca>
Tested-by: Max Chernoff <git@maxchernoff.ca>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib')
0 files changed, 0 insertions, 0 deletions
