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 * 10106392Srwatson * This software was developed for the FreeBSD Project in part by NAI Labs, 11106392Srwatson * the Security Research Division of Network Associates, Inc. under 12106392Srwatson * DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA 13106392Srwatson * 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. 46104300Sphk */ 47101173Srwatson 48100894Srwatson#include "opt_mac.h" 49100979Srwatson#include <sys/param.h> 50106468Srwatson#include <sys/sysproto.h> 51100979Srwatson#include <sys/sysent.h> 52100979Srwatson 53102949Sbdeint 54100979Srwatson__mac_get_proc(struct thread *td, struct __mac_get_proc_args *uap) 55100979Srwatson{ 56101712Srwatson 57100979Srwatson return (ENOSYS); 58100979Srwatson} 59100894Srwatson 60100894Srwatsonint 61100979Srwatson__mac_set_proc(struct thread *td, struct __mac_set_proc_args *uap) 62100979Srwatson{ 63100979Srwatson 64100979Srwatson return (ENOSYS); 65100979Srwatson} 66100979Srwatson 67100979Srwatsonint 68100979Srwatson__mac_get_fd(struct thread *td, struct __mac_get_fd_args *uap) 69100894Srwatson{ 70100979Srwatson 71100979Srwatson return (ENOSYS); 72100979Srwatson} 73100979Srwatson 74100979Srwatsonint 75100979Srwatson__mac_get_file(struct thread *td, struct __mac_get_file_args *uap) 76100979Srwatson{ 77100979Srwatson 78100979Srwatson return (ENOSYS); 79100979Srwatson} 80100979Srwatson 81100979Srwatsonint 82100979Srwatson__mac_set_fd(struct thread *td, struct __mac_set_fd_args *uap) 83100979Srwatson{ 84100979Srwatson 85100979Srwatson return (ENOSYS); 86100979Srwatson} 87100979Srwatson 88101712Srwatsonint 89101712Srwatson__mac_set_file(struct thread *td, struct __mac_set_file_args *uap) 90101712Srwatson{ 91101712Srwatson 92101712Srwatson return (ENOSYS); 93101712Srwatson} 94101712Srwatson