| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Submitted by: rpaulo
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
o return the correct status in proc_wstatus()
o proc_read takes a void *
o correctly allocate the objs structure array
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
|
|
| |
Erwin fired up a ports build a couple of weeks ago and it seems the
following functions are not used by any of the 20k ports we have, which
makes me believe they don't have any purpose. Just remove them.
|
| |
|
|
|
|
|
| |
see problems described in the comment to:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/128933
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
whitespace
Approved by: rpaulo
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
correct flags are being used (esp. NO_WERROR wrt clang).
Submitted by: Dimitry Andric <dimitry at andric.com>
Reviewed by: ru
|
|
|
|
|
| |
As discussed with kan@, since DTrace is the only consumer of libproc
right now, there's no need for a major shlib bump.
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
|
|
|
| |
* breakpoint setup support
* register query
* symbol to address mapping and vice-versa
* more misc utility functions based on their Solaris counterpart
Also, I've written some test cases.
Sponsored by: The FreeBSD Foundation
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
| |
This is not yet enabled in the build because I also need to import a new
version of libproc.
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
| |
PR: docs/148891
Submitted by: olgeni
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
avoid a hang in the SSL case if the server sends a close notification
before we are done reading. In the non-SSL case, it can provide a
minor (but probably not noticeable) performance improvement for small
transfers.
MFC after: 3 weeks
|
|
|
|
| |
Submitted by: Dimitry Andric <dimitry@andric.com>
|
|
|
|
|
|
|
| |
toolchain build.
Reported by: jchandra
MFC after: 1 month
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
-fno-rtti. The clang libaries that really use exceptions and virtual
functions can enable LLVM_REQUIRES_EH and LLVM_REQUIRES_RTTI
respectively. This saves space on the resulting binaries and follows
what's being done upstream.
Submitted by: Dimitry Andric <dimitry at andric.com>
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
* Document an additional error that may be returned: `ELF_E_ARCHIVE`.
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
|
| |
* Ignore the passed in value of the `fd` argument for ar(1) archives
opened with elf_memory(3).
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
|
|
| |
`_libelf_ar_open()` to a new compilation unit "libelf_ar_util.c"
to break the circular dependency between "elf_memory.o" and
"libelf_ar.o".
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
| |
favour of `elf_getshdrnum()`, `elf_getphdrnum()` and `elf_getshdrstrndx()`
respectively.
* Add new manual pages for `elf_getshdrstrndx()`, `elf_getphdrnum()` and
`elf_getshdrnum()`.
* Add a deprecation warning for `elf_getshstrndx()`, `elf_getphnum()` and
`elf_getshnum()`.
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
| |
generated from "libelf_convert.m4".
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
| |
types that don't have a fixed size.
- The *fsize() functions should return a size of 1, for variable length
types.
- Redefine symbol ELF_T_LAST to match the current end of the list.
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
representations of ELF types.
The ELF(3) API allows applications to request a conversion that is
`in-place', i.e., with source and destinations data buffers being
the same. However, the file and memory sizes of ELF sections that
have additional internal structure, such as those of type `Elf_Note',
or `Elf_GNU_Hash_Header', can be determined only known after the
type-specific headers that comprise the first few words in these
sections are read and translated.
Pass in the size of destination buffer to type translation routines
in "libelf_convert.m4" and have these routines return an error code
if the translated data would not fit inside the destination buffer.
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
| |
- Neaten a few comments.
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
| |
have a fixed size.
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
|
| |
when an output file has no program headers, set the 'e_phentsize'
field of the ELF executable header to zero.
Obtained from: elftoolchain
MFC after: 1 month
|
|
|
|
|
|
|
|
| |
the appropriate `dirty' bit needs to be set for both the Elf32 and
Elf64 case.
Obtained from: elftoolchain
MFC after: 1 month
|