Deleted Added
full compact
mac_bsdextended.h (157986) mac_bsdextended.h (171253)
1/*-
2 * Copyright (c) 1999-2002 Robert N. M. Watson
3 * Copyright (c) 2001-2004 Networks Associates Technology, Inc.
4 * All rights reserved.
5 *
6 * This software was developed by Robert Watson for the TrustedBSD Project.
7 *
8 * This software was developed for the FreeBSD Project in part by Network

--- 17 unchanged lines hidden (view full) ---

26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
1/*-
2 * Copyright (c) 1999-2002 Robert N. M. Watson
3 * Copyright (c) 2001-2004 Networks Associates Technology, Inc.
4 * All rights reserved.
5 *
6 * This software was developed by Robert Watson for the TrustedBSD Project.
7 *
8 * This software was developed for the FreeBSD Project in part by Network

--- 17 unchanged lines hidden (view full) ---

26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * $FreeBSD: head/sys/security/mac_bsdextended/mac_bsdextended.h 157986 2006-04-23 17:06:18Z dwmalone $
34 * $FreeBSD: head/sys/security/mac_bsdextended/mac_bsdextended.h 171253 2007-07-05 13:16:04Z rwatson $
35 */
36
37#ifndef _SYS_SECURITY_MAC_BSDEXTENDED_H
38#define _SYS_SECURITY_MAC_BSDEXTENDED_H
39
40#define MB_VERSION 2 /* Used to check library and kernel are the same. */
41
42/*
35 */
36
37#ifndef _SYS_SECURITY_MAC_BSDEXTENDED_H
38#define _SYS_SECURITY_MAC_BSDEXTENDED_H
39
40#define MB_VERSION 2 /* Used to check library and kernel are the same. */
41
42/*
43 * Rights that can be represented in mbr_mode. These have the same values
44 * as the V* rights in vnode.h, but in order to avoid sharing user and
45 * kernel constants, we define them here. That will also improve ABI
46 * stability if the in-kernel values change.
43 * Rights that can be represented in mbr_mode. These have the same values as
44 * the V* rights in vnode.h, but in order to avoid sharing user and kernel
45 * constants, we define them here. That will also improve ABI stability if
46 * the in-kernel values change.
47 */
48#define MBI_EXEC 000100
49#define MBI_WRITE 000200
50#define MBI_READ 000400
51#define MBI_ADMIN 010000
52#define MBI_STAT 020000
53#define MBI_APPEND 040000
54#define MBI_ALLPERM (MBI_EXEC | MBI_WRITE | MBI_READ | MBI_ADMIN | \

--- 60 unchanged lines hidden ---
47 */
48#define MBI_EXEC 000100
49#define MBI_WRITE 000200
50#define MBI_READ 000400
51#define MBI_ADMIN 010000
52#define MBI_STAT 020000
53#define MBI_APPEND 040000
54#define MBI_ALLPERM (MBI_EXEC | MBI_WRITE | MBI_READ | MBI_ADMIN | \

--- 60 unchanged lines hidden ---