summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-04-30 09:01:15 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-04-30 09:01:15 +0000
commit5018f0cf3687ac8fdf90e6f28dd04bf4ab001c36 (patch)
tree4a9a5f90f3a963a9e95d2cfe487464b600c98dac /lib
parent4f92ebab78078f7c8bd039422c61225b280897ae (diff)
Add futex(2) shim, bump minor.
Inputs from guenther@, ok kettenis@, visa@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/Symbols.list2
-rw-r--r--lib/libc/shlib_version2
-rw-r--r--lib/libc/sys/Makefile.inc3
3 files changed, 5 insertions, 2 deletions
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 \