mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
proc_events.c: comment out aarch64
This commit is contained in:
@@ -4,6 +4,12 @@ This file is licensed under the GPL v2 (http://www.gnu.org/licenses/gpl2.txt) (s
|
||||
https://stackoverflow.com/questions/6075013/detect-launching-of-programs-on-linux-platform/8255487#8255487
|
||||
*/
|
||||
|
||||
#if defined(__aarch64__)
|
||||
|
||||
int main() {}
|
||||
|
||||
#else
|
||||
|
||||
#define _XOPEN_SOURCE 700
|
||||
#include <sys/socket.h>
|
||||
#include <linux/netlink.h>
|
||||
@@ -178,3 +184,5 @@ out:
|
||||
close(nl_sock);
|
||||
exit(rc);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user