mac_cred.c revision 100894
1100894Srwatson/*-
2100894Srwatson * Copyright (c) 1999, 2000, 2001, 2002 Robert N. M. Watson
3100894Srwatson * Copyright (c) 2001 Ilmar S. Habibulin
4100894Srwatson * Copyright (c) 2001, 2002 Networks Associates Technology, Inc.
5100894Srwatson * All rights reserved.
6100894Srwatson *
7100894Srwatson * This software was developed by Robert Watson and Ilmar Habibulin for the
8100894Srwatson * TrustedBSD Project.
9100894Srwatson *
10100894Srwatson * This software was developed for the FreeBSD Project in part by NAI Labs,
11100894Srwatson * the Security Research Division of Network Associates, Inc. under
12100894Srwatson * DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA
13100894Srwatson * CHATS research program.
14100894Srwatson *
15100894Srwatson * Redistribution and use in source and binary forms, with or without
16100894Srwatson * modification, are permitted provided that the following conditions
17100894Srwatson * are met:
18100894Srwatson * 1. Redistributions of source code must retain the above copyright
19100894Srwatson *    notice, this list of conditions and the following disclaimer.
20100894Srwatson * 2. Redistributions in binary form must reproduce the above copyright
21100894Srwatson *    notice, this list of conditions and the following disclaimer in the
22100894Srwatson *    documentation and/or other materials provided with the distribution.
23100894Srwatson * 3. The names of the authors may not be used to endorse or promote
24100894Srwatson *    products derived from this software without specific prior written
25100894Srwatson *    permission.
26100894Srwatson *
27100894Srwatson * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
28100894Srwatson * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29100894Srwatson * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30100894Srwatson * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
31100894Srwatson * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32100894Srwatson * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
33100894Srwatson * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
34100894Srwatson * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35100894Srwatson * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
36100894Srwatson * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37100894Srwatson * SUCH DAMAGE.
38100894Srwatson *
39100894Srwatson * $FreeBSD: head/sys/security/mac/mac_process.c 100894 2002-07-30 02:04:05Z rwatson $
40100894Srwatson */
41100894Srwatson/*
42100894Srwatson * Developed by the TrustedBSD Project.
43100894Srwatson *
44100894Srwatson * Framework for extensible kernel access control.  Kernel and userland
45100894Srwatson * interface to the framework, policy registration and composition.
46100894Srwatson */
47100894Srwatson
48100894Srwatson#include "opt_mac.h"
49100894Srwatson#include <sys/param.h>
50100894Srwatson#include <sys/sysproto.h>
51100894Srwatson#include <sys/sysent.h>
52100894Srwatson
53100894Srwatsonint
54100894Srwatson__mac_get_proc(struct thread *td, struct __mac_get_proc_args *uap)
55100894Srwatson{
56100894Srwatson
57100894Srwatson	return (ENOSYS);
58100894Srwatson}
59100894Srwatson
60100894Srwatsonint
61100894Srwatson__mac_set_proc(struct thread *td, struct __mac_set_proc_args *uap)
62100894Srwatson{
63100894Srwatson
64100894Srwatson	return (ENOSYS);
65100894Srwatson}
66100894Srwatson
67100894Srwatsonint
68100894Srwatson__mac_get_fd(struct thread *td, struct __mac_get_fd_args *uap)
69100894Srwatson{
70100894Srwatson
71100894Srwatson	return (ENOSYS);
72100894Srwatson}
73100894Srwatson
74100894Srwatsonint
75100894Srwatson__mac_get_file(struct thread *td, struct __mac_get_file_args *uap)
76100894Srwatson{
77100894Srwatson
78100894Srwatson	return (ENOSYS);
79100894Srwatson}
80100894Srwatson
81100894Srwatsonint
82100894Srwatson__mac_set_fd(struct thread *td, struct __mac_set_fd_args *uap)
83100894Srwatson{
84100894Srwatson
85100894Srwatson	return (ENOSYS);
86100894Srwatson}
87100894Srwatson
88100894Srwatsonint
89100894Srwatson__mac_set_file(struct thread *td, struct __mac_set_file_args *uap)
90100894Srwatson{
91100894Srwatson
92100894Srwatson	return (ENOSYS);
93100894Srwatson}
94