| Index: content/public/common/zygote_fork_delegate_linux.h
|
| diff --git a/content/public/common/zygote_fork_delegate_linux.h b/content/public/common/zygote_fork_delegate_linux.h
|
| index a5ea9f2952f6eebeea745f1ec39496cc2799ee5b..87b4859c7cf469c1ea32df061b7d2d506fba6228 100644
|
| --- a/content/public/common/zygote_fork_delegate_linux.h
|
| +++ b/content/public/common/zygote_fork_delegate_linux.h
|
| @@ -43,6 +43,18 @@ class ZygoteForkDelegate {
|
| virtual bool CanHelp(const std::string& process_type, std::string* uma_name,
|
| int* uma_sample, int* uma_boundary_value) = 0;
|
|
|
| + // Indexes of FDs in the vector passed to Fork().
|
| + enum {
|
| + // Used to pass in the descriptor for talking to the Browser
|
| + kBrowserFDIndex,
|
| + // The next two are used in the protocol for discovering the
|
| + // child processes real PID from within the SUID sandbox. See
|
| + // http://code.google.com/p/chromium/wiki/LinuxZygote
|
| + kDummyFDIndex,
|
| + kParentFDIndex,
|
| + kNumPassedFDs // Number of FDs in the vector passed to Fork().
|
| + };
|
| +
|
| // Delegate forks, returning a -1 on failure. Outside the
|
| // suid sandbox, Fork() returns the Linux process ID.
|
| // This method is not aware of any potential pid namespaces, so it'll
|
|
|