Superuser: fixed FI translations

Change-Id: I3cb4d85b4a984d6cfbef3245d446719bea417873
sanitize inputs. verify mallocs.

Change-Id: If5d7a51ca56c4dba6948d2f405f41721a15a16b6
Fix potential trust issues by using SO_PEERCRED.

Change-Id: I510fcabe3c2a7765684a31d0553ce73fa1e1ed56
Merge remote-tracking branch 'github/cm-10.1' into cm-10.2