]> git.proxmox.com Git - mirror_ubuntu-artful-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>
Thu, 28 Sep 2017 20:54:28 +0000 (16:54 -0400)
commitaf50aca1c60909b5eae7d794e54628573971c6d3
tree8c41a7537ef43183d7c8903e623704784bf39fe9
parent15d2143fcdde2be2e90ce08e81616b03776889c9
UBUNTU: SAUCE: LSM stacking: make sure LSM blob align on 64 bit boundaries

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