OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:nsPath
(Results
1 - 3
of
3
) sorted by null
/device/generic/goldfish/wifi/ipv6proxy/
namespace.cpp
65
char
nsPath
[PATH_MAX];
66
snprintf(
nsPath
, sizeof(
nsPath
), "%s/%s", kNetNsDir, ns);
67
return setNamespaceFromPath(
nsPath
);
73
char
nsPath
[PATH_MAX];
76
snprintf(
nsPath
, sizeof(
nsPath
), "/proc/%llu/ns/net/",
78
return setNamespaceFromPath(
nsPath
);
/device/generic/goldfish/wifi/execns/
execns.cpp
91
char
nsPath
[PATH_MAX];
92
snprintf(
nsPath
, sizeof(
nsPath
), "%s/%s.pid", kNetNsDir, ns);
94
File file(::fopen(
nsPath
, "r"));
97
nsPath
, ns, strerror(errno));
110
LOGE("File %s does not contain a valid pid '%s'",
nsPath
, buffer);
112
LOGE("Error reading from file %s: %s",
nsPath
, strerror(errno));
114
LOGE("Invalid contents of pid file %s",
nsPath
);
132
char
nsPath
[PATH_MAX];
133
snprintf(
nsPath
, sizeof(nsPath), "/proc/%s/ns/net", pid.c_str())
[
all
...]
/device/generic/goldfish/wifi/createns/
createns.cpp
80
std::vector<char>
nsPath
(sizeof(kNamespacePath) + len);
81
size_t totalSize = strlcpy(
nsPath
.data(), kNamespacePath,
nsPath
.size());
82
if (totalSize >=
nsPath
.size()) {
88
totalSize = strlcat(
nsPath
.data(), name,
nsPath
.size());
89
if (totalSize >=
nsPath
.size()) {
95
return
nsPath
.data();
Completed in 773 milliseconds