]> git.baikalelectronics.ru Git - kernel.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)
commit1a1ce3a06371c84a6a21b0a406fa6e14d999eb9e
treecf1cfbe33e7269da1f735ced528db02ab8f07f04
parentcfaf55a97634862205338a43efffadf788c9d0bd
[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