This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _XOPEN_SOURCE 700 | |
#include <signal.h> | |
#include <unistd.h> | |
int main() | |
{ | |
sigset_t set; | |
int status; | |
if (getpid() != 1) return 1; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h | |
index 615b20b..12f4c26 100644 | |
--- a/include/net/ip_vs.h | |
+++ b/include/net/ip_vs.h | |
@@ -924,6 +924,7 @@ struct netns_ipvs { | |
int sysctl_nat_icmp_send; | |
int sysctl_pmtu_disc; | |
int sysctl_backup_only; | |
+ int sysctl_tun_src_client_copy; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env | |
# -*- coding: utf-8 -*- | |
from collections import Counter | |
from contextlib import contextmanager | |
def djb2(uuid): | |
""" See for details: http://www.cse.yorku.ca/~oz/hash.html """ | |
_hash = 5381 |