apparmor/libraries/libapparmor
Steve Beattie 2d504e3c71 Subject: libapparmor: fix aa_change_hat token format string
This patch fixes the format string for the magic token in aa_change_hat
to match the type of the magic token (long). Without this, on 64
bit platforms, only the bottom 32 bits of the token would be used.
aa_change_hatv() has the correct format string, so an aa_change_hatv()
call followed by an exiting aa_change_hat() call would result in the
latter having a different token, which would cause the process to be
killed by apparmor.

(Hat tip to John Johansen for spotting the actual bug.)

Signed-off-by: Steve Beattie <steve@nxnw.org>
Acked-by: John Johansen <john.johansen@canonical.com>
2014-01-23 13:16:56 -08:00
..
doc fix broken URLs in various utils/*.pod files. 2013-09-19 21:17:39 +02:00
include libapparmor: move public headers to separate directory 2014-01-06 14:08:55 -08:00
m4 Subject: libapparmor - use python-config if it exists when configuring 2013-01-29 15:21:47 -08:00
src Subject: libapparmor: fix aa_change_hat token format string 2014-01-23 13:16:56 -08:00
swig libapparmor: move public headers to separate directory 2014-01-06 14:08:55 -08:00
testsuite libapparmor: move public headers to separate directory 2014-01-06 14:08:55 -08:00
AUTHORS libraries/libapparmor/: more license cleanups, adjust my email address 2011-02-23 14:02:45 -08:00
autogen.sh libapparmor: require libtoolize instead of libtool 2014-01-03 15:13:26 -08:00
ChangeLog move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
configure.ac libapparmor: move public headers to separate directory 2014-01-06 14:08:55 -08:00
COPYING.LGPL move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
INSTALL move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
libapparmor1.spec Bump versioning to AppArmor 2.5 2010-03-10 23:07:29 -08:00
Makefile.am libapparmor: move public headers to separate directory 2014-01-06 14:08:55 -08:00
NEWS move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
README move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00

What little documentation exists is in src/aalogparse.h.  Please file bugs using http://bugzilla.novell.com under the AppArmor product.