projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
selftests: Add selftest for disallowing modify_return attachment to freplace
[linux-2.6-microblaze.git]
/
tools
/
testing
/
selftests
/
bpf
/
progs
/
freplace_get_constant.c
diff --git
a/tools/testing/selftests/bpf/progs/freplace_get_constant.c
b/tools/testing/selftests/bpf/progs/freplace_get_constant.c
index
8f0ecf9
..
705e4b6
100644
(file)
--- a/
tools/testing/selftests/bpf/progs/freplace_get_constant.c
+++ b/
tools/testing/selftests/bpf/progs/freplace_get_constant.c
@@
-5,7
+5,7
@@
volatile __u64 test_get_constant = 0;
SEC("freplace/get_constant")
-int new_get_constant(long val)
+int
security_
new_get_constant(long val)
{
if (val != 123)
return 0;