From 1f03f0496b37f42bc76df041144b1cf7e47fcda4 Mon Sep 17 00:00:00 2001 From: Peter Shoults Date: Tue, 2 Jun 2009 08:02:42 -0400 Subject: 6802931 krb5 nfs allows access to shares without credentials by symlinking to someone else's cred cache 6840235 Some slight changes need to be made to gssd_getuid.c to be more readable --- usr/src/cmd/gss/gssd/Makefile | 8 ++-- usr/src/cmd/gss/gssd/gss.xml | 14 +++---- usr/src/cmd/gss/gssd/gssd_getuid.c | 82 ++++++++++++++++++++++++++++++++++---- 3 files changed, 86 insertions(+), 18 deletions(-) (limited to 'usr/src/cmd') diff --git a/usr/src/cmd/gss/gssd/Makefile b/usr/src/cmd/gss/gssd/Makefile index f5e43e5f1b..1bb54488f5 100644 --- a/usr/src/cmd/gss/gssd/Makefile +++ b/usr/src/cmd/gss/gssd/Makefile @@ -19,11 +19,9 @@ # CDDL HEADER END # # -# Copyright 2007 Sun Microsystems, Inc. All rights reserved. +# Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# TESTPROG = gssdtest @@ -107,6 +105,10 @@ gssd.x: $(GSSDX) # Rules to generate derived rpcgen files from gssd.x spec file. +# NOTE WELL: There is code in gssd that assumes gssd is NOT +# multi-threaded. Do NOT add -A to the rpcgen argument list in the +# Makefile unless you also remove this assumption. + gssd.h: gssd.x $(RM) $@ $(RPCGEN) -M -h gssd.x > $@ diff --git a/usr/src/cmd/gss/gssd/gss.xml b/usr/src/cmd/gss/gssd/gss.xml index 04c3c408e8..0dcdf947c9 100644 --- a/usr/src/cmd/gss/gssd/gss.xml +++ b/usr/src/cmd/gss/gssd/gss.xml @@ -2,15 +2,14 @@