This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-05 00:00:00 +00:00
parent 0ef494b681
commit aea97698c3
48 changed files with 840 additions and 798 deletions

View File

@@ -1,7 +1,8 @@
#!/bin/sh
# https://github.com/cirosantilli/linux-kernel-module-cheat#netlink-sockets
set -e
insmod netlink.ko
[ "$(/netlink.out)" = 0 ]
[ "$(/netlink.out)" = 1 ]
[ "$(/netlink.out)" = 2 ]
[ "$(./linux/netlink.out)" = 0 ]
[ "$(./linux/netlink.out)" = 1 ]
[ "$(./linux/netlink.out)" = 2 ]
rmmod netlink