Created
November 18, 2014 20:17
-
-
Save rshipp/bea1557983fab131b986 to your computer and use it in GitHub Desktop.
Disregard the Yama ptrace restriction. (#include "noyama.h")
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef NOYAMA_H | |
#define NOYAMA_H | |
#include <sys/prctl.h> | |
prctl( PR_SET_PTRACER, PR_SET_PTRACER_ANY, 0, 0, 0 ); | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is probably a bad idea. You should call
prctl
manually yourself instead.