]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
fuse2fs: refactor sysadmin predicate
authorDarrick J. Wong <djwong@kernel.org>
Thu, 24 Apr 2025 21:45:12 +0000 (14:45 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 21 May 2025 14:26:54 +0000 (10:26 -0400)
commit36f691d3cea9a8941f84a8065ba7b2e02380a14f
tree0885a60cb26d29f607eea1463256e2915d796ab3
parent7b5d75ef8843ff0fd60397160ab002e70b858fd4
fuse2fs: refactor sysadmin predicate

Refactor the code that decides if an access is being made by the
superuser into a helper, which we'll use to fix more permissions
problems in the next patch.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Link: https://lore.kernel.org/r/174553065355.1161102.13914905314262828953.stgit@frogsfrogsfrogs
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
misc/fuse2fs.c