summaryrefslogtreecommitdiff
path: root/pkg/openbsd/include
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2018-11-01 22:22:51 -0700
committerMichael Forney <mforney@mforney.org>2018-11-03 01:16:52 -0700
commit3838ad3380912036fe7c6b9e912e3bf07257357b (patch)
tree4cf437e69565eaca0830946f2d2cf5dd482734f4 /pkg/openbsd/include
parent6156b3e1c5da8a9d356d6f063f3a5b2ed11f5ef0 (diff)
openbsd: Update to 6.4
Diffstat (limited to 'pkg/openbsd/include')
-rw-r--r--pkg/openbsd/include/grp.h3
-rw-r--r--pkg/openbsd/include/pwd.h3
-rw-r--r--pkg/openbsd/include/unistd.h3
3 files changed, 6 insertions, 3 deletions
diff --git a/pkg/openbsd/include/grp.h b/pkg/openbsd/include/grp.h
index b1cee552..c59cf968 100644
--- a/pkg/openbsd/include/grp.h
+++ b/pkg/openbsd/include/grp.h
@@ -1,3 +1,4 @@
#include_next <grp.h>
#define setgroupent(n) setgrent()
-char *group_from_gid(gid_t, int);
+const char *group_from_gid(gid_t, int);
+int gid_from_group(const char *, gid_t *);
diff --git a/pkg/openbsd/include/pwd.h b/pkg/openbsd/include/pwd.h
index bb28a69f..c1aabba7 100644
--- a/pkg/openbsd/include/pwd.h
+++ b/pkg/openbsd/include/pwd.h
@@ -1,3 +1,4 @@
#include_next <pwd.h>
#define setpassent(n) setpwent()
-char *user_from_uid(uid_t, int);
+const char *user_from_uid(uid_t, int);
+int uid_from_user(const char *, uid_t *);
diff --git a/pkg/openbsd/include/unistd.h b/pkg/openbsd/include/unistd.h
index 17e14240..f77113e2 100644
--- a/pkg/openbsd/include/unistd.h
+++ b/pkg/openbsd/include/unistd.h
@@ -1,3 +1,4 @@
#include_next <unistd.h>
-#define pledge(request, paths) 0 /* linux doesn't have pledge */
+#define pledge(request, paths) 0 /* linux doesn't have pledge */
+#define unveil(path, permissions) 0 /* linux doesn't have unveil */
int getentropy(void *, size_t);