Lines Matching refs:commands
154 const std::string commands = Join(commandList, '\n');
155 return execIptablesRestore(V4V6, commands);
162 // exist, put each UID's rules in a chain specific to that UID. That way, the commands we need
167 std::vector<std::string> commands;
170 commands = {
181 commands.push_back("*filter");
182 commands.push_back(StringPrintf(":%s -", perUidChain.c_str()));
183 commands.push_back(StringPrintf("-I %s -m owner --uid-owner %d -j %s",
185 commands.push_back(StringPrintf("-I %s -m owner --uid-owner %d -j %s",
189 commands.push_back(StringPrintf("-A %s -j %s", perUidChain.c_str(), LOCAL_PENALTY_LOG));
191 commands.push_back(StringPrintf("-A %s -j %s", perUidChain.c_str(),
195 commands.push_back("COMMIT\n");
197 return execIptablesRestore(V4V6, Join(commands, "\n"));