[Pkg-shadow-devel] [Pkg-shadow-commits] newgrp.c fails to build with audit support
Nicolas François
nicolas.francois at centraliens.net
Sun Apr 6 23:12:00 UTC 2008
Hi,
On Sun, Apr 06, 2008 at 06:23:13PM -0400, vapier at gentoo.org wrote:
> looks like the HAVE_AUDIT logic has fallen out of sync. some functions use an
> audit buffer that is only declared in the main function. building shadow
> with --with-audit bombs out:
> newgrp.c: In function ‘check_perms’:
> newgrp.c:169: error: ‘audit_buf’ undeclared (first use in this function)
> newgrp.c:169: error: (Each undeclared identifier is reported only once
> newgrp.c:169: error: for each function it appears in.)
> newgrp.c: In function ‘syslog_sg’:
> newgrp.c:269: error: ‘audit_buf’ undeclared (first use in this function)
Thanks a lot. I will fix it in the repository.
It's strange because I'm running a script to test various configure
options, and --with-audit was one of them. Maybe my script is wrong or
--with-audit does not enable WITH_AUDIT.
configure ends with:
auditing support: yes
but WITH_AUDIT is still undefined in config.h
I will also check this.
Best Regards,
--
Nekral
More information about the Pkg-shadow-devel
mailing list