diff options
author | shishir gowda <sgowda@redhat.com> | 2013-02-15 11:52:41 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-03-04 02:42:19 -0800 |
commit | 184adfd07e437d9531ebea88208d14c11f51137e (patch) | |
tree | fc4befdfc0efcc52b888a9fc03d0e6ac5b7ad599 /libglusterfs/src/event.c | |
parent | 3335a3ded7f46ddcdf2a42edf0c6e78abeb9e898 (diff) |
synctask: implement setuid-like SYNCTASK_SETID()
synctasks can now call SYNCTASK_SETID(uid,gid) to set the effective
uid/gid of the frame with which the FOP will be performed.
Once called, the uid/gid is set either till the end of the synctask
or till the next call of SYNCTASK_SETID()
Back-porting Avati's patch http://review.gluster.org/#change,4269
BUG: 884597
Change-Id: Id0569da4bb8959636881457217fe004bf30c5b9d
Signed-off-by: shishir gowda <sgowda@redhat.com>
Reviewed-on: http://review.gluster.org/4611
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'libglusterfs/src/event.c')
0 files changed, 0 insertions, 0 deletions