public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
* [PATCH 0/5] Audit Cross Compile Fixes
@ 2015-05-28 13:04 Clayton Shotwell
  2015-05-28 13:04 ` [PATCH 1/5] Enable cross compiling Clayton Shotwell
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Clayton Shotwell @ 2015-05-28 13:04 UTC (permalink / raw)
  To: linux-audit

The following are 5 patches that I have been working on for a while to
allow the audit package to cross compile correctly for various targets.
This work is all being done to add audit along with SELinux to the
Buildroot build system. Most of the changes are minor and only relate
to compile time issues with toolchains, such as uClibc, and missing
dependencies. See the link below for the Buildroot patch submission.

http://buildroot-busybox.2317881.n4.nabble.com/PATCH-v6-00-22-SELinux-Buildroot-Additions-td102124.html

The one major patch enables cross compiling support for the gen_tables.c
functionality. Since gen_tables needs to be run on the host rather than
the target, I had to add Automake support for handling the host compiler.
I based these changes off of a patch set done a couple of years ago (See
link below), a similar patch set I and done, while incorporating the
feedback received from the community.

https://www.redhat.com/archives/linux-audit/2012-November/msg00000.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 unavailable
  Fix header detection when cross compiling

 audisp/plugins/Makefile.am    |   6 +-
 audisp/plugins/remote/queue.c |   2 +
 auparse/Makefile.am           | 276 ++++++++++++++++++++++++++++--------------
 auparse/interpret.c           |   4 +
 configure.ac                  |  14 ++-
 lib/Makefile.am               | 133 ++++++++++++--------
 lib/gen_tables.c              |   2 +-
 m4/ax_prog_cc_for_build.m4    | 125 +++++++++++++++++++
 8 files changed, 420 insertions(+), 142 deletions(-)
 create mode 100644 m4/ax_prog_cc_for_build.m4

-- 
1.9.1

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-07-16 13:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-28 13:04 [PATCH 0/5] Audit Cross Compile Fixes Clayton Shotwell
2015-05-28 13:04 ` [PATCH 1/5] Enable cross compiling Clayton Shotwell
2015-07-15 20:38   ` Steve Grubb
2015-07-16 13:12     ` Clayton Shotwell
2015-05-28 13:04 ` [PATCH 2/5] Make zos-remote plugin optional Clayton Shotwell
2015-05-28 13:04 ` [PATCH 3/5] Default ADDR_NO_RANDOMIZE if not found Clayton Shotwell
2015-05-28 13:04 ` [PATCH 4/5] Do not call posix_fallocate() if unavailable Clayton Shotwell
2015-05-28 13:04 ` [PATCH 5/5] Fix header detection when cross compiling Clayton Shotwell
2015-07-15 20:55 ` [PATCH 0/5] Audit Cross Compile Fixes Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox