diff options
Diffstat (limited to 'usr/src/lib/libbsm/common/devalloc.h')
-rw-r--r-- | usr/src/lib/libbsm/common/devalloc.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/usr/src/lib/libbsm/common/devalloc.h b/usr/src/lib/libbsm/common/devalloc.h index 7952a302f5..12ec8732d2 100644 --- a/usr/src/lib/libbsm/common/devalloc.h +++ b/usr/src/lib/libbsm/common/devalloc.h @@ -20,7 +20,7 @@ */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -44,6 +44,9 @@ extern "C" { #define DA_UID (uid_t)0 /* root */ #define DA_GID (gid_t)3 /* sys */ +#define ALLOC_MODE 0600 +#define DEALLOC_MODE 0000 + #define LOGINDEVPERM "/etc/logindevperm" #define DA_DB_LOCK "/etc/security/.da_db_lock" #define DA_DEV_LOCK "/etc/security/.da_dev_lock" @@ -79,12 +82,6 @@ extern "C" { #define DA_ANYUSER "*" #define DA_NOUSER "@" -#define ALLOC_UID (uid_t)0 /* root */ -#define ALLOC_GID (gid_t)3 /* sys */ -#define ALLOC_ERRID (uid_t)2 /* bin */ -#define ALLOC_MODE 0600 -#define DEALLOC_MODE 0000 - #define DA_SILENT 0x00000001 #define DA_VERBOSE 0x00000002 #define DA_ADD 0x00000004 |