lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1433513419-7020-1-git-send-email-linux@roeck-us.net>
Date:	Fri,  5 Jun 2015 07:10:19 -0700
From:	Guenter Roeck <linux@...ck-us.net>
To:	Mikael Starvik <starvik@...s.com>
Cc:	Jesper Nilsson <jesper.nilsson@...s.com>,
	linux-cris-kernel@...s.com, linux-kernel@...r.kernel.org,
	Guenter Roeck <linux@...ck-us.net>,
	Chen Gang <gang.chen.5i5j@...il.com>
Subject: [PATCH -next] cris: Fix system call references for cris v10

The newly wired system calls cause compile errors when building
crisv10 images.

arch/cris/arch-v10/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x580): undefined reference to `_sys_sched_setattr'
arch/cris/arch-v10/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x584): undefined reference to `_sys_sched_getattr'
arch/cris/arch-v10/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x588): undefined reference to `_sys_renameat2'
arch/cris/arch-v10/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x58c): undefined reference to `_sys_seccomp'
arch/cris/arch-v10/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x590): undefined reference to `_sys_getrandom'
arch/cris/arch-v10/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x594): undefined reference to `_sys_memfd_create'
arch/cris/arch-v10/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x598): undefined reference to `_sys_bpf'
arch/cris/arch-v10/kernel/built-in.o: In function `sys_call_table':
(.rodata+0x59c): undefined reference to `_sys_execveat'

Fixes: 3e48d266639b ("CRIS: Wire up missing syscalls")
Cc: Chen Gang <gang.chen.5i5j@...il.com>
Signed-off-by: Guenter Roeck <linux@...ck-us.net>
---
 arch/cris/arch-v10/kernel/entry.S | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/arch/cris/arch-v10/kernel/entry.S b/arch/cris/arch-v10/kernel/entry.S
index d94c520dff10..b5622521dad5 100644
--- a/arch/cris/arch-v10/kernel/entry.S
+++ b/arch/cris/arch-v10/kernel/entry.S
@@ -955,14 +955,14 @@ sys_call_table:
 	.long sys_process_vm_writev
 	.long sys_kcmp			/* 350 */
 	.long sys_finit_module
-	.long _sys_sched_setattr
-	.long _sys_sched_getattr
-	.long _sys_renameat2
-	.long _sys_seccomp		/* 355 */
-	.long _sys_getrandom
-	.long _sys_memfd_create
-	.long _sys_bpf
-	.long _sys_execveat
+	.long sys_sched_setattr
+	.long sys_sched_getattr
+	.long sys_renameat2
+	.long sys_seccomp		/* 355 */
+	.long sys_getrandom
+	.long sys_memfd_create
+	.long sys_bpf
+	.long sys_execveat
 
         /*
          * NOTE!! This doesn't have to be exact - we just have
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ