/* * DO NOT EDIT. This file is auto generated by the Solaris Audit * system from adt.xml. * * See http://opensolaris.org/os/project/audit/ */ package com.sun.audit; public class AuditEvent { protected AuditSession sh; // associated session object public AuditEvent(AuditSession auSession) throws Error { sh = auSession; } // Manifest values: keep them in sync with generated . // It is generated by $SRC/lib/libbsm/auditxml public static final int ADT_SUCCESS = 0; // generated public static final int ADT_FAILURE = -1; // generated // See the subclasses of AuditEvent for mapping message codes // to events // adt_fail_pam public static final int ADT_FAIL_PAM = 2000; // adt_fail_value public static final int ADT_FAIL_VALUE = 1000; // Attribute update public static final int ADT_FAIL_VALUE_PW_ATTR = 1000; // Password update public static final int ADT_FAIL_VALUE_PW = 1001; // bad username public static final int ADT_FAIL_VALUE_USERNAME = 1002; // authorization failed public static final int ADT_FAIL_VALUE_AUTH = 1003; // bad uid public static final int ADT_FAIL_VALUE_UID = 1004; // unknown failure public static final int ADT_FAIL_VALUE_UNKNOWN = 1005; // password expired public static final int ADT_FAIL_VALUE_EXPIRED = 1006; // Account is locked public static final int ADT_FAIL_VALUE_ACCOUNT_LOCKED = 1007; // Bad dial up public static final int ADT_FAIL_VALUE_BAD_DIALUP = 1008; // Invalid ID public static final int ADT_FAIL_VALUE_BAD_ID = 1009; // Invalid password public static final int ADT_FAIL_VALUE_BAD_PW = 1010; // Not on console public static final int ADT_FAIL_VALUE_CONSOLE = 1011; // Too many failed attempts public static final int ADT_FAIL_VALUE_MAX_TRIES = 1012; // Protocol failure public static final int ADT_FAIL_VALUE_PROTOCOL_FAILURE = 1013; // Excluded user public static final int ADT_FAIL_VALUE_EXCLUDED_USER = 1014; // No anonymous public static final int ADT_FAIL_VALUE_ANON_USER = 1015; // Invalid command public static final int ADT_FAIL_VALUE_BAD_CMD = 1016; // Standard input not a tty line public static final int ADT_FAIL_VALUE_BAD_TTY = 1017; // Program failure public static final int ADT_FAIL_VALUE_PROGRAM = 1018; // chdir to home directory public static final int ADT_FAIL_VALUE_CHDIR_FAILED = 1019; // Input line too long. public static final int ADT_FAIL_VALUE_INPUT_OVERFLOW = 1020; // login device override public static final int ADT_FAIL_VALUE_DEVICE_PERM = 1021; // authorization bypass public static final int ADT_FAIL_VALUE_AUTH_BYPASS = 1022; // login disabled public static final int ADT_FAIL_VALUE_LOGIN_DISABLED = 1023; // adt_login_text // Deprecated message list // public static final int ADT_LOGIN_NO_MSG = 0; // Account is locked public static final int ADT_LOGIN_ACCOUNT_LOCKED = 1; // Bad dial up public static final int ADT_LOGIN_BAD_DIALUP = 2; // Invalid ID public static final int ADT_LOGIN_BAD_ID = 3; // Invalid password public static final int ADT_LOGIN_BAD_PW = 4; // Not on console public static final int ADT_LOGIN_CONSOLE = 5; // Too many failed attempts public static final int ADT_LOGIN_MAX_TRIES = 6; // Protocol failure public static final int ADT_LOGIN_PROTOCOL_FAILURE = 7; // Excluded user public static final int ADT_LOGIN_EXCLUDED_USER = 8; // No anonymous public static final int ADT_LOGIN_ANON_USER = 9; // adt_tpm_e public static final int ADT_TPM_E = 4000; // Authentication failed public static final int ADT_TPM_E_AUTHFAIL = 4000; // The index to a PCR, DIR or other register is incorrect public static final int ADT_TPM_E_BADINDEX = 4001; // One or more parameter is bad public static final int ADT_TPM_E_BAD_PARAMETER = 4002; // auditing of the operation failed. public static final int ADT_TPM_E_AUDITFAILURE = 4003; // clear operations now physical access public static final int ADT_TPM_E_CLEAR_DISABLED = 4004; // The TPM is deactivated public static final int ADT_TPM_E_DEACTIVATED = 4005; // The TPM is disabled public static final int ADT_TPM_E_DISABLED = 4006; // The target command has been disabled public static final int ADT_TPM_E_DISABLED_CMD = 4007; // The operation failed public static final int ADT_TPM_E_FAIL = 4008; // The ordinal was unknown or inconsistent public static final int ADT_TPM_E_BAD_ORDINAL = 4009; // The ability to install an owner is disabled public static final int ADT_TPM_E_INSTALL_DISABLED = 4010; // The key handle can not be interpreted public static final int ADT_TPM_E_INVALID_KEYHANDLE = 4011; // The key handle points to an invalid key public static final int ADT_TPM_E_KEYNOTFOUND = 4012; // Unacceptable encryption scheme public static final int ADT_TPM_E_INAPPROPRIATE_ENC = 4013; // Migration authorization failed public static final int ADT_TPM_E_MIGRATEFAIL = 4014; // PCR information could not be interpreted public static final int ADT_TPM_E_INVALID_PCR_INFO = 4015; // No room to load key. public static final int ADT_TPM_E_NOSPACE = 4016; // There is no SRK set public static final int ADT_TPM_E_NOSRK = 4017; // An encrypted blob is invalid or was not created by this TPM public static final int ADT_TPM_E_NOTSEALED_BLOB = 4018; // There is already an Owner public static final int ADT_TPM_E_OWNER_SET = 4019; // The TPM has insufficient internal resources public static final int ADT_TPM_E_RESOURCES = 4020; // A random string was too short public static final int ADT_TPM_E_SHORTRANDOM = 4021; // The TPM does not have the space to perform the operation. public static final int ADT_TPM_E_SIZE = 4022; // The named PCR value does not match the current PCR value. public static final int ADT_TPM_E_WRONGPCRVAL = 4023; // The paramSize argument has the incorrect value public static final int ADT_TPM_E_BAD_PARAM_SIZE = 4024; // There is no existing SHA-1 thread. public static final int ADT_TPM_E_SHA_THREAD = 4025; // SHA-1 thread encountered an error. public static final int ADT_TPM_E_SHA_ERROR = 4026; // Self-test has failed and the TPM has shutdown. public static final int ADT_TPM_E_FAILEDSELFTEST = 4027; // The auth for the second key failed authorization public static final int ADT_TPM_E_AUTH2FAIL = 4028; // The tag value sent to for a command is invalid public static final int ADT_TPM_E_BADTAG = 4029; // An IO error occurred transmitting information to the TPM public static final int ADT_TPM_E_IOERROR = 4030; // The encryption process had a problem. public static final int ADT_TPM_E_ENCRYPT_ERROR = 4031; // The decryption process did not complete. public static final int ADT_TPM_E_DECRYPT_ERROR = 4032; // An invalid handle was used. public static final int ADT_TPM_E_INVALID_AUTHHANDLE = 4033; // The TPM does not a EK installed public static final int ADT_TPM_E_NO_ENDORSEMENT = 4034; // The usage of a key is not allowed public static final int ADT_TPM_E_INVALID_KEYUSAGE = 4035; // The submitted entity type is not allowed public static final int ADT_TPM_E_WRONG_ENTITYTYPE = 4036; // The command was received in the wrong sequence public static final int ADT_TPM_E_INVALID_POSTINIT = 4037; // Signed data cannot include additional DER information public static final int ADT_TPM_E_INAPPROPRIATE_SIG = 4038; // The key properties are not supported by this TPM public static final int ADT_TPM_E_BAD_KEY_PROPERTY = 4039; // The migration properties of this key are incorrect. public static final int ADT_TPM_E_BAD_MIGRATION = 4040; // Incorrect signature or encryption scheme public static final int ADT_TPM_E_BAD_SCHEME = 4041; // The size of the data parameter is bad public static final int ADT_TPM_E_BAD_DATASIZE = 4042; // A mode parameter is bad public static final int ADT_TPM_E_BAD_MODE = 4043; // physicalPresence or physicalPresenceLock bits have wrong value public static final int ADT_TPM_E_BAD_PRESENCE = 4044; // The TPM cannot perform this version of the capability public static final int ADT_TPM_E_BAD_VERSION = 4045; // The TPM does not allow for wrapped transport sessions public static final int ADT_TPM_E_NO_WRAP_TRANSPORT = 4046; // TPM audit construction failed for failed command public static final int ADT_TPM_E_AUDITFAIL_UNSUCCESSFUL = 4047; // TPM audit construction failed for successful command public static final int ADT_TPM_E_AUDITFAIL_SUCCESSFUL = 4048; // PCR register does not have the resettable attribute public static final int ADT_TPM_E_NOTRESETABLE = 4049; // PCR register requires locality public static final int ADT_TPM_E_NOTLOCAL = 4050; // Make identity blob not properly typed public static final int ADT_TPM_E_BAD_TYPE = 4051; // Resource type does not match actual resource public static final int ADT_TPM_E_INVALID_RESOURCE = 4052; // Command only available when TPM is in FIPS mode public static final int ADT_TPM_E_NOTFIPS = 4053; // The command is attempting to use an invalid family ID public static final int ADT_TPM_E_INVALID_FAMILY = 4054; // The permission to manipulate the NV storage is not available public static final int ADT_TPM_E_NO_NV_PERMISSION = 4055; // The operation requires a signed command public static final int ADT_TPM_E_REQUIRES_SIGN = 4056; // Wrong operation to load an NV key public static final int ADT_TPM_E_KEY_NOTSUPPORTED = 4057; // NV_LoadKey blob requires both owner and blob authorization public static final int ADT_TPM_E_AUTH_CONFLICT = 4058; // The NV area is locked and not writable public static final int ADT_TPM_E_AREA_LOCKED = 4059; // The locality is incorrect for the attempted operation public static final int ADT_TPM_E_BAD_LOCALITY = 4060; // The NV area is read only and can't be written to public static final int ADT_TPM_E_READ_ONLY = 4061; // There is no protection on the write to the NV area public static final int ADT_TPM_E_PER_NOWRITE = 4062; // The family count value does not match public static final int ADT_TPM_E_FAMILYCOUNT = 4063; // The NV area has already been written to public static final int ADT_TPM_E_WRITE_LOCKED = 4064; // The NV area attributes conflict public static final int ADT_TPM_E_BAD_ATTRIBUTES = 4065; // The tag and version are invalid or inconsistent public static final int ADT_TPM_E_INVALID_STRUCTURE = 4066; // The key evicted by the TPM Owner. public static final int ADT_TPM_E_KEY_OWNER_CONTROL = 4067; // The counter handle is incorrect public static final int ADT_TPM_E_BAD_COUNTER = 4068; // The write is not a complete write of the area public static final int ADT_TPM_E_NOT_FULLWRITE = 4069; // The gap between saved context counts is too large public static final int ADT_TPM_E_CONTEXT_GAP = 4070; // Max number of NV writes without owner has been exceeded public static final int ADT_TPM_E_MAXNVWRITES = 4071; // No operator AuthData value is set public static final int ADT_TPM_E_NOOPERATOR = 4072; // The resource pointed to by context is not loaded public static final int ADT_TPM_E_RESOURCEMISSING = 4073; // The delegate administration is locked public static final int ADT_TPM_E_DELEGATE_LOCK = 4074; // Attempt to manage a family other then the delegated family public static final int ADT_TPM_E_DELEGATE_FAMILY = 4075; // Delegation table management not enabled public static final int ADT_TPM_E_DELEGATE_ADMIN = 4076; // Command executed outside of exclusive transport session public static final int ADT_TPM_E_TRANSPORT_NOTEXCLUSIVE = 4077; // Attempt to context save a owner evict controlled key public static final int ADT_TPM_E_OWNER_CONTROL = 4078; // DAA command has no resources available to execute the command public static final int ADT_TPM_E_DAA_RESOURCES = 4079; // The consistency check on DAA parameter inputData0 has failed. public static final int ADT_TPM_E_DAA_INPUT_DATA0 = 4080; // The consistency check on DAA parameter inputData1 has failed. public static final int ADT_TPM_E_DAA_INPUT_DATA1 = 4081; // The consistency check on DAA_issuerSettings has failed. public static final int ADT_TPM_E_DAA_ISSUER_SETTINGS = 4082; // The consistency check on DAA_tpmSpecific has failed. public static final int ADT_TPM_E_DAA_TPM_SETTINGS = 4083; // Atomic process indicated by DAA command is not the expected process. public static final int ADT_TPM_E_DAA_STAGE = 4084; // Inconsistent issuer validity public static final int ADT_TPM_E_DAA_ISSUER_VALIDITY = 4085; // The consistency check on w has failed. public static final int ADT_TPM_E_DAA_WRONG_W = 4086; // The handle is incorrect public static final int ADT_TPM_E_BAD_HANDLE = 4087; // Delegation is not correct public static final int ADT_TPM_E_BAD_DELEGATE = 4088; // The context blob is invalid public static final int ADT_TPM_E_BADCONTEXT = 4089; // Too many contexts held by the TPM public static final int ADT_TPM_E_TOOMANYCONTEXTS = 4090; // Migration authority signature validation failure public static final int ADT_TPM_E_MA_TICKET_SIGNATURE = 4091; // Migration destination not authenticated public static final int ADT_TPM_E_MA_DESTINATION = 4092; // Migration source incorrect public static final int ADT_TPM_E_MA_SOURCE = 4093; // Incorrect migration authority public static final int ADT_TPM_E_MA_AUTHORITY = 4094; // Attempt to revoke the EK and the EK is not revocable public static final int ADT_TPM_E_PERMANENTEK = 4095; // Bad signature of CMK ticket public static final int ADT_TPM_E_BAD_SIGNATURE = 4096; // There is no room in the context list for additional contexts public static final int ADT_TPM_E_NOCONTEXTSPACE = 4097; // The TPM is too busy to respond to the command immediately public static final int ADT_TPM_E_RETRY = 4098; // SelfTestFull has not been run public static final int ADT_TPM_E_NEEDS_SELFTEST = 4099; // The TPM is currently executing a full selftest public static final int ADT_TPM_E_DOING_SELFTEST = 4100; // TPM is defending against dictionary attacks public static final int ADT_TPM_E_DEFEND_LOCK_RUNNING = 4101; // public static final int ADT_TPM_E_NO_MSG = 4102; // adt_uadmin_fcn public static final int ADT_UADMIN_FCN = 3000; // Halt the processor(s) public static final int ADT_UADMIN_FCN_AD_HALT = 3000; // Halt the processor(s) and turn off the power public static final int ADT_UADMIN_FCN_AD_POWEROFF = 3001; // Reboot the system using the kernel file public static final int ADT_UADMIN_FCN_AD_BOOT = 3002; // Interactive reboot public static final int ADT_UADMIN_FCN_AD_IBOOT = 3003; // Save the system state to the state file public static final int ADT_UADMIN_FCN_AD_SUSPEND_TO_DISK = 3004; // Check if system supports suspend to disk public static final int ADT_UADMIN_FCN_AD_CHECK_SUSPEND_TO_DISK = 3005; // Force suspend to disk even when threads of user applications are not suspendable public static final int ADT_UADMIN_FCN_AD_FORCE = 3006; // Save the system state to memory public static final int ADT_UADMIN_FCN_AD_SUSPEND_TO_RAM = 3007; // Check if system supports suspend to memory public static final int ADT_UADMIN_FCN_AD_CHECK_SUSPEND_TO_RAM = 3008; // Single-user reboot public static final int ADT_UADMIN_FCN_AD_SBOOT = 3009; // Single-user interactive reboot public static final int ADT_UADMIN_FCN_AD_SIBOOT = 3010; // Do not sync filesystems on next A_DUMP public static final int ADT_UADMIN_FCN_AD_NOSYNC = 3011; // Reboot bypassing BIOS and boot loader public static final int ADT_UADMIN_FCN_AD_FASTREBOOT = 3012; // Check if system supports reboot bypassing BIOS and boot loader public static final int ADT_UADMIN_FCN_AD_FASTREBOOT_DRYRUN = 3013; // Update boot configuration parameters public static final int ADT_UADMIN_FCN_AD_UPDATE_BOOT_CONFIG = 3014; // Prepare for AD_REUSABLE public static final int ADT_UADMIN_FCN_AD_REUSEINIT = 3015; // Create reusable statefile public static final int ADT_UADMIN_FCN_AD_REUSABLE = 3016; // Revert to normal CPR mode (not reusable) public static final int ADT_UADMIN_FCN_AD_REUSEFINI = 3017; // ftrace start public static final int ADT_UADMIN_FCN_AD_FTRACE_START = 3018; // ftrace stop public static final int ADT_UADMIN_FCN_AD_FTRACE_STOP = 3019; }