sendmsg allowed

This commit is contained in:
mrbesen 2021-10-23 18:46:56 +02:00
parent 42654fcbcc
commit 1522b760cb
Signed by: MrBesen
GPG Key ID: 596B2350DCD67504
16 changed files with 4 additions and 2 deletions

BIN
bin/bash Executable file

Binary file not shown.

BIN
fontbot_currentbuild Executable file

Binary file not shown.

View File

@ -1,7 +1,7 @@
#Little script to iterate over a new charset
base = ""
count = 26*2
base = ""
count = 26*1
for i in range(0, count):
print('"', chr(ord(base)+i), '", ', end="", sep="")

View File

@ -86,6 +86,8 @@ static bool enableSecurity() {
seccomp_rule_add(scmp, SCMP_ACT_ALLOW, SCMP_SYS(getsockopt), 0);
seccomp_rule_add(scmp, SCMP_ACT_ALLOW, SCMP_SYS(set_robust_list), 0);
seccomp_rule_add(scmp, SCMP_ACT_ALLOW, SCMP_SYS(get_robust_list), 0);
seccomp_rule_add(scmp, SCMP_ACT_ALLOW, SCMP_SYS(sendmmsg), 0);
seccomp_rule_add(scmp, SCMP_ACT_ALLOW, SCMP_SYS(sendmsg), 0);
seccomp_rule_add(scmp, SCMP_ACT_ALLOW, SCMP_SYS(uname), 0);
seccomp_rule_add(scmp, SCMP_ACT_ALLOW, SCMP_SYS(clone), 0); // curl wants to spawn threads