Commit 4cecd935 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

x86: correctly wire up the newuname system call

Before commit e28cbf22 ("improve
sys_newuname() for compat architectures") 64-bit x86 had a private
implementation of sys_uname which was just called sys_uname, which other
architectures used for the old uname.

Due to some merge issues with the uname refactoring patches we ended up
calling the old uname version for both the old and new system call
slots, which lead to the domainname filed never be set which caused
failures with libnss_nis.
Reported-and-tested-by: default avatarAndy Isaacson <adi@hexapodia.org>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 01bf0b64
...@@ -626,7 +626,7 @@ ia32_sys_call_table: ...@@ -626,7 +626,7 @@ ia32_sys_call_table:
.quad stub32_sigreturn .quad stub32_sigreturn
.quad stub32_clone /* 120 */ .quad stub32_clone /* 120 */
.quad sys_setdomainname .quad sys_setdomainname
.quad sys_uname .quad sys_newuname
.quad sys_modify_ldt .quad sys_modify_ldt
.quad compat_sys_adjtimex .quad compat_sys_adjtimex
.quad sys32_mprotect /* 125 */ .quad sys32_mprotect /* 125 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment