mount_setattr.2: Rename 'path' to 'pathname'

For consistency with other pages

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2021-08-12 03:27:01 +02:00
parent 73434f4003
commit 5a9ebeba72
1 changed files with 10 additions and 10 deletions

View File

@ -34,7 +34,7 @@ mount_setattr \- change properties of a mount or mount tree
.BR "#include <sys/syscall.h>" " /* Definition of " SYS_* " constants */"
.B #include <unistd.h>
.PP
.BI "int syscall(SYS_mount_setattr, int " dirfd ", const char *" path ,
.BI "int syscall(SYS_mount_setattr, int " dirfd ", const char *" pathname ,
.BI " unsigned int " flags ", struct mount_attr *" attr \
", size_t " size );
.fi
@ -49,7 +49,7 @@ The
.BR mount_setattr ()
system call changes the mount properties of a mount or an entire mount tree.
If
.I path
.I pathname
is a relative pathname,
then it is interpreted relative to
the directory referred to by the file descriptor
@ -59,11 +59,11 @@ If
is the special value
.BR AT_FDCWD ,
then
.I path
.I pathname
is interpreted relative to
the current working directory of the calling process.
If
.I path
.I pathname
is the empty string and
.B AT_EMPTY_PATH
is specified in
@ -113,12 +113,12 @@ is
.PP
The
.I flags
argument can be used to alter the path resolution behavior.
argument can be used to alter the pathname resolution behavior.
The supported values are:
.TP
.B AT_EMPTY_PATH
If
.I path
.I pathname
is the empty string,
change the mount properties on
.I dirfd
@ -421,10 +421,10 @@ The caller tried to change the mount to
but the mount still holds files open for writing.
.TP
.B EINVAL
The path specified via the
The pathname specified via the
.I dirfd
and
.I path
.I pathname
arguments to
.BR mount_setattr ()
isn't a mount point.
@ -868,10 +868,10 @@ with a structure which has every byte nonzero
#include <unistd.h>
static inline int
mount_setattr(int dirfd, const char *path, unsigned int flags,
mount_setattr(int dirfd, const char *pathname, unsigned int flags,
struct mount_attr *attr, size_t size)
{
return syscall(SYS_mount_setattr, dirfd, path, flags, attr, size);
return syscall(SYS_mount_setattr, dirfd, pathname, flags, attr, size);
}
static inline int