]> git.ipfire.org Git - thirdparty/shadow.git/commit
src/useradd.c: chroot or prefix SELinux file context
authorIker Pedrosa <ipedrosa@redhat.com>
Fri, 25 Apr 2025 14:32:42 +0000 (16:32 +0200)
committerIker Pedrosa <ipedrosa@redhat.com>
Tue, 7 Oct 2025 09:04:39 +0000 (11:04 +0200)
commitc0c9485d9a5a434c37165a5e9190ea09d57f303b
tree13d7379744f2ca379bed0fabed662e14a81886bc
parentefef4d06353964e5f91e13b39ca13cf3d0bd3e56
src/useradd.c: chroot or prefix SELinux file context

Do not process SELinux file context during file closure when chroot or
prefix options are selected.

Closes: https://github.com/shadow-maint/shadow/issues/940
Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
src/useradd.c