summaryrefslogtreecommitdiffstats
path: root/support/nfs/strlcat.c
diff options
context:
space:
mode:
authorOlga Kornievskaia <kolga@netapp.com>2016-04-28 16:27:14 -0400
committerSteve Dickson <steved@redhat.com>2016-04-29 10:38:02 -0400
commit792c2a597c770738cf5c4433724504a5fc4ff7f5 (patch)
treea07d30af3798c32e97eca345eaa611cd99b60408 /support/nfs/strlcat.c
parent8c34e538ef7492fda87b640343996dd33a2fde1d (diff)
downloadnfs-utils-792c2a597c770738cf5c4433724504a5fc4ff7f5.tar.gz
nfs-utils-792c2a597c770738cf5c4433724504a5fc4ff7f5.tar.xz
nfs-utils-792c2a597c770738cf5c4433724504a5fc4ff7f5.zip
gssd: using syscalls directly to change thread's identity
For the threaded version we have to set uid,gid per thread instead of per process. glibc setresuid() when called from a thread, it'll send a signal to all other threads to synchronize the uid in all other threads. To bypass this, we have to call syscall() directly. Reviewed-by: Jeff Layton <jlayton@poochiereds.net> Reviewed-by: Steve Dickson <steved@redhat.com> Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Diffstat (limited to 'support/nfs/strlcat.c')
0 files changed, 0 insertions, 0 deletions