|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0 |
|
| #
adbc4082 |
| 11-Feb-2019 |
Konstantin Belousov <[email protected]> |
MFC r339877-r339879,r343564-r343566,r343580,r343754: Untangle jemalloc and mutexes initialization.
The merge includes required warnings cleanup by arichardson, both to avoid conflicts and to make rt
MFC r339877-r339879,r343564-r343566,r343580,r343754: Untangle jemalloc and mutexes initialization.
The merge includes required warnings cleanup by arichardson, both to avoid conflicts and to make rtld_malloc.c compilable with the libthr WARNS settings.
show more ...
|
|
Revision tags: release/12.0.0, release/11.2.0 |
|
| #
e6209940 |
| 27-Nov-2017 |
Pedro F. Giffuni <[email protected]> |
libexec: adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone -
libexec: adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
No functional change intended.
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0 |
|
| #
eab68f79 |
| 22-Feb-2014 |
David Xu <[email protected]> |
Increase alignment to size of pointer if the alignment is too small. Some modules do not align data at least to size of pointer, they uses a smaller alignment, but our pointer should be aligned to it
Increase alignment to size of pointer if the alignment is too small. Some modules do not align data at least to size of pointer, they uses a smaller alignment, but our pointer should be aligned to its native boundary, otherwise on some platforms, hardware alignment checking will cause bus error.
show more ...
|
| #
209782e0 |
| 21-Feb-2014 |
David Xu <[email protected]> |
malloc_aligned() may not leave enough space for pointer to allocated memory, saving the pointer will overwrite bytes belongs to another memory block unexpectly, to fix the problem, use (allocated add
malloc_aligned() may not leave enough space for pointer to allocated memory, saving the pointer will overwrite bytes belongs to another memory block unexpectly, to fix the problem, use (allocated address + sizeof(void *)) as initial value, and slip to next aligned address, so maximum extra bytes is sizeof(void *) + align - 1.
Tested by: Andre Albsmeier < mail at ma17 dot ata dot myota dot orgndre >
show more ...
|
|
Revision tags: release/10.0.0 |
|
| #
dfe296c4 |
| 06-Dec-2013 |
Konstantin Belousov <[email protected]> |
Build an allocator for the aligned memory on top of the rtld-private malloc.
Reviewed by: kan Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
|
Revision tags: release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0 |
|
| #
f7b34303 |
| 23-Mar-2012 |
Konstantin Belousov <[email protected]> |
Implement xstrdup() using strlen()/xmalloc()/memcpy() already presented in rtld, instead of pulling in libc strdup().
Submitted by: bde MFC after: 2 weeks
|
| #
758ffbfa |
| 22-Mar-2012 |
Konstantin Belousov <[email protected]> |
Use xmalloc() instead of malloc() in the places where malloc() calls are assumed to not fail.
Make the xcalloc() calling conventions follow the calloc(3) calling conventions and replace unchecked ca
Use xmalloc() instead of malloc() in the places where malloc() calls are assumed to not fail.
Make the xcalloc() calling conventions follow the calloc(3) calling conventions and replace unchecked calls to calloc() with calls to xcalloc().
Remove redundand declarations from xmalloc.c, which are already present in rtld.h.
Reviewed by: kan Discussed with: bde MFC after: 2 weeks
show more ...
|
| #
0e9a2605 |
| 24-Aug-2011 |
Konstantin Belousov <[email protected]> |
Rtld links with the specially built pic static libc library to get some C runtime services, like printf(). Unfortunately, the multithread-safeness measures in the libc do not work in rtld environment
Rtld links with the specially built pic static libc library to get some C runtime services, like printf(). Unfortunately, the multithread-safeness measures in the libc do not work in rtld environment.
Rip the kernel printf() implementation and use it in the rtld instead of libc version. This printf does not require any shared global data and thus is mt-safe. Systematically use rtld_printf() and related functions, remove the calls to err(3).
Note that stdio is still pulled from libc due to libmap implementaion using fopen(). This is safe but unoptimal, and can be changed later.
Reported and tested by: pgj Diagnosed and reviewed by: kan (previous version) Approved by: re (bz)
show more ...
|
|
Revision tags: release/7.4.0, release/8.2.0, release/8.1.0, release/7.3.0, release/8.0.0, release/7.2.0, release/7.1.0, release/6.4.0, release/7.0.0, release/6.3.0, release/6.2.0, release/5.5.0, release/6.1.0, release/6.0.0, release/5.4.0, release/4.11.0, release/5.3.0, release/4.10.0, release/5.2.1, release/5.2.0, release/4.9.0 |
|
| #
5407dd5b |
| 19-Jun-2003 |
Matthew N. Dodd <[email protected]> |
Add function prototypes.
|
|
Revision tags: release/5.1.0, release/4.8.0, release/5.0.0, release/4.6.2, release/4.3.0 |
|
| #
7f3dea24 |
| 28-Aug-1999 |
Peter Wemm <[email protected]> |
$Id$ -> $FreeBSD$
|
| #
3124c3e0 |
| 07-Mar-1998 |
John Polstra <[email protected]> |
Import the ELF dynamic linker. This is the ElfKit version with quite a few enhancements and bug fixes. There are still some known deficiencies, but it should be adequate to get us started with ELF.
Import the ELF dynamic linker. This is the ElfKit version with quite a few enhancements and bug fixes. There are still some known deficiencies, but it should be adequate to get us started with ELF.
Submitted by: John Polstra <[email protected]>
show more ...
|