Lines Matching refs:syscallemu
1 /* $NetBSD: syscallemu.c,v 1.1 2012/01/05 13:26:51 jmcneill Exp $ */
30 __KERNEL_RCSID(0, "$NetBSD: syscallemu.c,v 1.1 2012/01/05 13:26:51 jmcneill Exp $");
39 #include "syscallemu.h"
42 #error syscallemu requires __HAVE_SYSCALL_INTERN
78 * Allocate private storage for the syscallemu parameters and stash it
82 * Returns EACCESS if syscallemu has already been configured for this process.
112 printf("syscallemu: enabled for pid %d\n", p->p_pid);
119 * Initialize the syscallemu module
130 printf("syscallemu: applying workaround for kern/45781\n");
140 printf("syscallemu: couldn't create proc specific key (%d)\n",
147 printf("syscallemu: couldn't establish syscalls\n");
156 * Finalize the syscallemu module
172 MODULE(MODULE_CLASS_MISC, syscallemu, NULL);