summaryrefslogtreecommitdiff
path: root/libc/inet/accept4.c
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-02-03 20:06:55 -0800
committerKhem Raj <raj.khem@gmail.com>2012-02-05 12:11:26 -0800
commitae0e6225db6dacb4d4de81245fba8671526dfe90 (patch)
tree335d1f4ba329d7de195a3f87daa8e71e9d3a3e84 /libc/inet/accept4.c
parent812ae602fe96bb40d1743d410eb1eadb6aa722f5 (diff)
lstat/stat/fstat: Use 64bit version of syscall if available
This is needed for stat'ing loop devices > 255 since otherwise kernel returns EOVERFLOW becasue it needs st_rdev/st_dev to be larger than 16bits but in kernel it uses __old_kernel_stat for stat syscall which has st_rdev/st_dev as unsigned short Add a testcase Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'libc/inet/accept4.c')
0 files changed, 0 insertions, 0 deletions