Cleaner patch for for libselinux IA64 build failure
Hi,
This is a slightly cleaner patch, and has the advantage of
actually working ;-)
manoj
utils/setupns.c +10 -0
@@ -13,7 +13,17 @@#include <linux/unistd.h> #define CLONE_NEWNS 0x00020000/* Flag to create new namespace */ + +#ifndef __ia64__ static inline _syscall2 (int, clone, int, flags, int, arg) +#else /* There is no _syscall2 in ia64 */ +#include "ia64-inline-syscall.h" +static inline int +clone (int flags,int arg) +{ +return INLINE_SYSCALL (clone2,6 , flags,NULL , arg,NULL ,NULL ,NULL ); +} +#endif char *progname;
utils/ia64-inline-syscall.h +98 -0
98 lines not on this page · raw message
Signature · 8 lines
Those who in quarrels interpose, must often wipe a bloody nose. Manoj Srivastava <[email protected]> <[email protected]> 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.