Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: chrome/common/sandbox_methods_linux.h

Issue 361002: Add support for getting the real process id from within the suid sandbox. The... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/test/in_process_browser_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_SANDBOX_METHODS_LINUX_H_ 5 #ifndef CHROME_COMMON_SANDBOX_METHODS_LINUX_H_
6 #define CHROME_COMMON_SANDBOX_METHODS_LINUX_H_ 6 #define CHROME_COMMON_SANDBOX_METHODS_LINUX_H_
7 7
8 // This is a list of sandbox IPC methods which the renderer may send to the 8 // This is a list of sandbox IPC methods which the renderer may send to the
9 // sandbox host. See http://code.google.com/p/chromium/LinuxSandboxIPC 9 // sandbox host. See http://code.google.com/p/chromium/LinuxSandboxIPC
10 // This isn't the full list, values < 32 are reserved for methods called from 10 // This isn't the full list, values < 32 are reserved for methods called from
11 // Skia. 11 // Skia.
12 class LinuxSandbox { 12 class LinuxSandbox {
13 public: 13 public:
14 enum Methods { 14 enum Methods {
15 METHOD_GET_FONT_FAMILY_FOR_CHARS = 32, 15 METHOD_GET_FONT_FAMILY_FOR_CHARS = 32,
16 METHOD_LOCALTIME = 33, 16 METHOD_LOCALTIME = 33,
17 METHOD_GET_CHILD_WITH_INODE = 34,
17 }; 18 };
18 }; 19 };
19 20
20 #endif // CHROME_COMMON_SANDBOX_METHODS_LINUX_H_ 21 #endif // CHROME_COMMON_SANDBOX_METHODS_LINUX_H_
OLDNEW
« no previous file with comments | « chrome/chrome.gyp ('k') | chrome/test/in_process_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698