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:20:14 -0400 |
commit | dbfc54be75b6d00879189e6f7ab82f65b17c1b9d (patch) | |
tree | 106fe315081669dd4a5c2ba422b741485cb193e9 /src/util/util.h | |
parent | 3620e966029229a7c246d1b79b0d3977699e6ab9 (diff) | |
download | sssd_unused-dbfc54be75b6d00879189e6f7ab82f65b17c1b9d.tar.gz sssd_unused-dbfc54be75b6d00879189e6f7ab82f65b17c1b9d.tar.xz sssd_unused-dbfc54be75b6d00879189e6f7ab82f65b17c1b9d.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 a59603d0..b267a0f6 100644 --- a/src/util/util.h +++ b/src/util/util.h @@ -335,7 +335,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 |