summaryrefslogtreecommitdiff
path: root/src/basic/fd-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-04-26 14:57:04 +0200
committerLennart Poettering <lennart@poettering.net>2016-04-26 14:57:04 +0200
commitd7fe83bbc23d9976433fddaf6509cc6bebc0ecdd (patch)
treee5748844e740c3e7452040154fd3035b304eaee8 /src/basic/fd-util.h
parent6e3930c40f3379b7123e505a71ba4cd6db6c372f (diff)
parent4aeb20f5aaec25ef969989b64d37377913b2a1ef (diff)
Merge pull request #3093 from poettering/nspawn-userns-magic
nspawn automatic user namespaces
Diffstat (limited to 'src/basic/fd-util.h')
-rw-r--r--src/basic/fd-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/fd-util.h b/src/basic/fd-util.h
index 44528c6e35..b86e41698a 100644
--- a/src/basic/fd-util.h
+++ b/src/basic/fd-util.h
@@ -72,6 +72,8 @@ void cmsg_close_all(struct msghdr *mh);
bool fdname_is_valid(const char *s);
+int fd_get_path(int fd, char **ret);
+
/* Hint: ENETUNREACH happens if we try to connect to "non-existing" special IP addresses, such as ::5 */
#define ERRNO_IS_DISCONNECT(r) \
IN_SET(r, ENOTCONN, ECONNRESET, ECONNREFUSED, ECONNABORTED, EPIPE, ENETUNREACH)