Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 405975 | Differences between
and this patch

Collapse All | Expand All

(-)a/bus/selinux.c (-3 / +3 lines)
Lines 1053-1060 _dbus_change_to_daemon_user (const char *user, Link Here
1053
      int rc;
1053
      int rc;
1054
1054
1055
      capng_clear (CAPNG_SELECT_BOTH);
1055
      capng_clear (CAPNG_SELECT_BOTH);
1056
      capng_update (CAPNG_ADD, CAPNG_EFFECTIVE | CAPNG_PERMITTED,
1056
      if (capng_have_capability (CAPNG_PERMITTED, CAP_AUDIT_WRITE))
1057
                    CAP_AUDIT_WRITE);
1057
        capng_update (CAPNG_ADD, CAPNG_EFFECTIVE | CAPNG_PERMITTED,
1058
                      CAP_AUDIT_WRITE);
1058
      rc = capng_change_id (uid, gid, CAPNG_DROP_SUPP_GRP);
1059
      rc = capng_change_id (uid, gid, CAPNG_DROP_SUPP_GRP);
1059
      if (rc)
1060
      if (rc)
1060
        {
1061
        {
1061
- 

Return to bug 405975