-
Notifications
You must be signed in to change notification settings - Fork 54.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update gen_init_cpio.c #465
Closed
Closed
+1
−1
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Estética para el método cpio_trailer de esto 07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000C00000000TRAILER!!!archangel@archangel:~/Escritorio$ a esto 07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000C00000000TRAILER!!! archangel@archangel:~/Escritorio$
lopsided98
pushed a commit
to lopsided98/linux
that referenced
this pull request
May 29, 2019
lkl: disable dpdk build for circle ci
intel-lab-lkp
pushed a commit
to intel-lab-lkp/linux
that referenced
this pull request
Aug 26, 2024
Add a test case which attempts to write into .rodata section of the BPF program, and for comparison this adds test cases also for .bss and .data section. Before fix: # ./vmtest.sh -- ./test_progs -t verifier_const [...] ./test_progs -t verifier_const tester_init:PASS:tester_log_buf 0 nsec process_subtest:PASS:obj_open_mem 0 nsec process_subtest:PASS:specs_alloc 0 nsec run_subtest:PASS:obj_open_mem 0 nsec run_subtest:FAIL:unexpected_load_success unexpected success: 0 torvalds#465/1 verifier_const/rodata: write rejected:FAIL torvalds#465/2 verifier_const/bss: write accepted:OK torvalds#465/3 verifier_const/data: write accepted:OK torvalds#465 verifier_const:FAIL [...] After fix: # ./vmtest.sh -- ./test_progs -t verifier_const [...] ./test_progs -t verifier_const torvalds#465/1 verifier_const/rodata: write rejected:OK torvalds#465/2 verifier_const/bss: write accepted:OK torvalds#465/3 verifier_const/data: write accepted:OK torvalds#465 verifier_const:OK [...] Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
intel-lab-lkp
pushed a commit
to intel-lab-lkp/linux
that referenced
this pull request
Sep 5, 2024
Add a test case which attempts to write into .rodata section of the BPF program, and for comparison this adds test cases also for .bss and .data section. Before fix: # ./vmtest.sh -- ./test_progs -t verifier_const [...] ./test_progs -t verifier_const tester_init:PASS:tester_log_buf 0 nsec process_subtest:PASS:obj_open_mem 0 nsec process_subtest:PASS:specs_alloc 0 nsec run_subtest:PASS:obj_open_mem 0 nsec run_subtest:FAIL:unexpected_load_success unexpected success: 0 torvalds#465/1 verifier_const/rodata: write rejected:FAIL torvalds#465/2 verifier_const/bss: write accepted:OK torvalds#465/3 verifier_const/data: write accepted:OK torvalds#465 verifier_const:FAIL [...] After fix: # ./vmtest.sh -- ./test_progs -t verifier_const [...] ./test_progs -t verifier_const torvalds#465/1 verifier_const/rodata: write rejected:OK torvalds#465/2 verifier_const/bss: write accepted:OK torvalds#465/3 verifier_const/data: write accepted:OK torvalds#465 verifier_const:OK [...] Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Shung-Hsi Yu <shung-hsi.yu@suse.com>
intel-lab-lkp
pushed a commit
to intel-lab-lkp/linux
that referenced
this pull request
Sep 5, 2024
Add a test case which attempts to write into .rodata section of the BPF program, and for comparison this adds test cases also for .bss and .data section. Before fix: # ./vmtest.sh -- ./test_progs -t verifier_const [...] ./test_progs -t verifier_const tester_init:PASS:tester_log_buf 0 nsec process_subtest:PASS:obj_open_mem 0 nsec process_subtest:PASS:specs_alloc 0 nsec run_subtest:PASS:obj_open_mem 0 nsec run_subtest:FAIL:unexpected_load_success unexpected success: 0 torvalds#465/1 verifier_const/rodata: write rejected:FAIL torvalds#465/2 verifier_const/bss: write accepted:OK torvalds#465/3 verifier_const/data: write accepted:OK torvalds#465 verifier_const:FAIL [...] After fix: # ./vmtest.sh -- ./test_progs -t verifier_const [...] ./test_progs -t verifier_const torvalds#465/1 verifier_const/rodata: write rejected:OK torvalds#465/2 verifier_const/bss: write accepted:OK torvalds#465/3 verifier_const/data: write accepted:OK torvalds#465 verifier_const:OK [...] Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Shung-Hsi Yu <shung-hsi.yu@suse.com>
intel-lab-lkp
pushed a commit
to intel-lab-lkp/linux
that referenced
this pull request
Sep 6, 2024
Add a test case which attempts to write into .rodata section of the BPF program, and for comparison this adds test cases also for .bss and .data section. Before fix: # ./vmtest.sh -- ./test_progs -t verifier_const [...] ./test_progs -t verifier_const tester_init:PASS:tester_log_buf 0 nsec process_subtest:PASS:obj_open_mem 0 nsec process_subtest:PASS:specs_alloc 0 nsec run_subtest:PASS:obj_open_mem 0 nsec run_subtest:FAIL:unexpected_load_success unexpected success: 0 torvalds#465/1 verifier_const/rodata: write rejected:FAIL torvalds#465/2 verifier_const/bss: write accepted:OK torvalds#465/3 verifier_const/data: write accepted:OK torvalds#465 verifier_const:FAIL [...] After fix: # ./vmtest.sh -- ./test_progs -t verifier_const [...] ./test_progs -t verifier_const torvalds#465/1 verifier_const/rodata: write rejected:OK torvalds#465/2 verifier_const/bss: write accepted:OK torvalds#465/3 verifier_const/data: write accepted:OK torvalds#465 verifier_const:OK [...] Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Shung-Hsi Yu <shung-hsi.yu@suse.com>
intel-lab-lkp
pushed a commit
to intel-lab-lkp/linux
that referenced
this pull request
Sep 13, 2024
Add a test case which attempts to write into .rodata section of the BPF program, and for comparison this adds test cases also for .bss and .data section. Before fix: # ./vmtest.sh -- ./test_progs -t verifier_const [...] ./test_progs -t verifier_const tester_init:PASS:tester_log_buf 0 nsec process_subtest:PASS:obj_open_mem 0 nsec process_subtest:PASS:specs_alloc 0 nsec run_subtest:PASS:obj_open_mem 0 nsec run_subtest:FAIL:unexpected_load_success unexpected success: 0 torvalds#465/1 verifier_const/rodata: write rejected:FAIL torvalds#465/2 verifier_const/bss: write accepted:OK torvalds#465/3 verifier_const/data: write accepted:OK torvalds#465 verifier_const:FAIL [...] After fix: # ./vmtest.sh -- ./test_progs -t verifier_const [...] ./test_progs -t verifier_const torvalds#465/1 verifier_const/rodata: write rejected:OK torvalds#465/2 verifier_const/bss: write accepted:OK torvalds#465/3 verifier_const/data: write accepted:OK torvalds#465 verifier_const:OK [...] Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Shung-Hsi Yu <shung-hsi.yu@suse.com> Acked-by: Andrii Nakryiko <andrii@kernel.org>
guidosarducci
pushed a commit
to guidosarducci/linux
that referenced
this pull request
Sep 13, 2024
Add a test case which attempts to write into .rodata section of the BPF program, and for comparison this adds test cases also for .bss and .data section. Before fix: # ./vmtest.sh -- ./test_progs -t verifier_const [...] ./test_progs -t verifier_const tester_init:PASS:tester_log_buf 0 nsec process_subtest:PASS:obj_open_mem 0 nsec process_subtest:PASS:specs_alloc 0 nsec run_subtest:PASS:obj_open_mem 0 nsec run_subtest:FAIL:unexpected_load_success unexpected success: 0 torvalds#465/1 verifier_const/rodata: write rejected:FAIL torvalds#465/2 verifier_const/bss: write accepted:OK torvalds#465/3 verifier_const/data: write accepted:OK torvalds#465 verifier_const:FAIL [...] After fix: # ./vmtest.sh -- ./test_progs -t verifier_const [...] ./test_progs -t verifier_const torvalds#465/1 verifier_const/rodata: write rejected:OK torvalds#465/2 verifier_const/bss: write accepted:OK torvalds#465/3 verifier_const/data: write accepted:OK torvalds#465 verifier_const:OK [...] Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Shung-Hsi Yu <shung-hsi.yu@suse.com> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20240913191754.13290-8-daniel@iogearbox.net Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Estética para el método cpio_trailer
de esto
07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000C00000000TRAILER!!!archangel@archangel:~/Escritorio$
a esto
07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000C00000000TRAILER!!!
archangel@archangel:~/Escritorio$