summaryrefslogtreecommitdiffstats
path: root/kernel/audit.h
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2015-05-01 06:19:57 +0200
committerIngo Molnar <mingo@kernel.org>2015-05-08 12:04:36 +0200
commitb76808e6808e34e7e78131d2b8cb0535622b8e9f (patch)
tree6a5fad5eb7c7ec1aa78ae2deb9ff238701929162 /kernel/audit.h
parentsched: Move the loadavg code to a more obvious location (diff)
downloadlinux-b76808e6808e34e7e78131d2b8cb0535622b8e9f.tar.xz
linux-b76808e6808e34e7e78131d2b8cb0535622b8e9f.zip
signals, sched: Change all uses of JOBCTL_* from 'int' to 'long'
c56fb6564dcd ("Fix a misaligned load inside ptrace_attach()") makes jobctl an "unsigned long". It makes sense to have the masks applied to it match that type. This is currently just a cosmetic change, but it will prevent the mask from being unexpectedly truncated if we ever end up with masks with more bits. One instance of "signr" is an int, but I left this alone because the mask ensures that it will never overflow. Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Chris Metcalf <cmetcalf@ezchip.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Borislav Petkov <bp@alien8.de> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: bobby.prani@gmail.com Cc: oleg@redhat.com Cc: paulmck@linux.vnet.ibm.com Cc: richard@nod.at Cc: vdavydov@parallels.com Link: http://lkml.kernel.org/r/1430453997-32459-4-git-send-email-palmer@dabbelt.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/audit.h')
0 files changed, 0 insertions, 0 deletions