xref: /aosp_15_r20/external/ltp/testcases/kernel/syscalls/mount/mount03.c (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker // SPDX-License-Identifier: GPL-2.0-only
2*49cdfc7eSAndroid Build Coastguard Worker /*
3*49cdfc7eSAndroid Build Coastguard Worker  * Copyright (c) Linux Test Project, 2022
4*49cdfc7eSAndroid Build Coastguard Worker  * Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
5*49cdfc7eSAndroid Build Coastguard Worker  */
6*49cdfc7eSAndroid Build Coastguard Worker 
7*49cdfc7eSAndroid Build Coastguard Worker /*\
8*49cdfc7eSAndroid Build Coastguard Worker  * [Description]
9*49cdfc7eSAndroid Build Coastguard Worker  *
10*49cdfc7eSAndroid Build Coastguard Worker  * Check mount(2) system call with various flags.
11*49cdfc7eSAndroid Build Coastguard Worker  *
12*49cdfc7eSAndroid Build Coastguard Worker  * Verify that mount(2) syscall passes for each flag setting and validate
13*49cdfc7eSAndroid Build Coastguard Worker  * the flags:
14*49cdfc7eSAndroid Build Coastguard Worker  *
15*49cdfc7eSAndroid Build Coastguard Worker  * - MS_RDONLY - mount read-only
16*49cdfc7eSAndroid Build Coastguard Worker  * - MS_NODEV - disallow access to device special files
17*49cdfc7eSAndroid Build Coastguard Worker  * - MS_NOEXEC - disallow program execution
18*49cdfc7eSAndroid Build Coastguard Worker  * - MS_REMOUNT - alter flags of a mounted FS
19*49cdfc7eSAndroid Build Coastguard Worker  * - MS_NOSUID - ignore suid and sgid bits
20*49cdfc7eSAndroid Build Coastguard Worker  * - MS_NOATIME - do not update access times
21*49cdfc7eSAndroid Build Coastguard Worker  * - MS_NODIRATIME - only update access_time for directory instead of all types
22*49cdfc7eSAndroid Build Coastguard Worker  * - MS_STRICTATIME - always update access times
23*49cdfc7eSAndroid Build Coastguard Worker  */
24*49cdfc7eSAndroid Build Coastguard Worker 
25*49cdfc7eSAndroid Build Coastguard Worker #include <stdio.h>
26*49cdfc7eSAndroid Build Coastguard Worker #include <stdlib.h>
27*49cdfc7eSAndroid Build Coastguard Worker #include <sys/types.h>
28*49cdfc7eSAndroid Build Coastguard Worker #include <sys/wait.h>
29*49cdfc7eSAndroid Build Coastguard Worker #include <sys/vfs.h>
30*49cdfc7eSAndroid Build Coastguard Worker #include <pwd.h>
31*49cdfc7eSAndroid Build Coastguard Worker #include "tst_test.h"
32*49cdfc7eSAndroid Build Coastguard Worker #include "lapi/mount.h"
33*49cdfc7eSAndroid Build Coastguard Worker 
34*49cdfc7eSAndroid Build Coastguard Worker #define MNTPOINT	"mntpoint"
35*49cdfc7eSAndroid Build Coastguard Worker #define TESTBIN	"mount03_suid_child"
36*49cdfc7eSAndroid Build Coastguard Worker #define BIN_PATH	MNTPOINT "/" TESTBIN
37*49cdfc7eSAndroid Build Coastguard Worker #define TEST_STR "abcdefghijklmnopqrstuvwxyz"
38*49cdfc7eSAndroid Build Coastguard Worker #define FILE_MODE	0644
39*49cdfc7eSAndroid Build Coastguard Worker #define SUID_MODE	(0511 | S_ISUID)
40*49cdfc7eSAndroid Build Coastguard Worker 
41*49cdfc7eSAndroid Build Coastguard Worker #define CHECK_ENOENT(x) ((x) == -1 && errno == ENOENT)
42*49cdfc7eSAndroid Build Coastguard Worker 
43*49cdfc7eSAndroid Build Coastguard Worker static int otfd;
44*49cdfc7eSAndroid Build Coastguard Worker static char file[PATH_MAX];
45*49cdfc7eSAndroid Build Coastguard Worker static char dir[PATH_MAX];
46*49cdfc7eSAndroid Build Coastguard Worker static uid_t nobody_uid;
47*49cdfc7eSAndroid Build Coastguard Worker static gid_t nobody_gid;
48*49cdfc7eSAndroid Build Coastguard Worker 
test_rdonly(void)49*49cdfc7eSAndroid Build Coastguard Worker static void test_rdonly(void)
50*49cdfc7eSAndroid Build Coastguard Worker {
51*49cdfc7eSAndroid Build Coastguard Worker 	snprintf(file, PATH_MAX, "%s/rdonly", MNTPOINT);
52*49cdfc7eSAndroid Build Coastguard Worker 	TST_EXP_FAIL(otfd = open(file, O_CREAT | O_RDWR, 0700), EROFS);
53*49cdfc7eSAndroid Build Coastguard Worker }
54*49cdfc7eSAndroid Build Coastguard Worker 
test_nodev(void)55*49cdfc7eSAndroid Build Coastguard Worker static void test_nodev(void)
56*49cdfc7eSAndroid Build Coastguard Worker {
57*49cdfc7eSAndroid Build Coastguard Worker 	snprintf(file, PATH_MAX, "%s/nodev", MNTPOINT);
58*49cdfc7eSAndroid Build Coastguard Worker 	SAFE_MKNOD(file, S_IFBLK | 0777, 0);
59*49cdfc7eSAndroid Build Coastguard Worker 	TST_EXP_FAIL(otfd = open(file, O_RDWR, 0700), EACCES);
60*49cdfc7eSAndroid Build Coastguard Worker 	SAFE_UNLINK(file);
61*49cdfc7eSAndroid Build Coastguard Worker }
62*49cdfc7eSAndroid Build Coastguard Worker 
test_noexec(void)63*49cdfc7eSAndroid Build Coastguard Worker static void test_noexec(void)
64*49cdfc7eSAndroid Build Coastguard Worker {
65*49cdfc7eSAndroid Build Coastguard Worker 	snprintf(file, PATH_MAX, "%s/noexec", MNTPOINT);
66*49cdfc7eSAndroid Build Coastguard Worker 	otfd = SAFE_OPEN(file, O_CREAT | O_RDWR, 0700);
67*49cdfc7eSAndroid Build Coastguard Worker 	TST_EXP_FAIL(execlp(file, basename(file), NULL), EACCES);
68*49cdfc7eSAndroid Build Coastguard Worker }
69*49cdfc7eSAndroid Build Coastguard Worker 
test_remount(void)70*49cdfc7eSAndroid Build Coastguard Worker static void test_remount(void)
71*49cdfc7eSAndroid Build Coastguard Worker {
72*49cdfc7eSAndroid Build Coastguard Worker 	SAFE_MOUNT(tst_device->dev, MNTPOINT, tst_device->fs_type, MS_REMOUNT, NULL);
73*49cdfc7eSAndroid Build Coastguard Worker 	snprintf(file, PATH_MAX, "%s/remount", MNTPOINT);
74*49cdfc7eSAndroid Build Coastguard Worker 	TST_EXP_FD(otfd = open(file, O_CREAT | O_RDWR, 0700));
75*49cdfc7eSAndroid Build Coastguard Worker }
76*49cdfc7eSAndroid Build Coastguard Worker 
test_nosuid(void)77*49cdfc7eSAndroid Build Coastguard Worker static void test_nosuid(void)
78*49cdfc7eSAndroid Build Coastguard Worker {
79*49cdfc7eSAndroid Build Coastguard Worker 	int ret;
80*49cdfc7eSAndroid Build Coastguard Worker 	struct stat st;
81*49cdfc7eSAndroid Build Coastguard Worker 
82*49cdfc7eSAndroid Build Coastguard Worker 	if (!SAFE_FORK()) {
83*49cdfc7eSAndroid Build Coastguard Worker 		SAFE_CP(TESTBIN, BIN_PATH);
84*49cdfc7eSAndroid Build Coastguard Worker 
85*49cdfc7eSAndroid Build Coastguard Worker 		ret = TST_RETRY_FN_EXP_BACKOFF(access(BIN_PATH, F_OK), !CHECK_ENOENT, 15);
86*49cdfc7eSAndroid Build Coastguard Worker 		if (CHECK_ENOENT(ret))
87*49cdfc7eSAndroid Build Coastguard Worker 			tst_brk(TBROK, "Timeout, %s does not exist", BIN_PATH);
88*49cdfc7eSAndroid Build Coastguard Worker 
89*49cdfc7eSAndroid Build Coastguard Worker 		SAFE_STAT(BIN_PATH, &st);
90*49cdfc7eSAndroid Build Coastguard Worker 		if (st.st_mode != SUID_MODE)
91*49cdfc7eSAndroid Build Coastguard Worker 			SAFE_CHMOD(BIN_PATH, SUID_MODE);
92*49cdfc7eSAndroid Build Coastguard Worker 
93*49cdfc7eSAndroid Build Coastguard Worker 		SAFE_SETREUID(nobody_uid, nobody_uid);
94*49cdfc7eSAndroid Build Coastguard Worker 		SAFE_EXECL(BIN_PATH, BIN_PATH, NULL);
95*49cdfc7eSAndroid Build Coastguard Worker 		tst_brk(TFAIL | TTERRNO, "Failed to execute %s", BIN_PATH);
96*49cdfc7eSAndroid Build Coastguard Worker 	}
97*49cdfc7eSAndroid Build Coastguard Worker 
98*49cdfc7eSAndroid Build Coastguard Worker 	tst_reap_children();
99*49cdfc7eSAndroid Build Coastguard Worker }
100*49cdfc7eSAndroid Build Coastguard Worker 
test_file_dir_noatime(int update_fatime,int update_datime)101*49cdfc7eSAndroid Build Coastguard Worker static void test_file_dir_noatime(int update_fatime, int update_datime)
102*49cdfc7eSAndroid Build Coastguard Worker {
103*49cdfc7eSAndroid Build Coastguard Worker 	time_t atime, dir_atime;
104*49cdfc7eSAndroid Build Coastguard Worker 	struct stat st, dir_st;
105*49cdfc7eSAndroid Build Coastguard Worker 	char readbuf[20];
106*49cdfc7eSAndroid Build Coastguard Worker 	DIR *test_dir;
107*49cdfc7eSAndroid Build Coastguard Worker 
108*49cdfc7eSAndroid Build Coastguard Worker 	snprintf(file, PATH_MAX, "%s/noatime", MNTPOINT);
109*49cdfc7eSAndroid Build Coastguard Worker 	TST_EXP_FD_SILENT(otfd = open(file, O_CREAT | O_RDWR, 0700));
110*49cdfc7eSAndroid Build Coastguard Worker 
111*49cdfc7eSAndroid Build Coastguard Worker 	snprintf(dir, PATH_MAX, "%s/nodiratime", MNTPOINT);
112*49cdfc7eSAndroid Build Coastguard Worker 	if (access(dir, F_OK) == -1 && errno == ENOENT)
113*49cdfc7eSAndroid Build Coastguard Worker 		SAFE_MKDIR(dir, 0700);
114*49cdfc7eSAndroid Build Coastguard Worker 
115*49cdfc7eSAndroid Build Coastguard Worker 	SAFE_WRITE(1, otfd, TEST_STR, strlen(TEST_STR));
116*49cdfc7eSAndroid Build Coastguard Worker 	SAFE_FSTAT(otfd, &st);
117*49cdfc7eSAndroid Build Coastguard Worker 	atime = st.st_atime;
118*49cdfc7eSAndroid Build Coastguard Worker 
119*49cdfc7eSAndroid Build Coastguard Worker 	test_dir = SAFE_OPENDIR(dir);
120*49cdfc7eSAndroid Build Coastguard Worker 	SAFE_STAT(dir, &dir_st);
121*49cdfc7eSAndroid Build Coastguard Worker 	SAFE_READDIR(test_dir);
122*49cdfc7eSAndroid Build Coastguard Worker 	SAFE_CLOSEDIR(test_dir);
123*49cdfc7eSAndroid Build Coastguard Worker 	dir_atime = dir_st.st_atime;
124*49cdfc7eSAndroid Build Coastguard Worker 
125*49cdfc7eSAndroid Build Coastguard Worker 	usleep(1001000);
126*49cdfc7eSAndroid Build Coastguard Worker 
127*49cdfc7eSAndroid Build Coastguard Worker 	SAFE_READ(0, otfd, readbuf, sizeof(readbuf));
128*49cdfc7eSAndroid Build Coastguard Worker 	SAFE_FSTAT(otfd, &st);
129*49cdfc7eSAndroid Build Coastguard Worker 
130*49cdfc7eSAndroid Build Coastguard Worker 	test_dir = SAFE_OPENDIR(dir);
131*49cdfc7eSAndroid Build Coastguard Worker 	SAFE_READDIR(test_dir);
132*49cdfc7eSAndroid Build Coastguard Worker 	SAFE_CLOSEDIR(test_dir);
133*49cdfc7eSAndroid Build Coastguard Worker 	SAFE_STAT(dir, &dir_st);
134*49cdfc7eSAndroid Build Coastguard Worker 
135*49cdfc7eSAndroid Build Coastguard Worker 	if (update_fatime) {
136*49cdfc7eSAndroid Build Coastguard Worker 		if (st.st_atime > atime)
137*49cdfc7eSAndroid Build Coastguard Worker 			tst_res(TPASS, "st.st_atime(%ld) > atime(%ld)",
138*49cdfc7eSAndroid Build Coastguard Worker 					st.st_atime, atime);
139*49cdfc7eSAndroid Build Coastguard Worker 		else
140*49cdfc7eSAndroid Build Coastguard Worker 			tst_res(TFAIL, "st.st_atime(%ld) < atime(%ld)",
141*49cdfc7eSAndroid Build Coastguard Worker 					st.st_atime, atime);
142*49cdfc7eSAndroid Build Coastguard Worker 	} else {
143*49cdfc7eSAndroid Build Coastguard Worker 		TST_EXP_EQ_LI(st.st_atime, atime);
144*49cdfc7eSAndroid Build Coastguard Worker 	}
145*49cdfc7eSAndroid Build Coastguard Worker 
146*49cdfc7eSAndroid Build Coastguard Worker 	if (update_datime) {
147*49cdfc7eSAndroid Build Coastguard Worker 		if (dir_st.st_atime > dir_atime)
148*49cdfc7eSAndroid Build Coastguard Worker 			tst_res(TPASS, "dir_st.st_atime(%ld) > dir_atime(%ld)",
149*49cdfc7eSAndroid Build Coastguard Worker 					dir_st.st_atime, dir_atime);
150*49cdfc7eSAndroid Build Coastguard Worker 		else
151*49cdfc7eSAndroid Build Coastguard Worker 			tst_res(TFAIL, "dir_st.st_atime(%ld) < dir_atime(%ld)",
152*49cdfc7eSAndroid Build Coastguard Worker 					dir_st.st_atime, dir_atime);
153*49cdfc7eSAndroid Build Coastguard Worker 	} else {
154*49cdfc7eSAndroid Build Coastguard Worker 		TST_EXP_EQ_LI(dir_st.st_atime, dir_atime);
155*49cdfc7eSAndroid Build Coastguard Worker 	}
156*49cdfc7eSAndroid Build Coastguard Worker }
157*49cdfc7eSAndroid Build Coastguard Worker 
test_noatime(void)158*49cdfc7eSAndroid Build Coastguard Worker static void test_noatime(void)
159*49cdfc7eSAndroid Build Coastguard Worker {
160*49cdfc7eSAndroid Build Coastguard Worker 	test_file_dir_noatime(0, 0);
161*49cdfc7eSAndroid Build Coastguard Worker }
162*49cdfc7eSAndroid Build Coastguard Worker 
test_nodiratime(void)163*49cdfc7eSAndroid Build Coastguard Worker static void test_nodiratime(void)
164*49cdfc7eSAndroid Build Coastguard Worker {
165*49cdfc7eSAndroid Build Coastguard Worker 	test_file_dir_noatime(1, 0);
166*49cdfc7eSAndroid Build Coastguard Worker }
167*49cdfc7eSAndroid Build Coastguard Worker 
test_strictatime(void)168*49cdfc7eSAndroid Build Coastguard Worker static void test_strictatime(void)
169*49cdfc7eSAndroid Build Coastguard Worker {
170*49cdfc7eSAndroid Build Coastguard Worker 	test_file_dir_noatime(1, 1);
171*49cdfc7eSAndroid Build Coastguard Worker }
172*49cdfc7eSAndroid Build Coastguard Worker 
173*49cdfc7eSAndroid Build Coastguard Worker #define FLAG_DESC(x) .flag = x, .flag2 = x, .desc = #x
174*49cdfc7eSAndroid Build Coastguard Worker #define FLAG_DESC2(x) .flag2 = x, .desc = #x
175*49cdfc7eSAndroid Build Coastguard Worker static struct tcase {
176*49cdfc7eSAndroid Build Coastguard Worker 	unsigned int flag;
177*49cdfc7eSAndroid Build Coastguard Worker 	unsigned int flag2;
178*49cdfc7eSAndroid Build Coastguard Worker 	char *desc;
179*49cdfc7eSAndroid Build Coastguard Worker 	void (*test)(void);
180*49cdfc7eSAndroid Build Coastguard Worker } tcases[] = {
181*49cdfc7eSAndroid Build Coastguard Worker 	{FLAG_DESC(MS_RDONLY), test_rdonly},
182*49cdfc7eSAndroid Build Coastguard Worker 	{FLAG_DESC(MS_NODEV), test_nodev},
183*49cdfc7eSAndroid Build Coastguard Worker 	{FLAG_DESC(MS_NOEXEC), test_noexec},
184*49cdfc7eSAndroid Build Coastguard Worker 	{MS_RDONLY, FLAG_DESC2(MS_REMOUNT), test_remount},
185*49cdfc7eSAndroid Build Coastguard Worker 	{FLAG_DESC(MS_NOSUID), test_nosuid},
186*49cdfc7eSAndroid Build Coastguard Worker 	{FLAG_DESC(MS_NOATIME), test_noatime},
187*49cdfc7eSAndroid Build Coastguard Worker 	{FLAG_DESC(MS_NODIRATIME), test_nodiratime},
188*49cdfc7eSAndroid Build Coastguard Worker 	{FLAG_DESC(MS_STRICTATIME), test_strictatime}
189*49cdfc7eSAndroid Build Coastguard Worker };
190*49cdfc7eSAndroid Build Coastguard Worker 
setup(void)191*49cdfc7eSAndroid Build Coastguard Worker static void setup(void)
192*49cdfc7eSAndroid Build Coastguard Worker {
193*49cdfc7eSAndroid Build Coastguard Worker 	struct passwd *ltpuser = SAFE_GETPWNAM("nobody");
194*49cdfc7eSAndroid Build Coastguard Worker 
195*49cdfc7eSAndroid Build Coastguard Worker 	nobody_uid = ltpuser->pw_uid;
196*49cdfc7eSAndroid Build Coastguard Worker 	nobody_gid = ltpuser->pw_gid;
197*49cdfc7eSAndroid Build Coastguard Worker }
198*49cdfc7eSAndroid Build Coastguard Worker 
cleanup(void)199*49cdfc7eSAndroid Build Coastguard Worker static void cleanup(void)
200*49cdfc7eSAndroid Build Coastguard Worker {
201*49cdfc7eSAndroid Build Coastguard Worker 	if (otfd >= 0)
202*49cdfc7eSAndroid Build Coastguard Worker 		SAFE_CLOSE(otfd);
203*49cdfc7eSAndroid Build Coastguard Worker 
204*49cdfc7eSAndroid Build Coastguard Worker 	if (tst_is_mounted(MNTPOINT))
205*49cdfc7eSAndroid Build Coastguard Worker 		SAFE_UMOUNT(MNTPOINT);
206*49cdfc7eSAndroid Build Coastguard Worker }
207*49cdfc7eSAndroid Build Coastguard Worker 
208*49cdfc7eSAndroid Build Coastguard Worker 
run(unsigned int n)209*49cdfc7eSAndroid Build Coastguard Worker static void run(unsigned int n)
210*49cdfc7eSAndroid Build Coastguard Worker {
211*49cdfc7eSAndroid Build Coastguard Worker 	struct tcase *tc = &tcases[n];
212*49cdfc7eSAndroid Build Coastguard Worker 	struct statfs stfs;
213*49cdfc7eSAndroid Build Coastguard Worker 
214*49cdfc7eSAndroid Build Coastguard Worker 	tst_res(TINFO, "Testing flag %s", tc->desc);
215*49cdfc7eSAndroid Build Coastguard Worker 
216*49cdfc7eSAndroid Build Coastguard Worker 	TST_EXP_PASS_SILENT(mount(tst_device->dev, MNTPOINT, tst_device->fs_type,
217*49cdfc7eSAndroid Build Coastguard Worker 		   tc->flag, NULL));
218*49cdfc7eSAndroid Build Coastguard Worker 	if (!TST_PASS)
219*49cdfc7eSAndroid Build Coastguard Worker 		return;
220*49cdfc7eSAndroid Build Coastguard Worker 
221*49cdfc7eSAndroid Build Coastguard Worker 	if (tc->test)
222*49cdfc7eSAndroid Build Coastguard Worker 		tc->test();
223*49cdfc7eSAndroid Build Coastguard Worker 
224*49cdfc7eSAndroid Build Coastguard Worker 	SAFE_STATFS(MNTPOINT, &stfs);
225*49cdfc7eSAndroid Build Coastguard Worker 	if (tc->flag == MS_STRICTATIME) {
226*49cdfc7eSAndroid Build Coastguard Worker 		if (stfs.f_flags & (MS_NOATIME | MS_RELATIME))
227*49cdfc7eSAndroid Build Coastguard Worker 			tst_res(TFAIL, "statfs() gets the incorrect mount flag");
228*49cdfc7eSAndroid Build Coastguard Worker 		else
229*49cdfc7eSAndroid Build Coastguard Worker 			tst_res(TPASS, "statfs() gets the correct mount flag");
230*49cdfc7eSAndroid Build Coastguard Worker 		cleanup();
231*49cdfc7eSAndroid Build Coastguard Worker 		return;
232*49cdfc7eSAndroid Build Coastguard Worker 	}
233*49cdfc7eSAndroid Build Coastguard Worker 
234*49cdfc7eSAndroid Build Coastguard Worker 	if (stfs.f_flags & tc->flag2)
235*49cdfc7eSAndroid Build Coastguard Worker 		tst_res(TPASS, "statfs() gets the correct mount flag");
236*49cdfc7eSAndroid Build Coastguard Worker 	else
237*49cdfc7eSAndroid Build Coastguard Worker 		tst_res(TFAIL, "statfs() gets the incorrect mount flag");
238*49cdfc7eSAndroid Build Coastguard Worker 
239*49cdfc7eSAndroid Build Coastguard Worker 	cleanup();
240*49cdfc7eSAndroid Build Coastguard Worker }
241*49cdfc7eSAndroid Build Coastguard Worker 
242*49cdfc7eSAndroid Build Coastguard Worker static struct tst_test test = {
243*49cdfc7eSAndroid Build Coastguard Worker 	.tcnt = ARRAY_SIZE(tcases),
244*49cdfc7eSAndroid Build Coastguard Worker 	.test = run,
245*49cdfc7eSAndroid Build Coastguard Worker 	.setup = setup,
246*49cdfc7eSAndroid Build Coastguard Worker 	.cleanup = cleanup,
247*49cdfc7eSAndroid Build Coastguard Worker 	.needs_root = 1,
248*49cdfc7eSAndroid Build Coastguard Worker 	.format_device = 1,
249*49cdfc7eSAndroid Build Coastguard Worker 	.resource_files = (const char *const[]) {
250*49cdfc7eSAndroid Build Coastguard Worker 		TESTBIN,
251*49cdfc7eSAndroid Build Coastguard Worker 		NULL,
252*49cdfc7eSAndroid Build Coastguard Worker 	},
253*49cdfc7eSAndroid Build Coastguard Worker 	.forks_child = 1,
254*49cdfc7eSAndroid Build Coastguard Worker 	.child_needs_reinit = 1,
255*49cdfc7eSAndroid Build Coastguard Worker 	.mntpoint = MNTPOINT,
256*49cdfc7eSAndroid Build Coastguard Worker 	.all_filesystems = 1,
257*49cdfc7eSAndroid Build Coastguard Worker 	.skip_filesystems = (const char *const []){
258*49cdfc7eSAndroid Build Coastguard Worker 		"exfat",
259*49cdfc7eSAndroid Build Coastguard Worker 		"vfat",
260*49cdfc7eSAndroid Build Coastguard Worker 		"ntfs",
261*49cdfc7eSAndroid Build Coastguard Worker 		NULL
262*49cdfc7eSAndroid Build Coastguard Worker 	},
263*49cdfc7eSAndroid Build Coastguard Worker };
264