From 10ddde3aee60d88fa580028fcf7642a87e80a2c6 Mon Sep 17 00:00:00 2001 From: aj Date: Thu, 21 Jun 2007 10:39:47 -0700 Subject: 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 --- usr/src/lib/libbsm/common/devalloc.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'usr/src/lib/libbsm/common/devalloc.h') 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 -- cgit v1.2.3