<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/tools/cgroup, branch v3.10.2</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.10.2</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.10.2'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2013-01-08T18:00:44Z</updated>
<entry>
<title>cgroups: fix cgroup_event_listener error handling</title>
<updated>2013-01-08T18:00:44Z</updated>
<author>
<name>Greg Thelen</name>
<email>gthelen@google.com</email>
</author>
<published>2013-01-07T19:50:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=799105d514384b80cbe3182dbcb4ed30aa07e1f5'/>
<id>urn:sha1:799105d514384b80cbe3182dbcb4ed30aa07e1f5</id>
<content type='text'>
The error handling in cgroup_event_listener.c did not correctly deal
with either an error opening either &lt;control_file&gt; 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 &lt;gthelen@google.com&gt;
Acked-by: Li Zefan &lt;lizefan@huawei.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
</entry>
<entry>
<title>cgroups: move cgroup_event_listener.c to tools/cgroup</title>
<updated>2013-01-07T17:41:28Z</updated>
<author>
<name>Greg Thelen</name>
<email>gthelen@google.com</email>
</author>
<published>2013-01-04T21:05:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=92e015b1cfc24e3cb072385f25171b8599cc7ef3'/>
<id>urn:sha1:92e015b1cfc24e3cb072385f25171b8599cc7ef3</id>
<content type='text'>
Move the cgroup_event_listener.c tool from Documentation into the new
tools/cgroup directory.

This change involves wiring cgroup_event_listener.c into the tools/
make system so that is can be built with:
  $ make tools/cgroup

Signed-off-by: Greg Thelen &lt;gthelen@google.com&gt;
Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
</content>
</entry>
</feed>
