]> git.ipfire.org Git - thirdparty/shadow.git/commit
semanage: Do not set default SELinux range
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 3 Mar 2023 14:09:19 +0000 (15:09 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Fri, 31 Mar 2023 14:13:02 +0000 (16:13 +0200)
commita5f9ef8b7fa7dd108270459325092a2be3847331
tree66563394afad9e31a9664c7cbce92dde0a8aa53c
parentb44d7f78e0988847b99a7c3ac3a53042db073a92
semanage: Do not set default SELinux range

Both semanage and libsemanage actually set the user's mls range to the
default of the seuser, which makes more sense and removes a bit of code
for usermod and useradd.  More fine-grained details must always be set
with some other tool
(semanage) anyway.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
lib/semanage.c