|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From 06b7f7bd7fa8cde840dd693c7a68dbd954c119ec Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= <crrodriguez@opensuse.org>
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Date: Tue, 16 Sep 2014 14:17:01 -0300
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Subject: [PATCH] missing: memfd_create takes unsigned int flags in final
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
version
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
src/shared/missing.h | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
diff --git a/src/shared/missing.h b/src/shared/missing.h
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
index 023c680ec6..b441149945 100644
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
--- a/src/shared/missing.h
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+++ b/src/shared/missing.h
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
@@ -209,7 +209,7 @@ static inline int fanotify_mark(int fanotify_fd, unsigned int flags, uint64_t ma
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
#endif
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
#ifndef HAVE_MEMFD_CREATE
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
-static inline int memfd_create(const char *name, uint64_t flags) {
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+static inline int memfd_create(const char *name, unsigned int flags) {
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
return syscall(__NR_memfd_create, name, flags);
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
}
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
#endif
|