mirror of
https://github.com/EFForg/rayhunter.git
synced 2026-06-11 23:33:30 -07:00
rootshell: add some more comments explaining the magic GIDs
This commit is contained in:
committed by
Cooper Quintin
parent
fd1879d70a
commit
3006871c27
@@ -11,6 +11,9 @@ use nix::unistd::Gid;
|
||||
fn main() {
|
||||
let mut args = env::args();
|
||||
|
||||
// Android's "paranoid network" feature restricts network access to
|
||||
// processes in specific groups. More info here:
|
||||
// https://www.elinux.org/Android_Security#Paranoid_network-ing
|
||||
let gids = &[
|
||||
Gid::from_raw(3003), // AID_INET
|
||||
Gid::from_raw(3004), // AID_NET_RAW
|
||||
|
||||
Reference in New Issue
Block a user