Fix mistakes in link(2) and shm_open(2)

PR:	258957
Submitted by:	sigsys@gmail.com
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2021-10-06 06:38:26 +03:00
parent ce21d4bff1
commit 8d3cd7767a
2 changed files with 3 additions and 3 deletions

View File

@ -126,9 +126,9 @@ flag in the
manual page. manual page.
.It Dv AT_EMPTY_PATH .It Dv AT_EMPTY_PATH
If the If the
.Fa path2 .Fa name1
argument is an empty string, link the file referenced by the descriptor argument is an empty string, link the file referenced by the descriptor
.Fa fd2 . .Fa fd1 .
The operation requires that the calling process has the The operation requires that the calling process has the
.Dv PRIV_VFS_FHOPEN .Dv PRIV_VFS_FHOPEN
privilege, effectively being executed with effective user privilege, effectively being executed with effective user

View File

@ -369,7 +369,7 @@ does not begin with a slash
character. character.
.It Bq Er ENOENT .It Bq Er ENOENT
.Dv O_CREAT .Dv O_CREAT
is specified and the named shared memory object does not exist. is not specified and the named shared memory object does not exist.
.It Bq Er EEXIST .It Bq Er EEXIST
.Dv O_CREAT .Dv O_CREAT
and and