On Oct 28 2007 20:42, Tilman Schmidt wrote:Perfect security from threats that normally deliver via internet! (And it is even one of these that benefit from being modular!) #include <linux/kmod.h> #include <linux/module.h> #include <linux/netdevice.h> #include <net/net_namespace.h> static void cl(const char *name, const char *state) { const char *args[] = {"ip", "link", "set", name, state, NULL}; call_usermodehelper("/sbin/ip", (char **)args, NULL, UMH_NO_WAIT); } int __init automagic_security_init(void) { const struct net_device *dev; for_each_netdev(&init_net, dev) cl(dev->name, "down"); return 0; } void __exit automagic_security_exit(void) { const struct net_device *dev; for_each_netdev(&init_net, dev) cl(dev->name, "up"); return; } module_init(automagic_security_init); module_exit(automagic_security_exit); -
| Zhang, Yanmin | AIM7 40% regression with 2.6.26-rc1 |
| Con Kolivas | [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2 |
| Nick Piggin | [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear) |
| Andrew Morton | -mm merge plans for 2.6.23 |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
