Skip to content

Commit

Permalink
selftests/bpf: Fix spelling mistake "unpriviledged" -> "unprivileged"
Browse files Browse the repository at this point in the history
There are a couple of spelling mistakes, one in a literal string and one
in a comment. Fix them.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20220928221555.67873-1-colin.i.king@gmail.com
  • Loading branch information
Colin Ian King authored and Andrii Nakryiko committed Sep 30, 2022
1 parent b59cc7f commit 2efcf69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/testing/selftests/bpf/verifier/calls.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
.result = ACCEPT,
},
{
"calls: not on unpriviledged",
"calls: not on unprivileged",
.insns = {
BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 2),
BPF_MOV64_IMM(BPF_REG_0, 1),
Expand Down
2 changes: 1 addition & 1 deletion tools/testing/selftests/bpf/verifier/var_off.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
BPF_EXIT_INSN(),
},
.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.
*/
.errstr_unpriv = "R2 variable stack access prohibited for !root",
Expand Down

0 comments on commit 2efcf69

Please sign in to comment.