You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
The error handling in cgroup_event_listener.c did not correctly deal with either an error opening either <control_file> or cgroup.event_control. Due to an uninitialized variable the program exit code was undefined if either of these opens failed. This patch simplifies and corrects cgroup_event_listener.c error handling by: 1. using err*() rather than printf(),exit() 2. depending on process exit to close open files With this patch failures always return non-zero error. Signed-off-by: Greg Thelen <firstname.lastname@example.org> Acked-by: Li Zefan <email@example.com> Signed-off-by: Tejun Heo <firstname.lastname@example.org>
|9 years ago|
|.gitignore||9 years ago|
|Makefile||9 years ago|
|cgroup_event_listener.c||9 years ago|