diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-10-05 17:52:06 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-10-13 13:18:14 -0400 |
commit | fe9cea3352b919f81ead0de5487ed593325b2ef0 (patch) | |
tree | 0dd1028ffe56f5c5b22d63edcaf897a3a200007f /src/util/util.h | |
parent | c2352a73f52f600d95966ebe0b0819649ba923fa (diff) | |
download | sssd-fe9cea3352b919f81ead0de5487ed593325b2ef0.tar.gz sssd-fe9cea3352b919f81ead0de5487ed593325b2ef0.tar.xz sssd-fe9cea3352b919f81ead0de5487ed593325b2ef0.zip |
Add option to follow symlinks to check_file()
Diffstat (limited to 'src/util/util.h')
-rw-r--r-- | src/util/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/util.h b/src/util/util.h index 6cc8a546c..9a0064717 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -429,7 +429,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 |