aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sssd/0002-src.patch
blob: 5e7cbf7625bf1968c3c5d64d6a115a15a8d68de3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Only in sssd-1.15.3-old/src/: cifsidmap.h
--- sssd-1.15.3/src/confdb/confdb.h
+++ sssd-1.15.3-old/src/confdb/confdb.h
@@ -22,6 +22,7 @@
 #ifndef _CONF_DB_H
 #define _CONF_DB_H
 
+#include <sys/types.h>
 #include <stdbool.h>
 #include <talloc.h>
 #include <tevent.h>
--- sssd-1.15.3/src/util/util.h
+++ sssd-1.15.3-old/src/util/util.h
@@ -31,6 +31,7 @@
 #include <pcre.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <sys/param.h>
 #include <netinet/in.h>
 
 #include <talloc.h>
@@ -44,6 +45,10 @@
 #include "util/util_safealign.h"
 #include "util/sss_format.h"
 #include "util/debug.h"
+
+#ifndef ALLPERMS
+#define ALLPERMS (S_ISUID | S_ISGID | S_IRGRP | S_IRWXU | S_IRWXG | S_IRWXO)
+#endif
 
 /* name of the monitor server instance */
 #define SSSD_PIDFILE PID_PATH"/sssd.pid"