Commit 2efcf695 authored by Colin Ian King's avatar Colin Ian King Committed by Andrii Nakryiko

selftests/bpf: Fix spelling mistake "unpriviledged" -> "unprivileged"

There are a couple of spelling mistakes, one in a literal string and one
in a comment. Fix them.
Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Acked-by: default avatarJohn Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20220928221555.67873-1-colin.i.king@gmail.com
parent b59cc7fc
...@@ -284,7 +284,7 @@ ...@@ -284,7 +284,7 @@
.result = ACCEPT, .result = ACCEPT,
}, },
{ {
"calls: not on unpriviledged", "calls: not on unprivileged",
.insns = { .insns = {
BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 2), BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 2),
BPF_MOV64_IMM(BPF_REG_0, 1), BPF_MOV64_IMM(BPF_REG_0, 1),
......
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
BPF_EXIT_INSN(), BPF_EXIT_INSN(),
}, },
.fixup_map_hash_8b = { 1 }, .fixup_map_hash_8b = { 1 },
/* The unpriviledged case is not too interesting; variable /* The unprivileged case is not too interesting; variable
* stack access is rejected. * stack access is rejected.
*/ */
.errstr_unpriv = "R2 variable stack access prohibited for !root", .errstr_unpriv = "R2 variable stack access prohibited for !root",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment