diff --git a/man2/mount_setattr.2 b/man2/mount_setattr.2 index 910b541ef..81dc4856b 100644 --- a/man2/mount_setattr.2 +++ b/man2/mount_setattr.2 @@ -34,7 +34,7 @@ mount_setattr \- change properties of a mount or mount tree .BR "#include " " /* Definition of " SYS_* " constants */" .B #include .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 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