Messages in this thread | | | Date | Mon, 6 Feb 2006 12:26:11 -0800 | From | Tony Luck <> | Subject | Re: [PATCH 1/3] NEW VERSION: *at syscalls: Implementation |
| |
Does sys_mkdirat() work? I applied Ken's patch to hook up the calls for ia64, but when I tried:
long sys_mkdirat(int dfd, const char *pathname, int mode) { return syscall(__NR_mknodat, dfd, pathname, mode); }
...
sys_mkdirat(AT_FDCWD, "xxx", 0777);
I ended up with a regular file named "xxx", not a directory. $ ls -l xxx -rwsrwxr-x 1 aegl aegl 0 Feb 6 12:23 xxx
Hmmm, setuid too!
-Tony - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |