Skip to content

Commit 2efcf69

Browse files
ColinIanKinganakryiko
authored andcommitted
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: Colin Ian King <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: John Fastabend <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent b59cc7f commit 2efcf69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/testing/selftests/bpf/verifier/calls.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@
284284
.result = ACCEPT,
285285
},
286286
{
287-
"calls: not on unpriviledged",
287+
"calls: not on unprivileged",
288288
.insns = {
289289
BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 2),
290290
BPF_MOV64_IMM(BPF_REG_0, 1),

tools/testing/selftests/bpf/verifier/var_off.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
BPF_EXIT_INSN(),
122122
},
123123
.fixup_map_hash_8b = { 1 },
124-
/* The unpriviledged case is not too interesting; variable
124+
/* The unprivileged case is not too interesting; variable
125125
* stack access is rejected.
126126
*/
127127
.errstr_unpriv = "R2 variable stack access prohibited for !root",

0 commit comments

Comments
 (0)