History log of /external/libbrillo/brillo/process_mock.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d6720ce258a19c08fd2cfe6ea61b5eeefcfb9582 14-Dec-2015 Samuel Tan <samueltan@google.com> libbrillo: extend Process API to support sandboxing

Extend the brillo::Process API to support some sandboxing
options.

BUG: 26190154
Change-Id: I6d657ee2afda20d18d6286b132c9143dce0ffc9d
/external/libbrillo/brillo/process_mock.h
418cb564472b48c21d6f70ff4f7e8bd688355ec4 08-Dec-2015 Peter Qiu <zqiu@google.com> libbrillo: process: close unused file descriptors inherited from parent

Currently, we're leaking all opened file descriptors from the
parent process to the child process. This causes undesired side
effects where the file descriptors in the parent might get into
a weird state (e.g. file is ready for read without any data).

Fix this by allowing the caller to set a flag, so that unused file
descriptors inherited from parent will get closed when starting
the child process. Default it to false for now to avoid causing
any unexpected side effects for other callers.

Bug: None
BUG=chromium:567357
TEST=new unit tests
TEST=Manual test

Change-Id: Icf13c4832305096c54e013872360f1da6ee65fb8
/external/libbrillo/brillo/process_mock.h
fed60b0c640828b320f56293c8bebc43fd2b1da8 27-Oct-2015 Alex Vakulenko <avakulenko@google.com> Rename "libchromeos" into "libbrillo"

Renamed libchromeos[-.*] libraries into libbrillo-...

BUG: 24872993
Change-Id: Ibab1623b6a08a55cae3662e941d0d6644ff14df4
/external/libbrillo/brillo/process_mock.h
9ed0cab99f18acb3570a35e9408f24355f6b8324 13-Oct-2015 Alex Vakulenko <avakulenko@google.com> Move chromeos symbols into brillo namespace

And move the include files into "brillo" directory instead of "chromeos"

BUG: 24872993
TEST=built aosp and brillo and unit tests pass on dragonoboard

Change-Id: Ieb979d1ebd3152921d36cd15acbd6247f02aae69
/external/libbrillo/brillo/process_mock.h