forked from luck/tmp_suning_uos_patched
x86: correctly wire up the newuname system call
Before commit e28cbf2293
("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: Andy Isaacson <adi@hexapodia.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
01bf0b6457
commit
4cecd935f6
|
@ -626,7 +626,7 @@ ia32_sys_call_table:
|
|||
.quad stub32_sigreturn
|
||||
.quad stub32_clone /* 120 */
|
||||
.quad sys_setdomainname
|
||||
.quad sys_uname
|
||||
.quad sys_newuname
|
||||
.quad sys_modify_ldt
|
||||
.quad compat_sys_adjtimex
|
||||
.quad sys32_mprotect /* 125 */
|
||||
|
|
Loading…
Reference in New Issue
Block a user