Linux Test Project
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/4] syscalls/readlink.h: Move common macros to readlink.h
@ 2018-02-12 10:21 Jinhui Huang
  2018-02-12 10:21 ` [LTP] [PATCH 2/4] syscalls/readlink01.c: Cleanup && Convert to new API Jinhui Huang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jinhui Huang @ 2018-02-12 10:21 UTC (permalink / raw)
  To: ltp

Signed-off-by: Jinhui Huang <huangjh.jy@cn.fujitsu.com>
---
 testcases/kernel/syscalls/readlink/readlink.h | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 testcases/kernel/syscalls/readlink/readlink.h

diff --git a/testcases/kernel/syscalls/readlink/readlink.h b/testcases/kernel/syscalls/readlink/readlink.h
new file mode 100644
index 0000000..0361157
--- /dev/null
+++ b/testcases/kernel/syscalls/readlink/readlink.h
@@ -0,0 +1,26 @@
+/*
+* Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
+* Author: Jinhui huang <huangjh.jy@cn.fujitsu.com>
+*
+* This program is free software; you can redistribute it and/or modify it
+* under the terms of version 2 of the GNU General Public License as
+* published by the Free Software Foundation.
+*
+* This program is distributed in the hope that it would be useful, but
+* WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+*
+* You should have received a copy of the GNU General Public License
+* alone with this program.
+*/
+
+#ifndef	READLINK_H
+#define	READLINK_H
+
+#define TESTFILE	"test_file"
+#define SYMFILE	"slink_file"
+#define FILE_MODE	(S_IRUSR | S_IRGRP | S_IROTH)
+#define MODE_RWX	(S_IRWXU | S_IRWXG | S_IRWXO)
+#define MAX_SIZE	256
+
+#endif /* READLINK_H */
-- 
1.8.3.1




^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-13 15:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-12 10:21 [LTP] [PATCH 1/4] syscalls/readlink.h: Move common macros to readlink.h Jinhui Huang
2018-02-12 10:21 ` [LTP] [PATCH 2/4] syscalls/readlink01.c: Cleanup && Convert to new API Jinhui Huang
2018-02-12 10:21 ` [LTP] [PATCH 3/4] syscalls/readlink03.c: " Jinhui Huang
2018-02-12 10:21 ` [LTP] [PATCH 4/4] syscalls/readlink04.c: " Jinhui Huang
2018-04-13 15:38 ` [LTP] [PATCH 1/4] syscalls/readlink.h: Move common macros to readlink.h Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox