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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 15 Jan 2009 19:40:33 +0000
From:	Américo Wang <xiyou.wangcong@...il.com>
To:	LKML <linux-kernel@...r.kernel.org>
Cc:	jdike@...toit.com, user-mode-linux-devel@...ts.sourceforge.net,
	Andrew Morton <akpm@...l.org>
Subject: [Patch] uml: fix a link error


This patch fixes the following link error:

  LD      .tmp_vmlinux1                                             
  arch/um/sys-i386/built-in.o: In function sys_call_table':          
  (.rodata+0x308): undefined reference to sys_sigprocmask'           
  collect2: ld returned 1 exit status                                 
   KSYM    .tmp_kallsyms1.S                                          
   nm: '.tmp_vmlinux1': No such file                                   
   AS      .tmp_kallsyms1.o                                          
   LD      .tmp_vmlinux2 
   arch/um/sys-i386/built-in.o: In function sys_call_table':  
  (.rodata+0x308): undefined reference to sys_sigprocmask'  
  collect2: ld returned 1 exit status   
  make[1]: *** [.tmp_vmlinux2] Error 1   
  make: *** [sub-make] Error 2                               


Signed-off-by: WANG Cong <wangcong@...ux.org>
Cc: Jeff Dike <jdike@...toit.com>

---
diff --git a/arch/um/sys-i386/sys_call_table.S b/arch/um/sys-i386/sys_call_table.S
index 00e5f52..04147dc 100644
--- a/arch/um/sys-i386/sys_call_table.S
+++ b/arch/um/sys-i386/sys_call_table.S
@@ -6,6 +6,7 @@
 
 #define sys_vm86old sys_ni_syscall
 #define sys_vm86 sys_ni_syscall
+#define sys_sigprocmask sigprocmask
 
 #define old_mmap old_mmap_i386
 






--
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