Skip to content

Commit

Permalink
all: fix various misspellings of "pseudo"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
xen0n authored and pcmoore committed Mar 31, 2023
1 parent 76e3689 commit 5aceb9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/gen_bpf.c
Expand Up @@ -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) &&
Expand Down
4 changes: 2 additions & 2 deletions src/syscalls.c
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 5aceb9d

Please sign in to comment.