Writing oom_score_adj uses temp file
Bug #1374177 reported by
Ted Gould
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Application Launcher |
Fix Released
|
High
|
Ted Gould | ||
ubuntu-app-launch (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-app-launch (Ubuntu RTM) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When writing the oom_score_adj file in /proc a temporary file is created and the renamed, which is good in general, but not good for working with /proc and so the value doesn't get set properly.
Related branches
lp:~ted/ubuntu-app-launch/oom-adjust-file
- Charles Kerr (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 193 lines (+72/-19)4 files modifiedlibubuntu-app-launch/ubuntu-app-launch.c (+40/-17)
tests/libual-test.cc (+26/-2)
upstart-jobs/application-click.conf.in (+3/-0)
upstart-jobs/application-legacy.conf.in (+3/-0)
Changed in ubuntu-app-launch: | |
status: | Confirmed → Fix Released |
Changed in ubuntu-app-launch (Ubuntu): | |
status: | New → In Progress |
To post a comment you must log in.
This bug was fixed in the package ubuntu-app-launch - 0.4+14. 10.20141008- 0ubuntu1
--------------- 10.20141008- 0ubuntu1) utopic; urgency=low
ubuntu-app-launch (0.4+14.
[ Ted Gould ]
* Set OOM adjustment without using temporary files. (LP: #1374177)
* Use a setuid helper for OOM adjustment of Oxide renderers
-- Ubuntu daily release <email address hidden> Wed, 08 Oct 2014 19:53:31 +0000