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
Merge tag 'tif-task_work.arch-2020-12-14' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git]
/
samples
/
bpf
/
syscall_tp_user.c
diff --git
a/samples/bpf/syscall_tp_user.c
b/samples/bpf/syscall_tp_user.c
index
76a1d00
..
a0ebf18
100644
(file)
--- a/
samples/bpf/syscall_tp_user.c
+++ b/
samples/bpf/syscall_tp_user.c
@@
-115,7
+115,6
@@
cleanup:
int main(int argc, char **argv)
{
int main(int argc, char **argv)
{
- struct rlimit r = {RLIM_INFINITY, RLIM_INFINITY};
int opt, num_progs = 1;
char filename[256];
int opt, num_progs = 1;
char filename[256];
@@
-131,7
+130,6
@@
int main(int argc, char **argv)
}
}
}
}
- setrlimit(RLIMIT_MEMLOCK, &r);
snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
return test(filename, num_progs);
snprintf(filename, sizeof(filename), "%s_kern.o", argv[0]);
return test(filename, num_progs);