summaryrefslogtreecommitdiff
path: root/spnego.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@samba.org>2017-02-15 10:00:45 -0500
committerJeff Layton <jlayton@samba.org>2017-02-15 11:07:01 -0500
commit109c189bf4720b0d7ed43113e1e26c89c8b15ada (patch)
tree94200c846f9a4f2d2bf08d27fe7abf4f415d23b2 /spnego.c
parenta6662edb12b267e12bd67424e485ca081a97beb3 (diff)
downloadcifs-utils-109c189bf4720b0d7ed43113e1e26c89c8b15ada.tar.gz
cifs-utils-109c189bf4720b0d7ed43113e1e26c89c8b15ada.tar.bz2
cifs-utils-109c189bf4720b0d7ed43113e1e26c89c8b15ada.zip
cifs.upcall: drop capabilities early in program
Much of cifs.upcall can and should be run without elevated privileges. On entry into the program, drop as many capabilities as we can get away with, and then always drop any remaining caps after calling setuid(). Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'spnego.c')
0 files changed, 0 insertions, 0 deletions