/*
- * Copyright (c) 1999-2003 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 1999-2004 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
#import <stdlib.h>
#import <string.h>
+#import <bsm/audit.h>
+
#import "bootstrap_internal.h"
#import "lists.h"
#import "error_log.h"
bootstrap_info_t *bootstrap,
const char *cmd,
int uid,
- servertype_t servertype)
+ servertype_t servertype,
+ auditinfo_t auinfo)
{
server_t *serverp;
serverp->pid = NO_PID;
serverp->task_port = MACH_PORT_NULL;
+
serverp->uid = uid;
+ serverp->auinfo = auinfo;
serverp->port = MACH_PORT_NULL;
serverp->servertype = servertype;
mach_port_mod_refs(mach_task_self(), servicep->port,
MACH_PORT_RIGHT_RECEIVE, -1);
break;
- case SELF:
- error("Self service %s now unavailable", servicep->name);
- break;
default:
error("unknown service type %d\n", servicep->servicetype);
break;