extern void printsigevent(struct tcb *tcp, long arg);
#include "xlat/msgctl_flags.h"
-
#include "xlat/semctl_flags.h"
-
#include "xlat/shmctl_flags.h"
-
#include "xlat/resource_flags.h"
-
#include "xlat/shm_resource_flags.h"
-
#include "xlat/shm_flags.h"
-
#include "xlat/ipc_msg_flags.h"
-
#include "xlat/semop_flags.h"
int sys_msgget(struct tcb *tcp)
static int
indirect_ipccall(struct tcb *tcp)
{
-#ifdef X86_64
- return current_personality == 1;
-#endif
-#if defined IA64
- return tcp->scno < 1024; /* ia32 emulation syscalls are low */
-#endif
-#if defined(ALPHA) || defined(MIPS) || defined(HPPA) || defined(__ARM_EABI__) || defined(AARCH64)
- return 0;
-#endif
- return 1;
+ return tcp->s_ent->sys_flags & TRACE_INDIRECT_SUBCALL;
}
int sys_msgctl(struct tcb *tcp)