-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
userspace_kill: fix display of victim process name
Without this patch, the while (1) loop may overwrite the buffer 'name' before the loop is broken. As a result, incorrect victim name is emitted to stderr. This patch introduces a new buffer 'victim_name' which holds the victim name similar to victim_pid, victim_badness and victim_vm_rss.
- Loading branch information
1 parent
6e99060
commit 7634c5b
Showing
1 changed file
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters