selftests: Add selftest for disallowing modify_return attachment to freplace
[linux-2.6-microblaze.git] / tools / testing / selftests / bpf / progs / freplace_get_constant.c
index 8f0ecf9..705e4b6 100644 (file)
@@ -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;