Android-x86
Fork
捐款

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-koush-Superuser: List of commits

external/koush/Superuser


RSS
修訂. 時間 作者
27b7d22 q-x86 r-x86 2019-12-26 16:02:30 Chih-Wei Huang

Make the icons more visible

c61bc31 2019-12-26 16:01:24 Chih-Wei Huang

Fix pin dialog crashing

I don't know the root cause and how to fix it properly.
Just work around it.

2c2f827 2019-12-24 01:57:43 Chih-Wei Huang

Replace android.support.v4.app by AndroidX

AndroidX is a major improvement to the original Android Support
Library, which is no longer maintained.

b076107 pie-x86 android-x86-9.0-r1 android-x86-9.0-r2 2019-10-08 19:22:42 Chih-Wei Huang

Fix building issues with pie-x86

b48c45b oreo-x86 android-x86-8.1-r1 android-x86-8.1-r2 android-x86-8.1-r3 android-x86-8.1-r4 android-x86-8.1-r5 android-x86-8.1-r6 2018-03-01 15:46:46 Chih-Wei Huang

Remove the usage of junit.framework.Assert

It's not buildable in Android 8.0.

1f0bc59 nougat-x86 android-x86-7.1-r1 android-x86-7.1-r2 android-x86-7.1-r3 android-x86-7.1-r4 android-x86-7.1-r5 2018-02-02 11:16:18 Chih-Wei Huang

Remove unused code

cd2f8cc 2018-02-02 11:14:23 Chih-Wei Huang

jni: correct the database path

It was moved to the device encrypted user data dir.

b11c596 2018-02-01 23:52:34 Chih-Wei Huang

jni: fix log of su

Sync changes from upstream: git://github.com/koush/Superuser

9ace3dc 2016-09-08 00:58:02 Chih-Wei Huang

init.superuser.rc: correct the SELinux domain

1fc4df0 marshmallow-x86 android-x86-6.0-r1 android-x86-6.0-r2 android-x86-6.0-r3 2016-01-06 09:11:34 Paulo Sergio Travaglia

Fixes for koush's Superuser on marshmallow

Koush Superuser uses Apache http client imports, which are
deprecated on API 23 (marshmallow).

As google recommends, it was replaced by HttpURLConnection

References:
http://developer.android.com/intl/pt-br/about/versions/marshmallow/android-6.0-changes.html
http://stackoverflow.com/questions/9856195/how-to-read-an-http-input-stream
https://developer.android.com/intl/pt-br/reference/java/net/HttpURLConnection.html

6e16917 2015-12-22 15:48:34 Mauro Rossi

android: fix 64-bit targets building errors

Patch to avoid the following building errors:

Import includes file: out/target/product/x86_64/obj/EXECUTABLES/su_intermediates/import_includes
target C: su <= external/koush/Superuser/Superuser/jni/su/su.c
external/koush/Superuser/Superuser/jni/su/su.c: In function 'socket_send_request':
external/koush/Superuser/Superuser/jni/su/su.c:397:5: error: implicit declaration of function 'htonl' [-Werror=implicit-function-declaration]
write_token(fd, "version", PROTO_VERSION);
^

target C: su <= external/koush/Superuser/Superuser/jni/su/pts.c
Export includes file: external/koush/Superuser/Android.mk -- out/target/product/x86_64/obj/EXECUTABLES/su_intermediates/export_includes
target Prebuilt: clatd.conf (out/target/product/x86_64/obj/ETC/clatd.conf_intermediates/clatd.conf)
external/koush/Superuser/Superuser/jni/su/pts.c: In function 'pts_open':
external/koush/Superuser/Superuser/jni/su/pts.c:121:5: error: implicit declaration of function 'strncpy' [-Werror=implicit-function-declaration]
strncpy(slave_name, sn_tmp, slave_name_size);
^

a90ff26 lollipop-x86 2015-10-17 00:12:47 Paulo Sergio Travaglia

Fix Superuser on 64 bits target

- An export to "/system/lib" is not required and cause problems
as this is a 32 bits lib dir only
- When writing to socket, datatype size_t was used, which is
4 bytes on 32 bits target and 8 bytes on 64 bits.
Superuser expects it as a 4 bytes length. So, it was
replaced by "uint32_t" datatype

fe33e4a 2014-12-30 08:33:18 repo Shareef Ali

Superuser: Don't set root access as a default fallback option.

Problem: if persist.sys.root_access is not present, it will set
root access anyways regardless of build type
fix: set to 0 anyway which is no root.

Change-Id: I3665d965a6fbb21fd26a8d7256579eb272b608f0

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

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

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

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

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

Automatic translation import

Change-Id: I78b6d486ab5203fabbb2f2b0763058c76b927d0f

Show on old repository browser