summaryrefslogtreecommitdiff
path: root/src/util/util.h
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-03-08 15:27:14 +0100
committerSimo Sorce <simo@redhat.com>2013-03-13 14:41:38 -0400
commit7800c9da75ad0dc3b4a530b15adce86d6c4f26e5 (patch)
treedcfc6899b784dba3b24df2a5c3de39d00f4da007 /src/util/util.h
parent22d381367c27910fe82f476a76b9f4ede555e35a (diff)
downloadsssd-7800c9da75ad0dc3b4a530b15adce86d6c4f26e5.tar.gz
sssd-7800c9da75ad0dc3b4a530b15adce86d6c4f26e5.tar.bz2
sssd-7800c9da75ad0dc3b4a530b15adce86d6c4f26e5.zip
More generalized function open_debug_file_ex()
Function open_debug_file_ex() set flag FD_CLOEXEC to opened file according to the value of third parameter. Removed duplicity of unsetting FD_CLOEXEC after calling function open_debug_file_ex()
Diffstat (limited to 'src/util/util.h')
-rw-r--r--src/util/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/util.h b/src/util/util.h
index d5ff9bb0..e61a94f7 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -336,7 +336,7 @@ safealign_memcpy(void *dest, const void *src, size_t n, size_t *counter)
/* From debug.c */
void ldb_debug_messages(void *context, enum ldb_debug_level level,
const char *fmt, va_list ap);
-int open_debug_file_ex(const char *filename, FILE **filep);
+int open_debug_file_ex(const char *filename, FILE **filep, bool want_cloexec);
int open_debug_file(void);
int rotate_debug_files(void);
void talloc_log_fn(const char *msg);