aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use real su if it existsHEADmasterJason A. Donenfeld2018-12-041-0/+3
| | | | In case we already have su from elsewhere, use it instead.
* Wrap at 80 charsJason A. Donenfeld2018-11-251-6/+14
|
* Depend on SECURITY_SELINUX_DEVELOPJason A. Donenfeld2018-11-251-0/+1
| | | | | | | We eventually want to load an selinux policy and attach it to the cred, so as to not disable it globally, but for now this will do. Suggested-by: Sultan Alsawaf <sultan@kerneltoast.com>
* Use sys_write instead of kernel_writeJason A. Donenfeld2018-11-231-12/+11
| | | | | | This is mostly worse in all ways, except that we don't have to worry about the API of kernel_write changing between kernels, which has happened before.
* Write below stack pointer instead of mmappingJason A. Donenfeld2018-11-231-84/+49
|
* Hijack `su` instead.Jason A. Donenfeld2018-11-239-121/+195
|
* Initial commitJason A. Donenfeld2018-11-228-0/+199