All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH v5 0/3] adding pthread support to gssd
@ 2016-04-27 16:58 Olga Kornievskaia
  2016-04-27 16:58 ` [PATCH v5 1/3] gssd: use pthreads to handle upcalls Olga Kornievskaia
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Olga Kornievskaia @ 2016-04-27 16:58 UTC (permalink / raw)
  To: steved; +Cc: linux-nfs

Adding support for multi-threaded gssd and allow for parallel upcalls.
For each upcall create a thread, detach to allow for automatic cleanup.
Communicate location of credential cache with gss api function instead
of an environmental variable. Use syscall api instead of libc setuid()
to change user identity.

Previously parent thread after detaching from child thread would call
yield to let the child thread run and consume the event from the fd.
Instead, use synchronization variables to signal parent after reading
from fd and have parent thread wait for the event.

Olga Kornievskaia (3):
  gssd: use pthreads to handle upcalls
  gssd: using syscalls directly to change thread's identity
  gssd: always call gss_krb5_ccache_name

 aclocal/libpthread.m4  | 13 ++++++++++
 configure.ac           |  3 +++
 utils/gssd/Makefile.am |  3 ++-
 utils/gssd/gssd.c      | 44 ++++++++++++++++++++++++++++++---
 utils/gssd/gssd.h      |  5 ++++
 utils/gssd/gssd_proc.c | 66 +++++++++++++++++++++++---------------------------
 utils/gssd/krb5_util.c | 59 ++++++++++----------------------------------
 utils/gssd/krb5_util.h |  1 -
 8 files changed, 106 insertions(+), 88 deletions(-)
 create mode 100644 aclocal/libpthread.m4

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-04-30 17:29 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-27 16:58 [RFC PATCH v5 0/3] adding pthread support to gssd Olga Kornievskaia
2016-04-27 16:58 ` [PATCH v5 1/3] gssd: use pthreads to handle upcalls Olga Kornievskaia
2016-04-27 17:39   ` Steve Dickson
2016-04-28 13:13   ` Jeff Layton
2016-04-28 14:07     ` Kornievskaia, Olga
2016-04-30 12:29       ` Jeff Layton
2016-04-30 16:52         ` Olga Kornievskaia
     [not found]         ` <BF14CEF3-6B57-43FD-9226-00A25886844F@netapp.com>
2016-04-30 17:29           ` Jeff Layton
2016-04-27 16:58 ` [PATCH v5 2/3] gssd: using syscalls directly to change thread's identity Olga Kornievskaia
2016-04-28 13:14   ` Jeff Layton
2016-04-27 16:58 ` [PATCH v5 3/3] gssd: always call gss_krb5_ccache_name Olga Kornievskaia
2016-04-28 13:19   ` Jeff Layton
2016-04-28 14:11     ` Kornievskaia, Olga
2016-04-28 20:43       ` Steve Dickson
2016-04-29 14:49 ` [RFC PATCH v5 0/3] adding pthread support to gssd Steve Dickson
2016-04-29 14:57   ` Kornievskaia, Olga

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.