OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:nsFd
(Results
1 - 2
of
2
) sorted by null
/device/generic/goldfish/wifi/ipv6proxy/
namespace.cpp
36
int
nsFd
= open(path, O_RDONLY | O_CLOEXEC);
37
if (
nsFd
== -1) {
43
if (setns(
nsFd
, CLONE_NEWNET) == -1) {
46
close(
nsFd
);
49
close(
nsFd
);
/system/vold/
VolumeManager.cpp
451
int
nsFd
;
474
nsFd
= -1;
500
nsFd
= openat(pidFd, "ns/mnt", O_RDONLY); // not O_CLOEXEC
501
if (
nsFd
< 0) {
507
if (setns(
nsFd
, CLONE_NEWNS) != 0) {
559
close(
nsFd
);
Completed in 163 milliseconds