mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
Merge branch 'master' into next
This commit is contained in:
@@ -889,6 +889,7 @@ WARNING: untranslated string: smb daemon = SMB Daemon
|
|||||||
WARNING: untranslated string: user management = User Management
|
WARNING: untranslated string: user management = User Management
|
||||||
WARNING: untranslated string: winbind daemon = Winbind Daemon
|
WARNING: untranslated string: winbind daemon = Winbind Daemon
|
||||||
WARNING: untranslated string: wlan client encryption wpa3 = WPA3
|
WARNING: untranslated string: wlan client encryption wpa3 = WPA3
|
||||||
|
WARNING: untranslated string: wlan client management frame protection = Management Frame Protection
|
||||||
WARNING: untranslated string: wlanap 802.11w disabled = Disabled
|
WARNING: untranslated string: wlanap 802.11w disabled = Disabled
|
||||||
WARNING: untranslated string: wlanap 802.11w enforced = Enforced
|
WARNING: untranslated string: wlanap 802.11w enforced = Enforced
|
||||||
WARNING: untranslated string: wlanap 802.11w optional = Optional
|
WARNING: untranslated string: wlanap 802.11w optional = Optional
|
||||||
|
|||||||
@@ -2132,6 +2132,7 @@ WARNING: untranslated string: wlan client group cipher = Group cipher
|
|||||||
WARNING: untranslated string: wlan client group key algorithm = GKA
|
WARNING: untranslated string: wlan client group key algorithm = GKA
|
||||||
WARNING: untranslated string: wlan client identity = Identity
|
WARNING: untranslated string: wlan client identity = Identity
|
||||||
WARNING: untranslated string: wlan client invalid key length = Invalid key length.
|
WARNING: untranslated string: wlan client invalid key length = Invalid key length.
|
||||||
|
WARNING: untranslated string: wlan client management frame protection = Management Frame Protection
|
||||||
WARNING: untranslated string: wlan client method = Method
|
WARNING: untranslated string: wlan client method = Method
|
||||||
WARNING: untranslated string: wlan client new entry = Create new wireless client configuration
|
WARNING: untranslated string: wlan client new entry = Create new wireless client configuration
|
||||||
WARNING: untranslated string: wlan client new network = New network
|
WARNING: untranslated string: wlan client new network = New network
|
||||||
|
|||||||
@@ -1509,6 +1509,7 @@ WARNING: untranslated string: wlan client group cipher = Group cipher
|
|||||||
WARNING: untranslated string: wlan client group key algorithm = GKA
|
WARNING: untranslated string: wlan client group key algorithm = GKA
|
||||||
WARNING: untranslated string: wlan client identity = Identity
|
WARNING: untranslated string: wlan client identity = Identity
|
||||||
WARNING: untranslated string: wlan client invalid key length = Invalid key length.
|
WARNING: untranslated string: wlan client invalid key length = Invalid key length.
|
||||||
|
WARNING: untranslated string: wlan client management frame protection = Management Frame Protection
|
||||||
WARNING: untranslated string: wlan client method = Method
|
WARNING: untranslated string: wlan client method = Method
|
||||||
WARNING: untranslated string: wlan client new entry = Create new wireless client configuration
|
WARNING: untranslated string: wlan client new entry = Create new wireless client configuration
|
||||||
WARNING: untranslated string: wlan client new network = New network
|
WARNING: untranslated string: wlan client new network = New network
|
||||||
|
|||||||
@@ -919,3 +919,4 @@ WARNING: untranslated string: routing config changed = unknown string
|
|||||||
WARNING: untranslated string: token = Token:
|
WARNING: untranslated string: token = Token:
|
||||||
WARNING: untranslated string: token not set = No Token has been given.
|
WARNING: untranslated string: token not set = No Token has been given.
|
||||||
WARNING: untranslated string: wlan client encryption wpa3 = WPA3
|
WARNING: untranslated string: wlan client encryption wpa3 = WPA3
|
||||||
|
WARNING: untranslated string: wlan client management frame protection = Management Frame Protection
|
||||||
|
|||||||
@@ -1197,6 +1197,7 @@ WARNING: untranslated string: wlan client eap state = EAP Status
|
|||||||
WARNING: untranslated string: wlan client encryption eap = EAP
|
WARNING: untranslated string: wlan client encryption eap = EAP
|
||||||
WARNING: untranslated string: wlan client encryption wpa3 = WPA3
|
WARNING: untranslated string: wlan client encryption wpa3 = WPA3
|
||||||
WARNING: untranslated string: wlan client identity = Identity
|
WARNING: untranslated string: wlan client identity = Identity
|
||||||
|
WARNING: untranslated string: wlan client management frame protection = Management Frame Protection
|
||||||
WARNING: untranslated string: wlan client method = Method
|
WARNING: untranslated string: wlan client method = Method
|
||||||
WARNING: untranslated string: wlan client password = Password
|
WARNING: untranslated string: wlan client password = Password
|
||||||
WARNING: untranslated string: wlan client tls cipher = TLS Cipher
|
WARNING: untranslated string: wlan client tls cipher = TLS Cipher
|
||||||
|
|||||||
@@ -1237,6 +1237,7 @@ WARNING: untranslated string: wlan client eap state = EAP Status
|
|||||||
WARNING: untranslated string: wlan client encryption eap = EAP
|
WARNING: untranslated string: wlan client encryption eap = EAP
|
||||||
WARNING: untranslated string: wlan client encryption wpa3 = WPA3
|
WARNING: untranslated string: wlan client encryption wpa3 = WPA3
|
||||||
WARNING: untranslated string: wlan client identity = Identity
|
WARNING: untranslated string: wlan client identity = Identity
|
||||||
|
WARNING: untranslated string: wlan client management frame protection = Management Frame Protection
|
||||||
WARNING: untranslated string: wlan client method = Method
|
WARNING: untranslated string: wlan client method = Method
|
||||||
WARNING: untranslated string: wlan client password = Password
|
WARNING: untranslated string: wlan client password = Password
|
||||||
WARNING: untranslated string: wlan client tls cipher = TLS Cipher
|
WARNING: untranslated string: wlan client tls cipher = TLS Cipher
|
||||||
|
|||||||
@@ -1509,6 +1509,7 @@ WARNING: untranslated string: wlan client group cipher = Group cipher
|
|||||||
WARNING: untranslated string: wlan client group key algorithm = GKA
|
WARNING: untranslated string: wlan client group key algorithm = GKA
|
||||||
WARNING: untranslated string: wlan client identity = Identity
|
WARNING: untranslated string: wlan client identity = Identity
|
||||||
WARNING: untranslated string: wlan client invalid key length = Invalid key length.
|
WARNING: untranslated string: wlan client invalid key length = Invalid key length.
|
||||||
|
WARNING: untranslated string: wlan client management frame protection = Management Frame Protection
|
||||||
WARNING: untranslated string: wlan client method = Method
|
WARNING: untranslated string: wlan client method = Method
|
||||||
WARNING: untranslated string: wlan client new entry = Create new wireless client configuration
|
WARNING: untranslated string: wlan client new entry = Create new wireless client configuration
|
||||||
WARNING: untranslated string: wlan client new network = New network
|
WARNING: untranslated string: wlan client new network = New network
|
||||||
|
|||||||
@@ -1502,6 +1502,7 @@ WARNING: untranslated string: wlan client group cipher = Group cipher
|
|||||||
WARNING: untranslated string: wlan client group key algorithm = GKA
|
WARNING: untranslated string: wlan client group key algorithm = GKA
|
||||||
WARNING: untranslated string: wlan client identity = Identity
|
WARNING: untranslated string: wlan client identity = Identity
|
||||||
WARNING: untranslated string: wlan client invalid key length = Invalid key length.
|
WARNING: untranslated string: wlan client invalid key length = Invalid key length.
|
||||||
|
WARNING: untranslated string: wlan client management frame protection = Management Frame Protection
|
||||||
WARNING: untranslated string: wlan client method = Method
|
WARNING: untranslated string: wlan client method = Method
|
||||||
WARNING: untranslated string: wlan client new entry = Create new wireless client configuration
|
WARNING: untranslated string: wlan client new entry = Create new wireless client configuration
|
||||||
WARNING: untranslated string: wlan client new network = New network
|
WARNING: untranslated string: wlan client new network = New network
|
||||||
|
|||||||
@@ -1067,6 +1067,7 @@ WARNING: untranslated string: vulnerable = Vulnerable
|
|||||||
WARNING: untranslated string: whois results from = WHOIS results from
|
WARNING: untranslated string: whois results from = WHOIS results from
|
||||||
WARNING: untranslated string: winbind daemon = Winbind Daemon
|
WARNING: untranslated string: winbind daemon = Winbind Daemon
|
||||||
WARNING: untranslated string: wlan client encryption wpa3 = WPA3
|
WARNING: untranslated string: wlan client encryption wpa3 = WPA3
|
||||||
|
WARNING: untranslated string: wlan client management frame protection = Management Frame Protection
|
||||||
WARNING: untranslated string: wlanap 802.11w disabled = Disabled
|
WARNING: untranslated string: wlanap 802.11w disabled = Disabled
|
||||||
WARNING: untranslated string: wlanap 802.11w enforced = Enforced
|
WARNING: untranslated string: wlanap 802.11w enforced = Enforced
|
||||||
WARNING: untranslated string: wlanap 802.11w optional = Optional
|
WARNING: untranslated string: wlanap 802.11w optional = Optional
|
||||||
|
|||||||
@@ -65,6 +65,7 @@
|
|||||||
< wlanap 802.11w enforced
|
< wlanap 802.11w enforced
|
||||||
< wlanap 802.11w optional
|
< wlanap 802.11w optional
|
||||||
< wlan client encryption wpa3
|
< wlan client encryption wpa3
|
||||||
|
< wlan client management frame protection
|
||||||
############################################################################
|
############################################################################
|
||||||
# Checking cgi-bin translations for language: es #
|
# Checking cgi-bin translations for language: es #
|
||||||
############################################################################
|
############################################################################
|
||||||
@@ -927,6 +928,7 @@
|
|||||||
< wlan client group key algorithm
|
< wlan client group key algorithm
|
||||||
< wlan client identity
|
< wlan client identity
|
||||||
< wlan client invalid key length
|
< wlan client invalid key length
|
||||||
|
< wlan client management frame protection
|
||||||
< wlan client method
|
< wlan client method
|
||||||
< wlan client new entry
|
< wlan client new entry
|
||||||
< wlan client new network
|
< wlan client new network
|
||||||
@@ -974,6 +976,7 @@
|
|||||||
< token not set
|
< token not set
|
||||||
< upload fcdsl.o
|
< upload fcdsl.o
|
||||||
< wlan client encryption wpa3
|
< wlan client encryption wpa3
|
||||||
|
< wlan client management frame protection
|
||||||
############################################################################
|
############################################################################
|
||||||
# Checking cgi-bin translations for language: it #
|
# Checking cgi-bin translations for language: it #
|
||||||
############################################################################
|
############################################################################
|
||||||
@@ -1339,6 +1342,7 @@
|
|||||||
< wlan client encryption eap
|
< wlan client encryption eap
|
||||||
< wlan client encryption wpa3
|
< wlan client encryption wpa3
|
||||||
< wlan client identity
|
< wlan client identity
|
||||||
|
< wlan client management frame protection
|
||||||
< wlan client method
|
< wlan client method
|
||||||
< wlan client password
|
< wlan client password
|
||||||
< wlan client tls cipher
|
< wlan client tls cipher
|
||||||
@@ -1777,6 +1781,7 @@
|
|||||||
< wlan client encryption eap
|
< wlan client encryption eap
|
||||||
< wlan client encryption wpa3
|
< wlan client encryption wpa3
|
||||||
< wlan client identity
|
< wlan client identity
|
||||||
|
< wlan client management frame protection
|
||||||
< wlan client method
|
< wlan client method
|
||||||
< wlan client password
|
< wlan client password
|
||||||
< wlan client tls cipher
|
< wlan client tls cipher
|
||||||
@@ -2643,6 +2648,7 @@
|
|||||||
< wlan client group key algorithm
|
< wlan client group key algorithm
|
||||||
< wlan client identity
|
< wlan client identity
|
||||||
< wlan client invalid key length
|
< wlan client invalid key length
|
||||||
|
< wlan client management frame protection
|
||||||
< wlan client method
|
< wlan client method
|
||||||
< wlan client new entry
|
< wlan client new entry
|
||||||
< wlan client new network
|
< wlan client new network
|
||||||
@@ -3529,6 +3535,7 @@
|
|||||||
< wlan client group key algorithm
|
< wlan client group key algorithm
|
||||||
< wlan client identity
|
< wlan client identity
|
||||||
< wlan client invalid key length
|
< wlan client invalid key length
|
||||||
|
< wlan client management frame protection
|
||||||
< wlan client method
|
< wlan client method
|
||||||
< wlan client new entry
|
< wlan client new entry
|
||||||
< wlan client new network
|
< wlan client new network
|
||||||
@@ -3738,6 +3745,7 @@
|
|||||||
< wlanap neighbor scan warning
|
< wlanap neighbor scan warning
|
||||||
< wlanap ssid
|
< wlanap ssid
|
||||||
< wlan client encryption wpa3
|
< wlan client encryption wpa3
|
||||||
|
< wlan client management frame protection
|
||||||
< working
|
< working
|
||||||
< zoneconf access native
|
< zoneconf access native
|
||||||
< zoneconf access none
|
< zoneconf access none
|
||||||
|
|||||||
@@ -180,12 +180,12 @@ if ($dhcpsettings{'ACTION'} eq $Lang::tr{'save'}) {
|
|||||||
if (($dhcpsettings{"START_ADDR_${itf}"}) eq '' && ($dhcpsettings{"END_ADDR_${itf}"}) eq '') {
|
if (($dhcpsettings{"START_ADDR_${itf}"}) eq '' && ($dhcpsettings{"END_ADDR_${itf}"}) eq '') {
|
||||||
$errormessage = "DHCP on ${itf}: " . $Lang::tr{'dhcp valid range required when deny known clients checked'};
|
$errormessage = "DHCP on ${itf}: " . $Lang::tr{'dhcp valid range required when deny known clients checked'};
|
||||||
goto ERROR;
|
goto ERROR;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!($dhcpsettings{"DEFAULT_LEASE_TIME_${itf}"} =~ /^\d+$/)) {
|
if (!($dhcpsettings{"DEFAULT_LEASE_TIME_${itf}"} =~ /^\d+$/)) {
|
||||||
$errormessage = "DHCP on ${itf}: " . $Lang::tr{'invalid default lease time'} . $dhcpsettings{'DEFAULT_LEASE_TIME_${itf}'};
|
$errormessage = "DHCP on ${itf}: " . $Lang::tr{'invalid default lease time'} . $dhcpsettings{'DEFAULT_LEASE_TIME_${itf}'};
|
||||||
goto ERROR;
|
goto ERROR;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!($dhcpsettings{"MAX_LEASE_TIME_${itf}"} =~ /^\d+$/)) {
|
if (!($dhcpsettings{"MAX_LEASE_TIME_${itf}"} =~ /^\d+$/)) {
|
||||||
|
|||||||
@@ -324,6 +324,8 @@ END
|
|||||||
$encryption_mode = $Lang::tr{'wlan client encryption wpa'};
|
$encryption_mode = $Lang::tr{'wlan client encryption wpa'};
|
||||||
} elsif ($config[3] eq "WPA2") {
|
} elsif ($config[3] eq "WPA2") {
|
||||||
$encryption_mode = $Lang::tr{'wlan client encryption wpa2'};
|
$encryption_mode = $Lang::tr{'wlan client encryption wpa2'};
|
||||||
|
} elsif ($config[3] eq "WPA3") {
|
||||||
|
$encryption_mode = $Lang::tr{'wlan client encryption wpa3'};
|
||||||
} elsif ($config[3] eq "EAP") {
|
} elsif ($config[3] eq "EAP") {
|
||||||
$encryption_mode = $Lang::tr{'wlan client encryption eap'};
|
$encryption_mode = $Lang::tr{'wlan client encryption eap'};
|
||||||
}
|
}
|
||||||
@@ -682,6 +684,19 @@ sub ShowStatus() {
|
|||||||
</tr>
|
</tr>
|
||||||
END
|
END
|
||||||
|
|
||||||
|
if ($status{'pmf'} eq "1") {
|
||||||
|
print <<END;
|
||||||
|
<tr>
|
||||||
|
<td width='20%'>
|
||||||
|
$Lang::tr{'wlan client management frame protection'}
|
||||||
|
</td>
|
||||||
|
<td width='80%'>
|
||||||
|
$Lang::tr{'active'}
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
END
|
||||||
|
}
|
||||||
|
|
||||||
if ($status{'EAP state'}) {
|
if ($status{'EAP state'}) {
|
||||||
my $selected_method = $status{'selectedMethod'};
|
my $selected_method = $status{'selectedMethod'};
|
||||||
$selected_method =~ s/\d+ \((.*)\)/$1/e;
|
$selected_method =~ s/\d+ \((.*)\)/$1/e;
|
||||||
@@ -736,12 +751,25 @@ END
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (($status{'pairwise_cipher'} ne "NONE") || ($status{'group_cipher'} ne "NONE")) {
|
if (($status{'pairwise_cipher'} ne "NONE") || ($status{'group_cipher'} ne "NONE")) {
|
||||||
print <<END;
|
if ($status{'key_mgmt'} eq "SAE") {
|
||||||
|
print <<END;
|
||||||
|
<tr>
|
||||||
|
<td colspan='2'>
|
||||||
|
<strong>$Lang::tr{'wlan client encryption wpa3'}</strong>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
END
|
||||||
|
} else {
|
||||||
|
print <<END;
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan='2'>
|
<td colspan='2'>
|
||||||
<strong>$Lang::tr{'wlan client encryption wpa'}</strong>
|
<strong>$Lang::tr{'wlan client encryption wpa'}</strong>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
END
|
||||||
|
}
|
||||||
|
|
||||||
|
print <<END;
|
||||||
<tr>
|
<tr>
|
||||||
<td width='20%'>
|
<td width='20%'>
|
||||||
$Lang::tr{'wlan client pairwise cipher'}
|
$Lang::tr{'wlan client pairwise cipher'}
|
||||||
|
|||||||
@@ -2956,6 +2956,7 @@
|
|||||||
'wlan client group key algorithm' => 'GKA',
|
'wlan client group key algorithm' => 'GKA',
|
||||||
'wlan client identity' => 'Identity',
|
'wlan client identity' => 'Identity',
|
||||||
'wlan client invalid key length' => 'Invalid key length.',
|
'wlan client invalid key length' => 'Invalid key length.',
|
||||||
|
'wlan client management frame protection' => 'Management Frame Protection',
|
||||||
'wlan client method' => 'Method',
|
'wlan client method' => 'Method',
|
||||||
'wlan client new entry' => 'Create new wireless client configuration',
|
'wlan client new entry' => 'Create new wireless client configuration',
|
||||||
'wlan client new network' => 'New network',
|
'wlan client new network' => 'New network',
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
include Config
|
include Config
|
||||||
|
|
||||||
VER = 9.3.4
|
VER = 9.1.4
|
||||||
|
|
||||||
THISAPP = dhcpcd-$(VER)
|
THISAPP = dhcpcd-$(VER)
|
||||||
DL_FILE = $(THISAPP).tar.xz
|
DL_FILE = $(THISAPP).tar.xz
|
||||||
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
|
|||||||
|
|
||||||
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
||||||
|
|
||||||
$(DL_FILE)_MD5 = badb02dfc69fe9bbeec35a02efcdb4db
|
$(DL_FILE)_MD5 = dd77711cf3232002bb075f5210269f88
|
||||||
|
|
||||||
install : $(TARGET)
|
install : $(TARGET)
|
||||||
|
|
||||||
@@ -70,9 +70,6 @@ $(subst %,%_MD5,$(objects)) :
|
|||||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||||
@$(PREBUILD)
|
@$(PREBUILD)
|
||||||
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||||
|
|
||||||
cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/dhcpcd/01_Fix_Linux_i386_for_SECCOMP_as_it_just_uses_socketcall.patch
|
|
||||||
|
|
||||||
cd $(DIR_APP) && ./configure --prefix="" --sysconfdir=/var/ipfire/dhcpc \
|
cd $(DIR_APP) && ./configure --prefix="" --sysconfdir=/var/ipfire/dhcpc \
|
||||||
--dbdir=/var/ipfire/dhcpc \
|
--dbdir=/var/ipfire/dhcpc \
|
||||||
--libexecdir=/var/ipfire/dhcpc \
|
--libexecdir=/var/ipfire/dhcpc \
|
||||||
|
|||||||
@@ -275,9 +275,7 @@ function wpa_supplicant_start() {
|
|||||||
# Build wpa_supplicant command line.
|
# Build wpa_supplicant command line.
|
||||||
local wpa_suppl_cmd="wpa_supplicant -B -qqq -i${device} -c${config}"
|
local wpa_suppl_cmd="wpa_supplicant -B -qqq -i${device} -c${config}"
|
||||||
|
|
||||||
if device_is_wireless ${device}; then
|
if ! device_is_wireless ${device}; then
|
||||||
wpa_suppl_cmd="${wpa_suppl_cmd} -Dwext"
|
|
||||||
else
|
|
||||||
wpa_suppl_cmd="${wpa_suppl_cmd} -Dwired"
|
wpa_suppl_cmd="${wpa_suppl_cmd} -Dwired"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -1,36 +0,0 @@
|
|||||||
diff --git a/src/privsep-linux.c b/src/privsep-linux.c
|
|
||||||
index 050a30cf..d31d720d 100644
|
|
||||||
--- a/src/privsep-linux.c
|
|
||||||
+++ b/src/privsep-linux.c
|
|
||||||
@@ -32,6 +32,7 @@
|
|
||||||
|
|
||||||
#include <linux/audit.h>
|
|
||||||
#include <linux/filter.h>
|
|
||||||
+#include <linux/net.h>
|
|
||||||
#include <linux/seccomp.h>
|
|
||||||
#include <linux/sockios.h>
|
|
||||||
|
|
||||||
@@ -304,6 +305,23 @@ static struct sock_filter ps_seccomp_filter[] = {
|
|
||||||
#ifdef __NR_sendto
|
|
||||||
SECCOMP_ALLOW(__NR_sendto),
|
|
||||||
#endif
|
|
||||||
+#ifdef __NR_socketcall
|
|
||||||
+ /* i386 needs this and demonstrates why SECCOMP
|
|
||||||
+ * is poor compared to OpenBSD pledge(2) and FreeBSD capsicum(4)
|
|
||||||
+ * as this is soooo tied to the kernel API which changes per arch
|
|
||||||
+ * and likely libc as well. */
|
|
||||||
+ SECCOMP_ALLOW_ARG(__NR_socketcall, 0, SYS_ACCEPT),
|
|
||||||
+ SECCOMP_ALLOW_ARG(__NR_socketcall, 0, SYS_ACCEPT4),
|
|
||||||
+ SECCOMP_ALLOW_ARG(__NR_socketcall, 0, SYS_LISTEN),
|
|
||||||
+ SECCOMP_ALLOW_ARG(__NR_socketcall, 0, SYS_GETSOCKOPT), /* overflow */
|
|
||||||
+ SECCOMP_ALLOW_ARG(__NR_socketcall, 0, SYS_RECV),
|
|
||||||
+ SECCOMP_ALLOW_ARG(__NR_socketcall, 0, SYS_RECVFROM),
|
|
||||||
+ SECCOMP_ALLOW_ARG(__NR_socketcall, 0, SYS_RECVMSG),
|
|
||||||
+ SECCOMP_ALLOW_ARG(__NR_socketcall, 0, SYS_SEND),
|
|
||||||
+ SECCOMP_ALLOW_ARG(__NR_socketcall, 0, SYS_SENDMSG),
|
|
||||||
+ SECCOMP_ALLOW_ARG(__NR_socketcall, 0, SYS_SENDTO),
|
|
||||||
+ SECCOMP_ALLOW_ARG(__NR_socketcall, 0, SYS_SHUTDOWN),
|
|
||||||
+#endif
|
|
||||||
#ifdef __NR_shutdown
|
|
||||||
SECCOMP_ALLOW(__NR_shutdown),
|
|
||||||
#endif
|
|
||||||
Reference in New Issue
Block a user