From c15d09293bdfc90e94ef34369205cc6db9882607 Mon Sep 17 00:00:00 2001 From: Cristian Toader Date: Tue, 23 Jul 2013 14:01:53 +0300 Subject: added experimental support for open syscall path param --- src/common/compat.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/compat.c') diff --git a/src/common/compat.c b/src/common/compat.c index 69eb0643d0..5b153674ef 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -125,6 +125,7 @@ tor_open_cloexec(const char *path, int flags, unsigned mode) { int fd; #ifdef O_CLOEXEC + path = get_prot_param(path); fd = open(path, flags|O_CLOEXEC, mode); if (fd >= 0) return fd; -- cgit v1.2.3-54-g00ecf