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.

I've scoured through some of the obvious libraries (libbsm, libtsol, etc) but 
never saw it in the latest Solaris 10 release (5/08). Perhaps it fell through 
the cracks or wasn't needed in that release. Or maybe it is in another library 
that I didn't see.

If not, is there an issue with using the adr_* routines directly to write a 
label into the audit log or with the BSM tools be confused by it. I do see a 
label token type described in audit_record_attr. Or are the adr_* routines 
verboten?
 
 
This message posted from opensolaris.org

Reply via email to