<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/sys/stat.2, branch releng/14.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F14.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-08-27T18:49:58Z</updated>
<entry>
<title>stat(2): Document the st_rdev field</title>
<updated>2025-08-27T18:49:58Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2025-08-17T17:07:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1235e1d16085de69f87fbea68a80e070cf360019'/>
<id>urn:sha1:1235e1d16085de69f87fbea68a80e070cf360019</id>
<content type='text'>
MFC after:	1 week
Sponsored by:	Klara, Inc.
Sponsored by:	NetApp, Inc.
Reviewed by:	bcr
Differential Revision:	https://reviews.freebsd.org/D51946

(cherry picked from commit 4eaa7f66620c33957ff9a929820cb791f7fe5578)
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line nroff pattern</title>
<updated>2023-08-16T17:55:15Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b2c76c41be32f904179efed29c0ca04d53f3996c'/>
<id>urn:sha1:b2c76c41be32f904179efed29c0ca04d53f3996c</id>
<content type='text'>
Remove /^\.\\"\s*\$FreeBSD\$$\n/
</content>
</entry>
<entry>
<title>Add AT_EMPTY_PATH for several *at(2) syscalls</title>
<updated>2021-04-15T09:48:11Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-03-07T14:29:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=509124b62616f73dcdc42263ee109392dafafd99'/>
<id>urn:sha1:509124b62616f73dcdc42263ee109392dafafd99</id>
<content type='text'>
It is currently allowed to fchownat(2), fchmodat(2), fchflagsat(2),
utimensat(2), fstatat(2), and linkat(2).

For linkat(2), PRIV_VFS_FHOPEN privilege is required to exercise the flag.
It allows to link any open file.

Requested by:	trasz
Tested by:	pho, trasz
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D29111
</content>
</entry>
<entry>
<title>open(2): Remove O_BENEATH and AT_BENEATH</title>
<updated>2021-03-02T18:16:55Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2021-02-16T03:31:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=20e91ca36a56b8db1e6677f577ad011b66dd6eb3'/>
<id>urn:sha1:20e91ca36a56b8db1e6677f577ad011b66dd6eb3</id>
<content type='text'>
with the reasoning that the flags did not worked properly, and were not
shipped in a release.

O_RESOLVE_BENEATH is kept as useful.

Reviewed by:	markj
Tested by:	arichardson, pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D28907
</content>
</entry>
<entry>
<title>Document {O,AT}_RESOLVE_BENEATH and new O_BENEATH behavior for relative paths.</title>
<updated>2020-09-22T22:54:54Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2020-09-22T22:54:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1f305be431e07cfe5a40b3140775238ef44cdcbb'/>
<id>urn:sha1:1f305be431e07cfe5a40b3140775238ef44cdcbb</id>
<content type='text'>
PR:	248335
Reviewed by:	markj
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D25886
</content>
</entry>
<entry>
<title>Document EINTEGRITY errors for many system calls.</title>
<updated>2020-03-30T21:44:00Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2020-03-30T21:44:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e42b09643997affce935b2197814381c7ee856c1'/>
<id>urn:sha1:e42b09643997affce935b2197814381c7ee856c1</id>
<content type='text'>
EINTEGRITY was previously documented as a UFS-specific error for
mount(2).  This documents EINTEGRITY as a filesystem-independent error
that may be reported by the backing store of a filesystem.

While here, document EIO as a filesystem-independent error for both
mount(2) and posix_fadvise(2).  EIO was previously only documented for
UFS for mount(2).

Reviewed by:	mckusick
Suggested by:	mckusick
MFC after:	2 weeks
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D24168
</content>
</entry>
<entry>
<title>Use consistent struct stat arg name in stat man page</title>
<updated>2019-03-13T15:18:14Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2019-03-13T15:18:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f6a10ccc53c673518fbb2bd88bacd6b0c0d21727'/>
<id>urn:sha1:f6a10ccc53c673518fbb2bd88bacd6b0c0d21727</id>
<content type='text'>
stat, lstat, and fstat use `*sb` as the stat struct pointer arg name,
while fstatat previously used `*buf`.

MFC after:	1 week
</content>
</entry>
<entry>
<title>stat(2): clarify which syscalls modify file timestamps</title>
<updated>2018-12-05T17:28:40Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2018-12-05T17:28:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=006678fd055f6a935885fbf832c55e830e9b0ebc'/>
<id>urn:sha1:006678fd055f6a935885fbf832c55e830e9b0ebc</id>
<content type='text'>
The list of syscalls that modify st_atim, st_mtim, and st_ctim was quite out
of date and probably not accurate to begin with.  Update it, and make it
clear that the list is open-ended.

Reviewed by:	kib
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D18410
</content>
</entry>
<entry>
<title>First draft of documentation for AT/O_BENEATH handling of the absolute</title>
<updated>2018-11-11T01:46:48Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2018-11-11T01:46:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5b1fb8ec66c9ed876ad5efdbe55c4ca2950e1236'/>
<id>urn:sha1:5b1fb8ec66c9ed876ad5efdbe55c4ca2950e1236</id>
<content type='text'>
paths.

It was decided that committing the code and drafting of the man page
update is better than allowing the code to rot until wordsmithing
happens.

Reviewed by:	jilles (previous version)
Discussed with:	brooks, jilles, emaste
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D17714
</content>
</entry>
<entry>
<title>Implement O_BENEATH and AT_BENEATH.</title>
<updated>2018-10-25T22:16:34Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2018-10-25T22:16:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4f77f4888465e376b93ae660ae8f19b6aeebecbe'/>
<id>urn:sha1:4f77f4888465e376b93ae660ae8f19b6aeebecbe</id>
<content type='text'>
Flags prevent open(2) and *at(2) vfs syscalls name lookup from
escaping the starting directory.  Supposedly the interface is similar
to the same proposed Linux flags.

Reviewed by:	jilles (code, previous version of manpages), 0mp (manpages)
Discussed with:	allanjude, emaste, jonathan
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D17547
</content>
</entry>
</feed>
