From 33bb6bec1605b35f8903eaa0bf90a80ab665abd1 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Wed, 29 Dec 2010 16:24:59 +0000 Subject: consolidate getpeerid code with linux. fix enable_socket default fix man page from Stevan Andjelkovic --- linux/util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'linux/util.h') diff --git a/linux/util.h b/linux/util.h index d0ad170..46c75ad 100644 --- a/linux/util.h +++ b/linux/util.h @@ -29,3 +29,6 @@ int fmt_scaled(long long number, char *result); * fmt_scaled(3) specific flags. (from OpenBSD util.h) */ #define FMT_SCALED_STRSIZE 7 /* minus sign, 4 digits, suffix, null byte */ + +int getpeereid(int s, uid_t *euid, gid_t *gid); + -- cgit 1.4.1-2-gfad0