Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use the name of the hub socket instead.
[doldaconnect.git]
/
daemon
/
main.c
diff --git
a/daemon/main.c
b/daemon/main.c
index
2c6f08d
..
dddd8f1
100644
(file)
--- a/
daemon/main.c
+++ b/
daemon/main.c
@@
-309,6
+309,7
@@
pid_t forksess(uid_t user, struct authhandle *auth, void (*ccbfunc)(pid_t, int,
errno = 0;
#ifdef HAVE_KEYUTILS
keyctl_join_session_keyring(NULL);
+ keyctl_chown(KEY_SPEC_SESSION_KEYRING, pwent->pw_uid, pwent->pw_gid);
#endif
if((authopensess(auth)) != AUTH_SUCCESS)
{