Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
b22278e4
Commit
b22278e4
authored
7 years ago
by
Robert Benea
Committed by
Gerrit Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Allow lmkd read memcg stats."
parents
f58f1499
1a05283c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/lmkd.te
+3
-0
3 additions, 0 deletions
public/lmkd.te
with
3 additions
and
0 deletions
public/lmkd.te
+
3
−
0
View file @
b22278e4
...
@@ -27,6 +27,9 @@ allow lmkd appdomain:process sigkill;
...
@@ -27,6 +27,9 @@ allow lmkd appdomain:process sigkill;
# Clean up old cgroups
# Clean up old cgroups
allow lmkd cgroup:dir { remove_name rmdir };
allow lmkd cgroup:dir { remove_name rmdir };
# Allow to read memcg stats
allow lmkd cgroup:file r_file_perms;
# Set self to SCHED_FIFO
# Set self to SCHED_FIFO
allow lmkd self:capability sys_nice;
allow lmkd self:capability sys_nice;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment