<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>virtual_oss: Introduce virtual_oss_default_control_device rc variable</title>
<updated>2026-04-16T14:51:02+00:00</updated>
<author>
<name>Christos Margiolis</name>
<email>christos@FreeBSD.org</email>
</author>
<published>2026-04-16T14:51:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=70e27ecba51892cbe4cc94bbf785c6dd261dfd57'/>
<id>70e27ecba51892cbe4cc94bbf785c6dd261dfd57</id>
<content type='text'>
The -t option gives the user the ability to create a control device for
a given virtual_oss(8) instance, so that the instance's configuration
can be manipulated during runtime with virtual_oss_cmd(8). As is
expected, the control device's name is not known, since it is specified
by the user.

This patch introduces a virtual_oss_default_control_device rc variable,
which defaults to "vdsp.ctl". The goal of this is that third-party
programs and scripts can access the control device of the default
virtual_oss(8) configuration without guessing. This is especially useful
for sbin/devd/snd.conf which deals with hot-swapping sound devices using
virtual_oss(8).

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D55670
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The -t option gives the user the ability to create a control device for
a given virtual_oss(8) instance, so that the instance's configuration
can be manipulated during runtime with virtual_oss_cmd(8). As is
expected, the control device's name is not known, since it is specified
by the user.

This patch introduces a virtual_oss_default_control_device rc variable,
which defaults to "vdsp.ctl". The goal of this is that third-party
programs and scripts can access the control device of the default
virtual_oss(8) configuration without guessing. This is especially useful
for sbin/devd/snd.conf which deals with hot-swapping sound devices using
virtual_oss(8).

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D55670
</pre>
</div>
</content>
</entry>
<entry>
<title>rc.d/NETWORKING: remove the NETWORK alias</title>
<updated>2026-04-15T09:06:32+00:00</updated>
<author>
<name>Aotian Cao</name>
<email>cat1890693@gmail.com</email>
</author>
<published>2026-04-08T07:58:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=47a9af4b39bf174efed7f6d43644d4b0bc0c9886'/>
<id>47a9af4b39bf174efed7f6d43644d4b0bc0c9886</id>
<content type='text'>
NETWORKING is the documented placeholder, while
/etc/rc.d/NETWORKING still provides the legacy alias
NETWORK.

The NETWORKING script was originally introduced to avoid
conflicts with NetBSD's lowercase network script on
case-insensitive file systems.  The NETWORK alias was
retained for compatibility with older scripts.

Following the discussion in PR 293652, remove the legacy
NETWORK alias from 16-CURRENT.  Keeping both names adds
more confusion than value now that NETWORKING is the
documented placeholder and current base system and ports
tree uses are already clean.

Add an UPDATING entry to note that local RC scripts using
REQUIRE: NETWORK should be migrated to REQUIRE: NETWORKING.

PR:		293652
Reviewed by:	michaelo, jlduran
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D56300
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
NETWORKING is the documented placeholder, while
/etc/rc.d/NETWORKING still provides the legacy alias
NETWORK.

The NETWORKING script was originally introduced to avoid
conflicts with NetBSD's lowercase network script on
case-insensitive file systems.  The NETWORK alias was
retained for compatibility with older scripts.

Following the discussion in PR 293652, remove the legacy
NETWORK alias from 16-CURRENT.  Keeping both names adds
more confusion than value now that NETWORKING is the
documented placeholder and current base system and ports
tree uses are already clean.

Add an UPDATING entry to note that local RC scripts using
REQUIRE: NETWORK should be migrated to REQUIRE: NETWORKING.

PR:		293652
Reviewed by:	michaelo, jlduran
Relnotes:	yes
Differential Revision:	https://reviews.freebsd.org/D56300
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow passing xtras to safe_set</title>
<updated>2026-04-10T16:11:21+00:00</updated>
<author>
<name>Simon J. Gerraty</name>
<email>sjg@FreeBSD.org</email>
</author>
<published>2026-04-10T16:08:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=de9fe28ab8476ca25a63066503f5fb40dcdd5719'/>
<id>de9fe28ab8476ca25a63066503f5fb40dcdd5719</id>
<content type='text'>
This allows safe_set to be leveraged in other contexts
where additional chars like '*' or '!' or even '\[\]' need to
be preserved in the result.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows safe_set to be leveraged in other contexts
where additional chars like '*' or '!' or even '\[\]' need to
be preserved in the result.
</pre>
</div>
</content>
</entry>
<entry>
<title>rtld: add test for dlopen("#dirfd/path")</title>
<updated>2026-04-02T02:41:56+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2026-03-30T00:42:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=72252591ac01037fa53501adb88f00d5d3cc09ed'/>
<id>72252591ac01037fa53501adb88f00d5d3cc09ed</id>
<content type='text'>
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	 https://reviews.freebsd.org/D56152
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	 https://reviews.freebsd.org/D56152
</pre>
</div>
</content>
</entry>
<entry>
<title>rtld: allow dlopen("#&lt;number&gt;/&lt;path&gt;")</title>
<updated>2026-04-02T02:41:55+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2026-03-29T22:45:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ffbf3fecdeffa17c0745e7ed342989acb620d68e'/>
<id>ffbf3fecdeffa17c0745e7ed342989acb620d68e</id>
<content type='text'>
When a specially formatted path is passed to dlopen(), of the form
  #number/path
and the number is the valid dirfd file descriptor listed in the
LD_LIBRARY_FDS, interpret it as a relative path name against dirfd
number.

This complements the result returned from dladdr() for such objects
in dli_fname.

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D56152
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When a specially formatted path is passed to dlopen(), of the form
  #number/path
and the number is the valid dirfd file descriptor listed in the
LD_LIBRARY_FDS, interpret it as a relative path name against dirfd
number.

This complements the result returned from dladdr() for such objects
in dli_fname.

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D56152
</pre>
</div>
</content>
</entry>
<entry>
<title>rtld: check for overflow in parse_integer()</title>
<updated>2026-03-30T16:56:52+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2026-03-29T22:45:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7cfffe25da3fbc2db4bcf073ff2d240f84233973'/>
<id>7cfffe25da3fbc2db4bcf073ff2d240f84233973</id>
<content type='text'>
Reviewed by:	dim, emaste, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D56151
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	dim, emaste, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D56151
</pre>
</div>
</content>
</entry>
<entry>
<title>pkgbase: Move all of ATF into the atf package</title>
<updated>2026-03-30T14:03:29+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-03-30T14:03:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0a6dbf51d8ea112a1d164be260004ec795b4368d'/>
<id>0a6dbf51d8ea112a1d164be260004ec795b4368d</id>
<content type='text'>
Parts of ATF (including the licence and some of the documentation) were
for some reason part of the tests package instead of the atf package.
Moving them to where they logically belong poses no problem since tests
already depends on atf.

PR:		294129
MFC after:	1 week
Reviewed by:	ivy
Differential Revision:	https://reviews.freebsd.org/D56158
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Parts of ATF (including the licence and some of the documentation) were
for some reason part of the tests package instead of the atf package.
Moving them to where they logically belong poses no problem since tests
already depends on atf.

PR:		294129
MFC after:	1 week
Reviewed by:	ivy
Differential Revision:	https://reviews.freebsd.org/D56158
</pre>
</div>
</content>
</entry>
<entry>
<title>libexec: Add pkg-serve directory</title>
<updated>2026-03-29T16:13:09+00:00</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@FreeBSD.org</email>
</author>
<published>2026-03-29T16:13:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4f0d0ed5cbe6d66c496ed124110e24fb6092d480'/>
<id>4f0d0ed5cbe6d66c496ed124110e24fb6092d480</id>
<content type='text'>
Add pkg-serve to the list of subdirectories in the Makefile.

Reviewed by:	bapt
Fixes:		b42e852e89cb ("pkg-serve(8): serve pkg repositories over TCP via inetd (8)")
Differential Revision:	https://reviews.freebsd.org/D56009
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add pkg-serve to the list of subdirectories in the Makefile.

Reviewed by:	bapt
Fixes:		b42e852e89cb ("pkg-serve(8): serve pkg repositories over TCP via inetd (8)")
Differential Revision:	https://reviews.freebsd.org/D56009
</pre>
</div>
</content>
</entry>
<entry>
<title>rtld: add a test for rtld_set_var (with LIBRARY_PATH_FDS)</title>
<updated>2026-03-26T23:41:23+00:00</updated>
<author>
<name>Alex S</name>
<email>iwtcex@gmail.com</email>
</author>
<published>2026-03-25T00:56:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9f16078b5f8c44d5718ecc940ab0b4ed5a1877a5'/>
<id>9f16078b5f8c44d5718ecc940ab0b4ed5a1877a5</id>
<content type='text'>
PR:	294054
Reviewed by:	kib
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:	294054
Reviewed by:	kib
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>rtld: properly handle update of several vars in rtld_set_var()</title>
<updated>2026-03-26T23:41:23+00:00</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2026-03-24T01:43:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b9f046d941c4dbd0e4fc634827ada6e7cf6a6bcf'/>
<id>b9f046d941c4dbd0e4fc634827ada6e7cf6a6bcf</id>
<content type='text'>
Besides setting the value in the array of the values, rtld sometimes
needs to recalculate some internal control variable for the change to
take effect.  Allow the variable description to supply a method called
on the update.  Lock the function with the bind lock for safe operation.

Mark several variables as allowed for update, since the on_update method
is provided for them.  The list is LD_BIND_NOW, LD_BIND_NOT,
LD_LIBMAP_DISABLE, LD_LOADFLTR.

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D56055
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Besides setting the value in the array of the values, rtld sometimes
needs to recalculate some internal control variable for the change to
take effect.  Allow the variable description to supply a method called
on the update.  Lock the function with the bind lock for safe operation.

Mark several variables as allowed for update, since the on_update method
is provided for them.  The list is LD_BIND_NOW, LD_BIND_NOT,
LD_LIBMAP_DISABLE, LD_LOADFLTR.

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D56055
</pre>
</div>
</content>
</entry>
</feed>
