OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:proc_fd_
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/content/common/sandbox_linux/
sandbox_linux.cc
102
:
proc_fd_
(-1),
137
// Open
proc_fd_
only in Debug mode so that forgetting to close it doesn't
139
proc_fd_
= open("/proc", O_DIRECTORY | O_RDONLY);
140
CHECK_GE(
proc_fd_
, 0);
192
int proc_self_task = OpenProcTaskFd(
proc_fd_
);
205
// setuid sandbox is already engaged but no
proc_fd_
is available).
340
return sandbox::Credentials().HasOpenDirectory(
proc_fd_
);
344
if (
proc_fd_
>= 0) {
345
int ret = IGNORE_EINTR(close(
proc_fd_
));
347
proc_fd_
= -1
[
all
...]
sandbox_linux.h
99
// in the sandbox is closed. For now, this consists of closing
proc_fd_
.
111
int
proc_fd_
;
member in class:content::LinuxSandbox
/external/chromium_org/sandbox/linux/seccomp-bpf/
sandbox_bpf.h
211
int proc_fd() { return
proc_fd_
; }
266
int
proc_fd_
;
member in class:sandbox::SandboxBPF
sandbox_bpf.cc
228
proc_fd_
(-1),
274
DCHECK(IsSingleThreaded(
proc_fd_
));
431
void SandboxBPF::set_proc_fd(int proc_fd) {
proc_fd_
= proc_fd; }
443
if (
proc_fd_
< 0) {
444
proc_fd_
= open("/proc", O_RDONLY | O_DIRECTORY);
446
if (
proc_fd_
< 0) {
450
if (!IsSingleThreaded(
proc_fd_
)) {
457
if (
proc_fd_
>= 0) {
458
if (IGNORE_EINTR(close(
proc_fd_
))) {
461
proc_fd_
= -1
[
all
...]
Completed in 30 milliseconds