diff options
author | Tomas Mraz <tmraz@fedoraproject.org> | 2012-01-24 20:03:28 +0100 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2012-01-24 20:03:28 +0100 |
commit | d5a261b8be2035bbf49726eb7ac792ee6d5a22d1 (patch) | |
tree | 743d235c45ab45b0a784c48d1f1df04012c0e784 /modules/pam_namespace/pam_namespace.h | |
parent | 91e4c3633f34a6590743ee105746308664078073 (diff) | |
download | pam-d5a261b8be2035bbf49726eb7ac792ee6d5a22d1.tar.gz pam-d5a261b8be2035bbf49726eb7ac792ee6d5a22d1.tar.bz2 pam-d5a261b8be2035bbf49726eb7ac792ee6d5a22d1.zip |
Make / mount as rslave instead of bind mounting polydirs.
* modules/pam_namespace/pam_namespace.c (protect_dir): Drop the always argument.
(check_inst_parent): Drop the always argument from protect_dir().
(create_polydir): Likewise.
(ns_setup): Likewise and do not mark the polydir with MS_PRIVATE.
(setup_namespace): Mark the / with MS_SLAVE|MS_REC.
* modules/pam_namespace/pam_namespace.8.xml: Reflect the change in docs.
Diffstat (limited to 'modules/pam_namespace/pam_namespace.h')
0 files changed, 0 insertions, 0 deletions