priv.h (192577) | priv.h (193066) |
---|---|
1/*- 2 * Copyright (c) 2006 nCircle Network Security, Inc. 3 * All rights reserved. 4 * 5 * This software was developed by Robert N. M. Watson for the TrustedBSD 6 * Project under contract to nCircle Network Security, Inc. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * INC., OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 23 * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 24 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 25 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 26 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * | 1/*- 2 * Copyright (c) 2006 nCircle Network Security, Inc. 3 * All rights reserved. 4 * 5 * This software was developed by Robert N. M. Watson for the TrustedBSD 6 * Project under contract to nCircle Network Security, Inc. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 12 unchanged lines hidden (view full) --- 21 * INC., OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED 23 * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 24 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 25 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 26 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * |
29 * $FreeBSD: head/sys/sys/priv.h 192577 2009-05-22 09:59:34Z bz $ | 29 * $FreeBSD: head/sys/sys/priv.h 193066 2009-05-29 21:27:12Z jamie $ |
30 */ 31 32/* 33 * Privilege checking interface for BSD kernel. 34 */ 35#ifndef _SYS_PRIV_H_ 36#define _SYS_PRIV_H_ 37 --- 35 unchanged lines hidden (view full) --- 73#define PRIV_MSGBUF 11 /* Can read kernel message buffer. */ 74#define PRIV_IO 12 /* Can perform low-level I/O. */ 75#define PRIV_KEYBOARD 13 /* Reprogram keyboard. */ 76#define PRIV_DRIVER 14 /* Low-level driver privilege. */ 77#define PRIV_ADJTIME 15 /* Set time adjustment. */ 78#define PRIV_NTP_ADJTIME 16 /* Set NTP time adjustment. */ 79#define PRIV_CLOCK_SETTIME 17 /* Can call clock_settime. */ 80#define PRIV_SETTIMEOFDAY 18 /* Can call settimeofday. */ | 30 */ 31 32/* 33 * Privilege checking interface for BSD kernel. 34 */ 35#ifndef _SYS_PRIV_H_ 36#define _SYS_PRIV_H_ 37 --- 35 unchanged lines hidden (view full) --- 73#define PRIV_MSGBUF 11 /* Can read kernel message buffer. */ 74#define PRIV_IO 12 /* Can perform low-level I/O. */ 75#define PRIV_KEYBOARD 13 /* Reprogram keyboard. */ 76#define PRIV_DRIVER 14 /* Low-level driver privilege. */ 77#define PRIV_ADJTIME 15 /* Set time adjustment. */ 78#define PRIV_NTP_ADJTIME 16 /* Set NTP time adjustment. */ 79#define PRIV_CLOCK_SETTIME 17 /* Can call clock_settime. */ 80#define PRIV_SETTIMEOFDAY 18 /* Can call settimeofday. */ |
81#define PRIV_SETHOSTID 19 /* Can call sethostid. */ | 81#define _PRIV_SETHOSTID 19 /* Removed. */ |
82#define _PRIV_SETDOMAINNAME 20 /* Removed. */ 83 84/* 85 * Audit subsystem privileges. 86 */ 87#define PRIV_AUDIT_CONTROL 40 /* Can configure audit. */ 88#define PRIV_AUDIT_FAILSTOP 41 /* Can run during audit fail stop. */ 89#define PRIV_AUDIT_GETAUDIT 42 /* Can get proc audit properties. */ --- 404 unchanged lines hidden --- | 82#define _PRIV_SETDOMAINNAME 20 /* Removed. */ 83 84/* 85 * Audit subsystem privileges. 86 */ 87#define PRIV_AUDIT_CONTROL 40 /* Can configure audit. */ 88#define PRIV_AUDIT_FAILSTOP 41 /* Can run during audit fail stop. */ 89#define PRIV_AUDIT_GETAUDIT 42 /* Can get proc audit properties. */ --- 404 unchanged lines hidden --- |