blob: ff7f58f18ad8b7cead251176dc78421e815a9824 [file] [log] [blame]
Prashant Malanib3241da2020-12-09 10:06:18 -08001// Copyright 2020 The Chromium OS 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#ifndef DEBUGD_SRC_ECTOOL_UTIL_H_
6#define DEBUGD_SRC_ECTOOL_UTIL_H_
7
8#include <string>
9#include <vector>
10
11#include <base/files/file_path.h>
12#include <brillo/errors/error.h>
13
14namespace debugd {
15
16bool RunEctoolWithArgs(brillo::ErrorPtr* error,
17 const base::FilePath& seccomp_policy_path,
18 const std::vector<std::string> ectool_args,
19 const std::string& user,
20 std::string* output);
21
22} // namespace debugd
23
24#endif // DEBUGD_SRC_ECTOOL_UTIL_H_