1/*- 2 * Copyright (c) 1999, 2000, 2001, 2002 Robert N. M. Watson 3 * Copyright (c) 2001 Ilmar S. Habibulin 4 * Copyright (c) 2001, 2002, 2003 Networks Associates Technology, Inc. 5 * All rights reserved. 6 * 7 * This software was developed by Robert Watson and Ilmar Habibulin for the 8 * TrustedBSD Project. --- 21 unchanged lines hidden (view full) --- 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 */ 36 37#include <sys/cdefs.h> |
38__FBSDID("$FreeBSD: head/sys/security/mac/mac_vfs.c 122159 2003-11-06 03:42:43Z rwatson $"); |
39 40#include "opt_mac.h" 41#include "opt_devfs.h" 42 43#include <sys/param.h> 44#include <sys/condvar.h> 45#include <sys/extattr.h> 46#include <sys/imgact.h> --- 129 unchanged lines hidden (view full) --- 176mac_copy_vnode_label(struct label *src, struct label *dest) 177{ 178 179 MAC_PERFORM(copy_vnode_label, src, dest); 180} 181 182int 183mac_externalize_vnode_label(struct label *label, char *elements, |
184 char *outbuf, size_t outbuflen) |
185{ 186 int error; 187 188 MAC_EXTERNALIZE(vnode, label, elements, outbuf, outbuflen); 189 190 return (error); 191} 192 --- 784 unchanged lines hidden --- |