summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fs_mkdirs: use O_NOFOLLOW and O_CLOEXECNick Kralevich2014-06-161-1/+1
| | | | | | | | | | | | | Don't follow symlinks. Suggestion from Jann Horn. Also, add O_CLOEXEC. This prevents file descriptor leakage should this code ever run in a multithreaded environment. I'm not sure if either of these changes actually address any security concerns, but it's harmless, so go ahead and add it. Bug: 15675141 Change-Id: I7ba4e9d10439b7150f59759b54e3ad8ccba411e3
* am 9b86360f: am c3e23666: am 7fa1cd19: Merge "log: Fix warning with ↵Mark Salyzyn2014-06-131-0/+8
|\ | | | | | | | | | | | | __USE_MINGW_ANSI_STDIO" * commit '9b86360fb41b46abfc0e475cfdea4370a93179d5': log: Fix warning with __USE_MINGW_ANSI_STDIO
| * am c3e23666: am 7fa1cd19: Merge "log: Fix warning with __USE_MINGW_ANSI_STDIO"Mark Salyzyn2014-06-131-0/+8
| |\ | | | | | | | | | | | | * commit 'c3e2366602c428cf39ce9068a834771f535d58b2': log: Fix warning with __USE_MINGW_ANSI_STDIO
| | * am 7fa1cd19: Merge "log: Fix warning with __USE_MINGW_ANSI_STDIO"Mark Salyzyn2014-06-131-0/+8
| | |\ | | | | | | | | | | | | | | | | * commit '7fa1cd19638c8ada0786e03abe50b5fe9b9f4270': log: Fix warning with __USE_MINGW_ANSI_STDIO
| | | * Merge "log: Fix warning with __USE_MINGW_ANSI_STDIO"Mark Salyzyn2014-06-121-0/+8
| | | |\
| | | | * log: Fix warning with __USE_MINGW_ANSI_STDIODan Willemsen2014-06-121-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I haven't seen this warning in any AOSP code, but some of our code is using this header differently than the rest of the build system, and hits this warning-turned-error: error: "__USE_MINGW_ANSI_STDIO" is not defined [-Werror=undef] Change-Id: I3c5a91f107af8bf6078e06f2ce326c5466349b79
* | | | | am 46ed1c8c: am ed1a0dbd: am b44e626c: Merge "Fix windows sdk build."Dan Albert2014-06-131-1/+1
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * commit '46ed1c8c99fce33c78e239d4155ece84feca069d': Fix windows sdk build.
| * | | | am ed1a0dbd: am b44e626c: Merge "Fix windows sdk build."Dan Albert2014-06-131-1/+1
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit 'ed1a0dbd43ba81c3f1cb723c0e4fa5ca2807d473': Fix windows sdk build.
| | * | | am b44e626c: Merge "Fix windows sdk build."Dan Albert2014-06-131-1/+1
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * commit 'b44e626cf0c29dd8b8112db3d8e72970dc09b617': Fix windows sdk build.
| | | * | Merge "Fix windows sdk build."Dan Albert2014-06-121-1/+1
| | | |\ \
| | | | * | Fix windows sdk build.Dan Albert2014-06-131-1/+1
| | | |/ / | | | | | | | | | | Change-Id: I53c9f43a5f9ae2f40de686316185d162d0e0503a
* | | | | am 6dfe9495: am 9b2d964d: am 08430b1e: Merge "Use syscall(2) instead of ↵Dan Albert2014-06-131-19/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | ioprio_get/ioprio_set." * commit '6dfe949568fa9413db72cdccb26baca2c4592a2a': Use syscall(2) instead of ioprio_get/ioprio_set.
| * | | | am 9b2d964d: am 08430b1e: Merge "Use syscall(2) instead of ↵Dan Albert2014-06-131-19/+5
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | ioprio_get/ioprio_set." * commit '9b2d964d0139198c2cce2b8f6bb5b1a566e47913': Use syscall(2) instead of ioprio_get/ioprio_set.
| | * | | am 08430b1e: Merge "Use syscall(2) instead of ioprio_get/ioprio_set."Dan Albert2014-06-131-19/+5
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * commit '08430b1e8c9cf42289289d88e7dd05294da7589e': Use syscall(2) instead of ioprio_get/ioprio_set.
| | | * | Merge "Use syscall(2) instead of ioprio_get/ioprio_set."Dan Albert2014-06-121-19/+5
| | | |\ \
| | | | * | Use syscall(2) instead of ioprio_get/ioprio_set.Dan Albert2014-06-121-19/+5
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ibfd0bdd3dd0bad9804ec9fd9292f4b68a510afdb
* | | | | | am f8cb68e1: am 3bff77a8: am 875dc8f3: Merge "Create ↵Nick Kralevich2014-06-121-0/+1
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /data/dalvik-cache/profiles" * commit 'f8cb68e15ba242200e3525fffa2f969960e18a50': Create /data/dalvik-cache/profiles
| * | | | | am 3bff77a8: am 875dc8f3: Merge "Create /data/dalvik-cache/profiles"Nick Kralevich2014-06-121-0/+1
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | * commit '3bff77a8f90e673dbf41d97b7b842a3e4a6986bf': Create /data/dalvik-cache/profiles
| | * | | | am 875dc8f3: Merge "Create /data/dalvik-cache/profiles"Nick Kralevich2014-06-121-0/+1
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | | | | | | | * commit '875dc8f3f31fe9f5ee42d900737149bdeb95f1c7': Create /data/dalvik-cache/profiles
| | | * | | Merge "Create /data/dalvik-cache/profiles"Nick Kralevich2014-06-101-0/+1
| | | |\ \ \
| | | | * | | Create /data/dalvik-cache/profilesNick Kralevich2014-06-111-0/+1
| | | | | |/ | | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure /data/dalvik-cache/profiles gets the correct permissions and SELinux context, and ownership is properly assigned to the system UID. Change-Id: Ic1b44009faa30d704855e97631006c4b990a4ad3
* | | | | | am 44aadc4d: am 1eebf538: am 59d16c9e: Merge "make console shell run as ↵Nick Kralevich2014-06-121-1/+1
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GID=shell" * commit '44aadc4daf926155bf06bcf9d8f2daa96f861cdf': make console shell run as GID=shell
| * | | | | am 1eebf538: am 59d16c9e: Merge "make console shell run as GID=shell"Nick Kralevich2014-06-121-1/+1
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | * commit '1eebf538d3e5465bbec84d86017bb9ca250a052b': make console shell run as GID=shell
| | * | | | am 59d16c9e: Merge "make console shell run as GID=shell"Nick Kralevich2014-06-121-1/+1
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | | | | | | | * commit '59d16c9e9171f4367ad3a0516e7000c0d95e89cf': make console shell run as GID=shell
| | | * | | Merge "make console shell run as GID=shell"Nick Kralevich2014-06-121-1/+1
| | | |\ \ \ | | | | |/ / | | | |/| |
| | | | * | make console shell run as GID=shellNick Kralevich2014-06-121-1/+1
| | | |/ / | | | | | | | | | | | | | | | Change-Id: I240bec07b04de1b26eef14e4f590af56c1aaa276
* | | | | am 2b958116: am a31dab8a: am a9aa0f2c: Merge "Build the libc++ variant of ↵Ian Rogers2014-06-111-0/+17
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | libbacktrace on the host for Mac." * commit '2b95811601b05db7894359f037005a008274a973': Build the libc++ variant of libbacktrace on the host for Mac.
| * | | | am a31dab8a: am a9aa0f2c: Merge "Build the libc++ variant of libbacktrace on ↵Ian Rogers2014-06-111-0/+17
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | the host for Mac." * commit 'a31dab8a8fbdd6d4e91d5e5fb3d0031594b92dfc': Build the libc++ variant of libbacktrace on the host for Mac.
| | * | | am a9aa0f2c: Merge "Build the libc++ variant of libbacktrace on the host for ↵Ian Rogers2014-06-111-0/+17
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | Mac." * commit 'a9aa0f2c42e2291496f39ca60775ff95648eba31': Build the libc++ variant of libbacktrace on the host for Mac.
| | | * | Merge "Build the libc++ variant of libbacktrace on the host for Mac."Ian Rogers2014-06-101-0/+17
| | | |\ \
| | | | * | Build the libc++ variant of libbacktrace on the host for Mac.Ian Rogers2014-06-111-0/+17
| | | | |/ | | | | | | | | | | | | | | | | | | | | Bug: 13751317 Change-Id: Iefadec1cd9b3ca109ac436bd5eb7c096c2dcbe40
* | | | | am cfd002c9: am 428a6d23: am f2521e76: Merge changes ↵Colin Cross2014-06-110-0/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I46586cba,I6c500ab5,I2f7d9934 * commit 'cfd002c90d4001bc2370428aa554e6f46110adff': Add mknod utility to system/core/toolbox Getevent: make sure the monotonic timestamp is displayed; warning cleanup. toolbox: Add nohup command
| * | | | am 428a6d23: am f2521e76: Merge changes I46586cba,I6c500ab5,I2f7d9934Colin Cross2014-06-114-4/+133
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | * commit '428a6d23fc71b1fe5c5e785905693b9d1c414958': Add mknod utility to system/core/toolbox Getevent: make sure the monotonic timestamp is displayed; warning cleanup. toolbox: Add nohup command
| | * | | am f2521e76: Merge changes I46586cba,I6c500ab5,I2f7d9934Colin Cross2014-06-114-4/+133
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f2521e76ffd5baaf13f7ddf16bcc0ef58959cfae': Add mknod utility to system/core/toolbox Getevent: make sure the monotonic timestamp is displayed; warning cleanup. toolbox: Add nohup command
| | | * | Merge changes I46586cba,I6c500ab5,I2f7d9934Colin Cross2014-06-104-4/+133
| | | |\ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | * changes: Add mknod utility to system/core/toolbox Getevent: make sure the monotonic timestamp is displayed; warning cleanup. toolbox: Add nohup command
| | | | * Add mknod utility to system/core/toolboxSujith Ramakrishnan2014-06-112-0/+96
| | | | | | | | | | | | | | | | | | | | Change-Id: I46586cba83ecb8095721be8ffad9e386d4698e4a
| | | | * Getevent: make sure the monotonic timestamp is displayed; warning cleanup.Sasha Levitskiy2014-06-111-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6c500ab55470155ddf692fe5f655bdd575f195f5 Signed-off-by: Sasha Levitskiy <sanek@google.com>
| | | | * toolbox: Add nohup commandGlenn Kasten2014-06-112-0/+27
| | | |/ | | | | | | | | | | | | | | | | Change-Id: I2f7d9934b54d98886d7a6205ea122d9ce91066ec Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* | | | am 0487e50a: am 24fc60c7: am 304d31f0: Merge "Make su 04750"Nick Kralevich2014-06-111-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '0487e50accf44f13acafad5fb5d76b4958d86550': Make su 04750
| * | | am 24fc60c7: am 304d31f0: Merge "Make su 04750"Nick Kralevich2014-06-101-1/+1
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit '24fc60c7a686afb06a8a4a6246ede277ef300e50': Make su 04750
| | * | am 304d31f0: Merge "Make su 04750"Nick Kralevich2014-06-101-1/+1
| | |\ \ | | | |/ | | | | | | | | | | | | * commit '304d31f05ee76a834209ad837ce78255cf70ae5f': Make su 04750
| | | * Merge "Make su 04750"Nick Kralevich2014-06-101-1/+1
| | | |\
| | | | * Make su 04750Nick Kralevich2014-06-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, /system/xbin/su is world executable. Prior to SELinux enforcement, anyone (including third party apps) could run su. The su code itself checks to see if the calling UID is root or shell. Rather than relying on enforcement within the su binary, modify the binary so it has group=shell, and remove world-execute permission. This helps avoid some annoying SELinux denial messages as third party apps call su on userdebug/eng builds. Change-Id: I61c9231bb7e201d14ee3a5b6fe81b3fa7b12599f
* | | | | am ce9313fa: am 07cf9445: am 0319f528: Merge "Replace hand written offsets ↵Narayan Kamath2014-06-112-160/+272
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | with structures." * commit 'ce9313faed28c5592d03f278611f438ab25dee2d': Replace hand written offsets with structures.
| * | | | am 07cf9445: am 0319f528: Merge "Replace hand written offsets with structures."Narayan Kamath2014-06-102-160/+272
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '07cf9445a4afebf82cc1b9a0e44bc9aced51e0a0': Replace hand written offsets with structures.
| | * | | am 0319f528: Merge "Replace hand written offsets with structures."Narayan Kamath2014-06-102-160/+272
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | * commit '0319f528b2d94df89cb489905f7e1c65af511d75': Replace hand written offsets with structures.
| | | * | Merge "Replace hand written offsets with structures."Narayan Kamath2014-06-102-160/+272
| | | |\ \
| | | | * | Replace hand written offsets with structures.Narayan Kamath2014-06-102-160/+272
| | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Given that all current & future android ABIs are little endian, we can get rid of the explicit conversions from memory regions to little endian data members. Also cleans up a few C style casts that snuck in during several -Werror efforts and fixes temporary file generation on target. bug: 15448202 Change-Id: I4fcbb3c1124cb82c82139d328344e54fc7895353
* | | | | Merge "Partially revert argument escaping."Jeff Sharkey2014-06-101-13/+20
|\ \ \ \ \
| * | | | | Partially revert argument escaping.Jeff Sharkey2014-06-111-13/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commands chained with && need to be passed through literally instead of always being quoted. Bug: 15479704 Change-Id: I2998e40a92a3bfd092098cd526403b469c86c9a6