[package] busybox: fix empty password detection in telnetd init (#10432)
[openwrt.git] / package / busybox / patches / 480-mount_union.patch
1 --- a/util-linux/mount.c
2 +++ b/util-linux/mount.c
3 @@ -136,6 +136,10 @@
4 # include <rpc/pmap_clnt.h>
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 @@ -254,6 +258,7 @@ static const int32_t mount_options[] = {
15 /* "rslave" */ MS_SLAVE|MS_RECURSIVE,
16 /* "rprivate" */ MS_PRIVATE|MS_RECURSIVE,
17 /* "runbindable" */ MS_UNBINDABLE|MS_RECURSIVE,
18 + /* "union" */ MS_UNION,
19 )
20
21 // Always understood.
22 @@ -310,6 +315,7 @@ static const char mount_option_str[] =
23 "make-rslave\0"
24 "make-rprivate\0"
25 "make-runbindable\0"
26 + "make-union\0"
27 )
28
29 // Always understood.
This page took 0.039447 seconds and 5 git commands to generate.