* [LTP] [PATCH v2] mount/mount06.c: fix a compile error
@ 2013-07-31 1:52 DAN LI
2013-07-31 2:02 ` Wanlong Gao
0 siblings, 1 reply; 2+ messages in thread
From: DAN LI @ 2013-07-31 1:52 UTC (permalink / raw)
To: LTP list
The definitions of MS_PRIVATE and MS_MOVE were only added to glibc headers
in version 2.12.
If there are no definitions of these two flags, make it.
Signed-off-by: DAN LI <li.dan@cn.fujitsu.com>
---
testcases/kernel/syscalls/mount/mount06.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/testcases/kernel/syscalls/mount/mount06.c b/testcases/kernel/syscalls/mount/mount06.c
index acfb22d..fff6483 100644
--- a/testcases/kernel/syscalls/mount/mount06.c
+++ b/testcases/kernel/syscalls/mount/mount06.c
@@ -31,6 +31,14 @@
#include "usctest.h"
#include "safe_macros.h"
+#ifndef MS_MOVE
+#define MS_MOVE 8192
+#endif
+
+#ifndef MS_PRIVATE
+#define MS_PRIVATE (1 << 18)
+#endif
+
#define MNTPOINT_SRC "mnt_src"
#define MNTPOINT_DES "mnt_des"
#define LINELENGTH 256
--
1.8.1
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [LTP] [PATCH v2] mount/mount06.c: fix a compile error
2013-07-31 1:52 [LTP] [PATCH v2] mount/mount06.c: fix a compile error DAN LI
@ 2013-07-31 2:02 ` Wanlong Gao
0 siblings, 0 replies; 2+ messages in thread
From: Wanlong Gao @ 2013-07-31 2:02 UTC (permalink / raw)
To: DAN LI; +Cc: LTP list
On 07/31/2013 09:52 AM, DAN LI wrote:
> The definitions of MS_PRIVATE and MS_MOVE were only added to glibc headers
> in version 2.12.
>
> If there are no definitions of these two flags, make it.
>
>
> Signed-off-by: DAN LI <li.dan@cn.fujitsu.com>
Applied, thank you.
Wanlong Gao
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-31 2:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-31 1:52 [LTP] [PATCH v2] mount/mount06.c: fix a compile error DAN LI
2013-07-31 2:02 ` Wanlong Gao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox