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/sbus | |
parent | c2352a73f52f600d95966ebe0b0819649ba923fa (diff) | |
download | sssd-fe9cea3352b919f81ead0de5487ed593325b2ef0.tar.gz sssd-fe9cea3352b919f81ead0de5487ed593325b2ef0.tar.bz2 sssd-fe9cea3352b919f81ead0de5487ed593325b2ef0.zip |
Add option to follow symlinks to check_file()
Diffstat (limited to 'src/sbus')
-rw-r--r-- | src/sbus/sbus_client.c | 2 | ||||
-rw-r--r-- | src/sbus/sssd_dbus_server.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sbus/sbus_client.c b/src/sbus/sbus_client.c index 1c5c1b24..5b15ef3e 100644 --- a/src/sbus/sbus_client.c +++ b/src/sbus/sbus_client.c @@ -46,7 +46,7 @@ int sbus_client_init(TALLOC_CTX *mem_ctx, return EIO; } - ret = check_file(filename, 0, 0, 0600, CHECK_SOCK, NULL); + ret = check_file(filename, 0, 0, 0600, CHECK_SOCK, NULL, false); if (ret != EOK) { DEBUG(1, ("check_file failed for [%s].\n", filename)); return EIO; diff --git a/src/sbus/sssd_dbus_server.c b/src/sbus/sssd_dbus_server.c index 1bb58d49..fdcbc4ff 100644 --- a/src/sbus/sssd_dbus_server.c +++ b/src/sbus/sssd_dbus_server.c @@ -120,7 +120,7 @@ int sbus_new_server(TALLOC_CTX *mem_ctx, return EIO; } - ret = check_file(filename, 0, 0, -1, CHECK_SOCK, &stat_buf); + ret = check_file(filename, 0, 0, -1, CHECK_SOCK, &stat_buf, false); if (ret != EOK) { DEBUG(1, ("check_file failed for [%s].\n", filename)); return EIO; |