]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[S390] fix s390x_newuname
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 14 Nov 2008 17:18:09 +0000 (18:18 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 14 Nov 2008 17:18:55 +0000 (18:18 +0100)
commitd2f019fe40e8fecd822f87bc759f74925a5c31d6
treecf1cfbe33e7269da1f735ced528db02ab8f07f04
parenta9cffb227d59db526286cc9f84bf258e68a97470
[S390] fix s390x_newuname

The uname system call for 64 bit compares current->personality without
masking the upper 16 bits. If e.g. READ_IMPLIES_EXEC is set the result
of a uname system call will always be s390x even if the process uses
the s390 personality.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/sys_s390.c