sys_chown vs. sys_lchown
Hi,
i have discovered some interesting things concerning the chown/lchown syscall:
gcc -O2 -s -o usermod usermod.o ../libmisc/libmisc.a ../lib/libshadow.a -lcrypt ../libmisc/libmisc.a(chowndir.o): In function `chown_tree':chowndir.c(.text+0x248): warning: lchown is not implemented and will always fail
I discovered a anomaly there when trying to compile current strace which has sys_lchown which is sys_chown in current glibc and fails to compile thereof.
I am not shure where the actual problem is but there is someone more knowledged ...
Flo
Signature · 3 lines
Florian Lohoff [email protected] +49-subject-2-change "Technology is a constant battle between manufacturers producing bigger and more idiot-proof systems and nature producing bigger and better idiots."
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Wichert Akkerman
Quoted 3 lines · Previously Florian Lohoff
I discovered a anomaly there when trying to compile current strace which has
sys_lchownwhich issys_chownin current glibc and fails to compile thereof.strace got that from
include/asm-mips/unistd.hfrom a 2.3.99pre5 kernel tree, which should be authoritive. Are you sure that your glibc is compiled correctly?
;) As this is made by Ralf Baechle the "Master himself" ill trust that :)
Flo
Signature · 3 lines
Florian Lohoff [email protected] +49-subject-2-change "Technology is a constant battle between manufacturers producing bigger and more idiot-proof systems and nature producing bigger and better idiots."