diff options
author | WANG Xuerui <git@xen0n.name> | 2023-03-31 14:39:48 +0800 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-03-31 14:36:55 -0400 |
commit | 5aceb9d68a14e055c7a702483d612b537244e276 (patch) | |
tree | 4dd1aa5fda02e62a43cb4d7a0e1fdb3885ee0674 | |
parent | 76e3689dc851ff740ded38f8c623cfbce3bad393 (diff) | |
download | libseccomp-5aceb9d68a14e055c7a702483d612b537244e276.tar.gz |
all: fix various misspellings of "pseudo"
Drive-by fixes that should make the spell-checking CI happy.
Signed-off-by: WANG Xuerui <git@xen0n.name>
Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
-rw-r--r-- | src/gen_bpf.c | 2 | ||||
-rw-r--r-- | src/syscalls.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gen_bpf.c b/src/gen_bpf.c index 7131761..4ce9081 100644 --- a/src/gen_bpf.c +++ b/src/gen_bpf.c @@ -1309,7 +1309,7 @@ static inline bool _skip_syscall(struct bpf_state *state, if (!syscall->valid) return true; - /* psuedo-syscalls should not be added to the filter unless explicitly + /* pseudo-syscalls should not be added to the filter unless explicitly * requested via SCMP_FLTATR_API_TSKIP */ if (((int)syscall->num < 0) && diff --git a/src/syscalls.c b/src/syscalls.c index 9c58c12..5b2cd92 100644 --- a/src/syscalls.c +++ b/src/syscalls.c @@ -146,7 +146,7 @@ static bool _abi_syscall_socket_test(const struct arch_def *arch, int sys) { const char *name; - /* multiplexed pseduo-syscalls */ + /* multiplexed pseudo-syscalls */ if (sys <= -100 && sys >= -120) return true; @@ -193,7 +193,7 @@ static bool _abi_syscall_ipc_test(const struct arch_def *arch, int sys) { const char *name; - /* multiplexed pseduo-syscalls */ + /* multiplexed pseudo-syscalls */ if (sys <= -200 && sys >= -224) return true; |