summaryrefslogtreecommitdiffstats
path: root/src/util/util_errors.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-10-20 23:16:40 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-10-29 10:55:11 +0100
commitcf8828abd9ff0d234a8c677d7fd16477e6a00ca5 (patch)
tree166cc1ac32debb86299fe425ce4baad490f41b14 /src/util/util_errors.c
parenteac7618a4369e34c78bbb2f8aacaa4dbe0400cd5 (diff)
downloadsssd-cf8828abd9ff0d234a8c677d7fd16477e6a00ca5.tar.gz
sssd-cf8828abd9ff0d234a8c677d7fd16477e6a00ca5.tar.xz
sssd-cf8828abd9ff0d234a8c677d7fd16477e6a00ca5.zip
IPA: Move setting the SELinux context to a child process
In order for the sssd_be process to run as unprivileged user, we need to move the semanage processing to a process that runs as the root user using setuid privileges.
Diffstat (limited to 'src/util/util_errors.c')
-rw-r--r--src/util/util_errors.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/util_errors.c b/src/util/util_errors.c
index 5b36780ff..d5da64622 100644
--- a/src/util/util_errors.c
+++ b/src/util/util_errors.c
@@ -62,6 +62,7 @@ struct err_string error_to_str[] = {
{ "Bus method not supported" }, /* ERR_SBUS_NOSUP */
{ "Cannot connect to system bus" }, /* ERR_NO_SYSBUS */
{ "LDAP search returned a referral" }, /* ERR_REFERRAL */
+ { "Error setting SELinux user context" }, /* ERR_SELINUX_CONTEXT */
};