Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README #36

Open
wants to merge 76 commits into
base: legacy
Choose a base branch
from
Open

Update README #36

wants to merge 76 commits into from

Conversation

shadiberck
Copy link

No description provided.

ChainsDD and others added 30 commits June 15, 2011 11:32
Change-Id: Ic1d1a0eccf7fae96243c19bf8abc207b5b991200
supplementary groups have been dropped already at this time
(introduced by commit 00f1bb5)
Previous code created a file object with two steps: the creation itself with
default umask/mode and setting necessary permissions then. This approach is known to
lead to a race condition when malicious process can open an object before
permissions is set.

The patch sets creation mask (mask) to 027, thus denying any access from others. Also,
the patch removes all dead code which is not needed after changes mentioned.
Fix potential security flaw in creation of sockets/directories
supplementary groups have been dropped already at this time
(introduced by commit 00f1bb5)
git-core and others added 29 commits January 14, 2012 19:23
So user could distinguish between SIGHUP and other abnormal terminations at least
Thus, someone may invoke su as
su -s shell uid args...

For example,
su -s /system/xbin/busybox root mount -o rw,remount /system
property_get() iterates over potentially unbound array of properties. There is no good for
calling it several times per su invocation.
Fixes a bug reported in a comment to the issue ChainsDD#9 against su-binary
(see ChainsDD#9 (comment) for details).

Thanks to Erik Pilsits ([email protected]) for the report.

Add the euid change before populate_environment() anticipating we have to merge
the commit "Inherit LD_LIBRARY_PATH ...", which needs root credentials in order to
successfully open /proc/<ppid>/environ.
This commit is by koush and is mostly copied from the CyanogenMod fork
of su.

By using am instead of a binder transaction, we can guarantee
compatibility with current and future versions of Android.
With so many different versions of Android, using a dynamically linked
binary is just not practical, since things can be wildly different on
different versions.
This reverts commit ff77b49.
@shadiberck shadiberck changed the base branch from master to legacy April 17, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants