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 13:21:26 -0400
commitb9ba410625690e0b4d409cfaec6ff3a20de96e60 (patch)
tree47a316bbb9037afaf030428eedc837d04967a5c8 /src/util/util.h
parentd2cf8051e16220c74c66ada515d415479409088c (diff)
downloadsssd-b9ba410625690e0b4d409cfaec6ff3a20de96e60.tar.gz
sssd-b9ba410625690e0b4d409cfaec6ff3a20de96e60.tar.xz
sssd-b9ba410625690e0b4d409cfaec6ff3a20de96e60.zip
Add option to follow symlinks to check_file()
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