Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87a7a2cf authored by Dan Willemsen's avatar Dan Willemsen Committed by John Stultz
Browse files

fixup! proc: make oom adjustment files user read-only



Fix the build by removing the duplicate line that uses the obsolete INF
macro.

Signed-off-by: default avatarDan Willemsen <dwillemsen@nvidia.com>
parent 55541f1a
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -2793,7 +2793,6 @@ static const struct pid_entry tgid_base_stuff[] = {
	ONE("cgroup",  S_IRUGO, proc_cgroup_show),
	ONE("cgroup",  S_IRUGO, proc_cgroup_show),
#endif
#endif
	ONE("oom_score",  S_IRUGO, proc_oom_score),
	ONE("oom_score",  S_IRUGO, proc_oom_score),
	INF("oom_score",  S_IRUGO, proc_oom_score),
	REG("oom_adj",    S_IRUSR, proc_oom_adj_operations),
	REG("oom_adj",    S_IRUSR, proc_oom_adj_operations),
	REG("oom_score_adj", S_IRUSR, proc_oom_score_adj_operations),
	REG("oom_score_adj", S_IRUSR, proc_oom_score_adj_operations),
#ifdef CONFIG_AUDITSYSCALL
#ifdef CONFIG_AUDITSYSCALL