Statistics
| Branch: | Revision:

root / path.c @ 26ca8c06

History | View | Annotate | Download (4.7 kB)

# Date Author Comment
338d80dd 01/12/2013 02:25 pm Richard Henderson

user: Consider symbolic links as possible directories

Commit 2296f194dfde4c0a54f249d3fdb8c8ca21dc611b reduced the number
of syscalls performed during user emulation startup, but failed to
consider the use of symbolic links in creating directory structures....

2296f194 02/09/2011 10:33 am Mike Frysinger

user: speed up init_paths a bit

The current init_paths code will attempt to opendir() every single file it
finds. This can obviously generated a huge number of syscalls with even a
moderately small sysroot that will fail. Since the readdir() call provides...

34ba360f 12/25/2009 08:19 pm Kirill A. Shutemov

path.c fix warning with _FORTIFY_SOURCE

CC    libuser/path.o
cc1: warnings being treated as errors
/usr/src/RPM/BUILD/qemu-0.11.92/path.c: In function 'new_entry':
/usr/src/RPM/BUILD/qemu-0.11.92/path.c:49: error: ignoring return value of 'asprintf', declared with attribute warn_unused_result...
37022086 08/15/2009 10:51 am Blue Swirl

user: compile path.c only once

Also merge bsd-user/path.c and linux-user/path.c.

Signed-off-by: Blue Swirl <>