blob: dc1b752e7435a7adfc96e337a4c044a2ed1ee66b [file] [log] [blame]
Tom Cherry4772f1d2019-07-30 09:34:41 -07001/*
2 * Copyright (C) 2019 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#pragma once
18
19#include "builtin_arguments.h"
20#include "result.h"
21
22namespace android {
23namespace init {
24
25Result<void> check_chown(const BuiltinArguments& args);
26Result<void> check_exec(const BuiltinArguments& args);
27Result<void> check_exec_background(const BuiltinArguments& args);
Tom Cherryf66b74f2019-09-04 15:26:52 -070028Result<void> check_exec_reboot_on_failure(const BuiltinArguments& args);
Daniel Normand2533c32019-08-02 15:13:50 -070029Result<void> check_interface_restart(const BuiltinArguments& args);
30Result<void> check_interface_start(const BuiltinArguments& args);
31Result<void> check_interface_stop(const BuiltinArguments& args);
Tom Cherry4772f1d2019-07-30 09:34:41 -070032Result<void> check_load_system_props(const BuiltinArguments& args);
33Result<void> check_loglevel(const BuiltinArguments& args);
34Result<void> check_mkdir(const BuiltinArguments& args);
Alistair Delvac631f942020-05-20 16:24:00 -070035Result<void> check_mount_all(const BuiltinArguments& args);
Tom Cherry4772f1d2019-07-30 09:34:41 -070036Result<void> check_restorecon(const BuiltinArguments& args);
37Result<void> check_restorecon_recursive(const BuiltinArguments& args);
38Result<void> check_setprop(const BuiltinArguments& args);
39Result<void> check_setrlimit(const BuiltinArguments& args);
Alistair Delvaafaa5fb2020-06-08 11:04:53 -070040Result<void> check_swapon_all(const BuiltinArguments& args);
Tom Cherry4772f1d2019-07-30 09:34:41 -070041Result<void> check_sysclktz(const BuiltinArguments& args);
Alistair Delvac631f942020-05-20 16:24:00 -070042Result<void> check_umount_all(const BuiltinArguments& args);
Tom Cherry4772f1d2019-07-30 09:34:41 -070043Result<void> check_wait(const BuiltinArguments& args);
44Result<void> check_wait_for_prop(const BuiltinArguments& args);
45
46} // namespace init
47} // namespace android