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]
Message-Id: <200702011520.46723.vapier@gentoo.org>
Date:	Thu, 1 Feb 2007 15:20:45 -0500
From:	Mike Frysinger <vapier@...too.org>
To:	rth@...ddle.net
Cc:	linux-kernel@...r.kernel.org, alpha@...too.org
Subject: epoll handling in the alpha port

the alpha linux port differs from all others when it comes to the epoll 
functions in that it uses '__NR_sys_epoll_XXX' instead of '__NR_epoll_XXX' in 
the asm/unistd.h header ... the trouble with this is that glibc maps the 
function name directly to an __NR_ define, so when it maps 
like 'epoll_create', it expects '__NR_epoll_create' (which it gets with all 
other architectures)

is there some obvious thing i'm missing here ?  or is the attached patch OK ?

Signed-off-by: Mike Frysinger <vapier@...too.org>
---
--- a/include/asm-alpha/unistd.h
+++ b/include/asm-alpha/unistd.h
@@ -342,9 +342,9 @@
 #define __NR_io_cancel			402
 #define __NR_exit_group			405
 #define __NR_lookup_dcookie		406
-#define __NR_sys_epoll_create		407
-#define __NR_sys_epoll_ctl		408
-#define __NR_sys_epoll_wait		409
+#define __NR_epoll_create		407
+#define __NR_epoll_ctl		408
+#define __NR_epoll_wait		409
 #define __NR_remap_file_pages		410
 #define __NR_set_tid_address		411
 #define __NR_restart_syscall		412
-
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