From f1bab6b74d84b972a9e817e5028b8e438bf5e83d Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 15 Aug 2024 21:29:54 +0200 Subject: kernel: disallow NUL bytes in paths --- man/open.2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'man/open.2') 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 . -- cgit v1.2.3