* Audit Cross Compile Support
@ 2013-09-20 12:33 clshotwe
2013-09-20 13:36 ` LC Bruzenak
2013-09-20 16:07 ` Steve Grubb
0 siblings, 2 replies; 11+ messages in thread
From: clshotwe @ 2013-09-20 12:33 UTC (permalink / raw)
To: linux-audit
[-- Attachment #1.1: Type: text/plain, Size: 1107 bytes --]
Everyone,
I apologize for my previous patch submission (8/23/2013 set of patches)
without any background information. I am looking to cross compile audit
for the ARM and PPC platforms. I am not sure if this has been looked into
before but I would get some feedback on a general approach.
I tried to do a base cross compile but I ran into an issue when the table
header files are generated, the executable generated by the makefile were
built for the target and not the host. I modified the makefile to build
them for the host but I realized the executables would pull in the headers
from the host rather than the target. I attempted to work around this by
porting the gen_tables.c algorithm to a python script to duplicate the
header file generation using the target headers rather than the host. Is
this a good approach? Is there a better way that this could be done a
better way that does not use python? Is this a desired feature?
Any feedback would be greatly appreciated.
Thanks,
Clayton
Clayton Shotwell
Software Engineer
clshotwe@rockwellcollins.com
www.rockwellcollins.com
[-- Attachment #1.2: Type: text/html, Size: 1503 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Audit Cross Compile Support
2013-09-20 12:33 Audit Cross Compile Support clshotwe
@ 2013-09-20 13:36 ` LC Bruzenak
[not found] ` <CAC2S8kgC4Riy_8y0znbDFjQPo0AAaxZEe7uwc7bZqCWXzfcU6A@mail.gmail.com>
2013-09-20 16:07 ` Steve Grubb
1 sibling, 1 reply; 11+ messages in thread
From: LC Bruzenak @ 2013-09-20 13:36 UTC (permalink / raw)
To: linux-audit
[-- Attachment #1.1: Type: text/plain, Size: 1133 bytes --]
On 09/20/2013 07:33 AM, clshotwe@rockwellcollins.com wrote:
> Everyone,
>
> I apologize for my previous patch submission (8/23/2013 set of
> patches) without any background information. I am looking to cross
> compile audit for the ARM and PPC platforms. I am not sure if this
> has been looked into before but I would get some feedback on a general
> approach.
>
> I tried to do a base cross compile but I ran into an issue when the
> table header files are generated, the executable generated by the
> makefile were built for the target and not the host. I modified the
> makefile to build them for the host but I realized the executables
> would pull in the headers from the host rather than the target. I
> attempted to work around this by porting the gen_tables.c algorithm to
> a python script to duplicate the header file generation using the
> target headers rather than the host. Is this a good approach? Is
> there a better way that this could be done a better way that does not
> use python? Is this a desired feature?
I use mock. It's pretty straightforward.
LCB
--
LC (Lenny) Bruzenak
lenny@magitekltd.com
[-- Attachment #1.2: Type: text/html, Size: 2131 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: Audit Cross Compile Support
2013-09-20 12:33 Audit Cross Compile Support clshotwe
2013-09-20 13:36 ` LC Bruzenak
@ 2013-09-20 16:07 ` Steve Grubb
2013-09-20 17:54 ` clshotwe
2013-09-26 18:54 ` [PATCH 0/3] " Clayton Shotwell
1 sibling, 2 replies; 11+ messages in thread
From: Steve Grubb @ 2013-09-20 16:07 UTC (permalink / raw)
To: linux-audit; +Cc: clshotwe
On Friday, September 20, 2013 07:33:46 AM clshotwe@rockwellcollins.com wrote:
> I apologize for my previous patch submission (8/23/2013 set of patches)
> without any background information. I am looking to cross compile audit
> for the ARM and PPC platforms. I am not sure if this has been looked into
> before but I would get some feedback on a general approach.
The main thing I would have to to do to pull it in is make sure it produces
equivalent headers. I also need to see that "make check" still works, too. Its
caught bugs in the past that would have been a big problem if released.
-Steve
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Audit Cross Compile Support
2013-09-20 16:07 ` Steve Grubb
@ 2013-09-20 17:54 ` clshotwe
2013-09-26 18:54 ` [PATCH 0/3] " Clayton Shotwell
1 sibling, 0 replies; 11+ messages in thread
From: clshotwe @ 2013-09-20 17:54 UTC (permalink / raw)
To: Steve Grubb; +Cc: linux-audit
[-- Attachment #1.1: Type: text/plain, Size: 704 bytes --]
Steve,
Steve Grubb <sgrubb@redhat.com> wrote on 09/20/2013 11:07:23 AM:
> The main thing I would have to to do to pull it in is make
> sure it produces
> equivalent headers. I also need to see that "make check"
> still works, too. Its
> caught bugs in the past that would have been a big problem
> if released.
I have done some base testing with the Python script I wrote and couldn't
find any differences in the output generated. My main concern is adding
dependencies on python and pyparsing to the build process. Would you like
for me to resubmit the patch set I created for testing?
Thanks,
Clayton
Clayton Shotwell
Software Engineer
clshotwe@rockwellcollins.com
www.rockwellcollins.com
[-- Attachment #1.2: Type: text/html, Size: 1065 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 0/3] Audit Cross Compile Support
2013-09-20 16:07 ` Steve Grubb
2013-09-20 17:54 ` clshotwe
@ 2013-09-26 18:54 ` Clayton Shotwell
1 sibling, 0 replies; 11+ messages in thread
From: Clayton Shotwell @ 2013-09-26 18:54 UTC (permalink / raw)
To: Steve Grubb; +Cc: linux-audit
[-- Attachment #1.1: Type: text/plain, Size: 528 bytes --]
Steve,
Steve Grubb <sgrubb@redhat.com> wrote on 09/20/2013 11:07:23 AM:
> The main thing I would have to to do to pull it in is make sure it
produces
> equivalent headers. I also need to see that "make check" still
> works, too. Its
> caught bugs in the past that would have been a big 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
clshotwe@rockwellcollins.com
www.rockwellcollins.com
[-- Attachment #1.2: Type: text/html, Size: 845 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Audit Cross Compile Support
@ 2013-11-12 10:15 AKASHI Takahiro
2013-11-14 16:05 ` clshotwe
0 siblings, 1 reply; 11+ messages in thread
From: AKASHI Takahiro @ 2013-11-12 10:15 UTC (permalink / raw)
To: clshotwe; +Cc: linux-audit@redhat.com
Hello Clayton,
I picked up your patches and tried to cross-build the package for
AArch64. In the following code of lib/gen_tables.py,
parser.add_argument('--i2s', dest='gen_i2s', action='',
should be
parser.add_argument('--i2s', dest='gen_i2s', action='store_true',
Right?
-Takahiro AKASHI
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: Audit Cross Compile Support
2013-11-12 10:15 AKASHI Takahiro
@ 2013-11-14 16:05 ` clshotwe
0 siblings, 0 replies; 11+ messages in thread
From: clshotwe @ 2013-11-14 16:05 UTC (permalink / raw)
To: AKASHI Takahiro; +Cc: linux-audit@redhat.com
[-- Attachment #1.1: Type: text/plain, Size: 799 bytes --]
AKASHI Takahiro <takahiro.akashi@linaro.org> wrote on 11/12/2013 04:15:36
AM:
> From: AKASHI Takahiro <takahiro.akashi@linaro.org>
> To: clshotwe@rockwellcollins.com
> Cc: "linux-audit@redhat.com" <linux-audit@redhat.com>
> Date: 11/12/2013 04:17 AM
> Subject: Audit Cross Compile Support
>
> Hello Clayton,
>
> I picked up your patches and tried to cross-build the package for
> AArch64. In the following code of lib/gen_tables.py,
>
> parser.add_argument('--i2s', dest='gen_i2s', action='',
>
> should be
>
> parser.add_argument('--i2s', dest='gen_i2s', action='store_true',
>
> Right?
Yes it should be. Thanks for catching that. Would you like updated
patches sent out?
Thanks,
Clayton
Clayton Shotwell
Software Engineer
clshotwe@rockwellcollins.com
www.rockwellcollins.com
[-- Attachment #1.2: Type: text/html, Size: 1395 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2013-11-14 16:05 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-20 12:33 Audit Cross Compile Support clshotwe
2013-09-20 13:36 ` LC Bruzenak
[not found] ` <CAC2S8kgC4Riy_8y0znbDFjQPo0AAaxZEe7uwc7bZqCWXzfcU6A@mail.gmail.com>
2013-09-20 15:18 ` clshotwe
2013-09-20 15:30 ` LC Bruzenak
[not found] ` <523C684F.5030901@magitekltd.com>
2013-09-20 15:35 ` LC Bruzenak
2013-09-20 15:40 ` clshotwe
2013-09-20 16:07 ` Steve Grubb
2013-09-20 17:54 ` clshotwe
2013-09-26 18:54 ` [PATCH 0/3] " Clayton Shotwell
-- strict thread matches above, loose matches on Subject: below --
2013-11-12 10:15 AKASHI Takahiro
2013-11-14 16:05 ` clshotwe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox