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

Commit e5882583 authored by Greg Hackmann's avatar Greg Hackmann
Browse files

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

CTS no longer expects oom_{adj,score_adj} to be read-only.  See
https://android-review.googlesource.com/530687/

 for additional context.

This reverts commit 87a7a2cf.

Bug: 63142211
Change-Id: I1d1b33c93ca6b6c16a9c1d5430dcb5cbe3ec894c
Signed-off-by: default avatarGreg Hackmann <ghackmann@google.com>
parent c6743a3a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2877,6 +2877,7 @@ static const struct pid_entry tgid_base_stuff[] = {
	ONE("cgroup",  S_IRUGO, proc_cgroup_show),
#endif
	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_score_adj", S_IRUSR, proc_oom_score_adj_operations),
#ifdef CONFIG_AUDITSYSCALL