]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: update documentation for MNT_ERR_APPLYFLAGS
authorDebarshi Ray <rishi@fedoraproject.org>
Thu, 29 Jun 2023 11:04:41 +0000 (13:04 +0200)
committerDebarshi Ray <rishi@fedoraproject.org>
Thu, 29 Jun 2023 11:29:01 +0000 (13:29 +0200)
commit5a17b1b626d49914afd4869090c1890859515360
treea732aa2e181fdabe0a9519cb5ad6b39ac82fda2d
parent2b48beb44ebdf18c7784d06ebc77b50200125521
libmount: update documentation for MNT_ERR_APPLYFLAGS

The implementation using the new FD based mount kernel API (ie.,
fsconfig/fsopen) uses MNT_ERR_APPLYFLAGS for failed mount_setattr(2)
calls, which involves more mount attributes (eg., MOUNT_ATTR_RDONLY,
MOUNT_ATTR_NOSUID, etc.) in addition to the MS_PROPAGATION flags (eg.,
MS_SHARED, MS_UNBINDABLE, etc.).

Note that mount_setattr(2) is part of the new FD based mount kernel API,
and is not used by the classic mount(2) based version.

Fallout from 987d844cdbc0f91ca81de3c1e5d0628a60eb458f

Signed-off-by: Debarshi Ray <rishi@fedoraproject.org>
libmount/src/libmount.h.in