1331722Seadler/* 2106482Srwatson * Copyright (c) 2002 Networks Associates Technology, Inc. 3106482Srwatson * All rights reserved. 4106482Srwatson * 5106482Srwatson * This software was developed for the FreeBSD Project in part by Network 6106482Srwatson * Associates Laboratories, the Security Research Division of Network 7106482Srwatson * Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), 8106482Srwatson * as part of the DARPA CHATS research program. 9106482Srwatson * 10106482Srwatson * Redistribution and use in source and binary forms, with or without 11106482Srwatson * modification, are permitted provided that the following conditions 12106482Srwatson * are met: 13106482Srwatson * 1. Redistributions of source code must retain the above copyright 14106482Srwatson * notice, this list of conditions and the following disclaimer. 15106482Srwatson * 2. Redistributions in binary form must reproduce the above copyright 16106482Srwatson * notice, this list of conditions and the following disclaimer in the 17106482Srwatson * documentation and/or other materials provided with the distribution. 18106482Srwatson * 19106482Srwatson * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 20106482Srwatson * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 21106482Srwatson * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 22106482Srwatson * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 23106482Srwatson * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24106482Srwatson * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25106482Srwatson * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26106482Srwatson * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27106482Srwatson * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28106482Srwatson * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29106482Srwatson * SUCH DAMAGE. 30106482Srwatson */ 31106482Srwatson 32176901Srwatson#include <sys/cdefs.h> 33176901Srwatson__FBSDID("$FreeBSD$"); 34176901Srwatson 35106482Srwatson#include <sys/types.h> 36106482Srwatson#include <sys/mac.h> 37106482Srwatson 38111010Snectarextern int __mac_execve(char *fname, char **argv, char **envv, 39111010Snectar struct mac *mac_p); 40111010Snectar 41106482Srwatsonint 42106482Srwatsonmac_execve(char *fname, char **argv, char **envv, struct mac *label) 43106482Srwatson{ 44106482Srwatson 45106482Srwatson return (__mac_execve(fname, argv, envv, label)); 46106482Srwatson} 47