[apparmor] [patch] apparmor-utils: Fix handling of files in / (apparmor-utils-filenames-in-slash)
Christian Boltz
apparmor at cboltz.de
Mon Aug 8 22:10:30 UTC 2011
Hello,
another bugfix from openSUSE:
From: Jeff Mahoney <jeffm at suse.com>
Subject: apparmor-utils: Fix handling of files in /
References: bnc#397883
The separate handling of files and directories with realpath is broken.
For files e.g. /foo, $dir ends up being empty since the / is eaten by
the regex. realpath resolves an empty argument as the current directory,
resulting in an incorrect path.
There's no explanation of why the separate handling was used in the
first place.
Signed-off-by: Jeff Mahoney <jeffm at suse.com>
Regards,
Christian Boltz
--
> Wenn Du KDE 1 an ein vier- und KDE 2 an ein dreibeiniges Schwein
> bindest und beide gleichzeitig trittst, läuft KDE 1 schneller. F'up.
Wenn du beide Schweine gleichzeitig trittst, landest du auf dem Hintern,
und dann bleiben beide Schweine vor Lachen stehn ;-)
[Robin S. Socha und André Schneider in dcoulm]
-------------- next part --------------
An embedded message was scrubbed...
From: Jeff Mahoney <jeffm at suse.com>
Subject: apparmor-utils: Fix handling of files in /
Date: no date
Size: 1012
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20110809/a34afcd2/attachment.mht>
More information about the AppArmor
mailing list