Skip to content

binutils/aa-features-abi: fix a couple of minor issues

A small patch set to fix two issues with binutils/aa-features-abi:

  1. The aa-features-abi -f short argument was not added to the getopt_long() set of short arguments, resulting in the command incorrectly failing when passed -f
  2. Due to variable shadowing the file descriptor for the --file argument was not being autoclosed.
  • binutils/aa-features-abi: make -f short arg actually be accepted
  • binutils/aa-features-abi: fix failure to close fd due to shadowed var decl

Nominated for both trunk and the apparmor-3.0 branch.

Signed-off-by: Steve Beattie steve.beattie@canonical.com

Edited by Steve Beattie

Merge request reports