From: mpi Date: Sun, 30 Apr 2017 09:01:14 +0000 (+0000) Subject: Add futex(2) shim, bump minor. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=323da3f99f2fdc4e0381aee27e331f49ed315209;p=openbsd Add futex(2) shim, bump minor. Inputs from guenther@, ok kettenis@, visa@ --- diff --git a/lib/libc/Symbols.list b/lib/libc/Symbols.list index 46d319ab3cc..c26e08624c5 100644 --- a/lib/libc/Symbols.list +++ b/lib/libc/Symbols.list @@ -77,6 +77,7 @@ _thread_sys_fstatat _thread_sys_fstatfs _thread_sys_fsync _thread_sys_ftruncate +_thread_sys_futex _thread_sys_futimens _thread_sys_futimes _thread_sys_getdents @@ -272,6 +273,7 @@ fstatat fstatfs fsync ftruncate +futex futimens futimes getdents diff --git a/lib/libc/shlib_version b/lib/libc/shlib_version index 16eea0eb0a1..6793602e573 100644 --- a/lib/libc/shlib_version +++ b/lib/libc/shlib_version @@ -1,4 +1,4 @@ major=89 -minor=4 +minor=5 # note: If changes were made to include/thread_private.h or if system # calls were added/changed then librthread/shlib_version also be updated. diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc index bd6ccac5936..44a3efa9ba5 100644 --- a/lib/libc/sys/Makefile.inc +++ b/lib/libc/sys/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.148 2017/03/29 16:29:02 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.149 2017/04/30 09:01:14 mpi Exp $ # $NetBSD: Makefile.inc,v 1.35 1995/10/16 23:49:07 jtc Exp $ # @(#)Makefile.inc 8.1 (Berkeley) 6/17/93 @@ -87,6 +87,7 @@ DASM= ${ASM:.o=.do} # syscalls that CANNOT FAIL. They can return whatever value they want, # they just never want to set errno. ASM_NOERR=__get_tcb.o __set_tcb.o __threxit.o __thrsleep.o __thrwakeup.o \ + futex.o \ getdtablecount.o getegid.o geteuid.o getgid.o getlogin_r.o \ getpgrp.o getpid.o getppid.o getrtable.o getthrid.o getuid.o \ issetugid.o \