[CRIU] [PATCH 05/10] parasite: Add missing BUILD_BUG_ONs for
arguments
Cyrill Gorcunov
gorcunov at openvz.org
Mon Mar 12 16:55:18 EDT 2012
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
parasite.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/parasite.c b/parasite.c
index 6823e6a..1189f6e 100644
--- a/parasite.c
+++ b/parasite.c
@@ -583,6 +583,8 @@ static int __used parasite_service(unsigned long cmd, void *args)
BUILD_BUG_ON(sizeof(struct parasite_dump_pages_args) > PARASITE_ARG_SIZE);
BUILD_BUG_ON(sizeof(struct parasite_init_args) > PARASITE_ARG_SIZE);
BUILD_BUG_ON(sizeof(struct parasite_dump_misc) > PARASITE_ARG_SIZE);
+ BUILD_BUG_ON(sizeof(struct parasite_dump_tid_addr) > PARASITE_ARG_SIZE);
+ BUILD_BUG_ON(sizeof(struct parasite_dump_sk_queues) > PARASITE_ARG_SIZE);
switch (cmd) {
case PARASITE_CMD_INIT:
--
1.7.7.6
More information about the CRIU
mailing list