mount_flags
unsigned long mount_flags; /* Options */
affs_set_opt(ctx->mount_flags, SF_SETMODE);
affs_set_opt(ctx->mount_flags, SF_MUFS);
affs_set_opt(ctx->mount_flags, SF_NO_TRUNCATE);
affs_set_opt(ctx->mount_flags, SF_PREFIX);
affs_set_opt(ctx->mount_flags, SF_IMMUTABLE);
affs_set_opt(ctx->mount_flags, SF_SETGID);
affs_set_opt(ctx->mount_flags, SF_SETUID);
affs_set_opt(ctx->mount_flags, SF_VERBOSE);
sbi->s_flags = ctx->mount_flags;
if (affs_test_opt(ctx->mount_flags, SF_VERBOSE)) {
sbi->s_flags = ctx->mount_flags;
static DEFINE_STRARRAY(mount_flags, "MS_");
int mount_flags, int remount_flags, int invalid_flags)
if (mount("testing", "/tmp", fstype, mount_flags, mount_options) != 0) {
static bool test_unpriv_remount_simple(int mount_flags)
return test_unpriv_remount("ramfs", NULL, mount_flags, mount_flags, 0);
static bool test_unpriv_remount_atime(int mount_flags, int invalid_flags)
return test_unpriv_remount("ramfs", NULL, mount_flags, mount_flags,