* src/useradd.c, src/usermod.c: Only call selinux_update_mapping()
if Zflg is set.
This commit is contained in:
parent
192fa18195
commit
3fdefd3e40
@ -1,3 +1,8 @@
|
||||
2009-04-11 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* src/useradd.c, src/usermod.c: Only call selinux_update_mapping()
|
||||
if Zflg is set.
|
||||
|
||||
2009-04-11 Nicolas François <nicolas.francois@centraliens.net>
|
||||
|
||||
* libmisc/getgr_nam_gid.c: Added support for NULL argument.
|
||||
|
@ -2003,7 +2003,9 @@ int main (int argc, char **argv)
|
||||
close_files ();
|
||||
|
||||
#ifdef WITH_SELINUX
|
||||
if (Zflg) {
|
||||
selinux_update_mapping ();
|
||||
}
|
||||
#endif
|
||||
|
||||
nscd_flush_cache ("passwd");
|
||||
|
@ -1759,7 +1759,9 @@ int main (int argc, char **argv)
|
||||
nscd_flush_cache ("group");
|
||||
|
||||
#ifdef WITH_SELINUX
|
||||
if (Zflg) {
|
||||
selinux_update_mapping ();
|
||||
}
|
||||
#endif
|
||||
|
||||
if (mflg) {
|
||||
|
Loading…
Reference in New Issue
Block a user