Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146735879
D40318.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D40318.id.diff
View Options
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -28,7 +28,7 @@
.\" @(#)open.2 8.2 (Berkeley) 11/16/93
.\" $FreeBSD$
.\"
-.Dd March 2, 2023
+.Dd May 29, 2023
.Dt OPEN 2
.Os
.Sh NAME
@@ -344,6 +344,7 @@
using for
.Dv EVFILT_VNODE
.It Xr readlinkat 2
+.It Xr __acl_get_fd 2 , Xr __alc_aclcheck_fd 2
.El
But operations like
.Xr read 2 ,
diff --git a/sys/kern/vfs_acl.c b/sys/kern/vfs_acl.c
--- a/sys/kern/vfs_acl.c
+++ b/sys/kern/vfs_acl.c
@@ -436,7 +436,7 @@
int error;
AUDIT_ARG_FD(uap->filedes);
- error = getvnode(td, uap->filedes,
+ error = getvnode_path(td, uap->filedes,
cap_rights_init_one(&rights, CAP_ACL_GET), &fp);
if (error == 0) {
error = vacl_get_acl(td, fp->f_vnode, uap->type, uap->aclp);
@@ -570,7 +570,7 @@
int error;
AUDIT_ARG_FD(uap->filedes);
- error = getvnode(td, uap->filedes,
+ error = getvnode_path(td, uap->filedes,
cap_rights_init_one(&rights, CAP_ACL_CHECK), &fp);
if (error == 0) {
error = vacl_aclcheck(td, fp->f_vnode, uap->type, uap->aclp);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Mar 6, 3:51 AM (2 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29311437
Default Alt Text
D40318.id.diff (1 KB)
Attached To
Mode
D40318: __acl_*_fd(2) syscalls: enable for O_PATH filedescriptors
Attached
Detach File
Event Timeline
Log In to Comment