On Fri, Mar 07, 2014 at 09:31:42AM -0800, [email protected] wrote:
> Signed-off-by: John Johansen <[email protected]>

So, on actually reviewing this patch, as long as the Makefile snippet I
mentioned in my other reply to this patch is applied, I'm okay with this
patch: Acked-by: Steve Beattie <[email protected]>

I do have a comment:

> --- /dev/null
> +++ 2.9-test/parser/common_optarg.c

[SNIP]

> +void display_dump(const char *command)
> +{
> +     display_version();
> +     printf("\n%s: --dump [Option]\n\n"
> +            "Options:\n"
> +            "--------\n"
> +            "     none specified \tDump variables\n"

Can we kill the above line, because it's not an accurate reflection of
how the parser works:

  $ ./apparmor_parser -Q --dump  /etc/apparmor.d/sbin.portmap
  ./apparmor_parser: Invalid --Dump option /etc/apparmor.d/sbin.portmap

('apparmor-parser --dump variables' works as expected. I thought I
used to have a dump flag that would dump the variable table with the
variables expanded, but that seems to have gone away.)

> +            "     variables      \tDump variables\n"
> +            ,command);
> +     print_flag_table(dumpflag_table);
> +}
> +

-- 
Steve Beattie
<[email protected]>
http://NxNW.org/~steve/

Attachment: signature.asc
Description: Digital signature

-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to