Adds openat() stubs (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 26 Dec 2014 22:17:05 +0000 (14:17 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 31 Dec 2014 18:03:09 +0000 (13:03 -0500)
commita9a9c07b6c80fcddf7bf4fdd9a806634f944d2e1
tree73e3632924a57046d72be8a66505630d28c865f0
parentdcec68e39e372fad31db43f1bccbaf4bb023a8ab
Adds openat() stubs (XCC)

Glibc now implements the POSIX/UNIX opendir() with openat().  The kernel
doesn't support openat() yet, but we can still use the interface for absolute
or AT_FDCWD as a wrapper around open().  When we do support it, the utest ought
to pass.

This fixes things like 'ls' and tab completion in busybox (which needs to do an
ls).
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/openat.c [new file with mode: 0644]
tools/compilers/gcc-glibc/glibc-2.19-akaros/sysdeps/akaros/openat64.c [new file with mode: 0644]
user/utest/file-posix.c [new file with mode: 0644]