summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorDoug Hogan <doug@cvs.openbsd.org>2014-09-01 05:09:54 +0000
committerDoug Hogan <doug@cvs.openbsd.org>2014-09-01 05:09:54 +0000
commit98ad40e7bd2ac80aa021209993730dc0f7375df1 (patch)
tree450c5258b42fef61b3a50e78efe1c53982fd194c /libexec
parent99bc60114269e8bc8dc8fea4d3ad3efaab0993c3 (diff)
Sync readlink(2) with IEEE Std 1003.1-2008.
discussion, help and ok guenther@
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.so/alpha/syscall.h4
-rw-r--r--libexec/ld.so/amd64/syscall.h4
-rw-r--r--libexec/ld.so/arm/syscall.h4
-rw-r--r--libexec/ld.so/hppa/syscall.h4
-rw-r--r--libexec/ld.so/i386/syscall.h4
-rw-r--r--libexec/ld.so/m88k/syscall.h4
-rw-r--r--libexec/ld.so/mips64/syscall.h4
-rw-r--r--libexec/ld.so/powerpc/syscall.h4
-rw-r--r--libexec/ld.so/sh/syscall.h4
-rw-r--r--libexec/ld.so/sparc/syscall.h4
-rw-r--r--libexec/ld.so/sparc64/syscall.h4
11 files changed, 22 insertions, 22 deletions
diff --git a/libexec/ld.so/alpha/syscall.h b/libexec/ld.so/alpha/syscall.h
index b9c8927701e..a4624a47130 100644
--- a/libexec/ld.so/alpha/syscall.h
+++ b/libexec/ld.so/alpha/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.27 2014/07/14 03:54:50 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.28 2014/09/01 05:09:52 doug Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -53,7 +53,7 @@ long _dl__syscall(quad_t, ...);
int _dl_sigprocmask(int, const sigset_t *, sigset_t *);
int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t);
int _dl_gettimeofday(struct timeval *, struct timezone *);
-int _dl_readlink(const char *, char *, size_t);
+ssize_t _dl_readlink(const char *, char *, size_t);
int _dl_lstat(const char *, struct stat *);
int _dl_getcwd(char *, size_t);
int _dl_utrace(const char *, const void *, size_t);
diff --git a/libexec/ld.so/amd64/syscall.h b/libexec/ld.so/amd64/syscall.h
index 91aa7ce285b..153013c6631 100644
--- a/libexec/ld.so/amd64/syscall.h
+++ b/libexec/ld.so/amd64/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.15 2014/07/14 03:54:50 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.16 2014/09/01 05:09:52 doug Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -53,7 +53,7 @@ ssize_t _dl_getdents(int, char *, size_t);
int _dl_sigprocmask(int, const sigset_t *, sigset_t *);
int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t);
int _dl_gettimeofday(struct timeval *, struct timezone *);
-int _dl_readlink(const char *, char *, size_t);
+ssize_t _dl_readlink(const char *, char *, size_t);
int _dl_lstat(const char *, struct stat *);
int _dl_getcwd(char *, size_t);
int _dl_utrace(const char *, const void *, size_t);
diff --git a/libexec/ld.so/arm/syscall.h b/libexec/ld.so/arm/syscall.h
index 2b56307b61b..5784fc7d661 100644
--- a/libexec/ld.so/arm/syscall.h
+++ b/libexec/ld.so/arm/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.15 2014/07/14 03:54:51 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.16 2014/09/01 05:09:53 doug Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -53,7 +53,7 @@ ssize_t _dl_getdents(int, char *, size_t);
int _dl_sigprocmask(int, const sigset_t *, sigset_t *);
int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t);
int _dl_gettimeofday(struct timeval *, struct timezone *);
-int _dl_readlink(const char *, char *, size_t);
+ssize_t _dl_readlink(const char *, char *, size_t);
int _dl_lstat(const char *, struct stat *);
int _dl_getcwd(char *, size_t);
int _dl_utrace(const char *, const void *, size_t);
diff --git a/libexec/ld.so/hppa/syscall.h b/libexec/ld.so/hppa/syscall.h
index da985444cac..60e9934a91b 100644
--- a/libexec/ld.so/hppa/syscall.h
+++ b/libexec/ld.so/hppa/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.15 2014/07/14 03:54:51 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.16 2014/09/01 05:09:53 doug Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -53,7 +53,7 @@ ssize_t _dl_getdents(int, char *, size_t);
int _dl_sigprocmask(int, const sigset_t *, sigset_t *);
int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t);
int _dl_gettimeofday(struct timeval *, struct timezone *);
-int _dl_readlink(const char *, char *, size_t);
+ssize_t _dl_readlink(const char *, char *, size_t);
int _dl_lstat(const char *, struct stat *);
int _dl_getcwd(char *, size_t);
int _dl_utrace(const char *, const void *, size_t);
diff --git a/libexec/ld.so/i386/syscall.h b/libexec/ld.so/i386/syscall.h
index 4653e472b27..4ceceded286 100644
--- a/libexec/ld.so/i386/syscall.h
+++ b/libexec/ld.so/i386/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.19 2014/07/14 03:54:51 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.20 2014/09/01 05:09:53 doug Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -53,7 +53,7 @@ ssize_t _dl_getdents(int, char *, size_t);
int _dl_sigprocmask(int, const sigset_t *, sigset_t *);
int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t);
int _dl_gettimeofday(struct timeval *, struct timezone *);
-int _dl_readlink(const char *, char *, size_t);
+ssize_t _dl_readlink(const char *, char *, size_t);
int _dl_lstat(const char *, struct stat *);
int _dl_getcwd(char *, size_t);
int _dl_utrace(const char *, const void *, size_t);
diff --git a/libexec/ld.so/m88k/syscall.h b/libexec/ld.so/m88k/syscall.h
index 08263dab696..3acc85938b4 100644
--- a/libexec/ld.so/m88k/syscall.h
+++ b/libexec/ld.so/m88k/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.11 2014/07/14 03:54:51 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.12 2014/09/01 05:09:53 doug Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -53,7 +53,7 @@ ssize_t _dl_getdents(int, char *, size_t);
int _dl_sigprocmask(int, const sigset_t *, sigset_t *);
int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t);
int _dl_gettimeofday(struct timeval *, struct timezone *);
-int _dl_readlink(const char *, char *, size_t);
+ssize_t _dl_readlink(const char *, char *, size_t);
int _dl_lstat(const char *, struct stat *);
int _dl_getcwd(char *, size_t);
int _dl_utrace(const char *, const void *, size_t);
diff --git a/libexec/ld.so/mips64/syscall.h b/libexec/ld.so/mips64/syscall.h
index ed866886b26..65c97232abc 100644
--- a/libexec/ld.so/mips64/syscall.h
+++ b/libexec/ld.so/mips64/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.17 2014/07/14 03:54:51 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.18 2014/09/01 05:09:53 doug Exp $ */
/*
* Copyright (c) 1998-2002 Opsycon AB, Sweden.
@@ -51,7 +51,7 @@ int _dl_mprotect(const void *, size_t, int);
int _dl_munmap(const void *, size_t);
int _dl_open(const char *, int);
ssize_t _dl_read(int, const char *, size_t);
-int _dl_readlink(const char *, char *, size_t);
+ssize_t _dl_readlink(const char *, char *, size_t);
int _dl_sigprocmask(int, const sigset_t *, sigset_t *);
long _dl__syscall(quad_t, ...);
int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t);
diff --git a/libexec/ld.so/powerpc/syscall.h b/libexec/ld.so/powerpc/syscall.h
index 15c4239b0c1..17e9054a907 100644
--- a/libexec/ld.so/powerpc/syscall.h
+++ b/libexec/ld.so/powerpc/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.35 2014/07/14 03:54:51 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.36 2014/09/01 05:09:53 doug Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -54,7 +54,7 @@ int _dl_mprotect(const void *, size_t, int);
int _dl_munmap(const void *, size_t);
int _dl_open(const char *, int);
ssize_t _dl_read(int, const char *, size_t);
-int _dl_readlink(const char *, char *, size_t);
+ssize_t _dl_readlink(const char *, char *, size_t);
int _dl_sigprocmask(int, const sigset_t *, sigset_t *);
long _dl__syscall(quad_t, ...);
int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t);
diff --git a/libexec/ld.so/sh/syscall.h b/libexec/ld.so/sh/syscall.h
index 2cc9fa1028b..dd3a7f3b558 100644
--- a/libexec/ld.so/sh/syscall.h
+++ b/libexec/ld.so/sh/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.13 2014/07/14 03:54:51 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.14 2014/09/01 05:09:53 doug Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -53,7 +53,7 @@ ssize_t _dl_getdents(int, char *, size_t);
int _dl_sigprocmask(int, const sigset_t *, sigset_t *);
int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t);
int _dl_gettimeofday(struct timeval *, struct timezone *);
-int _dl_readlink(const char *, char *, size_t);
+ssize_t _dl_readlink(const char *, char *, size_t);
int _dl_lstat(const char *, struct stat *);
int _dl_getcwd(char *, size_t);
int _dl_utrace(const char *, const void *, size_t);
diff --git a/libexec/ld.so/sparc/syscall.h b/libexec/ld.so/sparc/syscall.h
index fefe02114a7..6b59b396c4c 100644
--- a/libexec/ld.so/sparc/syscall.h
+++ b/libexec/ld.so/sparc/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.20 2014/07/14 03:54:51 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.21 2014/09/01 05:09:53 doug Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -53,7 +53,7 @@ ssize_t _dl_getdents(int, char *, size_t);
int _dl_sigprocmask(int, const sigset_t *, sigset_t *);
int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t);
int _dl_gettimeofday(struct timeval *, struct timezone *);
-int _dl_readlink(const char *, char *, size_t);
+ssize_t _dl_readlink(const char *, char *, size_t);
int _dl_lstat(const char *, struct stat *);
int _dl_getcwd(char *, size_t);
int _dl_utrace(const char *, const void *, size_t);
diff --git a/libexec/ld.so/sparc64/syscall.h b/libexec/ld.so/sparc64/syscall.h
index d13d4bbf88c..6a441075001 100644
--- a/libexec/ld.so/sparc64/syscall.h
+++ b/libexec/ld.so/sparc64/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.27 2014/07/14 03:54:51 deraadt Exp $ */
+/* $OpenBSD: syscall.h,v 1.28 2014/09/01 05:09:53 doug Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -53,7 +53,7 @@ ssize_t _dl_getdents(int, char *, size_t);
int _dl_sigprocmask(int, const sigset_t *, sigset_t *);
int _dl_sysctl(const int *, u_int, void *, size_t *, void *, size_t);
int _dl_gettimeofday(struct timeval *, struct timezone *);
-int _dl_readlink(const char *, char *, size_t);
+ssize_t _dl_readlink(const char *, char *, size_t);
int _dl_lstat(const char *, struct stat *);
int _dl_getcwd(char *, size_t);
int _dl_utrace(const char *, const void *, size_t);