Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <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

authored by

Colin Ian King and committed by
Andrii Nakryiko
2efcf695 b59cc7fc

+2 -2
+1 -1
tools/testing/selftests/bpf/verifier/calls.c
··· 284 284 .result = ACCEPT, 285 285 }, 286 286 { 287 - "calls: not on unpriviledged", 287 + "calls: not on unprivileged", 288 288 .insns = { 289 289 BPF_RAW_INSN(BPF_JMP | BPF_CALL, 0, 1, 0, 2), 290 290 BPF_MOV64_IMM(BPF_REG_0, 1),
+1 -1
tools/testing/selftests/bpf/verifier/var_off.c
··· 121 121 BPF_EXIT_INSN(), 122 122 }, 123 123 .fixup_map_hash_8b = { 1 }, 124 - /* The unpriviledged case is not too interesting; variable 124 + /* The unprivileged case is not too interesting; variable 125 125 * stack access is rejected. 126 126 */ 127 127 .errstr_unpriv = "R2 variable stack access prohibited for !root",