c04030e16d
I'm currently at the POSIX meeting and one thing covered was the incompatibility of Linux's link() with the POSIX definition. The name. Linux does not follow symlinks, POSIX requires it does. Even if somebody thinks this is a good default behavior we cannot change this because it would break the ABI. But the fact remains that some application might want this behavior. We have one chance to help implementing this without breaking the behavior. For this we could use the new linkat interface which would need a new flags parameter. If the new parameter is AT_SYMLINK_FOLLOW the new behavior could be invoked. I do not want to introduce such a patch now. But we could add the parameter now, just don't use it. The patch below would do this. Can we get this late patch applied before the release more or less fixes the syscall API? Signed-off-by: Ulrich Drepper <drepper@redhat.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
asm-offsets.c | ||
binfmt_elf32.c | ||
bitmap.S | ||
compat_exec_domain.c | ||
compat_linux.c | ||
compat_linux.h | ||
compat_ptrace.h | ||
compat_signal.c | ||
compat_wrapper.S | ||
cpcmd.c | ||
crash.c | ||
debug.c | ||
ebcdic.c | ||
entry.S | ||
entry64.S | ||
head.S | ||
head31.S | ||
head64.S | ||
init_task.c | ||
irq.c | ||
machine_kexec.c | ||
Makefile | ||
module.c | ||
process.c | ||
profile.c | ||
ptrace.c | ||
reipl.S | ||
reipl64.S | ||
reipl_diag.c | ||
relocate_kernel.S | ||
relocate_kernel64.S | ||
s390_ext.c | ||
s390_ksyms.c | ||
semaphore.c | ||
setup.c | ||
signal.c | ||
smp.c | ||
sys_s390.c | ||
syscalls.S | ||
time.c | ||
traps.c | ||
vmlinux.lds.S | ||
vtime.c |