int mkdir(const char *path, mode_t mode) { static int (*orig_mkdir)(const char *path, mode_t mode); ASSIGN(mkdir); dbg("%s(path=%s, mode=0%04o)\n", __func__, path, mode); return ignore_fs ? 0 : orig_mkdir(path, mode); }
asmlinkage ssize_t our_mkdir (const char __user *pathname, umode_t mode) { printk (KERN_INFO "SYS_MKDIR %s\n",pathname); return orig_mkdir(pathname,mode); }
int mkdir ( const char *pathname, mode_t mode ) { enforcer( pathname ); return orig_mkdir(pathname, mode); }