[apparmor] [Bug 1180230] Re: glob in aa-genprof repeats same option

Seth Arnold 1180230 at bugs.launchpad.net
Fri Jul 5 21:22:22 UTC 2013


I've checked this into trunk. I'm not sure about checking it into 2.8
though, since it introduces a requirement for Perl >= 5.10.1 via the ~~
operator: http://stackoverflow.com/a/3095066/377270

** Changed in: apparmor
     Assignee: Kshitij Gupta (kgupta8592) => AppArmor Developers (apparmor-dev)

** Changed in: apparmor
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of AppArmor
Developers, which is a bug assignee.
https://bugs.launchpad.net/bugs/1180230

Title:
  glob in aa-genprof repeats same option

Status in AppArmor Linux application security framework:
  Fix Committed

Bug description:
  When using glob, the glob does not check if the entries mentioned
  previously is repeated or not. Using a simple check to match against
  the previous entry will solve this and prevent such long pointless
  lists.

  | [(A)llow] / (D)eny / (G)lob / Glob w/(E)xt / (N)ew / Abo(r)t / (F)inish / (O)pts
  |
  | Profile:  /usr/sbin/mtr
  | Path:     /etc/gai.conf
  | Mode:     r
  | Severity: unknown
  |
  |
  | 1 - #include <abstractions/apache2-common> 
  |  2 - #include <abstractions/nameservice> 
  |  3 - /etc/gai.conf 
  |  4 - /etc/* 
  |  5 - /** 
  |  6 - /** 
  |  7 - /** 
  |  8 - /** 
  |  9 - /** 
  |  10 - /** 
  |  11 - /** 
  |  12 - /** 
  |  13 - /** 
  |  14 - /** 
  | [15 - /**]
  |
  | [(A)llow] / (D)eny / (G)lob / Glob w/(E)xt / (N)ew / Abo(r)t / (F)inish / (O)pts

  I'm assuming this is a problem with the AppArmor library based in Perl. I'm trying to work a way to fix it.
  (BTW, my first bug report ever.)

To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/1180230/+subscriptions



More information about the AppArmor mailing list