Revision 3d5e229212df0b0d08322f34bdbb66c31670fbf2 authored by Loïc on 21 December 2018, 17:50:15 UTC, committed by GitHub on 21 December 2018, 17:50:15 UTC
Just like the upstream commit 8e7df2b, there's not enough reasons to read this file as non-root.
The old CVE-2014-1738 could have been prevented by this.
1 parent 9097a05
Raw File
interval_tree.c
#include <linux/interval_tree.h>
#include <linux/interval_tree_generic.h>
#include <linux/compiler.h>
#include <linux/export.h>

#define START(node) ((node)->start)
#define LAST(node)  ((node)->last)

INTERVAL_TREE_DEFINE(struct interval_tree_node, rb,
		     unsigned long, __subtree_last,
		     START, LAST,, interval_tree)

EXPORT_SYMBOL_GPL(interval_tree_insert);
EXPORT_SYMBOL_GPL(interval_tree_remove);
EXPORT_SYMBOL_GPL(interval_tree_iter_first);
EXPORT_SYMBOL_GPL(interval_tree_iter_next);
back to top