-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsystemd-exec.ts
More file actions
117 lines (115 loc) · 2.61 KB
/
systemd-exec.ts
File metadata and controls
117 lines (115 loc) · 2.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
import { systemCallFilter } from "./common-syscalls";
import { knownArches } from "./common-unit-condition";
import { SystemdValueEnum } from "./types";
const manPage = "systemd.exec(5)";
export const valueEnum: SystemdValueEnum[] = [
systemCallFilter,
{
directive: 'SystemCallArchitectures',
manPage,
values: knownArches,
sep: ' ',
},
{
directive: "CPUSchedulingPolicy",
manPage,
values: ["other", "batch", "idle", "fifo", "rr"],
},
{
directive: "IOSchedulingClass",
manPage,
values: ["realtime", "best-effort", "idle"],
},
{
directive: "KeyringMode",
manPage,
values: ["inherit", "private", "shared"],
},
{
directive: "Personality",
manPage,
values: [
"arm64",
"arm64-be",
"arm",
"arm-be",
"x86",
"x86-64",
"ppc",
"ppc-le",
"ppc64",
"ppc64-le",
"s390",
"s390x",
],
},
{
directive: "ProcSubset",
manPage,
values: ["all", "pid"],
},
{
directive: "ProtectProc",
manPage,
values: ["noaccess", "invisible", "ptraceable", "default"],
},
{
directive: "StandardInput",
manPage,
values: ["null", "tty", "tty-force", "tty-fail", "data", "file:${path}", "socket", "fd:${name}"],
},
{
directive: "StandardOutput",
manPage,
values: [
"inherit",
"null",
"tty",
"journal",
"kmsg",
"journal+console",
"kmsg+console",
"file:${path}",
"append:${path}",
"truncate:${path}",
"socket",
"fd:${name}",
],
},
{
directive: "SyslogFacility",
manPage,
values: [
"kern",
"user",
"mail",
"daemon",
"auth",
"syslog",
"lpr",
"news",
"uucp",
"cron",
"authpriv",
"ftp",
"local0",
"local1",
"local2",
"local3",
"local4",
"local5",
"local6",
"local7",
],
},
{
directive: "SyslogLevel",
manPage,
values: ["emerg", "alert", "crit", "err", "warning", "notice", "info", "debug"],
},
{
directive: "UtmpMode",
manPage,
values: ["init", "login", "user"],
},
];