summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorJeff Layton <jlayton@samba.org>2017-02-13 08:33:02 -0500
committerJeff Layton <jlayton@samba.org>2017-02-14 18:44:37 -0500
commita6662edb12b267e12bd67424e485ca081a97beb3 (patch)
tree4f7d678341b4a7e9bb4b4b0639798d3afc000d3b /Makefile.am
parentfb7693c50e99f2153500bb3590602993016051b4 (diff)
downloadcifs-utils-a6662edb12b267e12bd67424e485ca081a97beb3.tar.gz
cifs-utils-a6662edb12b267e12bd67424e485ca081a97beb3.tar.bz2
cifs-utils-a6662edb12b267e12bd67424e485ca081a97beb3.zip
cifs.upcall: switch group IDs when handling an upcall
Currently, we leave the group ID alone, but in a later patch we'll be changing cifs.upcall to scrape $KRB5CCNAME out of the originating process. At that point, we want to be a little more careful with the process credentials we'll be using. After we get the uid, do a getpwuid and grab the default gid for the user. Then use setgid to set it before calling setuid. Signed-off-by: Jeff Layton <jlayton@samba.org>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions