This commit is contained in:
Chad Sellers 2009-04-11 11:45:17 -04:00
commit 5f1746a17e
1 changed files with 2 additions and 0 deletions

View File

@ -348,7 +348,9 @@ int selinux_init_load_policy(int *enforce)
fclose(cfg); fclose(cfg);
free(buf); free(buf);
} }
#ifndef MNT_DETACH
#define MNT_DETACH 2 #define MNT_DETACH 2
#endif
if (rc == 0) if (rc == 0)
umount2("/proc", MNT_DETACH); umount2("/proc", MNT_DETACH);