summaryrefslogtreecommitdiff
path: root/aclocal/libcap.m4
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-04-01 15:19:17 -0400
committerJeff Layton <jlayton@redhat.com>2010-04-01 15:19:17 -0400
commit294215ef969ce3ecb91063fbbb8a8c075272cc8d (patch)
tree3c28e1be371ef60f7e74ebab36e39484dd2b9572 /aclocal/libcap.m4
parente87a203fbaf059831292f2cb9a0692ef7a78a267 (diff)
downloadcifs-utils-294215ef969ce3ecb91063fbbb8a8c075272cc8d.tar.gz
cifs-utils-294215ef969ce3ecb91063fbbb8a8c075272cc8d.tar.bz2
cifs-utils-294215ef969ce3ecb91063fbbb8a8c075272cc8d.zip
mount.cifs: introduce privilege separation
Much of the mount option parsing and other activities can be done by an unprivileged process. Allocate the parsed_mount_info struct as an anonymous mmap() segment and then fork to do the actual mount option parsing. The child can then drop root privileges before populating the parsed_mount_info struct. The parent waits for the child to exit and then continues the mount process based on the child's exit status. Signed-off-by: Jeff Layton <jlayton@redhat.com>
Diffstat (limited to 'aclocal/libcap.m4')
0 files changed, 0 insertions, 0 deletions