| #
c1be185e
|
| 26-Jan-2026 |
Konstantin Belousov <kib@FreeBSD.org> |
libsys, libc: provide rfork_thread() and pdrfork_thread() on all arches
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D
libsys, libc: provide rfork_thread() and pdrfork_thread() on all arches
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D54898
show more ...
|
| #
e6ffc766
|
| 07-Mar-2024 |
Brooks Davis <brooks@FreeBSD.org> |
libsys/riscv: Remove pointless MD syscall(2)
This file is functionally identical to the stub generated by Makefile.sys once the MD version is removed.
Reviewed by: kib Differential Revision: https:
libsys/riscv: Remove pointless MD syscall(2)
This file is functionally identical to the stub generated by Makefile.sys once the MD version is removed.
Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44232
show more ...
|
| #
31a46e2c
|
| 14-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: Move per-arch sys/Makefile.inc to libsys
libc/<arch>/sys/Makefile.inc -> libsys/<arch>/Makefile.sys.
Require that libsys/<arch>/Makefile.sys exist. At least for current archtiectures, it's n
libc: Move per-arch sys/Makefile.inc to libsys
libc/<arch>/sys/Makefile.inc -> libsys/<arch>/Makefile.sys.
Require that libsys/<arch>/Makefile.sys exist. At least for current archtiectures, it's not possible for an architecture to not have and MD syscall bits.
powerpcspe/Makefile.sys's structure means it had to be modified when moved so rename detection won't work, but it has trivial contents so the history is unimportant.
Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
show more ...
|
| #
ec27c0bb
|
| 06-Dec-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc: don't needlessly add vfork.o to NOASM
For architectures where vfork.S was named Ovfork.S this was needed, but it was always pointless here as an entry in either MDASM or NOASM is equivalent.
libc: don't needlessly add vfork.o to NOASM
For architectures where vfork.S was named Ovfork.S this was needed, but it was always pointless here as an entry in either MDASM or NOASM is equivalent.
Reviewed by: kib Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D42914
show more ...
|
| #
7893419d
|
| 04-Dec-2023 |
Brooks Davis <brooks@FreeBSD.org> |
Remove never implemented sbrk and sstk syscalls
Both system calls were stubs returning EOPNOTSUPP and libc did not provide _ or __sys_ prefixed symbols. The actual implementation of sbrk(2) is on t
Remove never implemented sbrk and sstk syscalls
Both system calls were stubs returning EOPNOTSUPP and libc did not provide _ or __sys_ prefixed symbols. The actual implementation of sbrk(2) is on top of the undocumented break(2) system call.
Technically this is a change in ABI, but no non-contrived program ever called these syscalls.
Reviewed by: kib, emaste Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D42872
show more ...
|
| #
b73eace8
|
| 15-Nov-2023 |
Brooks Davis <brooks@FreeBSD.org> |
libc/<arch>/sys/Makefile.inc: remove cruft
Remove stray blank lines left over from $FreeBSD$ removal as well as some CVS-era (perhaps pre-repocopy) version comments.
Reviewed by: emaste Differentia
libc/<arch>/sys/Makefile.inc: remove cruft
Remove stray blank lines left over from $FreeBSD$ removal as well as some CVS-era (perhaps pre-repocopy) version comments.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D42611
show more ...
|
| #
d0b2dbfa
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
77b2c2f8
|
| 22-Oct-2021 |
Konstantin Belousov <kib@FreeBSD.org> |
Add sched_getcpu()
for compatibility with Linux.
Reviewed by: jhb Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D32901
|
| #
348c41d1
|
| 05-Jul-2021 |
Jessica Clarke <jrtc27@FreeBSD.org> |
riscv: Implement non-stub __vdso_gettc and __vdso_gettimekeep
PR: 256905 Reviewed by: arichardson, mhorne MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D30963
|
| #
9f9c9b22
|
| 04-Jun-2018 |
Mark Johnston <markj@FreeBSD.org> |
Reimplement brk() and sbrk() to avoid the use of _end.
Previously, libc.so would initialize its notion of the break address using _end, a special symbol emitted by the static linker following the bs
Reimplement brk() and sbrk() to avoid the use of _end.
Previously, libc.so would initialize its notion of the break address using _end, a special symbol emitted by the static linker following the bss section. Compatibility issues between lld and ld.bfd could cause the wrong definition of _end (libc.so's definition rather than that of the executable) to be used, breaking the brk()/sbrk() interface.
Avoid this problem and future interoperability issues by simply not relying on _end. Instead, modify the break() system call to return the kernel's view of the current break address, and have libc initialize its state using an extra syscall upon the first use of the interface. As a side effect, this appears to fix brk()/sbrk() usage in executables run with rtld direct exec, since the kernel and libc.so no longer maintain separate views of the process' break address.
PR: 228574 Reviewed by: kib (previous version) MFC after: 2 months Differential Revision: https://reviews.freebsd.org/D15663
show more ...
|
| #
97e5d68b
|
| 05-Apr-2018 |
Brooks Davis <brooks@FreeBSD.org> |
Remove architecture specific shmat.S files.
These files are identical to the generated system calls. In the case of MIPS, the file was already disconnected from the build.
Submitted by: Ali Mashtiz
Remove architecture specific shmat.S files.
These files are identical to the generated system calls. In the case of MIPS, the file was already disconnected from the build.
Submitted by: Ali Mashtizadeh <ali@mashtizadeh.com> Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D14976
show more ...
|
| #
7dd87e9a
|
| 04-Apr-2018 |
Brooks Davis <brooks@FreeBSD.org> |
Remove architecture specific sigreturn.S files.
All of these files are identical (modulo license blocks and VCS IDs) to the files generated by lib/libc/sys/Makefile.inc and serve no purpose.
Report
Remove architecture specific sigreturn.S files.
All of these files are identical (modulo license blocks and VCS IDs) to the files generated by lib/libc/sys/Makefile.inc and serve no purpose.
Reported by: Ali Mashtizadeh <ali@mashtizadeh.com> Reviewed by: kib Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14953
show more ...
|
| #
aec2fba6
|
| 08-Sep-2016 |
Brooks Davis <brooks@FreeBSD.org> |
Reduce duplicate NOASM and PSEUDO definitions
The initial value of NOASM is nearly the same in all cases and the initial value of PSEUDO is the same in all cases so reduce duplication (and hopefully
Reduce duplicate NOASM and PSEUDO definitions
The initial value of NOASM is nearly the same in all cases and the initial value of PSEUDO is the same in all cases so reduce duplication (and hopefully, future merge conflicts) by machine independent defaults.
Also document the PSEUDO variable.
Reviewed by: jhb, kib Obtained from: CheriBSD Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D7820
show more ...
|
| #
5cba398b
|
| 18-Aug-2016 |
George V. Neville-Neil <gnn@FreeBSD.org> |
Remove unusedd and obsolete openbsd_poll system call. (Phase 1)
Reported by: brooks Reviewed by: brooks,jhb Differential Revision: https://reviews.freebsd.org/D7548
|
| #
b60998c6
|
| 22-Jun-2016 |
Brooks Davis <brooks@FreeBSD.org> |
Replace use of the pipe(2) system call with pipe2(2) with a zero flags value.
This eliminates the need for machine dependant assembly wrappers for pipe(2).
It also make passing an invalid address t
Replace use of the pipe(2) system call with pipe2(2) with a zero flags value.
This eliminates the need for machine dependant assembly wrappers for pipe(2).
It also make passing an invalid address to pipe(2) return EFAULT rather than triggering a segfault. Document this behavior (which was already true for pipe2(2), but undocumented).
Reviewed by: andrew Approved by: re (gjb) Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D6815
show more ...
|
| #
7813f830
|
| 25-May-2016 |
Ruslan Bukin <br@FreeBSD.org> |
Do not generate code for sbrk syscall -- sbrk support was removed.
Pointed out by: andrew
|
| #
b7b46892
|
| 25-May-2016 |
Ruslan Bukin <br@FreeBSD.org> |
Remove legacy brk and sbrk from RISC-V.
Discussed with: andrew Sponsored by: DARPA, AFRL Sponsored by: HEIF5
|
| #
0bfee928
|
| 17-Jan-2016 |
Ruslan Bukin <br@FreeBSD.org> |
Bring in initial libc and libstand support for RISC-V.
Reviewed by: andrew, emaste, kib Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision: https://reviews.freebsd.org/D4943
|