selftests/bpf: Fix spelling mistake "unpriviledged" -> "unprivileged"
authorColin Ian King <colin.i.king@gmail.com>
Wed, 28 Sep 2022 22:15:55 +0000 (23:15 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 30 Sep 2022 22:08:05 +0000 (15:08 -0700)
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
tools/testing/selftests/bpf/verifier/calls.c
tools/testing/selftests/bpf/verifier/var_off.c

index 3fb4f69b196237dbfcbf590bb154c6a5df766a69..e1a937277b54dc56e6b631c3cfc25a4c0d4d2f6c 100644 (file)
        .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),
index 187c6f6e32bc1f334bf5b7ea8fcc441f9d468cfc..d37f512fad16e3b8fa2d1f46fd2974a9a6937217 100644 (file)
        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",