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: NDavid Laight <David.Laight@ACULAB.COM> Signed-off-by: NTaeung Song <treeze.taeung@gmail.com> Acked-by: NDavid S. Miller <davem@davemloft.net> Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net>
Showing
想要评论请 注册 或 登录