Andrew Geissler | d1d22e6 | 2020-10-16 10:14:32 -0500 | [diff] [blame] | 1 | From 37a0999e5a9f54e1c61a02a7fbab6fcd04738b3c Mon Sep 17 00:00:00 2001 |
| 2 | From: Armin Kuster <akuster808@gmail.com> |
| 3 | Date: Thu, 8 Oct 2020 05:54:13 -0700 |
| 4 | Subject: [PATCH] Provide missing defines which otherwise are available on |
| 5 | glibc system headers |
| 6 | |
| 7 | Signed-off-by: Armin Kuster <akuster808@gmail.com> |
| 8 | |
| 9 | Upsteam-Status: Pending |
| 10 | |
| 11 | --- |
| 12 | src/util/util.h | 4 ++++ |
| 13 | 1 file changed, 4 insertions(+) |
| 14 | |
| 15 | diff --git a/src/util/util.h b/src/util/util.h |
| 16 | index 8a754dbfd..6e55b4bdc 100644 |
| 17 | --- a/src/util/util.h |
| 18 | +++ b/src/util/util.h |
| 19 | @@ -76,6 +76,10 @@ |
| 20 | #define MAX(a, b) (((a) > (b)) ? (a) : (b)) |
| 21 | #endif |
| 22 | |
| 23 | +#ifndef ALLPERMS |
| 24 | +# define ALLPERMS (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)/* 07777 */ |
| 25 | +#endif |
| 26 | + |
| 27 | #define SSSD_MAIN_OPTS SSSD_DEBUG_OPTS |
| 28 | |
| 29 | #define SSSD_SERVER_OPTS(uid, gid) \ |
| 30 | -- |
| 31 | 2.17.1 |
| 32 | |