All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Dickson <SteveD@redhat.com>
To: Olga Kornievskaia <kolga@netapp.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [RFC PATCH v5 0/3] adding pthread support to gssd
Date: Fri, 29 Apr 2016 10:49:05 -0400	[thread overview]
Message-ID: <57237461.9070208@RedHat.com> (raw)
In-Reply-To: <1461776287-1427-1-git-send-email-kolga@netapp.com>



On 04/27/2016 12:58 PM, Olga Kornievskaia wrote:
> 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
> 
All three patches have been committed... thanks for doing this work!!

steved.

  parent reply	other threads:[~2016-04-29 14:49 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Steve Dickson [this message]
2016-04-29 14:57   ` [RFC PATCH v5 0/3] adding pthread support to gssd Kornievskaia, Olga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57237461.9070208@RedHat.com \
    --to=steved@redhat.com \
    --cc=kolga@netapp.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.