summaryrefslogtreecommitdiffstats
path: root/src/util/util.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-10-05 17:52:06 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-10-13 14:16:45 -0400
commit2211199962d5e93e74531a415ea83888e44ee45e (patch)
tree1df8a0a138afc60302241283383ad33427a089db /src/util/util.h
parent10a3bd506cca2b055a39e4abf83198314c200399 (diff)
downloadsssd-2211199962d5e93e74531a415ea83888e44ee45e.tar.gz
sssd-2211199962d5e93e74531a415ea83888e44ee45e.tar.xz
sssd-2211199962d5e93e74531a415ea83888e44ee45e.zip
Append PID to sbus server socket name, let clients use a symlink
Add option to follow symlinks to check_file() Append PID to sbus server socket name, let clients use a symlink https://fedorahosted.org/sssd/ticket/1034
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 61fe7f6c2..8438e8ce3 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -333,7 +333,7 @@ enum check_file_type {
*/
errno_t check_file(const char *filename, const int uid, const int gid,
const int mode, enum check_file_type type,
- struct stat *caller_stat_buf);
+ struct stat *caller_stat_buf, bool follow_symlink);
/* check_fd()
* Verify that an open file descriptor has certain permissions and/or