[CRIU] [PATCH 1/3] include: add setproctitle.h
Ruslan Kuprieiev
kupruser at gmail.com
Wed Aug 6 12:56:22 PDT 2014
Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
---
include/setproctitle.h | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 include/setproctitle.h
diff --git a/include/setproctitle.h b/include/setproctitle.h
new file mode 100644
index 0000000..ed6bf03
--- /dev/null
+++ b/include/setproctitle.h
@@ -0,0 +1,11 @@
+#ifndef __CR_SETPROCTITLE_H__
+#define __CR_SETPROCTITLE_H__
+
+#ifdef CONFIG_HAS_LIBBSD
+#include <bsd/unistd.h>
+#else
+#define setproctitle_init(argc, argv, envp)
+#define setproctitle(fmt, ...)
+#endif
+
+#endif /* __CR_SETPROCTITLE_H__ */
--
1.9.1
More information about the CRIU
mailing list