Re: RFC: seccomp-bpf support
От
Joe Conway
Тема
Re: RFC: seccomp-bpf support
Дата
Msg-id
445d9b16-adbe-ef99-f733-1ca4e2c3e582@joeconway.com
Ответ на
Re: RFC: seccomp-bpf support (David Fetter)
Список
Дерево обсуждения
RFC: seccomp-bpf support Joe Conway <mail@joeconway.com>
Re: RFC: seccomp-bpf support David Fetter <david@fetter.org>
Re: RFC: seccomp-bpf support Joe Conway <mail@joeconway.com>
Re: RFC: seccomp-bpf support Andres Freund <andres@anarazel.de>
Re: RFC: seccomp-bpf support Tom Lane <tgl@sss.pgh.pa.us>
Re: RFC: seccomp-bpf support Andres Freund <andres@anarazel.de>
Re: RFC: seccomp-bpf support Tom Lane <tgl@sss.pgh.pa.us>
Re: RFC: seccomp-bpf support Joshua Brindle <joshua.brindle@crunchydata.com>
Re: RFC: seccomp-bpf support Andres Freund <andres@anarazel.de>
Re: RFC: seccomp-bpf support Tom Lane <tgl@sss.pgh.pa.us>
Re: RFC: seccomp-bpf support Joshua Brindle <joshua.brindle@crunchydata.com>
Re: RFC: seccomp-bpf support Andres Freund <andres@anarazel.de>
Re: RFC: seccomp-bpf support Joshua Brindle <joshua.brindle@crunchydata.com>
Re: RFC: seccomp-bpf support Andres Freund <andres@anarazel.de>
Re: RFC: seccomp-bpf support Alvaro Herrera <alvherre@2ndquadrant.com>
Re: RFC: seccomp-bpf support Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: RFC: seccomp-bpf support Joe Conway <mail@joeconway.com>
Re: RFC: seccomp-bpf support Tom Lane <tgl@sss.pgh.pa.us>
Re: RFC: seccomp-bpf support Joe Conway <mail@joeconway.com>
Re: RFC: seccomp-bpf support Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: RFC: seccomp-bpf support Joe Conway <mail@joeconway.com>
Re: RFC: seccomp-bpf support Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: RFC: seccomp-bpf support Robert Haas <robertmhaas@gmail.com>
Re: RFC: seccomp-bpf support Tomas Vondra <tomas.vondra@2ndquadrant.com>
Re: RFC: seccomp-bpf support Robert Haas <robertmhaas@gmail.com>
Re: RFC: seccomp-bpf support Joshua Brindle <joshua.brindle@crunchydata.com>
Re: RFC: seccomp-bpf support Thomas Munro <thomas.munro@gmail.com>
Re: RFC: seccomp-bpf support Joshua Brindle <joshua.brindle@crunchydata.com>
Re: RFC: seccomp-bpf support Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: RFC: seccomp-bpf support Tom Lane <tgl@sss.pgh.pa.us>
Re: RFC: seccomp-bpf support Joshua Brindle <joshua.brindle@crunchydata.com>
Re: RFC: seccomp-bpf support Andres Freund <andres@anarazel.de>
Re: RFC: seccomp-bpf support Joe Conway <mail@joeconway.com>
Re: RFC: seccomp-bpf support Andres Freund <andres@anarazel.de>
On 8/28/19 12:47 PM, David Fetter wrote:
> On Wed, Aug 28, 2019 at 11:13:27AM -0400, Joe Conway wrote:
>> SECCOMP ("SECure COMPuting with filters") is a Linux kernel syscall
>> filtering mechanism which allows reduction of the kernel attack surface
>> by preventing (or at least audit logging) normally unused syscalls.
>>
>> Quoting from this link:
>> https://www.kernel.org/doc/Documentation/prctl/seccomp_filter.txt
>>
>> "A large number of system calls are exposed to every userland process
>> with many of them going unused for the entire lifetime of the
>> process. As system calls change and mature, bugs are found and
>> eradicated. A certain subset of userland applications benefit by
>> having a reduced set of available system calls. The resulting set
>> reduces the total kernel surface exposed to the application. System
>> call filtering is meant for use with those applications."
>>
>> Recent security best-practices recommend, and certain highly
>> security-conscious organizations are beginning to require, that SECCOMP
>> be used to the extent possible. The major web browsers, container
>> runtime engines, and systemd are all examples of software that already
>> support seccomp.
>
> Neat!
>
> Are the seccomp interfaces for other kernels arranged in a manner
> similar enough to have a unified interface in PostgreSQL, or is this
> more of a Linux-only feature?
As far as I know libseccomp is Linux specific, at least at the moment.
Joe
--
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development
В списке pgsql-hackers по дате отправления