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
Steve Ellcey
b290216f09
Fix MIPS PREF/PREFX macro definitions in empty case.
2012-08-01 15:11:43 +00:00
Andreas Schwab
7c24defe1a
m68k: update libm test ULPs
2012-08-01 01:21:00 +02:00
Joseph Myers
7e6242f556
Improve MIPS n64 handling of 64-bit fcntl.
2012-07-31 23:17:24 +00:00
Pino Toscano
d2a54255fe
Hurd: implement renameat
...
Provide an implementation of renameat, mostly based on rename.
2012-07-31 19:59:03 +02:00
Roland McGrath
789bd351b4
Clean up stub accept4 definition.
2012-07-31 09:43:14 -07:00
Roland McGrath
40ce302d37
Conditionalize use of PTR_MANGLE.
2012-07-31 09:42:06 -07:00
Roland McGrath
7ecdb00561
Don't assume SIGWINCH is defined.
2012-07-31 09:39:14 -07:00
Roland McGrath
2618f5993c
Missing ChangeLog.arm entry.
2012-07-31 09:33:08 -07:00
David S. Miller
e2eabb2c3b
Update sparc ULPs.
2012-07-31 14:22:42 +00:00
Joseph Myers
d0419dbfbd
Improve clog, clog10 handling of values with real or imaginary part slightly above 1 (bug 13629).
2012-07-31 14:21:19 +00:00
Florian Weimer
2bc1387273
secure_getenv test should write errors to standard output
...
This way, they end up in the log file. Also skip the test if no GID can
be found.
2012-07-31 09:55:38 +02:00
Roland McGrath
bea9b19322
Fix lots of bitrot for stub configurations.
2012-07-30 16:34:33 -07:00
Siddhesh Poyarekar
fc56c5bbc1
Fix tst-pthread-getattr test case
...
Get the tst-pthread-getattr fix back with further improvements so that
it does not fail on targets that use the user stack to save
context.
2012-07-28 13:25:01 +05:30
David S. Miller
e5abc686ef
Update sparc ULPs.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-07-27 21:14:41 -07:00
Joseph Myers
89d9c04def
Make mmap64 an alias of mmap on MIPS.
2012-07-27 13:43:46 +00:00
Gary Benson
815e6fa3e0
Add SystemTap static probes to the runtime linker. [BZ #14298 ]
2012-07-27 14:03:20 +01:00
Roland McGrath
9f98c16cfe
Fix some -Wformat warnings in rpcgen.
2012-07-26 14:35:05 -07:00
Pino Toscano
f3c22df3c5
Provide a generic empty version of __check_native.
...
Add an empty implementation of __check_native, as used in the posix version of getaddrinfo.
This allows non-Linux GNU-based OSes to compile.
2012-07-26 21:41:52 +02:00
Andreas Schwab
350c174847
m68k: update libm test ULPs
2012-07-26 15:52:21 +02:00
Joseph Myers
da865e95bc
Improve clog, clog10 handling of values with real or imaginary part 1 (bug 13629).
2012-07-26 11:31:35 +00:00
Joseph Myers
3129cfc6ec
Move testsuite audit definitions to sysdeps tst-audit.h files.
2012-07-26 11:29:07 +00: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
Andreas Schwab
842a39cd1a
Remove unused pseudo_end label
2012-07-25 21:58:17 +02:00
Florian Weimer
0c7936d5e9
Fix up ChangeLog entries
2012-07-25 20:46:19 +02:00
Florian Weimer
84b3fd8407
Rename __secure_getenv to secure_getenv
2012-07-25 19:46:22 +02:00
Joseph Myers
56e49b714e
Move ldsodefs.h audit definitions to sysdeps directories.
2012-07-25 16:03:02 +00:00
Siddhesh Poyarekar
77b32274e9
Revert fix to tst-pthread-getattr since it fails on sparc
2012-07-25 20:43:55 +05:30
Marek Polacek
354691b7b5
Set up errno properly for yn.
2012-07-25 12:59:36 +02:00
Joseph Myers
bf9e20711e
conformtest: Update expectations for time.h.
2012-07-24 19:43:38 +00:00
Thomas Schwinge
576338111a
configure.in <sysdeps resolving>: Correct printing Implies_before.
2012-07-23 12:27:12 +02:00
Thomas Schwinge
c23c33b01e
Add missing includes.
...
Follow-up to commits 38de94a5ef
,
76da726532
.
2012-07-22 22:25:14 +02:00
Joseph Myers
b5982523b1
Document va_copy in preference to __va_copy.
2012-07-20 23:49:24 +00:00
Pino Toscano
b3404dbdeb
Hurd: compliance fixes for getlogin_r
...
- make LOGIN non-static, as it would make getlogin_r no more reentrant; change its type to string_t
- fail with ERANGE if NAME has not enough space for the actual login string
- copy with memcpy only the chars of the string
2012-07-21 00:16:11 +02:00
Pino Toscano
0ced335ac0
Hurd: compliance fixes for getgroups
...
Fail with EINVAL when the requested number of groups is negative,
or when it is positive but less than the actual number of groups.
2012-07-21 00:06:33 +02:00
Pino Toscano
898c7aaba5
Hurd: provide lremovexattr
...
Add an implementation of lremovexattr based on removexattr.
2012-07-21 00:01:57 +02:00
Pino Toscano
f98eafbd5d
Hurd: provide llistxattr
...
Add an implementation of llistxattr based on listxattr.
2012-07-21 00:00:20 +02:00
Pino Toscano
ac4ea442f3
Hurd: sendto: do not crash when ADDR is null
...
Create a new create_address_port subroutine to isolate the address port creation
(for both local and remove sockets), and use it inside HURD_DPORT_USE.
Also intialize APORT to MACH_PORT_NULL and make sure to always deallocate it,
when not null.
2012-07-20 23:56:58 +02:00
Joseph Myers
0f48659e36
Move localplt baselines to sysdeps directories.
2012-07-20 19:20:34 +00:00
Siddhesh Poyarekar
b2ae49dab8
Fix tst-pthread-getattr test case
...
In some cases, the compiler would optimize out the call to
allocate_and_test and thus result in a false positive for the test
case. Another problem was the fact that the compiler could in some
cases generate additional shifting of the stack pointer, resulting in
alloca moving the stack pointer beyond what is allowed by the
rlimit. Hence, accessing the stackaddr returned by pthread_getattr_np
is safer than relying on the alloca'd result.
Another problem is when RLIMIT may be very large, which may result in
violation of other resource limits. Hence we cap the max stack size to
8M for this test.
2012-07-20 23:28:34 +05:30
Adhemerval Zanella
d37cbdaa86
Split tls-macros.h in sysdeps directories.
...
Split PowerPC definitions in PPC32 and PPC64 headers.
2012-07-19 17:04:04 -03:00
Andreas Krebbel
46f85fc226
S/390: Fix uc_link == NULL handling for makecontext
2012-07-19 15:58:17 +02:00
Andreas Krebbel
08f43f9bbf
S/390: Add support for STT_GNU_IFUNC symbols.
...
Add support for STT_GNU_IFUNC symbols and the new R_390_IRELATIVE
relocation. Provide optimized version of memcpy, memset, and memcmp
for z10 and z196.
2012-07-19 15:46:34 +02:00
Siddhesh Poyarekar
a98430587c
Fix comment that describes sighandler_setxid
2012-07-19 07:04:24 +05:30
Marek Polacek
a66877c62b
Add missing CL entry.
2012-07-18 09:09:55 +02:00
Joseph Myers
ef1354a5fe
Remove TLS configure check for MIPS.
2012-07-17 22:48:57 +00:00
Joseph Myers
dfa359badf
Remove TLS configure check for ARM.
2012-07-17 22:46:09 +00:00