| Commit message (Expand) | Author | Age | Files | Lines |
| * | improve [f]stat[v]fs functions, and possibly work around old kernels•••the main aim of this patch is to ensure that if not all fields are
filled in, they contain zeros, so as not to confuse applications.
reportedly some older kernels, including commonly used openvz kernels,
lack the f_flags field, resulting in applications reading random junk
as the mount flags; the common symptom seems to be wrongly considering
the filesystem to be mounted read-only and refusing to operate. glibc
has some amazingly ugly fallback code to get the mount flags for old
kernels, but having them really is not that important anyway; what
matters most is not presenting incorrect flags to the application.
I have also aimed to fill in some fields of statvfs that were
previously missing, and added code to explicitly zero the reserved
space at the end of the structure, which will make things easier in
the future if this space someday needs to be used.
| Rich Felker | 2013-07-19 | 1 | -2/+5 |
| * | fix mknod and mknodat to accept large dev_t values•••support for these was recently added to sysmacros.h. note that the
syscall argument is a long, despite dev_t being 64-bit, so on 32-bit
archs the high bits will be lost. it appears the high bits are just
glibc silliness and not part of the kernel api, anyway, but it's nice
that we have them there for future expansion if needed.
| Rich Felker | 2013-05-16 | 2 | -5/+2 |
| * | add obsolete futimesat()•••this function is obsolete, however it's available as a syscall
and as such qemu userspace emulation tries to forward it to the
host kernel.
| rofl0r | 2012-12-06 | 1 | -0/+9 |
| * | use restrict everywhere it's required by c99 and/or posix 2008•••to deal with the fact that the public headers may be used with pre-c99
compilers, __restrict is used in place of restrict, and defined
appropriately for any supported compiler. we also avoid the form
[restrict] since older versions of gcc rejected it due to a bug in the
original c99 standard, and instead use the form *restrict.
| Rich Felker | 2012-09-06 | 4 | -4/+4 |
| * | add LSB ABI __xstat, etc. junk | Rich Felker | 2012-05-31 | 4 | -0/+36 |
| * | fix statvfs.c to match new fsid_t definition | Rich Felker | 2011-09-20 | 1 | -1/+1 |
| * | fix the definition of struct statvfs to match lsb abi•••at the same time, make struct statfs match the traditional definition
and make it more useful, especially the fsid_t stuff.
| Rich Felker | 2011-09-19 | 2 | -19/+46 |
| * | fix (hopefully) statvfs breakage on x86_64 that resulted from fixing i386... | Rich Felker | 2011-04-05 | 2 | -2/+10 |
| * | fix statvfs syscalls (missing size argument) | Rich Felker | 2011-04-03 | 2 | -2/+2 |
| * | global cleanup to use the new syscall interface | Rich Felker | 2011-03-20 | 15 | -15/+15 |
| * | implement futimens and utimensat | Rich Felker | 2011-02-27 | 2 | -0/+13 |
| * | add portable lchown (trivial to support and a few ancient things want it..) | Rich Felker | 2011-02-17 | 1 | -0/+7 |
| * | finish moving 32-bit-specific junk out of source files. | Rich Felker | 2011-02-15 | 6 | -6/+6 |
| * | initial check-in, version 0.5.0 | Rich Felker | 2011-02-12 | 16 | -0/+137 |