void *mmap(void *addr, size_t len, int prot, int flags, int fildes, off_t off) { return (void*)syscall6(__NR_mmap, (unsigned long)addr, (unsigned long)len, (unsigned long)prot, (unsigned long)flags, (unsigned long)fildes, (unsigned long)off); }
static long syscall_noflexsc(struct flexsc_sysentry *entry, unsigned int sysnum) { return syscall6(sysnum, entry->sysargs[0], entry->sysargs[1], entry->sysargs[2], entry->sysargs[3], entry->sysargs[4], entry->sysargs[5]); }