mac_exec.c (111010) | mac_exec.c (176901) |
---|---|
1/* 2 * Copyright (c) 2002 Networks Associates Technology, Inc. 3 * All rights reserved. 4 * 5 * This software was developed for the FreeBSD Project in part by Network 6 * Associates Laboratories, the Security Research Division of Network 7 * Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), 8 * as part of the DARPA CHATS research program. --- 13 unchanged lines hidden (view full) --- 22 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. | 1/* 2 * Copyright (c) 2002 Networks Associates Technology, Inc. 3 * All rights reserved. 4 * 5 * This software was developed for the FreeBSD Project in part by Network 6 * Associates Laboratories, the Security Research Division of Network 7 * Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), 8 * as part of the DARPA CHATS research program. --- 13 unchanged lines hidden (view full) --- 22 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. |
30 * 31 * $FreeBSD: head/lib/libc/posix1e/mac_exec.c 111010 2003-02-16 17:29:11Z nectar $ | |
32 */ 33 | 30 */ 31 |
32#include <sys/cdefs.h> 33__FBSDID("$FreeBSD: head/lib/libc/posix1e/mac_exec.c 176901 2008-03-07 15:25:56Z rwatson $"); 34 |
|
34#include <sys/types.h> 35#include <sys/mac.h> 36 37extern int __mac_execve(char *fname, char **argv, char **envv, 38 struct mac *mac_p); 39 40int 41mac_execve(char *fname, char **argv, char **envv, struct mac *label) 42{ 43 44 return (__mac_execve(fname, argv, envv, label)); 45} | 35#include <sys/types.h> 36#include <sys/mac.h> 37 38extern int __mac_execve(char *fname, char **argv, char **envv, 39 struct mac *mac_p); 40 41int 42mac_execve(char *fname, char **argv, char **envv, struct mac *label) 43{ 44 45 return (__mac_execve(fname, argv, envv, label)); 46} |