[apparmor] [patch 2/6] abstract out cap and net proto generation to common/Make.rules

2012-03-22 Thread Steve Beattie
This patch abstracts out the generation of the lists of capabilities and network protocol names to the common Make.rules file that is included in most locations in the build tree, to allow it to be re-used in the utils/ tree and possibly elsewhere. It provides the lists in both make variables and

Re: [apparmor] [patch 2/6] abstract out cap and net proto generation to common/Make.rules

2012-03-22 Thread Kees Cook
On Thu, Mar 22, 2012 at 10:06:09AM -0700, Steve Beattie wrote: It also sorts the resulting lists, which causes it to output differently than the before case. I did confirm that the results for the generated files used in the parser build were the same after taking the sorting into account.

Re: [apparmor] [patch 2/6] abstract out cap and net proto generation to common/Make.rules

2012-03-22 Thread Christian Boltz
Hello, (also affects patch 3/6, but splitting the mail wouldn't make sense) Am Donnerstag, 22. März 2012 schrieb Steve Beattie: This patch abstracts out the generation of the lists of capabilities and network protocol names to the common Make.rules file that is included in most locations in

Re: [apparmor] [patch 2/6] abstract out cap and net proto generation to common/Make.rules

2012-03-22 Thread Jamie Strandboge
On Thu, 2012-03-22 at 23:20 +0100, Christian Boltz wrote: --- a/common/Make.rules +++ b/common/Make.rules @@ -151,6 +151,40 @@ _clean: -rm -f ${MANPAGES} *.[0-9].gz ${HTMLMANPAGES} pod2htm*.tmp # = +# generate list of capabilities based on +#