mac_vfs.c revision 100894
1171802Sdelphij/*- 2170808Sdelphij * Copyright (c) 1999, 2000, 2001, 2002 Robert N. M. Watson 3182739Sdelphij * Copyright (c) 2001 Ilmar S. Habibulin 4171802Sdelphij * Copyright (c) 2001, 2002 Networks Associates Technology, Inc. 5170808Sdelphij * All rights reserved. 6170808Sdelphij * 7170808Sdelphij * This software was developed by Robert Watson and Ilmar Habibulin for the 8170808Sdelphij * TrustedBSD Project. 9170808Sdelphij * 10170808Sdelphij * This software was developed for the FreeBSD Project in part by NAI Labs, 11170808Sdelphij * the Security Research Division of Network Associates, Inc. under 12170808Sdelphij * DARPA/SPAWAR contract N66001-01-C-8035 ("CBOSS"), as part of the DARPA 13170808Sdelphij * CHATS research program. 14170808Sdelphij * 15170808Sdelphij * Redistribution and use in source and binary forms, with or without 16170808Sdelphij * modification, are permitted provided that the following conditions 17170808Sdelphij * are met: 18170808Sdelphij * 1. Redistributions of source code must retain the above copyright 19170808Sdelphij * notice, this list of conditions and the following disclaimer. 20170808Sdelphij * 2. Redistributions in binary form must reproduce the above copyright 21170808Sdelphij * notice, this list of conditions and the following disclaimer in the 22170808Sdelphij * documentation and/or other materials provided with the distribution. 23170808Sdelphij * 3. The names of the authors may not be used to endorse or promote 24170808Sdelphij * products derived from this software without specific prior written 25170808Sdelphij * permission. 26170808Sdelphij * 27170808Sdelphij * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 28170808Sdelphij * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 29170808Sdelphij * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 30170808Sdelphij * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 31170808Sdelphij * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 32170808Sdelphij * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 33170808Sdelphij * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 34170808Sdelphij * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 35170808Sdelphij * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 36170808Sdelphij * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 37170808Sdelphij * SUCH DAMAGE. 38170808Sdelphij * 39170808Sdelphij * $FreeBSD: head/sys/security/mac/mac_vfs.c 100894 2002-07-30 02:04:05Z rwatson $ 40170808Sdelphij */ 41170808Sdelphij/* 42170808Sdelphij * Developed by the TrustedBSD Project. 43170808Sdelphij * 44170808Sdelphij * Framework for extensible kernel access control. Kernel and userland 45197850Sdelphij * interface to the framework, policy registration and composition. 46197850Sdelphij */ 47170808Sdelphij 48170808Sdelphij#include "opt_mac.h" 49170808Sdelphij#include <sys/param.h> 50170808Sdelphij#include <sys/sysproto.h> 51170808Sdelphij#include <sys/sysent.h> 52170808Sdelphij 53170808Sdelphijint 54170808Sdelphij__mac_get_proc(struct thread *td, struct __mac_get_proc_args *uap) 55170808Sdelphij{ 56188929Salc 57170808Sdelphij return (ENOSYS); 58170808Sdelphij} 59170808Sdelphij 60170808Sdelphijint 61170808Sdelphij__mac_set_proc(struct thread *td, struct __mac_set_proc_args *uap) 62170808Sdelphij{ 63170808Sdelphij 64170808Sdelphij return (ENOSYS); 65171069Sdelphij} 66170808Sdelphij 67170808Sdelphijint 68170808Sdelphij__mac_get_fd(struct thread *td, struct __mac_get_fd_args *uap) 69170808Sdelphij{ 70170808Sdelphij 71170808Sdelphij return (ENOSYS); 72170808Sdelphij} 73170808Sdelphij 74170808Sdelphijint 75170808Sdelphij__mac_get_file(struct thread *td, struct __mac_get_file_args *uap) 76170808Sdelphij{ 77170808Sdelphij 78170808Sdelphij return (ENOSYS); 79170808Sdelphij} 80191990Sattilio 81170808Sdelphijint 82170808Sdelphij__mac_set_fd(struct thread *td, struct __mac_set_fd_args *uap) 83170808Sdelphij{ 84170808Sdelphij 85170808Sdelphij return (ENOSYS); 86170808Sdelphij} 87170808Sdelphij 88170808Sdelphijint 89197953Sdelphij__mac_set_file(struct thread *td, struct __mac_set_file_args *uap) 90197953Sdelphij{ 91197953Sdelphij 92197953Sdelphij return (ENOSYS); 93197953Sdelphij} 94170808Sdelphij