core/socket: add PassPIDFD=

This commit is contained in:
Mike Yuan
2025-06-10 11:27:44 +02:00
parent b81a14b91e
commit 35462aa14a
8 changed files with 33 additions and 3 deletions

View File

@@ -742,6 +742,16 @@
process in an ancillary message. Defaults to <option>false</option>.</para></listitem>
</varlistentry>
<varlistentry>
<term><varname>PassPIDFD=</varname></term>
<listitem><para>Takes a boolean value. This controls the <constant>SO_PASSPIDFD</constant> socket
option, which allows <constant>AF_UNIX</constant> sockets to receive the pidfd of the sending
process in an ancillary message. Defaults to <option>false</option>.</para>
<xi:include href="version-info.xml" xpointer="v258"/></listitem>
</varlistentry>
<varlistentry>
<term><varname>PassSecurity=</varname></term>
<listitem><para>Takes a boolean value. This controls the <constant>SO_PASSSEC</constant> socket