mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
make check-spaces fix
This commit is contained in:
parent
148c6dc473
commit
b121ca581d
1 changed files with 2 additions and 2 deletions
|
@ -185,14 +185,14 @@ sb_accept4(scmp_filter_ctx ctx, sandbox_cfg_t *filter)
|
|||
|
||||
#ifdef __i386__
|
||||
rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(socketcall), 1,
|
||||
SCMP_CMP(0, SCMP_CMP_EQ, 18));
|
||||
SCMP_CMP(0, SCMP_CMP_EQ, 18));
|
||||
if (rc) {
|
||||
return rc;
|
||||
}
|
||||
#endif
|
||||
|
||||
rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(accept4), 1,
|
||||
SCMP_CMP(3, SCMP_CMP_EQ, SOCK_CLOEXEC));
|
||||
SCMP_CMP(3, SCMP_CMP_EQ, SOCK_CLOEXEC));
|
||||
if (rc) {
|
||||
return rc;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue