Skip to content

Instantly share code, notes, and snippets.

@BitingChaos
BitingChaos / safetynet.diff
Created February 19, 2019 15:08 — forked from kirelagin/safetynet.diff
Android (Lineage OS) kernel patch for SafetyNet
diff --git a/fs/proc/cmdline.c b/fs/proc/cmdline.c
index 14a4c5887848..ebce46d998b0 100644
--- a/fs/proc/cmdline.c
+++ b/fs/proc/cmdline.c
@@ -2,10 +2,13 @@
#include <linux/init.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
+#include <asm/setup.h>
+
@BitingChaos
BitingChaos / 0_reuse_code.js
Last active September 4, 2015 04:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console