2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 1992, 2011, Oracle and/or its affiliates. All rights reserved. 2N/A /* get non-attrib flags */ 2N/Achar *
msg;
/* message containing failure information */ 2N/Achar *
hostname;
/* hostname of machine requesting service */ 2N/Achar *
user;
/* username of user requesting service */ 2N/Achar *
cmdbuf;
/* command line to be executed locally */ 2N/A int rd;
/* audit record descriptor */ 2N/A char buf[
256];
/* temporary buffer */ 2N/A * check if audit_rexecd_fail() or audit_rexecd_success() 2N/A * have been called already. 2N/A * set status to prevent multiple calls 2N/A * to audit_rexecd_fail() and audit_rexecd_success() 2N/A /* determine if we're preselected */ 2N/A /* add subject token */ 2N/A /* add reason for failure */ 2N/A /* add hostname of machine requesting service */ 2N/A /* add username of user requesting service */ 2N/A /* add command line to be executed locally */ 2N/A /* add return token */ 2N/A /* write audit record */ 2N/Achar *
hostname;
/* hostname of machine requesting service */ 2N/Achar *
user;
/* username of user requesting service */ 2N/Achar *
cmdbuf;
/* command line to be executed locally */ 2N/A int rd;
/* audit record descriptor */ 2N/A char buf[
256];
/* temporary buffer */ 2N/A * check if audit_rexecd_fail() or audit_rexecd_success() 2N/A * have been called already. 2N/A * set status to prevent multiple calls 2N/A * to audit_rexecd_fail() and audit_rexecd_success() 2N/A /* determine if we're preselected */ 2N/A /* add subject token */ 2N/A /* add hostname of machine requesting service */ 2N/A /* add username at machine requesting service */ 2N/A /* add command line to be executed locally */ 2N/A /* add return token */ 2N/A /* write audit record */