summaryrefslogtreecommitdiff
path: root/sysdeps/unix
AgeCommit message (Collapse)AuthorFilesLines
2010-08-11Add support for Linux fanotify_init and fanotify_mask syscalls.Ulrich Drepper5-1/+48
2010-08-11Add support for prlimit and prlimit64 on Linux.Ulrich Drepper10-2/+136
2010-08-06(__getlogin_r_loginuid): Also fail if tpwd after pwuid call is NULL.Ulrich Drepper1-1/+1
2010-07-09Avoid namespace pollution.Ulrich Drepper1-1/+1
2010-07-06Implement _PC_PIPE_BUF.Ulrich Drepper1-1/+10
Now that the kernel has appropriate support we can implement this fpathconf command correctly.
2010-06-30powerpc: Re-work the Implies structureLuis Machado29-39/+31
This patch tries to organize the implies files for ppc, since there are a number of processors and most of them are compatible with each other (backwards compatible). Having in mind that we start the search for processor-specific files in the sysdeps/unix/sysv/linux tree (sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/[processor]/fpu to be exact), we would like to grab any linux-specific code from that tree prior to going through the other tree (sysdeps/powerpc/...). For that, i removed the Implies files that were originally inside the fpu directories and placed then in the non-fpu directories (still inside the unix/sysv/linux tree). If no processor-specific/linux-specific files could be found, we "imply" the other tree's (sysdeps/powerpc/...) fpu directory for that specific processor AND also the non-fpu directory for that same tree. If, again, no processor-specific code is found, we read another Implies file that will point to the most compatible processor that we should grab code from, and so on, until we reach the power4 processor. So, in summary, the Implies files will live inside these directories now: * sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/[processor] * sysdeps/powerpc/powerpc[32|64]/[processor] Practical example of the order we will use to pick power6-specific code with the new structure. sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/power6/fpu -> sysdeps/unix/sysv/linux/powerpc/powerpc[32|64]/power6 -> sysdeps/powerpc/powerpc[32|64]/power6/fpu -> sysdeps/powerpc/powerpc[32|64]/power6 -> sysdeps/powerpc/powerpc[32|64]/power5+/fpu -> sysdeps/powerpc/powerpc[32|64]/power5+ -> sysdeps/powerpc/powerpc[32|64]/power5/fpu -> sysdeps/powerpc/powerpc[32|64]/power5 -> sysdeps/powerpc/powerpc[32|64]/power4/fpu -> sysdeps/powerpc/powerpc[32|64]/power4 (from here, it'll go to the generic path as usual)
2010-06-21More fixes to error handling in getlogin_r.Andreas Schwab1-2/+6
2010-06-19Fix error handling in Linux getlogin*.Ulrich Drepper2-13/+16
2010-06-14Define F_SETPIPE_SZ and F_GETPIPE_SZ.Ulrich Drepper7-0/+14
2010-05-26Fix iov[] size in SH register_dump()Takashi Yoshii1-2/+2
2010-05-21Implement recvmmsg also as socketcallAndreas Schwab6-2/+121
2010-05-21Make <sys/timex.h> compatible with C++Andreas Schwab1-3/+3
2010-05-05Handle too-small buffers in Linux getlogin_r.Ulrich Drepper1-4/+13
2010-05-05Remove unnecessary Alpha support.Ulrich Drepper1-36/+14
2010-04-28BZ #11538: Fix ttyname_r callers not to expect errno was set.Bruno Haible2-5/+15
2010-04-13Fix makecontext on s390/s390xAndreas Schwab2-63/+63
2010-04-08Fix reading loginuid file in getlogin{,_r}.Ulrich Drepper1-4/+12
2010-04-08Fix fallocate error return on i386.Andreas Schwab2-2/+14
2010-04-04Handle POSIX-compliant errno value of unlink in remove.Ulrich Drepper1-0/+2
2010-04-03Handle unnecessary padding in getdents64.Ulrich Drepper2-3/+14
The getdents64 syscall adds on 32-but platforms padding which isn't needed and not included in the userlevel data structure definition. We have to avoid copying those padding bytes in the readdir64_r function.
2010-04-03Fix changes to interface list during getifaddrs calls.Ulrich Drepper1-12/+43
2010-04-03Remove incorrect paring of /proc/stat etc.Ryan S. Arnold1-13/+1
2010-03-31Fix build of mmap64.David S. Miller1-1/+1
2010-03-29Define MSG_WAITFORONE.Ulrich Drepper1-1/+3
2010-03-27Optimize __getpagesize a bit.Ulrich Drepper1-10/+17
2010-03-27Fix comments and indentation.Ulrich Drepper1-7/+7
2010-03-27Define miss_F_GETOWN_EX only if needed.Ulrich Drepper1-11/+11
When doing i686-unknown-linux-gnu build configured with --enable-kernel=2.6.24, there are several warnings like this: ../sysdeps/unix/sysv/linux/i386/fcntl.c:36:12: warning: ‘miss_F_GETOWN_EX’ defined but not used
2010-03-26Don't take the address of a void object.Richard Henderson1-4/+4
GCC 4.5 warns about "extern void _end; &end;". Use char[] instead, as that also doesn't fall foul of a target's .sdata optimizations. Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-25Add support for new clocks.Ulrich Drepper3-4/+14
Recent Linux kernels added support for the CLOCK_MONOTONIC_RAW, CLOCK_REALTIME_COARSE, and CLOCK_MONOTONIC_COARSE clocks.
2010-03-24Fix Linux getlogin{_r,} implementationUlrich Drepper4-3/+151
The old implementation uses fd 0 to determine the login TTY. This was needed because using /dev/tty it is not possible to deduce the login TTY. For some time now there is the pseudo-file /proc/self/loginuid which directly helps us to find the user. Prefer using this file. It also works if stdin is closed, redirected, or re-opened.
2010-03-24Allow variable shift values in mmap2.Ulrich Drepper1-4/+17
2010-03-16Extended ELF ABI version handling only for Linux.Ulrich Drepper1-4/+5
If the OSABI is generic we should not allow the ABI version to be nonzero. Move all the new functionality into Linux-specific files.
2010-03-16Also update Linux-specific VALID_ELF_ABIVERSION definition.Ulrich Drepper1-1/+1
2010-03-12Define UMOUNT_NOFOLLOW.Ulrich Drepper1-1/+3
2010-03-07Fix one left over from last change to statvfs.Ulrich Drepper1-1/+1
2010-03-06Handle ext4 and logfs in statvfs functions.Ulrich Drepper2-33/+43
2010-03-03More in.h definitions from the Linux kernel.Ulrich Drepper1-9/+21
2010-03-03sparc64: Fix msgrcv()Aurelien Jarno1-0/+49
msgrcv() does not work on sparc64, as it passes the 6th argument using the ipc kludge, while the kernel waits for a 6 arguments syscall. This patches fixes the problem by using a sparc64 specific version of msgrcv.c. 2010-03-03 Aurelien Jarno <aurelien@aurel32.net> * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: New file.
2010-02-20sparc: Fix 32-bit makecontext arg passing.David S. Miller1-1/+1
test-makecontext3 fails because we fill in the argument stack slots past the 5th using the wrong index.
2010-02-12Cleanup old obsolete PPC_REL16 checksLuis Machado5-29/+0
2010-02-10Fix POWER7 ImpliesLuis Machado2-0/+2
2010-02-06Whitespace and copyright year fixes.Ulrich Drepper3-5/+5
2010-02-06Avoid PLT calls in utmp compat wrappers on Linux/s390Andreas Schwab3-15/+27
2010-02-06Add new errlist compat entry for 2.12.Andreas Schwab1-0/+4
2010-02-03Update constants for current kernels.Ulrich Drepper1-9/+32
2010-01-20Fix ____longjmp_chk for s390/s390x.Andreas Schwab2-2/+2
2010-01-18memcpy for ppc/cell.Ulrich Drepper2-0/+4
2010-01-18Remove duplicate definitions of O_DSYNC and O_RSYNC for Linux/sparc.Andreas Schwab1-8/+0
2010-01-11Fix double-inclusion problem of bits/stat.h.Ulrich Drepper8-0/+40
2010-01-10FIx up signal.h for XPG7.Ulrich Drepper4-4/+12