Re: [PATCH 11/11] ext4: add cross rename support

From: Tetsuo Handa
Date: Sat Apr 19 2014 - 08:08:47 EST


Michael Kerrisk (man-pages) wrote:
> Now that renameat2() is in 3.15, I've taken these changes.

What!? I didn't know renameat2() goes to 3.15.

But I assume that renameat2() is not accessible in 3.15, for I can see
"asmlinkage long sys_renameat2(" but don't see "#define __NR_renameat2".

$ grep -Fr renameat include/
include/linux/syscalls.h:asmlinkage long sys_renameat(int olddfd, const char __user * oldname,
include/linux/syscalls.h:asmlinkage long sys_renameat2(int olddfd, const char __user *oldname,
include/uapi/asm-generic/unistd.h:#define __NR_renameat 38
include/uapi/asm-generic/unistd.h:__SYSCALL(__NR_renameat, sys_renameat)
include/asm-generic/audit_dir_write.h:__NR_renameat,
include/net/9p/client.h:int p9_client_renameat(struct p9_fid *olddirfid, const char *old_name,

If renameat2() is accessible in 3.15, I must consider submitting TOMOYO changes
immediately. But so far I got no response from LSM users regarding the patch
( https://lkml.org/lkml/2014/1/18/26 ) which the TOMOYO changes depend on.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/