Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151187228
D46450.id142504.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
D46450.id142504.diff
View Options
diff --git a/lib/libsys/open.2 b/lib/libsys/open.2
--- a/lib/libsys/open.2
+++ b/lib/libsys/open.2
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd January 29, 2024
+.Dd August 25, 2024
.Dt OPEN 2
.Os
.Sh NAME
@@ -579,7 +579,13 @@
and
.Dv O_EXEC
or
-.Dv O_SEARCH .
+.Dv O_SEARCH ;
+or
+.Dv O_CREAT
+is specified,
+and a component of the
+.Fa path
+argument is invalid on the file system on which the file is being created.
.It Bq Er EBADF
The
.Fa path
diff --git a/lib/libsys/rename.2 b/lib/libsys/rename.2
--- a/lib/libsys/rename.2
+++ b/lib/libsys/rename.2
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd March 30, 2020
+.Dd August 25, 2024
.Dt RENAME 2
.Os
.Sh NAME
@@ -254,7 +254,10 @@
or an attempt is made to rename
.Ql .\&
or
-.Ql \&.. .
+.Ql \&.. ,
+or a component of the
+.Fa to
+path is invalid on the target file system.
.It Bq Er ENOTEMPTY
The
.Fa to
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Apr 7, 4:48 PM (1 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31042528
Default Alt Text
D46450.id142504.diff (1 KB)
Attached To
Mode
D46450: Extend EINVAL's description for rename(2) and open(2)
Attached
Detach File
Event Timeline
Log In to Comment