| Solaris |
|
|
libbsm(3LIB)'s adt_ interface enables to predefine a set of apriori known strings used in the text token so that you do not have to use those strings in an application directly. These are defined in adt.xml file.
uadmin(1M) binary generates audit events which contain text token fcn of type message list uadmin_fcn. uadmin_fcn list contains several messages specifying which action will be performed, eg. AD_BOOT for rebooting the system. Message list ID in adt_msg_list is ADT_LIST_UADMIN_FCN and AD_BOOT message can be referenced in the code as ADT_UADMIN_FCN_AD_BOOT.
Following pseudocode shows message lists in action:
... adt_event_data_t *event = NULL; enum adt_uadmin_fcn fcn_id; au_event_t event_id; ... event_id = ADT_uadmin_reboot; fcn_id = ADT_UADMIN_FCN_AD_BOOT; event->adt_uadmin_reboot.fcn = fcn_id; ... adt_put_event(event, ADT_SUCCESS, 0);
Terms of Use
|
Privacy
|
Trademarks
|
Copyright Policy
|
Site Guidelines
|
Site Map
|
Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
© 2012, Oracle Corporation and/or its affiliates.