summaryrefslogtreecommitdiffstats
path: root/src/sbus/sssd_dbus.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-10-07 11:30:01 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-10-22 15:44:17 +0200
commit5960687483a5d3d99093c9d6ab64e11c9bde7f7b (patch)
treee5b06570880583f579635b7112eae16dee235ed5 /src/sbus/sssd_dbus.h
parenta10ac1d0a7210def232205a48c53a075930e82f6 (diff)
downloadsssd-5960687483a5d3d99093c9d6ab64e11c9bde7f7b.tar.gz
sssd-5960687483a5d3d99093c9d6ab64e11c9bde7f7b.tar.xz
sssd-5960687483a5d3d99093c9d6ab64e11c9bde7f7b.zip
SBUS: Chown the sbus socket if needed
When setting up the sbus server, we might need to chown the sbus socket to make sure non-root peers, running as the SSSD user are able to access the file. Reviewed-by: Pavel Reichl <preichl@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/sbus/sssd_dbus.h')
-rw-r--r--src/sbus/sssd_dbus.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sbus/sssd_dbus.h b/src/sbus/sssd_dbus.h
index 372521a35..d01926368 100644
--- a/src/sbus/sssd_dbus.h
+++ b/src/sbus/sssd_dbus.h
@@ -132,6 +132,7 @@ sbus_new_interface(TALLOC_CTX *mem_ctx,
int sbus_new_server(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
const char *address,
+ uid_t uid, gid_t gid,
bool use_symlink,
struct sbus_connection **server,
sbus_server_conn_init_fn init_fn, void *init_pvt_data);