summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorDaniel Rosenberg <drosen@google.com>2017-06-20 17:05:33 -0700
committerDaniel Rosenberg <drosen@google.com>2017-06-27 17:05:03 -0700
commit575a44c7cc5e526ff0311eb66d5c6cb2d931406c (patch)
tree7c5d1f1b828348e21d72e462eed966352b4f0018 /security/selinux/hooks.c
parent77ddb509298785b46400c2944550be38623948b6 (diff)
ANDROID: squashfs: Fix signed division issue
The value here can change depending on the type that PAGE_SIZE has on a given architecture. To avoid the ensuing signed and unsigned division conversions, we shift instead using PAGE_SHIFT Signed-off-by: Daniel Rosenberg <drosen@google.com> Bug: 35257858 Change-Id: I132cae93abea39390c3f0f91a4b2e026e97ed4c7
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions