]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: add utab.act file
authorKarel Zak <kzak@redhat.com>
Mon, 22 Jan 2024 11:56:24 +0000 (12:56 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 22 Jan 2024 11:56:24 +0000 (12:56 +0100)
commit9218c9678a6aa9b163705364246ed128e94fabb7
tree683dc76afa896b242eb8a92ea76374cb2ca287ea
parentb94b5929a63df9786020e0329e94d2f35f3993ae
libmount: add utab.act file

The file exists when libmount works with utab, and more steps are
expected during a single mount operation (more kernel events, more
updates to utab, etc.).

It is possible to monitor the file through the mnt_monitor_...() API
by a simple access() after any event. No locks are expected in
monitor, making it usable for non-root users without any security
impact. The monitor can ignore events if the file exist.

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/context.c
libmount/src/mountP.h
libmount/src/tab_update.c