aboutsummaryrefslogtreecommitdiffstats
path: root/include/acpi/acresrc.h
diff options
context:
space:
mode:
authorGuy Streeter <streeter@redhat.com>2007-05-08 03:25:12 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-08 14:15:00 -0400
commitaf7c693f146069a1f44739acef9abf1bc27f7247 (patch)
tree424f1417dd3c7ace9323aaca4b7b757c8bb7af03 /include/acpi/acresrc.h
parentee527cd3a20c2aeaac17d939e5d011f7a76d69f5 (diff)
Cap shmmax at INT_MAX in compat shminfo
The value of shmmax may be larger than will fit in the struct used by the 32bit compat version of sys_shmctl. This change mirrors what the normal sys_shmctl does when called with the old IPC_INFO command. Signed-off-by: Guy Streeter <streeter@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/acpi/acresrc.h')
0 files changed, 0 insertions, 0 deletions