projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wrapper: remove page_alloc wrapper
[lttng-modules.git]
/
wrapper
/
namespace.h
diff --git
a/wrapper/namespace.h
b/wrapper/namespace.h
index 36dbf4c0475081812230a361b7e1090678d506bd..8e8a37123c82637321c296b16dc0157338f77f70 100644
(file)
--- a/
wrapper/namespace.h
+++ b/
wrapper/namespace.h
@@
-1,4
+1,4
@@
-/* SPDX-License-Identifier: (GPL-2.0
or LGPL-2.1
)
+/* SPDX-License-Identifier: (GPL-2.0
-only or LGPL-2.1-only
)
*
* wrapper/namespace.h
*
*
* wrapper/namespace.h
*
@@
-18,4
+18,10
@@
#define lttng_ns_inum proc_inum
#endif
#define lttng_ns_inum proc_inum
#endif
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0))
+#define lttng_user_ns_parent parent
+#else
+#define lttng_user_ns_parent creator->user_ns
+#endif
+
#endif /* _LTTNG_WRAPPER_NAMESPACE_H */
#endif /* _LTTNG_WRAPPER_NAMESPACE_H */
This page took
0.023023 seconds
and
4
git commands to generate.