diff options
author | Taeung Song <treeze.taeung@gmail.com> | 2018-07-04 22:36:38 +0900 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-07-05 09:58:52 +0200 |
commit | 02a2f000a3629274bfad60bfc4de9edec49e63e7 (patch) | |
tree | c19b1e7d24a41fe68c63fb4bb3f16c299bcde64d /samples/kfifo | |
parent | 492b7e894587c151be681f86d4d1d086375f7b45 (diff) |
samples/bpf: Check the error of write() and read()
test_task_rename() and test_urandom_read()
can be failed during write() and read(),
So check the result of them.
Reviewed-by: David Laight <David.Laight@ACULAB.COM>
Signed-off-by: Taeung Song <treeze.taeung@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/kfifo')
0 files changed, 0 insertions, 0 deletions