Skip to content

Instantly share code, notes, and snippets.

@ISTweak
Created April 12, 2016 02:40
Show Gist options
  • Save ISTweak/596929b5cf77ee5bf997f41f6610c70c to your computer and use it in GitHub Desktop.
Save ISTweak/596929b5cf77ee5bf997f41f6610c70c to your computer and use it in GitHub Desktop.
c0303a28 sel_write_enforce
c03048b4 selnl_notify_setenforce
c031153c selinux_status_update_setenforce
selinux_enforcing = new_value;
if (selinux_enforcing)
avc_ss_reset(0);
selnl_notify_setenforce(selinux_enforcing);
selinux_status_update_setenforce(selinux_enforcing);
c0303ad0: e59f70c4 ldr r7, [pc, #196] ; 0xc0303b9c
c0303b54: e5970000 ldr r0, [r7]
c0303b58: eb000355 bl 0xc03048b4
c0303b5c: e5970000 ldr r0, [r7]
c0303b60: eb003675 bl 0xc031153c
c0303b9c: c10582e4 smlattgt r5, r4, r2, r8
c10582e4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment