Skip to content
Snippets Groups Projects
Commit 02a2f000 authored by Taeung Song's avatar Taeung Song Committed by Daniel Borkmann
Browse files

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: default avatarDavid Laight <David.Laight@ACULAB.COM>
Signed-off-by: default avatarTaeung Song <treeze.taeung@gmail.com>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
parent 492b7e89
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment