| #
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 ...
|
| #
7b3836c2
|
| 07-Mar-2024 |
Brooks Davis <brooks@FreeBSD.org> |
libsys/aarch: 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/aarch: 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/D44234
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
|
| #
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 ...
|
| #
f6fea94e
|
| 29-Aug-2016 |
Konstantin Belousov <kib@FreeBSD.org> |
Remove commented out mention of ptrace.S. After r305012 the asm wrapper is not needed.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
| #
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 ...
|
| #
94098ab7
|
| 20-May-2016 |
Andrew Turner <andrew@FreeBSD.org> |
Remove brk and sbrk from arm64. They were defined in The Single UNIX Specification, Version 2, but marked as legacy, and have been removed from later specifications. After 12 years it is time to remo
Remove brk and sbrk from arm64. They were defined in The Single UNIX Specification, Version 2, but marked as legacy, and have been removed from later specifications. After 12 years it is time to remove them from new architectures when the main use for sbrk is an invalid method to attempt to find how much memory has been allocated from malloc.
There are a few places in the tree that still call sbrk, however they are not used on arm64. They will need to be fixed to cross build from arm64, but these will be fixed in a follow up commit.
Old copies of binutils from ports called into sbrk, however this has been fixed around 6 weeks ago. It is advised to update binutils on arm64 before installing a world that includes this change.
Reviewed by: brooks, emaste Obtained from: brooks Relnotes: yes Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D6464
show more ...
|
| #
4798b7f3
|
| 06-Apr-2016 |
Andrew Turner <andrew@FreeBSD.org> |
Disable support for compat syscalls on arm64. These symbols were never shipped since arm64 exists only on 11+.
Submitted by: brooks Reviewed by: emaste, imp
|
| #
4d22d07a
|
| 07-Dec-2015 |
Konstantin Belousov <kib@FreeBSD.org> |
Add support for usermode (vdso-like) gettimeofday(2) and clock_gettime(2) on ARMv7 and ARMv8 systems which have architectural generic timer hardware. It is similar how the RDTSC timer is used in user
Add support for usermode (vdso-like) gettimeofday(2) and clock_gettime(2) on ARMv7 and ARMv8 systems which have architectural generic timer hardware. It is similar how the RDTSC timer is used in userspace on x86.
Fix a permission problem where generic timer access from EL0 (or userspace on v7) was not properly initialized on APs.
For ARMv7, mark the stack non-executable. The shared page is added for all arms (including ARMv8 64bit), and the signal trampoline code is moved to the page.
Reviewed by: andrew Discussed with: emaste, mmel Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D4209
show more ...
|
| #
d422e6f9
|
| 07-Apr-2015 |
Andrew Turner <andrew@FreeBSD.org> |
Add the start of libc and libstand for arm64. Not all of the machine dependent functions have been implemented, but this is enough for world.
Differential Revision: https://reviews.freebsd.org/D2132
Add the start of libc and libstand for arm64. Not all of the machine dependent functions have been implemented, but this is enough for world.
Differential Revision: https://reviews.freebsd.org/D2132 Reviewed by: emaste Sponsored by: The FreeBSD Foundation
show more ...
|