Skip to content

Instantly share code, notes, and snippets.

Nicholas Caito BitingChaos

View GitHub Profile
@BitingChaos
BitingChaos / safetynet.diff
Created Feb 19, 2019 — forked from kirelagin/safetynet.diff
Android (Lineage OS) kernel patch for SafetyNet
View safetynet.diff
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 Sep 4, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
You can’t perform that action at this time.