Skip to content

Instantly share code, notes, and snippets.

@ajaysusarla
ajaysusarla / patch.diff
Created May 24, 2018 13:09
loopback patch
diff --git a/impl/net/loopback/cogent/Makefile b/impl/net/loopback/cogent/Makefile
index a1921805..9298ee2c 100644
--- a/impl/net/loopback/cogent/Makefile
+++ b/impl/net/loopback/cogent/Makefile
@@ -37,6 +37,7 @@ AHFILES=
LINUX_ACFILES= $(addprefix $(STDGUM)/gum/anti/, \
common.ac) \
plat/linux/linux_api.ac \
+ plat/linux/alloc.ac \
plat/linux/wrapper.ac \
net.ipv4.conf.vboxnet0.accept_local = 0
net.ipv4.conf.vboxnet0.accept_redirects = 1
net.ipv4.conf.vboxnet0.accept_source_route = 1
net.ipv4.conf.vboxnet0.arp_accept = 0
net.ipv4.conf.vboxnet0.arp_announce = 0
net.ipv4.conf.vboxnet0.arp_filter = 0
net.ipv4.conf.vboxnet0.arp_ignore = 0
net.ipv4.conf.vboxnet0.arp_notify = 0
net.ipv4.conf.vboxnet0.bootp_relay = 0
net.ipv4.conf.vboxnet0.disable_policy = 0
@ajaysusarla
ajaysusarla / build-gcc-cross-compiler.sh
Last active April 11, 2016 13:18
GCC cross compiler
#!/bin/bash
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU