apparmor/libraries/libapparmor
Steve Beattie 2b51489cef Subject: libapparmor: fix aa_change_hat token format string
Merge from trunk commit rev 2329.

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:18:25 -08:00
..
doc fix broken URLs in various utils/*.pod files. 2013-09-19 21:21:43 +02:00
m4 Subject: libapparmor - use python-config if it exists when configuring 2013-07-02 10:35:36 -07:00
src Subject: libapparmor: fix aa_change_hat token format string 2014-01-23 13:18:25 -08:00
swig The m4 shipped to handle Python was incorrectly clearing 2012-04-25 12:15:19 -07:00
testsuite The following patch extends the libraries log parsing to support more date 2013-01-08 12:51:07 -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 21:53:14 -08:00
ChangeLog move libapparmor into the libraries directory 2008-05-19 22:48:31 +00:00
configure.in Subject: libapparmor - add pkgconfig support 2013-01-03 17:26:27 -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 move libapparmor into the libraries directory 2008-05-19 22:48:31 +00: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.