summaryrefslogtreecommitdiff
path: root/man/open.2
diff options
context:
space:
mode:
authordzwdz2024-08-15 21:29:54 +0200
committerdzwdz2024-08-15 21:40:20 +0200
commitf1bab6b74d84b972a9e817e5028b8e438bf5e83d (patch)
treea37491e8c8448b47922924294866b6dcc01b6deb /man/open.2
parent4f8bb6643aa097008341b044e67991e3ec039f38 (diff)
kernel: disallow NUL bytes in paths
Diffstat (limited to 'man/open.2')
-rw-r--r--man/open.22
1 files changed, 2 insertions, 0 deletions
diff --git a/man/open.2 b/man/open.2
index 3cc18b3..2de7abc 100644
--- a/man/open.2
+++ b/man/open.2
@@ -21,6 +21,8 @@ tries to open the file located at
which is a string of length
.Fa len ,
potentially returning a new handle.
+.Fa path
+can't contain any NUL bytes.
The call will be handled by the most recent mount that contains the given path,
according to the definition in
.Xr path 7 .