myaudit.c (f48205be61a214698b763ff550ab9e657525104c) myaudit.c (d0fa49b78d1f40d84ec76c363cdc38cf128511dd)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 5 unchanged lines hidden (view full) ---

14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 5 unchanged lines hidden (view full) ---

14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 */
25
23 * Use is subject to license terms.
24 */
25
26#pragma ident "%Z%%M% %I% %E% SMI"
27
28#include <netdb.h>
29#include <netinet/in.h>
30#include <pwd.h>
31#include <sys/errno.h>
32#include <sys/mutex.h>
33#include <sys/param.h>
34#include <sys/socket.h>

--- 74 unchanged lines hidden (view full) ---

109 door_dp->audit_namask.am_success = (int)-1;
110 door_dp->audit_namask.am_failure = (int)-1;
111 door_dp->audit_event = 0;
112 door_dp->audit_sorf = -2;
113 door_dp->audit_user = NULL;
114 door_dp->audit_text[0] = NULL;
115 door_dp->audit_text1[0] = NULL;
116 door_dp->audit_na = 0;
26
27#include <netdb.h>
28#include <netinet/in.h>
29#include <pwd.h>
30#include <sys/errno.h>
31#include <sys/mutex.h>
32#include <sys/param.h>
33#include <sys/socket.h>

--- 74 unchanged lines hidden (view full) ---

108 door_dp->audit_namask.am_success = (int)-1;
109 door_dp->audit_namask.am_failure = (int)-1;
110 door_dp->audit_event = 0;
111 door_dp->audit_sorf = -2;
112 door_dp->audit_user = NULL;
113 door_dp->audit_text[0] = NULL;
114 door_dp->audit_text1[0] = NULL;
115 door_dp->audit_na = 0;
117 door_dp->audit_asid = -1;
116 door_dp->audit_asid = (au_asid_t)(-1);
118 door_dp->audit_path = NULL;
119}
120
121int
122audit_save_me(door_data_t *door_dp)
123{
124 door_cred_t client_cred;
125 int ret_val;

--- 162 unchanged lines hidden ---
117 door_dp->audit_path = NULL;
118}
119
120int
121audit_save_me(door_data_t *door_dp)
122{
123 door_cred_t client_cred;
124 int ret_val;

--- 162 unchanged lines hidden ---