Skip to content

Commit b006a30

Browse files
committed
.clang-format and clang-format configs/*.txt
1 parent 04ad4b3 commit b006a30

7 files changed

Lines changed: 30 additions & 24 deletions

.clang-format

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,9 @@ AlwaysBreakBeforeMultilineStrings: false
1212
IndentCaseLabels: false
1313
---
1414
Language: Proto
15+
---
16+
Language: TextProto
17+
BasedOnStyle: Google
18+
IndentWidth: 8
19+
UseTab: Always
20+
ColumnLimit: 0

configs/apache.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,5 +134,5 @@ macvlan_vs_gw: "192.168.10.1"
134134

135135
exec_bin {
136136
path: "/usr/sbin/apache2"
137-
arg : "-DFOREGROUND"
137+
arg: "-DFOREGROUND"
138138
}

configs/bash-with-fake-geteuid.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ mount {
149149
}
150150

151151
mount {
152-
src_content: "nameserver 8.8.8.8\n"
153-
dst: "/etc/resolv.conf"
152+
src_content: "nameserver 8.8.8.8\n"
153+
dst: "/etc/resolv.conf"
154154
}
155155

156156
mount {

configs/chromium-with-net-wayland.cfg

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ mount {
146146
}
147147

148148
# Uncomment, if you want your config to be loaded
149-
#mount {
149+
# mount {
150150
# prefix_src_env: "HOME"
151151
# src: "/.config/chromium"
152152
# dst: "/user/.config/.chromium"
@@ -157,20 +157,20 @@ mount {
157157

158158
mount {
159159
# Change it to your user id
160-
src: "/run/user/1000/wayland-0"
161-
dst: "/run/user/1000/wayland-0"
162-
is_bind: true
163-
rw: false
164-
mandatory: true
160+
src: "/run/user/1000/wayland-0"
161+
dst: "/run/user/1000/wayland-0"
162+
is_bind: true
163+
rw: false
164+
mandatory: true
165165
}
166166

167167
mount {
168168
# Change it to your user id
169-
src: "/run/user/1000/pulse/native"
170-
dst: "/run/user/1000/pulse/native"
171-
is_bind: true
172-
rw: false
173-
mandatory: false
169+
src: "/run/user/1000/pulse/native"
170+
dst: "/run/user/1000/pulse/native"
171+
is_bind: true
172+
rw: false
173+
mandatory: false
174174
}
175175

176176
seccomp_string: "KILL_PROCESS {"

configs/firefox-with-net-X11.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ mount {
145145
}
146146

147147
# Uncomment, if you want your config to be loaded
148-
#mount {
148+
# mount {
149149
# prefix_src_env: "HOME"
150150
# src: "/.mozilla"
151151
# dst: "/user/.mozilla"
@@ -163,7 +163,7 @@ mount {
163163
mandatory: false
164164
}
165165

166-
mount {
166+
mount {
167167
src: "/tmp/.X11-unix/X0"
168168
dst: "/tmp/.X11-unix/X0"
169169
is_bind: true

configs/firefox-with-net-wayland.cfg

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ mount {
146146
}
147147

148148
# Uncomment, if you want your config to be loaded
149-
#mount {
149+
# mount {
150150
# prefix_src_env: "HOME"
151151
# src: "/.mozilla"
152152
# dst: "/user/.mozilla"
@@ -164,12 +164,12 @@ mount {
164164
}
165165

166166
mount {
167-
# Change it to your user id
168-
src: "/run/user/1000/pulse/native"
169-
dst: "/run/user/1000/pulse/native"
170-
is_bind: true
171-
rw: false
172-
mandatory: false
167+
# Change it to your user id
168+
src: "/run/user/1000/pulse/native"
169+
dst: "/run/user/1000/pulse/native"
170+
is_bind: true
171+
rw: false
172+
mandatory: false
173173
}
174174

175175
seccomp_string: "KILL_PROCESS {"

configs/tomcat8.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,5 +131,5 @@ mount {
131131

132132
exec_bin {
133133
path: "/usr/share/tomcat8/bin/catalina.sh"
134-
arg : "run"
134+
arg: "run"
135135
}

0 commit comments

Comments
 (0)