Linux Container Development
 help / color / mirror / Atom feed
* [PATCH 1/5] cr: define ckpt_debug if CONFIG_CHECKPOINT=n
@ 2009-08-28 21:00 Serge E. Hallyn
  2009-08-28 21:02 ` [PATCH 2/5] cr: checkpoint the active LSM and add RESTART_KEEP_LSM flag Serge E. Hallyn
                   ` (3 more replies)
  0 siblings, 4 replies; 29+ messages in thread
From: Serge E. Hallyn @ 2009-08-28 21:00 UTC (permalink / raw)
  To: Oren Laadan; +Cc: Linux Containers

So not all c/r code has to be ifdefed...

See patch 5/5 (add selinux support) for its use.

Signed-off-by: Serge E. Hallyn <serue-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
---
 include/linux/checkpoint.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/linux/checkpoint.h b/include/linux/checkpoint.h
index 761cad5..06e3eb0 100644
--- a/include/linux/checkpoint.h
+++ b/include/linux/checkpoint.h
@@ -337,6 +337,9 @@ extern unsigned long ckpt_debug_level;
 
 #endif /* CONFIG_CHECKPOINT_DEBUG */
 
+#else /* CONFIG_CHECKPOINT */
+#define _ckpt_debug(level, fmt, args...)	do { } while (0)
+#define ckpt_debug(fmt, args...)		do { } while (0)
 #endif /* CONFIG_CHECKPOINT */
 #endif /* __KERNEL__ */
 
-- 
1.6.1

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

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

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-28 21:00 [PATCH 1/5] cr: define ckpt_debug if CONFIG_CHECKPOINT=n Serge E. Hallyn
2009-08-28 21:02 ` [PATCH 2/5] cr: checkpoint the active LSM and add RESTART_KEEP_LSM flag Serge E. Hallyn
2009-08-28 21:03   ` [PATCH 1/1] mktree: accept the lsm_name field in header and add -k flag Serge E. Hallyn
2009-08-29  4:43   ` [PATCH 2/5] cr: checkpoint the active LSM and add RESTART_KEEP_LSM flag Casey Schaufler
2009-08-29 22:59     ` Serge E. Hallyn
2009-08-30  0:03       ` Casey Schaufler
2009-08-30 13:48         ` Serge E. Hallyn
2009-08-30 18:58           ` Casey Schaufler
2009-08-30 20:24             ` Serge E. Hallyn
2009-08-30 21:43               ` Casey Schaufler
2009-08-31 13:22                 ` Serge E. Hallyn
2009-08-31 13:36                   ` Serge E. Hallyn
2009-09-01  5:51                     ` Casey Schaufler
     [not found]             ` <4A9ACBD4.4020804-iSGtlc1asvQWG2LlvL+J4A@public.gmane.org>
2009-09-01 12:29               ` Russell Coker
2009-09-02 16:36                 ` Casey Schaufler
2009-09-02 18:55                   ` Shaya Potter
2009-09-02 22:27                     ` Casey Schaufler
2009-08-28 21:04 ` [PATCH 3/5] cr: add generic LSM c/r support Serge E. Hallyn
2009-08-29  4:30   ` Casey Schaufler
2009-08-29 22:41     ` Serge E. Hallyn
2009-08-29 23:40       ` Casey Schaufler
2009-08-30 13:58         ` Serge E. Hallyn
2009-08-30 19:03           ` Casey Schaufler
2009-08-30 20:26             ` Serge E. Hallyn
     [not found]             ` <4A9ACD0A.9050004-iSGtlc1asvQWG2LlvL+J4A@public.gmane.org>
2009-08-31 12:45               ` Stephen Smalley
2009-09-01  5:49                 ` Casey Schaufler
2009-09-04 13:38                   ` Serge E. Hallyn
2009-08-28 21:04 ` [PATCH 4/5] cr: add smack support to lsm c/r Serge E. Hallyn
2009-08-28 21:05 ` [PATCH 5/5] cr: add selinux support Serge E. Hallyn

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