From: Martin Mares Date: Sun, 20 Jun 2010 14:39:55 +0000 (+0200) Subject: Box: Filter out madvise1, which is an alias for madvise with the same ID X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=7a55099d826cc5e54287e41be6296a73111860ee;p=eval.git Box: Filter out madvise1, which is an alias for madvise with the same ID --- diff --git a/box/mk-syscall-table b/box/mk-syscall-table index 82096d2..b33a486 100755 --- a/box/mk-syscall-table +++ b/box/mk-syscall-table @@ -5,5 +5,5 @@ echo '/* Syscall table automatically generated by mk-syscall-table */' echo echo '#include ' | gcc -E -dM "$@" - | - sed 's/^#define __NR_\([^ ]\+\).*/[ __NR_\1 ] = "\1",/;t;d' + sed '/__NR_madvise1/d; s/^#define __NR_\([^ ]\+\).*/[ __NR_\1 ] = "\1",/;t;d' )