mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-28 04:24:26 +01:00
bak
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user