OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "sandbox/win/src/lpc_policy.h" |
| 6 |
| 7 namespace sandbox { |
| 8 |
| 9 bool LpcPolicy::GenerateRules(const wchar_t* name, |
| 10 TargetPolicy::Semantics semantics, |
| 11 LowLevelPolicy* policy) { |
| 12 PolicyRule rule(FAKE_SUCCESS); |
| 13 if (!policy->AddRule(IPC_NTCONNECTALPCPORT_TAG, &rule)) |
| 14 return false; |
| 15 return true; |
| 16 } |
| 17 |
| 18 } // namespace sandbox |
| 19 |
OLD | NEW |