This reverts commit b108b8e6f129d97d720d8c4143805c6587b156a6.

Found that this patch is useless while porting to vz9. On vz7 this
sysctl file exists only in init netns, on vz8 it is visible in CT anyway
as it is virtualized in mainstream.

https://jira.sw.ru/browse/PSBM-133988
Signed-off-by: Pavel Tikhomirov <ptikhomi...@virtuozzo.com>
---
 net/ipv4/sysctl_net_ipv4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c
index 094f7d4b7757..0582cbd9dda8 100644
--- a/net/ipv4/sysctl_net_ipv4.c
+++ b/net/ipv4/sysctl_net_ipv4.c
@@ -847,7 +847,7 @@ static struct ctl_table ipv4_net_table[] = {
                .procname       = "tcp_syncookies",
                .data           = &init_net.ipv4.sysctl_tcp_syncookies,
                .maxlen         = sizeof(int),
-               .mode           = 0644 | S_ISVTX,
+               .mode           = 0644,
                .proc_handler   = proc_dointvec_immutable,
        },
 #endif
-- 
2.31.1

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to