4d215aad85cd9cba3e815eafb8c56eb5218eafb1 |
|
19-Oct-2017 |
Elliott Hughes <enh@google.com> |
Add POSIX fexecve. I'm skeptical about the usefulness of this, but it's in POSIX, it's in glibc (but not iOS), and it is used in some internal source (test runners and container code). Bug: N/A Test: ran tests Change-Id: I92c5398f2a679b21a33fba92bc8e67e3ae2eb76f
|
13ec1cf3da6f92defec62492a4a94ada4ee35aaf |
|
25-Mar-2017 |
Mikhail Lappo <miklelappo@gmail.com> |
Va_end should be used with va_start va_start is used and va_end should be invoked accordingly Change-Id: I2b0a2af762e22082a351a4d8139aaa48bc791e88
|
63615066d9f0b0b1c653c91a9b305e6c292c835a |
|
26-Aug-2016 |
Elliott Hughes <enh@google.com> |
Fix execvp/execvpe behavior with absolute paths and ENOEXEC. Bug: http://b/31091962 Change-Id: Id0b3d41868f5e3ed1ccf618bfefb46609367bc9a
|
3c1159024c5ca3e85d4fd076f39712da4b27ed34 |
|
25-Aug-2016 |
Elliott Hughes <enh@google.com> |
Fix execvpe ENOEXEC behavior. The special case for absolute paths wasn't handling ENOEXEC. Also add more extensive tests for execvpe. Also switch to manually doing the fork in ExecTestHelper::Run because ASSERT_EXIT doesn't actually return, meaning we were only running the first part of each test. Bug: http://b/31073104 Change-Id: I7a4640afc6d290c51ba2e66fc1b9bb6b0fc174f7
|
1b40aafe3f192f0fdccc04e75cc48b0ed74bc23e |
|
18-Aug-2016 |
Elliott Hughes <enh@google.com> |
Rewrite the exec family. * Removes duplication. * Removes fixed PATH_MAX limit. * Adds basic tests. Bug: http://b/30032507 Change-Id: I4087a9de3e53884ac3297ebafbec4e6f8a9871b6
|