This attached patch moves _posixsubprocess.c to use getdents64. The old getdents function was added to Linux 2.4, so I think it is quite safe to move. In current kernel the getdents syscall is provided with compatibility wrappers, so moving to newer syscall is also a minor performance improvement.
This attached patch moves _posixsubprocess.c to use getdents64. The old getdents function was added to Linux 2.4, so I think it is quite safe to move. In current kernel the getdents syscall is provided with compatibility wrappers, so moving to newer syscall is also a minor performance improvement.
Thomas, can you test this?