From: Guy Streeter Date: Tue, 8 May 2007 07:25:12 +0000 (-0700) Subject: Cap shmmax at INT_MAX in compat shminfo X-Git-Tag: v2.6.22-rc1~769 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af7c693f146069a1f44739acef9abf1bc27f7247;p=pandora-kernel.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed