|
Bugzilla – Full Text Bug Listing |
| Summary: | compilation fails on Solaris with BSM auditing enabled | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | River Tarnell <river> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.7.1 | ||
| Hardware: | PC | ||
| OS: | Solaris 2.x | ||
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. |
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.