Andreas Jaeger
b4b4c2968e
Fix O_RSYNC
...
(O_RSYNC): Define to __O_RSYNC if it exists, otherwise to O_SYNC.
2012-10-22 19:59:22 +02:00
Andreas Jaeger
2a0e2669f9
Always define __O_LARGEFILE
2012-10-22 16:23:20 +02:00
Andreas Jaeger
7cd37b437c
Improve <bits/fcntl-linux.h>: F_GETLK etc.
...
(F_GETLK, F_SETLK, F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
2012-10-22 09:31:13 +02:00
Andreas Jaeger
1728f92d42
Install <bits/fcntl-linux.h>
...
(sysdep_headers): Add bits/fcntl-linux.h.
2012-10-22 09:24:14 +02:00
Andreas Jaeger
481b90b9d6
Use __O_LARGEFILE instead of O_LARGEFILE
2012-10-22 09:20:00 +02:00
Andreas Jaeger
88d4247f19
SH: Use <bits/fcntl-linux.h>
...
Remove all definitions and declarations that are provided by
<bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
2012-10-21 20:01:32 +02:00
Andreas Jaeger
335e6931e2
Reorganization of bits/fcntl.h for Linux
...
Create a new bits/fcntl-linux.h that contains Linux generic code and a
include it from the architecture specific bits/fcntl.h.
Architectures done: x86, SPARC, s390
2012-10-20 12:54:49 +02:00
Joseph Myers
ced52c719c
Remove _G_OPEN64, _G_LSEEK64, _G_MMAP64, _G_FSTAT64 from _G_config.h.
2012-10-18 18:50:43 +00:00
Andreas Schwab
ca38dc17d8
Avoid PLT references from __get_clockfreq on powerpc
2012-10-12 16:54:06 +02:00
Alexandre Oliva
e745142509
* crypt/crypt-entry.c: Include fips-private.h.
...
(__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
* crypt/md5c-test.c (main): Tolerate disabled MD5.
* sysdeps/unix/sysv/linux/fips-private.h: New file.
* sysdeps/generic/fips-private.h: New file, dummy fallback.
2012-10-10 07:05:46 -03:00
Roland McGrath
b8493de0ec
Add missing magic to GLIBC_PROVIDES.
2012-10-09 15:41:30 -07:00
Joseph Myers
c8450f70fa
Remove _G_off64_t and _G_stat64 from _G_config.h.
2012-10-09 15:09:32 +00:00
Andreas Schwab
1ab2935061
Fix missing include in sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
2012-10-08 12:13:39 +02:00
Khem Raj
c2b598a945
powerpc: add name_to_handle_at, open_by_handle etc. to bits/fcntl.h
...
Fixes BZ #14251 .
2012-10-04 23:24:45 -04:00
Roland McGrath
9043e2288e
Name space hygeine for madvise.
2012-10-04 16:31:43 -07:00
Roland McGrath
010188c6ea
Remove sysdeps/unix/bsd/confstr.h file.
2012-10-03 13:43:58 -07:00
Roland McGrath
51367701af
Get rid of unused __swblk_t type.
2012-10-01 14:39:29 -07:00
Roland McGrath
93c65d4384
Clean up init-first.c files.
2012-10-01 12:55:34 -07:00
Roland McGrath
ac51c94918
Move _G_config.h with Linuxism to linux/ directory.
2012-09-28 15:45:07 -07:00
Tulio Magno Quites Machado Filho
8ad11b9a9c
Add __ppc_get_timebase_freq to ppc.h.
2012-09-25 16:53:14 -05:00
Siddhesh Poyarekar
9fab36eb58
Shrink heap on linux when overcommit_memory == 2
...
Using madvise with MADV_DONTNEED to release memory back to the kernel
is not sufficient to change the commit charge accounted against the
process on Linux. It is OK however, when overcommit is enabled or is
heuristic. However, when overcommit is restricted to a percentage of
memory setting the contents of /proc/sys/vm/overcommit_memory as 2, it
makes a difference since memory requests will fail. Hence, we do what
we do with secure exec binaries, which is to call mmap on the region
to be dropped with MAP_FIXED. This internally unmaps the pages in
question and reduces the amount of memory accounted against the
process.
2012-09-25 14:30:52 +05:30
Joseph Myers
26889eacc2
Remove __ASSUME_POSIX_CPU_TIMERS.
2012-09-01 21:32:04 +00:00
Siddhesh Poyarekar
050af9c4e8
Don't make ttyname* fail if proc filesystem is not available
...
The ttyname and ttyname_r functions on Linux now fall back to
searching for the tty file descriptor in /dev/pts or /dev if /proc is
not available. This allows creation of chroots without the procfs
mounted on /proc.
Fixes BZ #14516 .
2012-08-29 10:04:23 +05:30
Joseph Myers
ad845c0be9
Remove __ASSUME_STAT64_SYSCALL.
2012-08-27 19:36:04 +00:00
Joseph Myers
4efcc02265
Make dl-fxstatat64.c include of fxstatat64.c use <> not "".
2012-08-23 11:34:37 +00:00
Roland McGrath
3cc3ef96d6
BZ#13696: Add --disable-nscd configure option.
2012-08-22 13:31:12 -07:00
Joseph Myers
0e1d99119e
Remove __ASSUME_FADVISE64_64_SYSCALL.
2012-08-21 21:07:22 +00:00
Joseph Myers
a35cbf28fb
Remove __ASSUME_SWAPCONTEXT_SYSCALL.
2012-08-20 14:39:53 +00:00
Joseph Myers
445f7ecd66
Define __ASSUME_UTIMES for s390.
2012-08-20 14:38:48 +00:00
Joseph Myers
348363b2c3
Remove __ASSUME_MMAP2_SYSCALL.
2012-08-20 14:37:27 +00:00
Andreas Krebbel
bc5bc0e510
S/390: Remove 32 bit getrlimit.c.
2012-08-20 15:10:13 +02:00
Mike Frysinger
fdab8fd335
update linux nice.c include path too after recent file shuffle
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-17 22:42:49 -04:00
Roland McGrath
e3b398f925
Adjust old #include's of sysdeps/unix/time.c to point to sysdeps/posix/time.c instead.
2012-08-17 14:16:12 -07:00
Roland McGrath
7c6f9d53c1
Move some things from sysdeps/unix to sysdeps/posix.
2012-08-17 13:52:32 -07:00
Roland McGrath
c31fdb83d2
Merge unix/inet/syscalls.list into unix/syscalls.list.
2012-08-17 12:56:33 -07:00
Roland McGrath
e66a42f57f
Split sys/param.h out into common file and sysdeps bits/param.h file.
2012-08-17 09:55:17 -07:00
Joseph Myers
93a78ac437
Remove __ASSUME_POSIX_TIMERS.
2012-08-16 14:03:43 +00:00
Joseph Myers
f2c05b9ecf
Remove __ASSUME_CLONE_THREAD_FLAGS.
2012-08-14 22:34:04 +00:00
Joseph Myers
121dce05fe
Move Linux kernel version conditionals to kernel-features.h.
2012-08-10 15:53:27 +00:00
H.J. Lu
f85fa27058
Avoid DWARF definition DIE on ifunc symbols
2012-08-09 16:04:37 -07:00
Joseph Myers
b36137f1d6
Remove __ASSUME_TGKILL.
2012-08-08 23:22:53 +00:00
Roland McGrath
cdd915fd16
Missing #include updates for dirstream code move from unix to posix.
2012-08-08 09:18:37 -07:00
Joseph Myers
93df14eee8
Remove some pre-2.6.16 Linux kernel conditionals.
2012-08-07 23:03:35 +00:00
Roland McGrath
a281decc87
Move common dirent implementation from sysdeps/unix to sysdeps/posix.
2012-08-07 14:47:34 -07:00
Roland McGrath
22895b4767
Make the bsd4.4/bits/fcntl.h be the generic one.
2012-08-07 14:12:10 -07:00
Roland McGrath
707a53b600
Update bsd4.4/bits/fcntl.h to match modern NetBSD bits.
2012-08-07 14:10:37 -07:00
Roland McGrath
f0bd3e25fb
Make the bsd4.4/bits/dirent.h be the generic one.
2012-08-07 13:17:26 -07:00
Roland McGrath
d34689de84
Define _DIRENT_MATCHES_DIRENT64 in bsd4.4/bits/dirent.h
2012-08-07 13:15:18 -07:00
Joseph Myers
6dad2c0688
Remove pre-2.6.16 Linux kernel support.
2012-08-07 16:40:32 +00:00
Roland McGrath
8e49df1d65
Clean up {alphasort,versionsort,scandir,scandirat}{,64} for struct dirent == struct dirent64.
2012-08-06 16:48:36 -07:00