We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0951328 commit ff5cf98Copy full SHA for ff5cf98
driver/ppm_fillers.c
@@ -112,7 +112,7 @@ static inline struct pid_namespace *pid_ns_for_children(struct task_struct *task
112
**/
113
static inline uint32_t get_exe_from_memfd(const struct file *exe_file)
114
{
115
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0)
+#if defined(CONFIG_MEMFD_CREATE) && CONFIG_MEMFD_CREATE == 1
116
const char expected_prefix[] = "memfd:";
117
if(!(exe_file &&
118
exe_file->f_path.dentry &&
0 commit comments