> I was trying to use the BSM audit logging facilities in Solaris and had the > need to log a label. I found the library function au_to_label() in the > opensolaris source code (checked in on March 24, 2006) that would seem to do > the trick. However, I need the code to run on existing Solaris 10 w/TX as > well.
While there are a number of audit API's documented in the 3BSM man pages, they tend to be low level and not really convenient to use. And never use anything that is not documented in a man page. That is unsupported. au_to_label() is not documented, thus unsupported. Unfortunately, creating audit events, records and writing to the Solaris Audit trail is not well supported for OpenSolaris developers. Someone from the internal Solaris Audit team will be in touch to try to understand your needs and see how they may be accommodated in the present environment. Gary..