gssd: allow gssd to work with KEYRING: credcaches
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 4 repliesIn review
- v22 patches 3 repliesSuperseded
- v12 patches 1 replySuperseded
Changes in v3 from the cover letter
- have parent check to see if child was signalled and log a warning if so
- drop supplimentary groups and change gid before acquiring creds. Keep suid and sgid as well to hamper ptrace.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | gssd: have process_krb5_upcall fork before handling upcallutils/ | +23 | 1 reply | |
| 2/2 | gssd: do a more thorough change of identity after forkingutils/ | +66 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/2] gssd: allow gssd to work with KEYRING: credcaches
Changes since original set:
v3:
- have parent check to see if child was signalled and log a warning if so
- drop supplimentary groups and change gid before acquiring creds. Keep suid and sgid as well to hamper ptrace.
v2:
- fix bisectability. The original set added includes in the wrong place in patch #1 and then fixed it in patch #2. The final result of this set is the same but should bisect cleanly.
This patchset fixes up gssd to work with KEYRING: style credcaches. At the same time, it also fixes gssd not to need to trawl through likely credcache locations by allowing GSSAPI to find them in the intended fashion.
The basic idea is to have gssd fork() after reading off the pipe, but before handling the upcall and to do a more thorough job of changing credentials.
Jeff Layton (2):
gssd: have process_krb5_upcall fork before handling upcall
gssd: do a more thorough change of identity after forking
utils/gssd/gssd_proc.c | 106 +++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 89 insertions(+), 17 deletions(-)
Signature · 1 line
1.8.3.1