]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
UBUNTU: SAUCE: LSM stacking: make sure LSM blob align on 64 bit boundaries
authorJohn Johansen <john.johansen@canonical.com>
Thu, 28 Sep 2017 17:47:13 +0000 (13:47 -0400)
committerSeth Forshee <seth.forshee@canonical.com>
Tue, 10 Apr 2018 18:06:21 +0000 (13:06 -0500)
commit469fbb39b69c995a4ee4365eea3cf6e2658b5b71
tree4569717b8d388ffd5051dbf1bd8767651d7d47b2
parent6a3b4b47c47d9ef8fb35dc705a43c427c9d57623
UBUNTU: SAUCE: LSM stacking: make sure LSM blob align on 64 bit boundaries

BugLink: http://bugs.launchpad.net/bugs/1763062
The security->task blob reserving the first 12 bytes means that LSM
blobs don't align on 64 byte boundaries. This is not a problem
for x86 but if an LSM stores a long or ptr in its blob, then some
architectures require it be aligned to the arch word size and
will through a fault.

Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
security/security.c