[tools/mkimage]: upgrade and build from the u-boot source
[openwrt.git] / package / busybox / patches / 480-mount_union.patch
1 --- a/util-linux/mount.c
2 +++ b/util-linux/mount.c
3 @@ -69,6 +69,10 @@
4 #define MS_DIRSYNC 128 // Directory modifications are synchronous
5 #endif
6
7 +#ifndef MS_UNION
8 +#define MS_UNION 0x100 /* 256: Mount on top of a union */
9 +#endif
10 +
11
12 #if defined(__dietlibc__)
13 // 16.12.2006, Sampo Kellomaki (sampo@iki.fi)
14 @@ -185,6 +189,7 @@ static const int32_t mount_options[] = {
15 /* "rslave" */ MS_SLAVE|MS_RECURSIVE,
16 /* "rprivate" */ MS_SLAVE|MS_RECURSIVE,
17 /* "runbindable" */ MS_UNBINDABLE|MS_RECURSIVE,
18 + /* "union" */ MS_UNION,
19 )
20
21 // Always understood.
22 @@ -239,6 +244,7 @@ static const char mount_option_str[] =
23 "rslave\0"
24 "rprivate\0"
25 "runbindable\0"
26 + "union" "\0"
27 )
28
29 // Always understood.
This page took 0.042542 seconds and 5 git commands to generate.