| #
f1f142c0
|
| 16-Feb-2026 |
Konstantin Belousov <kib@FreeBSD.org> |
open.2: grammar improvements
Submitted by: matteo Fixes: 5bcccc702b29a0e173a5916b001771dd7b280c7c MFC after: 3 days
|
| #
5bcccc70
|
| 16-Feb-2026 |
Konstantin Belousov <kib@FreeBSD.org> |
open.2: stop making impression that fd must be directory
Reviewed by: des, rmacklem Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential revision: https://reviews.freebsd.org/D55302
|
| #
efadb5c2
|
| 17-May-2025 |
Ricardo Branco <rbranco@suse.de> |
Add manpages for O_CLOFORK flag and others
Reviewed by: kib MFC after: 1 month Pull Request: https://github.com/freebsd/freebsd-src/pull/1698
|
| #
6b6542ec
|
| 04-Jun-2025 |
Rick Macklem <rmacklem@FreeBSD.org> |
open.2: Document the O_NAMEDATTR flag
Commit 2ec2ba7e232d added support for the O_NAMEDATTR flag to the open(2) and openat(2) syscalls for main.
This patch updates the man page for this flag.
Anot
open.2: Document the O_NAMEDATTR flag
Commit 2ec2ba7e232d added support for the O_NAMEDATTR flag to the open(2) and openat(2) syscalls for main.
This patch updates the man page for this flag.
Another man page that explains named attributes will be introduced in a future commit.
This is a content change.
Reviewed by: emaste (earlier version), kib (earlier version) Differential Revision: https://reviews.freebsd.org/D49691 Fixes: 2ec2ba7e232d ("vfs: Add VFS/syscall support for Solaris style extended attributes")
show more ...
|
| #
fae33d1d
|
| 25-May-2025 |
Konstantin Belousov <kib@FreeBSD.org> |
open.2: add a note about conversion of a file descriptor into O_PATH
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential revision: https://reviews.freebsd.org/D505
open.2: add a note about conversion of a file descriptor into O_PATH
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential revision: https://reviews.freebsd.org/D50511
show more ...
|
| #
e2dd73cf
|
| 28-Feb-2025 |
Konstantin Belousov <kib@FreeBSD.org> |
open.2: minor editing
Remove unneeded braces. Bump Dd.
Suggested and reviewed by: maxim Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
| #
8cebb063
|
| 27-Feb-2025 |
artembunichev <artembunichev@zohomail.com> |
open.2: add separate paragraph for O_CREAT
PR: 284353 MFC after: 1 week
|
| #
c8141728
|
| 03-Jan-2025 |
CismonX <admin@cismon.net> |
open.2: update description for O_PATH
- Add fstatfs(), fchdir(), fchroot(), extattr_*_fd(), cap_*_get(), cap_*_limit() to the list of syscalls that can take an O_PATH fd. - Remove readlinkat() fro
open.2: update description for O_PATH
- Add fstatfs(), fchdir(), fchroot(), extattr_*_fd(), cap_*_get(), cap_*_limit() to the list of syscalls that can take an O_PATH fd. - Remove readlinkat() from the list, since it is already discussed in the first few lines of the paragraph. It was originally added to the list when readlinkat() adds support for non-dir fd with an empty relative path (as if with AT_EMPTY_PATH), however, such use case is also discussed in the next paragraph. - Add funlinkat() to the list, since it accepts an extra fd (of the file to be unlinked), which is worth extra mentioning. - Fix a syntax issue which causes a bogus space to be rendered before a closing parentheses.
Signed-off-by: CismonX <admin@cismon.net>
Reviewed by: markj, jhb MFC after: 2 weeks Pull Request: https://github.com/freebsd/freebsd-src/pull/1564
show more ...
|
| #
826509a3
|
| 03-Jan-2025 |
John Baldwin <jhb@FreeBSD.org> |
open.2: Editorial pass
- Use a typical tagged list for the open flags instead of a literal block. This permits using markup in the flag descriptions. Also, drop the offset to avoid indenting t
open.2: Editorial pass
- Use a typical tagged list for the open flags instead of a literal block. This permits using markup in the flag descriptions. Also, drop the offset to avoid indenting the entire list.
- Note that O_RESOLVE_BENEATH only applies to openat(2)
- Use a clearer description of O_CLOEXEC (what it means, not the internal flag it sets)
- Note that exactly one permission flag is required.
- Split up a paragraph on various flags so that each flag gets its own paragraph. Some flags already had their own paragraph, so this is more consistent. It also makes it clearer which flag a sentence is talking about when a flag has more than one sentence.
- Appease some errors from igor and man2ps
- In the discussion about a returned directory descriptor opened with O_SEARCH, avoid the use of Fa fd since the descriptor in question is a return value and not an argument to open or openat.
- Various and sundry markup and language tweaks
Reviewed by: kib, emaste Differential Revision: https://reviews.freebsd.org/D48253
show more ...
|
| #
37bb9884
|
| 27-Aug-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
open(2): devfs is in section 4 on HEAD
Noted by: yuripv Fixes: f5a37f8dd319e3007b126b77376e61ad96f44d8b
|
| #
02c23c3b
|
| 27-Aug-2024 |
Jose Luis Duran <jlduran@gmail.com> |
open(2): Extend EINVAL's description
If O_CREAT is specified, the last component of the path argument can contain invalid characters, and return EINVAL on some file systems.
PR: 281033 Differential
open(2): Extend EINVAL's description
If O_CREAT is specified, the last component of the path argument can contain invalid characters, and return EINVAL on some file systems.
PR: 281033 Differential revision: https://reviews.freebsd.org/D46450 MFC after: 1 week
show more ...
|
| #
f5a37f8d
|
| 27-Aug-2024 |
Jose Luis Duran <jlduran@gmail.com> |
open(2): mandoc -T lint
Lint the manual, addressing almost all requests.
Differential revision: https://reviews.freebsd.org/D46450 MFC after: 1 week
|
| #
1a720cbe
|
| 15-May-2024 |
Alexander Ziaee <concussious@runbox.com> |
man filesystems: fix xrefs after move to section 4
Reviewed by: des, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1077
|
| #
d3de1bd4
|
| 03-Apr-2024 |
Christopher Davidson <christopher.davidson@gmail.com> |
open.2: remove self-reference
Change .Xr reference to .Fn, which quiets a mandoc warning.
Reviewed by: mhorne MFC after: 3 days Pull Request: https://github.com/freebsd/freebsd-src/pull/1135
|
| #
8269e767
|
| 14-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libsys: relocate implementations and manpages
Remove core system call implementations and documentation to lib/libsys and lib/libsys/<arch> from lib/libc/sys and lib/libc/<arch>/<sys>. Update paths
libsys: relocate implementations and manpages
Remove core system call implementations and documentation to lib/libsys and lib/libsys/<arch> from lib/libc/sys and lib/libc/<arch>/<sys>. Update paths to allow libc to find them in their new home.
Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
show more ...
|
| #
a570fe4d
|
| 29-Jan-2024 |
Konstantin Belousov <kib@FreeBSD.org> |
open(2): describe *at behavior for dirfd opened without O_SEARCH
and move the BUGS paragraph about dirfd permissions into STANDARDS section, noting that we provide POSIX-mandated implementation.
Re
open(2): describe *at behavior for dirfd opened without O_SEARCH
and move the BUGS paragraph about dirfd permissions into STANDARDS section, noting that we provide POSIX-mandated implementation.
Reviewed by: emaste, kevans Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential revision: https://reviews.freebsd.org/D43652
show more ...
|
| #
ea6a6b63
|
| 26-Jan-2024 |
Ed Maste <emaste@FreeBSD.org> |
open: make non-POSIX errno value more apparent
In the errno list, add an explicit note and reference to the note in the STANDARDS section.
When O_NOFOLLOW is specified and the target is a symbolic
open: make non-POSIX errno value more apparent
In the errno list, add an explicit note and reference to the note in the STANDARDS section.
When O_NOFOLLOW is specified and the target is a symbolic link FreeBSD sets errno to a value different than that specified by POSIX. Commit 295159dfa3ed added a note to this effect, but I missed it when reading through the list of errno values.
PR: 214633 Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D43618
show more ...
|
| #
dc36d6f9
|
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
lib: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl s
lib: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script.
Sponsored by: Netflix
show more ...
|
| #
b2c76c41
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line nroff pattern
Remove /^\.\\"\s*\$FreeBSD\$$\n/
|
| #
1fc174cb
|
| 30-May-2023 |
Konstantin Belousov <kib@FreeBSD.org> |
open(2): fix typo
__aLC_aclcheck_fd -> acl_aclcheck_fd
Reported by: Peter Eriksson <pen@lysator.liu.se> Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
| #
7a292504
|
| 29-May-2023 |
Konstantin Belousov <kib@FreeBSD.org> |
__acl_get_fd(2), __acl_aclcheck_fd(2): enable for O_PATH filedescriptors
PR: 271704 Reported by: Peter Eriksson <pen@lysator.liu.se> Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC afte
__acl_get_fd(2), __acl_aclcheck_fd(2): enable for O_PATH filedescriptors
PR: 271704 Reported by: Peter Eriksson <pen@lysator.liu.se> Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D40318
show more ...
|
| #
c7a8502b
|
| 19-Feb-2023 |
Val Packett <val@packett.cool> |
open.2: describe O_RESOLVE_BENEATH errors correctly
The behavior is the same as in capability mode, it does not actually return EINVAL for absolute lookups:
openat(AT_FDCWD,"/tmp/test",O_RDONLY
open.2: describe O_RESOLVE_BENEATH errors correctly
The behavior is the same as in capability mode, it does not actually return EINVAL for absolute lookups:
openat(AT_FDCWD,"/tmp/test",O_RDONLY|O_DIRECTORY,00) = 3 (0x3) openat(3,"../../",O_RDONLY|0x800000,00) ERR#93 'Capabilities insufficient' openat(3,"/etc/passwd",O_RDONLY|0x800000,00) ERR#93 'Capabilities insufficient'
Fixes: 1f305be43 ("Document {O,AT}_RESOLVE_BENEATH...") Reviewed by: kib, pauamma (manpages), emaste Sponsored by: https://www.patreon.com/valpackett Pull Request: https://github.com/freebsd/freebsd-src/pull/680 Differential Revision: https://reviews.freebsd.org/D38675
show more ...
|
| #
bf13db08
|
| 13-Apr-2022 |
Konstantin Belousov <kib@FreeBSD.org> |
Mostly revert a5970a529c2d95271: Make files opened with O_PATH to not block non-forced unmount
Problem is that open(O_PATH) on nullfs -o nocache is broken then, because there is no reference on the
Mostly revert a5970a529c2d95271: Make files opened with O_PATH to not block non-forced unmount
Problem is that open(O_PATH) on nullfs -o nocache is broken then, because there is no reference on the vnode after the open syscall exits.
Reported and tested by: ambrisko Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week
show more ...
|
| #
be10c0a9
|
| 03-Nov-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
fexecve(2): allow O_PATH file descriptors opened without O_EXEC
This improves compatibility with Linux.
Noted by: Drew DeVault <sir@cmpwn.com> Reviewed by: markj Sponsored by: The FreeBSD Foundatio
fexecve(2): allow O_PATH file descriptors opened without O_EXEC
This improves compatibility with Linux.
Noted by: Drew DeVault <sir@cmpwn.com> Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32821
show more ...
|
| #
5fb54d2f
|
| 09-Oct-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
readlinkat(2): allow O_PATH fd
PR: 258856 Reported by: ashish Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32390
|