Skip to content

Commit 0d04ed1

Browse files
committed
add code symbols and a period in seccomp blog
1 parent 21a84f7 commit 0d04ed1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/en/blog/_posts/2023-05-18-seccomp-profiles-edge.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ resulting profile. Those are used by the OCI runtime (like [runc][runc] or
105105
[crun][crun]) in order to be able to run a container. This means that `spoc`
106106
can be used to record seccomp profiles which then can be containerized directly.
107107
This behavior can be disabled in `spoc` by using the `--no-base-syscalls`/`-n`
108-
or customized via the `--base-syscalls`/`-b` command line flags This can be
108+
or customized via the `--base-syscalls`/`-b` command line flags. This can be
109109
helpful in cases where different OCI runtimes other than crun and runc are used,
110110
or if I just want to record the seccomp profile for the application and stack
111111
it with another [base profile][base].
@@ -154,7 +154,7 @@ together with the Security Profiles Operator for managing it within Kubernetes.
154154
52.628827 Wrote seccomp profile to: /tmp/profile.json
155155
```
156156

157-
```
157+
```console
158158
> jq . /tmp/profile.json
159159
```
160160

@@ -216,7 +216,7 @@ example, I could remove the allowed `uname` syscall:
216216

217217
And then try to run it again with the new profile `/tmp/no-uname-profile.json`:
218218

219-
```
219+
```console
220220
> sudo ./spoc run -p /tmp/no-uname-profile.json ./main
221221
10:39:12.707798 Reading file /tmp/no-uname-profile.json
222222
10:39:12.707892 Setting up seccomp
@@ -250,7 +250,7 @@ to `SCMP_ACT_LOG` like this:
250250
Then the log enricher will give us a hint that the `uname` syscall got blocked
251251
when using `spoc run`:
252252

253-
```
253+
```console
254254
> sudo ./spoc run -p /tmp/no-uname-profile-log.json ./main
255255
10:48:07.470126 Reading file /tmp/no-uname-profile-log.json
256256
10:48:07.470234 Setting up seccomp

0 commit comments

Comments
 (0)