mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
![]() 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> |
||
---|---|---|
.. | ||
libapparmor |