Bug 356 - compilation fails on Solaris with BSM auditing enabled
compilation fails on Solaris with BSM auditing enabled
Status: RESOLVED INVALID
Product: Sudo
Classification: Unclassified
Component: Sudo
1.7.1
PC Solaris 2.x
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-05 02:46 MDT by River Tarnell
Modified: 2009-06-05 08:59 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description River Tarnell 2009-06-05 02:46:26 MDT
when configured with BSM auditing on Solaris, sudo fails to compile:

$ gmake
cc -c -I. -I. -I/opt/ts/include -I/opt/ts/openldap/2.4/include  -D__EXTENSIONS__ -D_PATH_SUDOERS=\"/etc/opt/ts/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440  ./bsm_audit.c
"./bsm_audit.c", line 52: undefined symbol: AUE_sudo
"./bsm_audit.c", line 112: undefined symbol: AUE_sudo
"./bsm_audit.c", line 132: warning: argument #2 is incompatible with prototype:
        prototype: pointer to char : "/usr/include/bsm/libbsm.h", line 217
        argument : pointer to long
"./bsm_audit.c", line 171: undefined symbol: AUE_sudo
cc: acomp failed for ./bsm_audit.c
gmake: *** [bsm_audit.o] Error 2

Tested on Solaris 10 Update 7.
Comment 1 Todd C. Miller 2009-06-05 08:59:22 MDT
Solaris does not provide a sudo audit record type so sudo cannot use BSM auditing on solaris.  This is a limitation of solaris BSM, not a sudo bug.