commit | e5609acdef8b6634be1fa81756a4ad188b0c69f0 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Wed Feb 06 14:12:41 2013 -0800 |
committer | ChromeBot <chrome-bot@google.com> | Wed Feb 06 17:38:06 2013 -0800 |
tree | 565e487cea3fad62916304d9991ce55082ab4ccd | |
parent | 323878a2faabdd6a34327718120bb410bbf8edd2 [diff] |
capabilities: correct the <<-operator width everwhere The <<-operator here needs to always be 64bit, so use a variable instead of trying to pick the right bit width, which will be arch-sensitive. BUG=chromium-os:38643 TEST=link and daisy build, both pass security_Minijail Change-Id: Ifab3037bf74f09256924993a8e91315b4b0ac998 Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/42806 Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>