Home
last modified time | relevance | path

Searched refs:USER_PTR_ERR (Results 1 – 1 of 1) sorted by relevance

/tools/testing/selftests/bpf/progs/
A Dstring_kfuncs_failure1.c19 #define USER_PTR_ERR -ERANGE macro
21 #define USER_PTR_ERR -EFAULT macro
32 SEC("syscall") __retval(USER_PTR_ERR) int test_strcmp_null1(void *ctx) { return bpf_strcmp(NULL, "h… in __retval() argument
33 SEC("syscall") __retval(USER_PTR_ERR)int test_strcmp_null2(void *ctx) { return bpf_strcmp("hello",… in __retval() argument
34 SEC("syscall") __retval(USER_PTR_ERR)int test_strchr_null(void *ctx) { return bpf_strchr(NULL, 'a'… in __retval() argument
35 SEC("syscall") __retval(USER_PTR_ERR)int test_strchrnul_null(void *ctx) { return bpf_strchrnul(NUL… in __retval() argument
36 SEC("syscall") __retval(USER_PTR_ERR)int test_strnchr_null(void *ctx) { return bpf_strnchr(NULL, 1… in __retval() argument
37 SEC("syscall") __retval(USER_PTR_ERR)int test_strrchr_null(void *ctx) { return bpf_strrchr(NULL, '… in __retval() argument
38 SEC("syscall") __retval(USER_PTR_ERR)int test_strlen_null(void *ctx) { return bpf_strlen(NULL); } in __retval() argument
39 SEC("syscall") __retval(USER_PTR_ERR)int test_strnlen_null(void *ctx) { return bpf_strnlen(NULL, 1… in __retval() argument
[all …]

Completed in 4 milliseconds