chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
execute: support syscall filtering using seccomp filters
[elogind.git]
/
src
/
shared
/
missing.h
diff --git
a/src/shared/missing.h
b/src/shared/missing.h
index 5951e06cfc7566eaab42ea85b20f144ac0e5d574..d918c4e9a74bde19ccc53412dea99c77fa3e68d0 100644
(file)
--- a/
src/shared/missing.h
+++ b/
src/shared/missing.h
@@
-133,7
+133,7
@@
static inline int fanotify_init(unsigned int flags, unsigned int event_f_flags)
static inline int fanotify_mark(int fanotify_fd, unsigned int flags, uint64_t mask,
int dfd, const char *pathname) {
static inline int fanotify_mark(int fanotify_fd, unsigned int flags, uint64_t mask,
int dfd, const char *pathname) {
-#if defined _MIPS_SIM && _MIPS_SIM == _MIPS_SIM_ABI32
+#if defined _MIPS_SIM && _MIPS_SIM == _MIPS_SIM_ABI32
|| defined __powerpc__ && !defined __powerpc64__
union {
uint64_t _64;
uint32_t _32[2];
union {
uint64_t _64;
uint32_t _32[2];
@@
-184,4
+184,12
@@
static inline pid_t gettid(void) {
#define SCM_SECURITY 0x03
#endif
#define SCM_SECURITY 0x03
#endif
+#ifndef MS_STRICTATIME
+#define MS_STRICTATIME (1<<24)
+#endif
+
+#ifndef PR_SET_NO_NEW_PRIVS
+#define PR_SET_NO_NEW_PRIVS 38
+#endif
+
#endif
#endif