Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-koush-Superuser: List of commits

external/koush/Superuser


RSS
Rev. Time Author
2b782d1 2014-12-12 07:54:37 Marcos Marado

Fix security, tighter str comparison, fix warnings

* When reading our and the caller's path, we were mistakingly reading only the
first sizeof(char*) characters, so anything that was running from a path
starting with '/sys' was being considered to be us
* strcmp'ing strings instead of comparing only for the length of the first of
them. Avoids possible executions from /system/xbin/suwhatever .
* Fixed several compile-time warnings

Change-Id: I2af07f7bf5078acd0c36bd22b74fbc01276957be

c2ec204 2014-12-12 04:40:46 Ricardo Cerqueira

su: Fix verification fails when the client isn't setuid

Don't take an uid-0 caller as a trust guarantee. Trust only values
that are delivered by a remote that's the same as ourselves (su-as-client
talking to su-as-daemon) and use PEERCRED to assert the remote UID and PID
on any other case.
This fixes credential validation when the client isn't always running with
root privileges via setuid

Change-Id: Iad8fc271d9c6aae7f6654af2ef9db638f2165af1

026a344 2014-12-07 05:40:20 blunden

Update the Superuser settings drawable

Change-Id: I9057b5fc18d2669b29c9e8dde1b121c23cb57744

3a6d5c9 2014-11-27 21:17:27 Michael Bestas

Automatic translation import

Change-Id: Iff6c175264ebcea87f28d404222757f23b5ecf5f

86dbf4f 2014-11-27 10:14:51 Ricardo Cerqueira

Invert theme

Use light theme as a stopgap readibility fix until this gets a
Material overhaul

Change-Id: I5f77d96daee34700d3cea7bd4e07728fdc3ca2d2

7c7a44d 2014-11-27 06:52:45 Ricardo Cerqueira

init: Update daemon contexts for enforcing selinux policies

Change-Id: I6c33445f741aab3ac89f1bbfa096fbe65d44ad66

24e15d0 2014-11-10 10:50:10 Michael Bestas

Automatic translation import

Change-Id: I50eb8255c2d06ec2c089ad343fd642370005abc1

ccde9f1 2014-10-28 05:04:16 Michael Bestas

Automatic translation import

Change-Id: I6ebb9dad16aa8f482d179aaa8b95d03a962594a5

14db056 2014-10-21 06:35:16 Michael Bestas

Automatic translation import

Change-Id: Ic1a347ac7fb63a49188e378857d3fa1c52480df0

342fd64 2014-10-15 07:38:01 Michael Bestas

Automatic translation import

Change-Id: I8f23ffbd432ed49587bdaf93bfcfe3ceea039e7f

2a694af 2014-10-04 19:30:31 Chih-Wei Huang

Merge remote-tracking branch 'cm/cm-11.0' into kitkat-x86

40d6723 2014-09-30 03:26:09 Michael Bestas

Automatic translation import

Change-Id: Iacfd50ee4e7aa3bc6b6622fa1475c43f76322a79

500ece6 2014-09-09 09:16:44 Michael Bestas

Automatic translation import

Change-Id: Ia2949c44b1fee77823343a93b5044a81644ed58e

35fee20 2014-09-02 19:32:05 Michael Bestas

SU: Use different strings for notification summary & popup list

Change-Id: I46017bd0dec40b57c27e951a863662d1a6afb72e

b5efcf2 2014-09-01 07:03:42 Michael Bestas

Automatic translation import

Change-Id: Ic9c9cb50bc532b167a7643f2748cc75af4fef972

99acfee 2014-08-23 20:42:27 Michael Bestas

Automatic translation import

Change-Id: I04b01276a3c079a0d4b6ad187a3c0707da364166

012a223 2014-08-16 12:27:25 Ricardo Cerqueira

su: Don't forcefully add the bin symlink to the installed packages

The LOCAL_MODULE dependency is enough to get it deployed when the
actual binary is built. Adding it to the default modules was leaving
a dangling dead symlink in cases where su isn't bundled (user builds)

Change-Id: I1364cf6537993a8b72bce8c178a7aeec080c9eb3

188b032 2014-08-13 00:11:26 Michael Bestas

Superuser: Remove unused translations

Change-Id: Iecd28faacb070e753305bc52395586f429d58723

2cc9531 2014-08-11 22:17:26 Danny Baumann

Rename allow and deny strings.

Both are also present in the Settings app's resources, which we
integrate into.

Change-Id: Ib08e84995a946d3fdf22f1bb61871c4e1429538e

3913a4f android-x86-4.4-r1 2014-08-04 23:08:23 Chih-Wei Huang

Run the Superuser app in system uid

The app needs system uid to change the property persist.sys.root_access.

Always install init.superuser.rc no matter it's embedded or not.

bee79e5 2014-08-04 23:08:23 Chih-Wei Huang

Disable su binary version checking

The checking seems doesn't work in KitKat.

0deb4d4 2014-08-01 09:04:16 Michael Bestas

Automatic translation import

Change-Id: I78b6d486ab5203fabbb2f2b0763058c76b927d0f

a4bb420 2014-07-25 05:01:44 Michael Bestas

Automatic translation import

Change-Id: Iaf971bba9546c9531685265a899bbff635e88d37

c59e58d 2014-07-20 12:18:30 Veeti Paananen

Prevent clickjacking of superuser requests

Enable filterTouchesWhenObscured on the accept request button to prevent
possible clickjacking attacks. This is a measure used in many sensitive
dialogs (app installation, backup & VPN) in AOSP.

Change-Id: I33c18c449c909b97b29b981bffe7f3095adee506

7d8d00f 2014-07-11 22:08:55 Michael Bestas

Automatic translation import

Change-Id: If0fecb26f20c7e4f6a8d4a12c7a5faf49f0d229c

1dd6753 2014-07-10 02:56:49 Michael Bestas

Revert "Superuser: Don't duplicate 'Allow' string"

On a second thought, this is plain confusing for translators.
I'd like to keep the ~350 people who translate happy.

This reverts commit 6af4772b0172cb3e0b70f2ab5b961139f404e621.

Change-Id: I6b1a82ed3292aa98b0d340d6dd9e90de8791b05d

6af4772 2014-07-09 19:38:41 Michael Bestas

Superuser: Don't duplicate 'Allow' string

Change-Id: I98085f8da3ea9f6f6b8899d0bb0cda0cc1d503aa

76b3b77 2014-07-04 22:55:51 black

Superuser: Add a string for JA translation

Change-Id: I16d7ad52fcb276b25c86390485afdafbfd94a41a

711c4cc 2014-06-30 05:59:46 Michael Bestas

Automatic translation import

Change-Id: Ie301344eef330ed6682c68303390c35d60e9ad1b

9f50ee9 2014-06-21 20:46:51 Michael Bestas

Automatic translation import

Change-Id: I4bc9436aae4562091b06c8443b73b6192a0a0b41

Show on old repository browser