summaryrefslogtreecommitdiff
path: root/usr/src/cmd/svc/configd/configd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/svc/configd/configd.c')
-rw-r--r--usr/src/cmd/svc/configd/configd.c23
1 files changed, 3 insertions, 20 deletions
diff --git a/usr/src/cmd/svc/configd/configd.c b/usr/src/cmd/svc/configd/configd.c
index f7ac0f66a3..8aa37492f1 100644
--- a/usr/src/cmd/svc/configd/configd.c
+++ b/usr/src/cmd/svc/configd/configd.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -201,10 +201,6 @@ thread_self(void)
return (pthread_getspecific(thread_info_key));
}
-/*
- * get_ucred() returns NULL if it was unable to get the credential
- * information.
- */
ucred_t *
get_ucred(void)
{
@@ -238,21 +234,6 @@ ucred_is_privileged(ucred_t *uc)
return (0);
}
-/*
- * The purpose of this function is to get the audit session data for use in
- * generating SMF audit events. We use a single audit session per client.
- *
- * get_audit_session() may return NULL. It is legal to use a NULL pointer
- * in subsequent calls to adt_* functions.
- */
-adt_session_data_t *
-get_audit_session(void)
-{
- thread_info_t *ti = thread_self();
-
- return (ti->ti_active_client->rc_adt_session);
-}
-
static void *
thread_start(void *arg)
{
@@ -553,10 +534,12 @@ main(int argc, char *argv[])
break;
case 'd':
doorpath = regularize_path(curdir, optarg, doortmp);
+ is_main_repository = 0;
have_npdb = 0; /* default to no non-persist */
break;
case 'p':
log_to_syslog = 0; /* don't use syslog */
+ is_main_repository = 0;
/*
* If our parent exits while we're opening its /proc