<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/bin, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>ps.1: Fix broken comment line</title>
<updated>2026-07-05T20:03:34+00:00</updated>
<author>
<name>Artem Bunichev</name>
<email>temcbun@gmail.com</email>
</author>
<published>2026-07-05T19:01:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=759ce9a2b38e1de70c14c81dee7e245bf0bc6b94'/>
<id>759ce9a2b38e1de70c14c81dee7e245bf0bc6b94</id>
<content type='text'>
While here, remove the long-unused dash in the first line.

Reviewed by:    ziaee, olce
Fixes:          ddf144a04b53 ("ps.1: Revamp: Explain general principles, update to match reality")
MFC after:      1 day
Differential Revision:  https://reviews.freebsd.org/D58038
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While here, remove the long-unused dash in the first line.

Reviewed by:    ziaee, olce
Fixes:          ddf144a04b53 ("ps.1: Revamp: Explain general principles, update to match reality")
MFC after:      1 day
Differential Revision:  https://reviews.freebsd.org/D58038
</pre>
</div>
</content>
</entry>
<entry>
<title>ps(1): Fix a few typos in the manual page</title>
<updated>2026-06-27T10:48:11+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2026-06-27T10:48:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=dd2127b54f97fd7445bb4f4187a148e979c9c944'/>
<id>dd2127b54f97fd7445bb4f4187a148e979c9c944</id>
<content type='text'>
- s/occurence/occurrence/
- s/occurences/occurrences/
- s/ouput/output/

MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/occurence/occurrence/
- s/occurences/occurrences/
- s/ouput/output/

MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>kern: add a security knob to disable unprivileged access to kenv</title>
<updated>2026-06-22T20:22:25+00:00</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2026-06-22T20:22:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4fd518fcb2bbee4c8c41215d6993b923ef57a0e5'/>
<id>4fd518fcb2bbee4c8c41215d6993b923ef57a0e5</id>
<content type='text'>
We sometimes store sensitive things in the kenv that get zapped, but we
really shouldn't rely on that zapping to actually happen.  Most
unprivileged processes don't really need to read from the kernel
environment in the first place, so add a knob that allows it to be
disabled.

Note that we consider jailed root to be unprivileged from this
perspective; they have their own meta/env concepts and we should
encourage users to take advantage of those for passing information to
jails.

"Hey we should do something about that":	dch
Reviewed by:	imp, ziaee, zlei (all slightly previous version)
Differential Revision:	https://reviews.freebsd.org/D57697
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We sometimes store sensitive things in the kenv that get zapped, but we
really shouldn't rely on that zapping to actually happen.  Most
unprivileged processes don't really need to read from the kernel
environment in the first place, so add a knob that allows it to be
disabled.

Note that we consider jailed root to be unprivileged from this
perspective; they have their own meta/env concepts and we should
encourage users to take advantage of those for passing information to
jails.

"Hey we should do something about that":	dch
Reviewed by:	imp, ziaee, zlei (all slightly previous version)
Differential Revision:	https://reviews.freebsd.org/D57697
</pre>
</div>
</content>
</entry>
<entry>
<title>sh: Belatedly bump manual page date</title>
<updated>2026-06-20T19:01:24+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-06-20T19:01:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=09bb0b0d13968163c7394e9168491b16607fc2e7'/>
<id>09bb0b0d13968163c7394e9168491b16607fc2e7</id>
<content type='text'>
Fixes:		556e793d803e ("sh: Improve function documentation")
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes:		556e793d803e ("sh: Improve function documentation")
</pre>
</div>
</content>
</entry>
<entry>
<title>rmdir.1: Document non-POSIX -v option</title>
<updated>2026-06-19T20:09:39+00:00</updated>
<author>
<name>Artem Bunichev</name>
<email>tembun@bk.ru</email>
</author>
<published>2026-06-19T19:57:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b3dfd5d59c4a776abfa9b48babf08fb56e986dd7'/>
<id>b3dfd5d59c4a776abfa9b48babf08fb56e986dd7</id>
<content type='text'>
MFC after:		3 days
Reviewed by:		ziaee
Differential Revision:	https://reviews.freebsd.org/D57675
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:		3 days
Reviewed by:		ziaee
Differential Revision:	https://reviews.freebsd.org/D57675
</pre>
</div>
</content>
</entry>
<entry>
<title>sh: Improve function documentation</title>
<updated>2026-06-16T20:23:18+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2026-06-16T20:23:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=556e793d803e12e9ad9361c6c53ed0433151f41e'/>
<id>556e793d803e12e9ad9361c6c53ed0433151f41e</id>
<content type='text'>
* Mention that the function body can be in parentheses.  It is already
  implied since the function body can be any valid statement, but it may
  not be obvious to a reader who has only ever seen functions that used
  curly brackets and assumes that they are part of the function syntax.

* Remove the incorrect claim that a local statement may only occur at
  the top of a function.

* Show that a value may be assigned to a variable in a local statement.

* While here, replace unpaired double quotes with \(dq to avoid
  confusing syntax highlighters.

PR:		296050
MFC after:	1 week
Reviewed by:	ziaee, jilles
Differential Revision:	https://reviews.freebsd.org/D57596
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Mention that the function body can be in parentheses.  It is already
  implied since the function body can be any valid statement, but it may
  not be obvious to a reader who has only ever seen functions that used
  curly brackets and assumes that they are part of the function syntax.

* Remove the incorrect claim that a local statement may only occur at
  the top of a function.

* Show that a value may be assigned to a variable in a local statement.

* While here, replace unpaired double quotes with \(dq to avoid
  confusing syntax highlighters.

PR:		296050
MFC after:	1 week
Reviewed by:	ziaee, jilles
Differential Revision:	https://reviews.freebsd.org/D57596
</pre>
</div>
</content>
</entry>
<entry>
<title>symlink.7: Clean up markup and tag SPDX</title>
<updated>2026-06-15T22:49:29+00:00</updated>
<author>
<name>Alexander Ziaee</name>
<email>ziaee@FreeBSD.org</email>
</author>
<published>2026-06-12T15:47:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e821152cc71dbd09f5bd28be86499165c553f3ae'/>
<id>e821152cc71dbd09f5bd28be86499165c553f3ae</id>
<content type='text'>
Also unwind some parentheticals.

MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also unwind some parentheticals.

MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>pwd.1: Fix a typo in the .dD</title>
<updated>2026-06-15T13:40:05+00:00</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2026-06-15T13:40:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=586a5bc03541397c432ce98a1551ebeee7c04ef2'/>
<id>586a5bc03541397c432ce98a1551ebeee7c04ef2</id>
<content type='text'>
- s/Februrary/February/

MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- s/Februrary/February/

MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>cp(1): fix -P documentation to reflect it works without -R</title>
<updated>2026-06-10T12:35:03+00:00</updated>
<author>
<name>Kit Dallege</name>
<email>xaum.io@gmail.com</email>
</author>
<published>2026-03-27T04:25:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2c5fd7d9a7ed36cf15dd538d9533e7835c7f8555'/>
<id>2c5fd7d9a7ed36cf15dd538d9533e7835c7f8555</id>
<content type='text'>
Since commit 97e13037915c, the -P flag works without -R as
required by POSIX. Update the man page to state that only -H
and -L are ignored without -R, while -P can be used independently.

PR: 289959
Signed-off-by: Kit Dallege &lt;xaum.io@gmail.com&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/2102
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since commit 97e13037915c, the -P flag works without -R as
required by POSIX. Update the man page to state that only -H
and -L are ignored without -R, while -P can be used independently.

PR: 289959
Signed-off-by: Kit Dallege &lt;xaum.io@gmail.com&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/2102
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Avoid sleep when causing a write error</title>
<updated>2026-06-03T22:10:08+00:00</updated>
<author>
<name>Jilles Tjoelker</name>
<email>jilles@FreeBSD.org</email>
</author>
<published>2026-06-03T22:10:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=73e0d6b44038d1c7764c5013a54ae17a8f680a69'/>
<id>73e0d6b44038d1c7764c5013a54ae17a8f680a69</id>
<content type='text'>
Cause a write error using a fifo and wait, rather than needing a sleep
to wait for something to terminate. This is faster and avoids a
potential test failure on a heavily loaded system.

Using /dev/full would be simpler, but it is not portable enough (it
tends not to be available in jails, even). Starting programs with stdout
not open or only open for read/execute/search may have unexpected side
effects.

Reviewed by:	ngie, des
Differential Revision:	https://reviews.freebsd.org/D57213
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cause a write error using a fifo and wait, rather than needing a sleep
to wait for something to terminate. This is faster and avoids a
potential test failure on a heavily loaded system.

Using /dev/full would be simpler, but it is not portable enough (it
tends not to be available in jails, even). Starting programs with stdout
not open or only open for read/execute/search may have unexpected side
effects.

Reviewed by:	ngie, des
Differential Revision:	https://reviews.freebsd.org/D57213
</pre>
</div>
</content>
</entry>
</feed>
