| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
PR: 150030
Submitted by: Janne Snabb snabb at epipe com
Patch by: Janne Snabb
Approved by: keramida (mentor)
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
PR: 149978
Submitted by: gcooper
Patch by: gcooper
Approved by: keramida (mentor)
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
add a wrapper for it in libc and rework the code in libthr, the
system call still can return EINTR, we keep this feature.
Discussed on: thread
Reviewed by: jilles
|
|
|
|
|
|
| |
this and previous one are MFC candidate.
MFC after: 1 month
|
|
|
|
| |
due to upcoming ACL changes required by the new ZFS.
|
|
|
|
|
|
|
| |
PR: 148683
Submitted by: Gennady Proskurin <gpr at mail dot ru>
Approved by: keramida (mentor)
MFC after: 1 week
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
| |
Reviewed by: jhb, kib
|
|
|
|
| |
Approved by: rrs (mentor)
|
|
|
|
|
| |
Reported and tested by: Fabian Keil <freebsd-listen fabiankeil de>
MFC after: 17 days
|
|
|
|
|
|
| |
effect, this fixes the build on powerpc64.
Reviewed by: imp
|
| |
|
|
|
|
|
|
| |
their implementations aren't in the same files. Introduce LIBC_ARCH
and use that in preference to MACHINE_CPUARCH. Tested by amd64 and
powerpc64 builds (thanks nathanw@)
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
| |
the separate .o for libc_pic.a. This prevents rtld from making the
symbol global.
Putting the stack_protector_compat.c into the public domain acknowledged
by kan.
Reviewed by: kan
MFC after: 2 weeks
|
|
|
|
|
| |
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want
to test of all the CPUs of a given family conform.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
atexit and __cxa_atexit handlers that are either installed by unloaded
dso, or points to the functions provided by the dso.
Use _rtld_addr_phdr to locate segment information from the address of
private variable belonging to the dso, supplied by crtstuff.c. Provide
utility function __elf_phdr_match_addr to do the match of address against
dso executable segment.
Call back into libthr from __cxa_finalize using weak
__pthread_cxa_finalize symbol to remove any atfork handler which
function points into unloaded object.
The rtld needs private __pthread_cxa_finalize symbol to not require
resolution of the weak undefined symbol at initialization time. This
cannot work, since rtld is relocated before sym_zero is set up.
Idea by: kan
Reviewed by: kan (previous version)
MFC after: 3 weeks
|
|
|
|
|
|
|
|
| |
fills struct dl_phdr_info for the shared object that contains the
specified address, if any.
Idea and reviewed by: kan
MFC after: 3 weeks
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
| |
number of host CPUs and osreldate.
This eliminates the last sysctl(2) calls from the dynamically linked image
startup.
No objections from: kan
Tested by: marius (sparc64)
MFC after: 1 month
|
|
|
|
|
|
| |
translating these manual pages. Minor corrections by me.
Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
|
|
|
|
|
|
|
| |
with h_errno.
Obtained from: NetBSD
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
| |
have to return ERANGE and terminate with NS_RETURN.
- When gethostbyname_r(3) and the friends end with an error,
set errno to the value nss backend returns, and return errno
value.
PR: kern/131623
MFC after: 2 weeks
|
| |
|
|
|
|
|
| |
see problems described in the comment to:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/128933
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
clang.
The general idea is that the vendor will not accept our compilation
patches and so disabling the warnings is the best way to go as it makes
future imports bearable.
Submitted by: Dimitry Andric <dimitry at andric.com>
Discussed with: das
|
|
|
|
|
|
| |
PR: docs/148891
Submitted by: olgeni
MFC after: 1 week
|
|
|
|
|
|
|
| |
like the mlock(2) manual page says. Update mlock(2) to say that hitting
RLIMIT_MEMLOCK results in ENOMEM, not EAGAIN.
MFC after: 1 month
|
|
|
|
|
|
| |
PR: docs/140458
Submitted by: Jeremy Huddleston (Jeremyhu at apple dot com)
MFC after: 5 days
|
|
|
|
|
|
|
|
| |
to catch invalid signal numbers [1]. Use consistent style of
not assigning the return value to a local variable.
Reported by: Garrett Cooper <yanegomi gmail com> [1]
MFC after: 1 week
|
|
|
|
| |
If you run `man utmpx', you expect to get some info on it.
|
|
|
|
|
|
|
|
| |
during sigpause(2) call. It was backward.
Check that the signal number is valid.
Reported by: Garrett Cooper <yanegomi gmail com>
MFC after: 1 week
|
|
|
|
| |
Obtained from: projects/ppc64
|
|
|
|
|
|
|
|
|
|
|
| |
quirks for weak-symbol handling. Text symbols require also marking weak
the special dot-symbol associated with the function, and data symbols
require that you not do that. To fix this, provide a hacked
__weak_reference for powerpc64, and define a new __weak_reference_data
for the single weak data symbol in base.
Revert after: binutils 2.17 import
Obtained from: projects/ppc64
|
|
|
|
| |
MFC after: 1 month
|
|
|
|
|
|
|
| |
sinfo we will crash. Instead we should provide
our own temp structure to use internally.
MFC after: 1 month
|
|
|
|
|
|
| |
names names starting with a digit.
MFC after: 1 month
|
|
|
|
| |
Reviewed by: rwatson
|
|
|
|
|
|
|
| |
address ever gets checked.
Approved by: rrs (mentor)
MFC after: 1 month
|
|
|
|
| |
Approved by: rrs (mentor)
|
|
|
|
|
|
|
|
|
| |
use uintmax_t instead of float and thereby eliminating the need for
a non-FP version.
Tested on: amd64, ia64 & powerpc (book-E)
Suggested by: bde
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
| |
specific to hp300. Since FreeBSD does not support hp300, hp300 has
been removed from the condition altogether.
The FP version broke profiling on powerpc due to invalid results.
Casting to double instead of float resolved the issue, but with
Book-E not having a FP unit, the non-FP version looked preferrable.
Note that even on AIM hardware the FP version yielded an invalid
value for s_scale, so the problem is most likely with the compiler
or with the expression itself.
|
|
|
|
|
| |
sys/param.h instead of sys/types.h so we get NGROUPS_MAX and NGROUPS
definitions.
|
|
|
|
|
|
| |
wil support all ABIs.
Approved by: rrs (mentor)
|
|
|
|
|
|
|
|
| |
errnos: EBADMSG, EMULTIHOP, ENOLINK, EPROTO, ENOTCAPABLE.
PR: docs/147983
Submitted by: pluknet
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
Update libc Makefiles.
Add makecontext implementation.
Changes from http://svn.freebsd.org/base/user/jmallett/octeon
Approved by: rrs(mentor), jmallett
|
|
|
|
|
|
|
|
|
| |
Update libc assembly code to use macros that work on both o32 and n64.
Merge string functions from NetBSD.
The changes are from http://svn.freebsd.org/base/user/jmallett/octeon
Approved by: rrs (mentor), jmallett
|