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
Roland McGrath
03af952060
Clean up lockf64, fseeko64, ftello64, fgetpos64, fsetpos64 for off64_t == off_t.
2012-08-06 16:48:14 -07:00
H.J. Lu
3a31811ede
Remove x32/iofopen.c and x32/iofopen64.c
2012-08-06 12:56:52 -07:00
Joseph Myers
85fe199795
Remove some pre-2.6.0 Linux kernel conditionals.
2012-08-03 19:54:08 +00:00
Joseph Myers
7aab07e4e5
Remove pre-2.6.0 Linux kernel support (bug 13717).
2012-08-03 13:42:47 +00:00
Marek Polacek
b67e9372b2
Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.
2012-08-02 21:04:29 +02:00
Joseph Myers
23bddc0668
Remove __ASSUME_FCNTL64.
2012-08-01 21:27:58 +00:00
Joseph Myers
a9f1039f0a
Remove __ASSUME_VFORK_SYSCALL (and some __NR_vfork conditionals).
2012-08-01 20:49:45 +00:00
Roland McGrath
cd97c96688
Clean up mkstemp64/mkostemp64 for O_LARGEFILE==0.
2012-08-01 10:42:38 -07:00
Roland McGrath
09c0ee5f8c
BZ#14138: Move getrlimit (ugetrlimit) syscall to syscalls.list.
2012-08-01 10:25:11 -07:00
Florian Weimer
7e66ee5142
* posix/unistd.h (setuid, setreuid, seteuid, setresuid):
...
Declare with warn_unused_result.
(setgid, setregid, setegid, setresgid): Likewise.
* sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
Likewise.
* WUR-REPORT: Remove set*id functions.
2012-08-01 18:12:58 +02:00
Roland McGrath
bea9b19322
Fix lots of bitrot for stub configurations.
2012-07-30 16:34:33 -07:00
Andreas Jaeger
b1b2aaf8eb
Merge Linux 3.5 ptrace changes
...
(__ptrace_eventcodes): Add new value PTRACE_EVENT_SECCOMP from Linux 3.5.
(__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust PTRACE_O_MASK.
2012-07-26 13:13:26 +02:00
Andreas Jaeger
f8d44fdc72
Merge Linux 3.5 epoll changes
...
Add EPOLLWAKEUP.
2012-07-26 13:11:33 +02:00
Andreas Jaeger
bfc07087bf
Merge _sigsys changes from Linux 3.5
2012-07-26 13:11:18 +02:00
Joseph Myers
89b4b02f42
Remove pre-2.4.21 Linux kernel support.
2012-07-25 21:19:13 +00:00