summaryrefslogtreecommitdiff
path: root/usr/src/lib/libbsm/common/devalloc.h
diff options
context:
space:
mode:
authoraj <none@none>2007-06-21 10:39:47 -0700
committeraj <none@none>2007-06-21 10:39:47 -0700
commit10ddde3aee60d88fa580028fcf7642a87e80a2c6 (patch)
treed7d477bfb38c88169915ac216139ad9f3a669179 /usr/src/lib/libbsm/common/devalloc.h
parentf9aa3e1e897e74b50458e34d6c88abb9a7a08aed (diff)
downloadillumos-joyent-10ddde3aee60d88fa580028fcf7642a87e80a2c6.tar.gz
6535551 TX DA GUI behaves incorrectly if multiple rapid updates to TX DA database are done
6542809 TX: add_allocatable/remove_allocatable don't play well with other instances of themselves 6545689 device_clean scripts should be able to return a "CANCEL" return code 6549055 TX: deallocate(1), list_devices(1) should allow operation on classes of devices
Diffstat (limited to 'usr/src/lib/libbsm/common/devalloc.h')
-rw-r--r--usr/src/lib/libbsm/common/devalloc.h11
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