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_elfn32.c | ||
binfmt_elfo32.c | ||
branch.c | ||
cpu-bugs64.c | ||
cpu-probe.c | ||
dma-no-isa.c | ||
entry.S | ||
gdb-low.S | ||
gdb-stub.c | ||
genex.S | ||
head.S | ||
i8259.c | ||
init_task.c | ||
irix5sys.S | ||
irixelf.c | ||
irixinv.c | ||
irixioctl.c | ||
irixsig.c | ||
irq_cpu.c | ||
irq-msc01.c | ||
irq-mv6434x.c | ||
irq-rm7000.c | ||
irq-rm9000.c | ||
irq.c | ||
linux32.c | ||
Makefile | ||
mips_ksyms.c | ||
module.c | ||
proc.c | ||
process.c | ||
ptrace32.c | ||
ptrace.c | ||
r4k_fpu.S | ||
r4k_switch.S | ||
r2300_fpu.S | ||
r2300_switch.S | ||
r6000_fpu.S | ||
reset.c | ||
rtlx.c | ||
scall32-o32.S | ||
scall64-64.S | ||
scall64-n32.S | ||
scall64-o32.S | ||
semaphore.c | ||
setup.c | ||
signal32.c | ||
signal_n32.c | ||
signal-common.h | ||
signal.c | ||
smp_mt.c | ||
smp.c | ||
syscall.c | ||
sysirix.c | ||
time.c | ||
traps.c | ||
unaligned.c | ||
vmlinux.lds.S | ||
vpe.c |