<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/libseccomp.git/include, branch main</title>
<subtitle>github.com: seccomp/libseccomp.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libseccomp.git/'/>
<entry>
<title>arch: Add 32-bit Motorola 68000 support</title>
<updated>2023-04-25T19:16:09+00:00</updated>
<author>
<name>John Paul Adrian Glaubitz</name>
<email>glaubitz@physik.fu-berlin.de</email>
</author>
<published>2023-01-18T11:15:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libseccomp.git/commit/?id=dd5c9c24e8ba11c9c3ee6b60c93cef64a9ad5c86'/>
<id>dd5c9c24e8ba11c9c3ee6b60c93cef64a9ad5c86</id>
<content type='text'>
Signed-off-by: John Paul Adrian Glaubitz &lt;glaubitz@physik.fu-berlin.de&gt;
Acked-by: Paul Moore &lt;paul@paul-moore.com&gt;
Signed-off-by: Tom Hromatka &lt;tom.hromatka@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: John Paul Adrian Glaubitz &lt;glaubitz@physik.fu-berlin.de&gt;
Acked-by: Paul Moore &lt;paul@paul-moore.com&gt;
Signed-off-by: Tom Hromatka &lt;tom.hromatka@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>arch: Add 64-bit LoongArch support</title>
<updated>2023-02-19T03:07:30+00:00</updated>
<author>
<name>Xiaotian Wu</name>
<email>wuxiaotian@loongson.cn</email>
</author>
<published>2021-02-09T07:39:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libseccomp.git/commit/?id=6966ec77b195ac289ae168c7c5646d59a307f33f'/>
<id>6966ec77b195ac289ae168c7c5646d59a307f33f</id>
<content type='text'>
Signed-off-by: Xiaotian Wu &lt;wuxiaotian@loongson.cn&gt;
Signed-off-by: WANG Xuerui &lt;git@xen0n.name&gt;
Acked-by: Tom Hromatka &lt;tom.hromatka@oracle.com&gt;
Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Xiaotian Wu &lt;wuxiaotian@loongson.cn&gt;
Signed-off-by: WANG Xuerui &lt;git@xen0n.name&gt;
Acked-by: Tom Hromatka &lt;tom.hromatka@oracle.com&gt;
Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>syscalls: update to Linux v6.0</title>
<updated>2023-02-19T03:06:56+00:00</updated>
<author>
<name>Xiaotian Wu</name>
<email>wuxiaotian@loongson.cn</email>
</author>
<published>2021-11-06T06:13:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libseccomp.git/commit/?id=b9633de506eec837a9f91d4e98dedf5101fd5227'/>
<id>b9633de506eec837a9f91d4e98dedf5101fd5227</id>
<content type='text'>
Signed-off-by: Xiaotian Wu &lt;wuxiaotian@loongson.cn&gt;
Signed-off-by: WANG Xuerui &lt;git@xen0n.name&gt;
Acked-by: Tom Hromatka &lt;tom.hromatka@oracle.com&gt;
Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Xiaotian Wu &lt;wuxiaotian@loongson.cn&gt;
Signed-off-by: WANG Xuerui &lt;git@xen0n.name&gt;
Acked-by: Tom Hromatka &lt;tom.hromatka@oracle.com&gt;
Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>api: add the SCMP_FLTATR_CTL_WAITKILL filter attribute</title>
<updated>2022-10-31T19:21:47+00:00</updated>
<author>
<name>Paul Moore</name>
<email>paul@paul-moore.com</email>
</author>
<published>2022-10-31T19:21:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libseccomp.git/commit/?id=96989965042a515a3cbcb50e9b98243b9b7d4c37'/>
<id>96989965042a515a3cbcb50e9b98243b9b7d4c37</id>
<content type='text'>
The SCMP_FLTATR_CTL_WAITKILL attribute requests that the
SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV flag be passed to the
seccomp(2) system call when possible, which is currently only when
the SECCOMP_FILTER_FLAG_NEW_LISTENER flag is also set.

Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
Signed-off-by: Tom Hromatka &lt;tom.hromatka@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The SCMP_FLTATR_CTL_WAITKILL attribute requests that the
SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV flag be passed to the
seccomp(2) system call when possible, which is currently only when
the SECCOMP_FILTER_FLAG_NEW_LISTENER flag is also set.

Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
Signed-off-by: Tom Hromatka &lt;tom.hromatka@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>all: add seccomp_precompute() functionality</title>
<updated>2022-09-22T01:55:32+00:00</updated>
<author>
<name>Paul Moore</name>
<email>paul@paul-moore.com</email>
</author>
<published>2022-07-26T22:27:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libseccomp.git/commit/?id=e797591bdd6834272e2db292400f608ed9bd7fab'/>
<id>e797591bdd6834272e2db292400f608ed9bd7fab</id>
<content type='text'>
This patch adds a seccomp_precompute() API to precompute the seccomp
filter prior to calling seccomp_load() or similar functions.  Not
only does this improve the performance of seccomp_load(), it ensures
that seccomp_load() is async-signal-safe if no additional changes
have been made since the filter was precomputed.

Python bindings, test, and manpage updates are included in this
patch.

One minor side effect of this change is that seccomp_export_bpf_mem()
now always return the length of the filter in the "len" function
parameter, even in cases where the passed buffer is too small.
Arguably seccomp_export_bpf_mem() should have always behaved this
way.

Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds a seccomp_precompute() API to precompute the seccomp
filter prior to calling seccomp_load() or similar functions.  Not
only does this improve the performance of seccomp_load(), it ensures
that seccomp_load() is async-signal-safe if no additional changes
have been made since the filter was precomputed.

Python bindings, test, and manpage updates are included in this
patch.

One minor side effect of this change is that seccomp_export_bpf_mem()
now always return the length of the filter in the "len" function
parameter, even in cases where the passed buffer is too small.
Arguably seccomp_export_bpf_mem() should have always behaved this
way.

Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>api: fix typo in seccomp.h</title>
<updated>2022-09-20T02:26:21+00:00</updated>
<author>
<name>Kir Kolyshkin</name>
<email>kolyshkin@gmail.com</email>
</author>
<published>2022-09-02T20:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libseccomp.git/commit/?id=3e18c414401ae185390c29aa7cf94f54b5af724c'/>
<id>3e18c414401ae185390c29aa7cf94f54b5af724c</id>
<content type='text'>
Signed-off-by: Kir Kolyshkin &lt;kolyshkin@gmail.com&gt;
Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Kir Kolyshkin &lt;kolyshkin@gmail.com&gt;
Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>syscalls: update the syscall list for Linux v5.17</title>
<updated>2022-04-05T15:07:11+00:00</updated>
<author>
<name>Paul Moore</name>
<email>paul@paul-moore.com</email>
</author>
<published>2022-04-05T13:01:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libseccomp.git/commit/?id=2657109b5802f22ec0de693f03db880b83ea5624'/>
<id>2657109b5802f22ec0de693f03db880b83ea5624</id>
<content type='text'>
Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>syscalls: update the syscall table to Linux v5.15</title>
<updated>2021-11-04T14:44:56+00:00</updated>
<author>
<name>Paul Moore</name>
<email>paul@paul-moore.com</email>
</author>
<published>2021-11-04T14:44:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libseccomp.git/commit/?id=abad8a8f41fc13efbb95fc1ccaa3e181342bade7'/>
<id>abad8a8f41fc13efbb95fc1ccaa3e181342bade7</id>
<content type='text'>
Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
Signed-off-by: Tom Hromatka &lt;tom.hromatka@oracle.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
Signed-off-by: Tom Hromatka &lt;tom.hromatka@oracle.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>api: update seccomp-syscalls.h</title>
<updated>2021-10-28T14:05:17+00:00</updated>
<author>
<name>Paul Moore</name>
<email>paul@paul-moore.com</email>
</author>
<published>2021-10-27T19:39:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libseccomp.git/commit/?id=3f47bba7c5c8cc18be80e625eedb2c1823233708'/>
<id>3f47bba7c5c8cc18be80e625eedb2c1823233708</id>
<content type='text'>
It appears that the seccomp-syscalls.h header file had gotten out of
sync with the syscalls.csv syscall table, this patch fixes this
disconnect.

The only edit that is somewhat interesting is that the oldwait4(2)
syscall probably never should have been included in the header file
as it appears to no longer exist (?).

Reported-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Acked-by: Tom Hromatka &lt;tom.hromatka@oracle.com&gt;
Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It appears that the seccomp-syscalls.h header file had gotten out of
sync with the syscalls.csv syscall table, this patch fixes this
disconnect.

The only edit that is somewhat interesting is that the oldwait4(2)
syscall probably never should have been included in the header file
as it appears to no longer exist (?).

Reported-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Acked-by: Tom Hromatka &lt;tom.hromatka@oracle.com&gt;
Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>api: extend BPF export API to write to a memory buffer</title>
<updated>2021-10-08T18:36:40+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2017-03-09T05:13:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/libseccomp.git/commit/?id=3f0e47fe2717b73ccef68ca18f9f7297ee73ebb2'/>
<id>3f0e47fe2717b73ccef68ca18f9f7297ee73ebb2</id>
<content type='text'>
The API to export to a fd is helpful, but for tools that want to
generate &amp; read the BPF program, outputting to a buffer would be
much more helpful.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Reviewed-by: Tom Hromatka &lt;tom.hromatka@oracle.com&gt;
[PM: rename seccomp_export_bpf_buf() to seccomp_export_bpf_mem()]
[PM: 'make check-syntax' fixes]
Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The API to export to a fd is helpful, but for tools that want to
generate &amp; read the BPF program, outputting to a buffer would be
much more helpful.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Reviewed-by: Tom Hromatka &lt;tom.hromatka@oracle.com&gt;
[PM: rename seccomp_export_bpf_buf() to seccomp_export_bpf_mem()]
[PM: 'make check-syntax' fixes]
Signed-off-by: Paul Moore &lt;paul@paul-moore.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
