[PATCH] Missed cross compile fixes

2015-07-22 Thread Clayton Shotwell
CPPFLAGS_FOR_BUILD. This change set should override those FLAGS variables properly. Signed-off-by: Clayton Shotwell --- auparse/Makefile.am | 185 +--- lib/Makefile.am | 85 +++- 2 files changed, 216 insertions(+), 54 deletions

[PATCH] Enable cross compiling

2015-07-16 Thread Clayton Shotwell
platform. The ax_prog_cc_for_build.m4 file was obtained from GNU at the link below. http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html Signed-off-by: Clayton Shotwell --- auparse/Makefile.am| 185 - configure.ac

Re: [PATCH 1/5] Enable cross compiling

2015-07-16 Thread Clayton Shotwell
Steve, Thanks for taking a look at my patch. On Wed, Jul 15, 2015 at 3:38 PM, Steve Grubb wrote: > On Thursday, May 28, 2015 08:04:05 AM Clayton Shotwell wrote: >> During the audit build, several lookup tables are generated as header >> files that are then linked in with the ex

[PATCH 0/5] Audit Cross Compile Fixes

2015-05-28 Thread Clayton Shotwell
received from the community. https://www.redhat.com/archives/linux-audit/2012-November/msg0.html Any feedback would be greatly appreciated. Clayton Shotwell (5): Enable cross compiling Make zos-remote plugin optional Default ADDR_NO_RANDOMIZE if not found Do not call posix_fallocate() if

[PATCH 2/5] Make zos-remote plugin optional

2015-05-28 Thread Clayton Shotwell
The zos-remote plugin is meant to use LDAP authentication to verify a remote audit user. Add the ability to disable the plugin if the feature is not desired. Signed-off-by: Clayton Shotwell --- audisp/plugins/Makefile.am | 6 -- configure.ac | 10 ++ 2 files changed

[PATCH 4/5] Do not call posix_fallocate() if unavailable

2015-05-28 Thread Clayton Shotwell
uClibc does not implement posix_fallocate(), and posix_fallocate() is mostly only an hint to the kernel that we will need such or such amount of space inside a file. Adding a check around the posix_fallocate() call so it is only called when it is available. Signed-off-by: Clayton Shotwell

[PATCH 1/5] Enable cross compiling

2015-05-28 Thread Clayton Shotwell
ax_prog_cc_for_build.m4 file was obtained from GNU at the link below. http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html Signed-off-by: Clayton Shotwell --- auparse/Makefile.am| 276 ++--- configure.ac | 1 + lib/Makefile.am

[PATCH 5/5] Fix header detection when cross compiling

2015-05-28 Thread Clayton Shotwell
, do not check for MS_DIRSYNC in the configure and simply check to see if MS_DIRSYNC is defined before included linux/fs.h. Signed-off-by: Clayton Shotwell --- configure.ac | 1 - lib/gen_tables.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac

[PATCH 3/5] Default ADDR_NO_RANDOMIZE if not found

2015-05-28 Thread Clayton Shotwell
Some older toolchains do not declare ADDR_NO_RANDOMIZE. Add a check for it during configure and default it if it is not found. Signed-off-by: Clayton Shotwell --- auparse/interpret.c | 4 configure.ac| 1 + 2 files changed, 5 insertions(+) diff --git a/auparse/interpret.c b

[PATCH 3/3] Audit Cross Compile Support

2013-09-26 Thread Clayton Shotwell
Steve, This patch strips down the gen_tables.c to make the preprocessor output slightly smaller. This is not necessary for the other two patches to work but I thought it would be best to remove unused code. Thanks, Clayton Clayton Shotwell Software Engineer clsho...@rockwellcollins.com

[PATCH 0/3] Audit Cross Compile Support

2013-09-26 Thread Clayton Shotwell
ig problem if released. Sorry for the long delay but here are the patches. Please let me know if you have any issues with them. Thanks, Clayton Clayton Shotwell Software Engineer clsho...@rockwellcollins.com www.rockwellcollins.com -- Linux-audit mailing list Linux-audit@redhat.com https://