android_kernel_motorola_sm6375/tools/testing
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hewenliang 83ff921a5e kselftests: cgroup: Avoid the reuse of fd after it is deallocated
[ Upstream commit d671fa6393d6788fc65555d4643b71cb3a361f36 ]

It is necessary to set fd to -1 when inotify_add_watch() fails in
cg_prepare_for_wait. Otherwise the fd which has been closed in
cg_prepare_for_wait may be misused in other functions such as
cg_enter_and_wait_for_frozen and cg_freeze_wait.

Fixes: 5313bfe425 ("selftests: cgroup: add freezer controller self-tests")
Signed-off-by: Hewenliang <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
2020-01-26 10:01:07 +01:00
..
fault-injection
ktest ktest: Fix some typos in config-bisect.pl 2019-07-24 15:37:18 -04:00
nvdimm libnvdimm fixes v5.4-rc1 2019-09-29 10:33:41 -07:00
radix-tree
scatterlist
selftests kselftests: cgroup: Avoid the reuse of fd after it is deallocated 2020-01-26 10:01:07 +01:00
vsock