|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0 |
|
| #
5efda737 |
| 03-Sep-2019 |
Konstantin Belousov <[email protected]> |
MFC r350863: compat/linux: Remove obsoleted and somewhat confusing comments related to COMPAT_43.
|
| #
630fb55e |
| 25-Aug-2019 |
Konstantin Belousov <[email protected]> |
MFC r351194: Change locking requirements for VOP_UNSET_TEXT().
|
|
Revision tags: release/11.3.0 |
|
| #
2a3873b3 |
| 12-Jun-2019 |
Konstantin Belousov <[email protected]> |
MFC r347151,347181,347968,348421,348698,348701: Switch to use shared vnode locks for text files during image activation.
For MFC, VOP_GET_WRITECOUNT was left in the slot for KBI stability, but it is
MFC r347151,347181,347968,348421,348698,348701: Switch to use shared vnode locks for text files during image activation.
For MFC, VOP_GET_WRITECOUNT was left in the slot for KBI stability, but it is unused.
show more ...
|
| #
c42520a0 |
| 13-May-2019 |
Dmitry Chagin <[email protected]> |
MFC r346965:
Follow the FreeBSD and implement PDEATH_SIG prctl ops in the Linuxulator. It was first introduced in r163734 and missied by me in r283383.
|
| #
263de1ad |
| 23-Jan-2019 |
Ed Maste <[email protected]> |
MFC linuxulator stack memory disclosure fixes
r343260 linuxulator: fix stack memory disclosure in linux_ioctl_v4l r343261 linuxulator: fix stack memory disclosure in linux_ioctl_termio r343262 linux
MFC linuxulator stack memory disclosure fixes
r343260 linuxulator: fix stack memory disclosure in linux_ioctl_v4l r343261 linuxulator: fix stack memory disclosure in linux_ioctl_termio r343262 linuxulator: fix stack memory disclosure in linux_sigaltstack r343263 linuxulator: fix stack memory disclosure in linux_sigaltstack
admbugs: 765 Reported by: Vlad Tsyrklevich <[email protected]> Security: Kernel stack memory disclosure Sponsored by: The FreeBSD Foundation
show more ...
|
|
Revision tags: release/12.0.0 |
|
| #
6040822c |
| 30-Jul-2018 |
Alan Somers <[email protected]> |
Make timespecadd(3) and friends public
The timespecadd(3) family of macros were imported from NetBSD back in r35029. However, they were initially guarded by #ifdef _KERNEL. In the meantime, we have
Make timespecadd(3) and friends public
The timespecadd(3) family of macros were imported from NetBSD back in r35029. However, they were initially guarded by #ifdef _KERNEL. In the meantime, we have grown at least 28 syscalls that use timespecs in some way, leading many programs both inside and outside of the base system to redefine those macros. It's better just to make the definitions public.
Our kernel currently defines two-argument versions of timespecadd and timespecsub. NetBSD, OpenBSD, and FreeDesktop.org's libbsd, however, define three-argument versions. Solaris also defines a three-argument version, but only in its kernel. This revision changes our definition to match the common three-argument version.
Bump _FreeBSD_version due to the breaking KPI change.
Discussed with: cem, jilles, ian, bde Differential Revision: https://reviews.freebsd.org/D14725
show more ...
|
| #
e8a1ec3e |
| 27-Jun-2018 |
Ed Maste <[email protected]> |
Split kern_break from sys_break and use it in linuxulator
Previously the linuxulator's linux_brk invoked the FreeBSD sys_break syscall implementation directly. Instead, move the bulk of the existin
Split kern_break from sys_break and use it in linuxulator
Previously the linuxulator's linux_brk invoked the FreeBSD sys_break syscall implementation directly. Instead, move the bulk of the existing implementation to kern_break, and call that from both sys_break and linux_brk.
This also addresses a minor bug in linux_brk in that we now return the actual (rounded up) break address, rather than the requested value.
Reviewed by: brooks (earlier version) Sponsored by: Turing Robotic Industries Differential Revision: https://reviews.freebsd.org/D16019
show more ...
|
|
Revision tags: release/11.2.0 |
|
| #
aec1e6d3 |
| 19-Jun-2018 |
Ed Maste <[email protected]> |
linuxulator: handle V3 capget/capset
Linux 2.6.26 introduced 64-bit capability sets. Extend our stub implementation to handle both 32- and 64-bit. (We still report no capabilities in capget, and d
linuxulator: handle V3 capget/capset
Linux 2.6.26 introduced 64-bit capability sets. Extend our stub implementation to handle both 32- and 64-bit. (We still report no capabilities in capget, and disallow any in capset.)
Reviewed by: chuck Sponsored by: Turing Robotic Industries Inc. Differential Revision: https://reviews.freebsd.org/D15887
show more ...
|
| #
645f3d43 |
| 18-Jun-2018 |
Ed Maste <[email protected]> |
linuxulator: add debugging for invalid capget/capset version
Sponsored by: Turing Robotic Industries Inc.
|
| #
931e2a1a |
| 15-Jun-2018 |
Ed Maste <[email protected]> |
linuxulator: do not include legacy syscalls on arm64
Existing linuxulator platforms (i386, amd64) support legacy syscalls, such as non-*at ones like open, but arm64 and other new platforms do not.
linuxulator: do not include legacy syscalls on arm64
Existing linuxulator platforms (i386, amd64) support legacy syscalls, such as non-*at ones like open, but arm64 and other new platforms do not.
Wrap these in #ifdef LINUX_LEGACY_SYSCALLS, #defined in the MD linux.h files. We may need finer grained control in the future but this is sufficient for now.
Reviewed by: andrew Sponsored by: Turing Robotic Industries Differential Revision: https://reviews.freebsd.org/D15237
show more ...
|
| #
9da5364e |
| 14-Jun-2018 |
Brooks Davis <[email protected]> |
Name the implementation of brk and sbrk sys_break().
The break() system call was renamed (several times) starting in v3 AT&T UNIX when C was invented and break was a language keyword. The last vesta
Name the implementation of brk and sbrk sys_break().
The break() system call was renamed (several times) starting in v3 AT&T UNIX when C was invented and break was a language keyword. The last vestage of a need for it to be called something else (eg obreak) was removed in r225617 which consistantly prefixed all syscall implementations.
Reviewed by: emaste, kib (older version) Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D15638
show more ...
|
| #
eae594f7 |
| 22-Feb-2018 |
Ed Maste <[email protected]> |
Correct proper nouns in the Linuxulator
- Capitalize Linux - Spell FreeBSD out in full - Address some style(9) on changed lines
Sponsored by: Turing Robotic Industries Inc.
|
| #
e958ad4c |
| 12-Feb-2018 |
Jeff Roberson <[email protected]> |
Make v_wire_count a per-cpu counter(9) counter. This eliminates a significant source of cache line contention from vm_page_alloc(). Use accessors and vm_page_unwire_noq() so that the mechanism can
Make v_wire_count a per-cpu counter(9) counter. This eliminates a significant source of cache line contention from vm_page_alloc(). Use accessors and vm_page_unwire_noq() so that the mechanism can be easily changed in the future.
Reviewed by: markj Discussed with: kib, glebius Tested by: pho (earlier version) Sponsored by: Netflix, Dell/EMC Isilon Differential Revision: https://reviews.freebsd.org/D14273
show more ...
|
| #
132f90c6 |
| 05-Feb-2018 |
Ed Maste <[email protected]> |
Linuxolator whitespace cleanup
A version of each of the MD files by necessity exists for each CPU architecture supported by the Linuxolator. Clean these up so that new architectures do not inherit
Linuxolator whitespace cleanup
A version of each of the MD files by necessity exists for each CPU architecture supported by the Linuxolator. Clean these up so that new architectures do not inherit whitespace issues.
Clean up shared Linuxolator files while here.
Sponsored by: Turing Robotic Industries Inc.
show more ...
|
| #
7f2d13d6 |
| 27-Nov-2017 |
Pedro F. Giffuni <[email protected]> |
sys/compat: further 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 - er
sys/compat: further 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.
show more ...
|
|
Revision tags: release/10.4.0, release/11.1.0 |
|
| #
51d93426 |
| 04-Jun-2017 |
Dmitry Chagin <[email protected]> |
On success, getrandom() Linux system call returns the number of bytes that were copied to the buffer supplied by the user.
PR: 219464 Submitted by: Maciej Pasternacki Reported by: Maciej
On success, getrandom() Linux system call returns the number of bytes that were copied to the buffer supplied by the user.
PR: 219464 Submitted by: Maciej Pasternacki Reported by: Maciej Pasternacki MFC after: 1 week
show more ...
|
| #
e2e6a2a1 |
| 04-Jun-2017 |
Dmitry Chagin <[email protected]> |
Revert r319053 due to lack of sence. As pointed out by kib@ opt_global.h contains such fundamental settings as e.g. SMP option and fake opt_global.h almost never match real configured kernels.
Repor
Revert r319053 due to lack of sence. As pointed out by kib@ opt_global.h contains such fundamental settings as e.g. SMP option and fake opt_global.h almost never match real configured kernels.
Reported by: kib@
show more ...
|
| #
9ecc1abc |
| 28-May-2017 |
Dmitry Chagin <[email protected]> |
On success, getrandom() Linux system call returns the number of bytes that were copied to the buffer supplied by the user.
Also fix getrandom() if Linuxulator modules are built without the kernel.
On success, getrandom() Linux system call returns the number of bytes that were copied to the buffer supplied by the user.
Also fix getrandom() if Linuxulator modules are built without the kernel.
PR: 219464 Submitted by: Maciej Pasternacki Reported by: Maciej Pasternacki MFC after: 1 week
show more ...
|
| #
faa9679e |
| 30-Mar-2017 |
Dmitry Chagin <[email protected]> |
Use kern_mincore() helper instead of abusing syscall entry.
Suggested by: kib@ Reviewed by: kib@ MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D10143
|
| #
6c2a934b |
| 25-Mar-2017 |
Dmitry Chagin <[email protected]> |
Implement Linux mincore() system call. This is necessary for the upcoming drm-next.
Suggested by: hselasky@ MFC after: 1 month
|
| #
b1ba0846 |
| 18-Mar-2017 |
Dmitry Chagin <[email protected]> |
Implement getrandom() syscall. Note. GRND_RANDOM option is not supported for now.
MFC after: 1 month
|
| #
0670e972 |
| 26-Feb-2017 |
Dmitry Chagin <[email protected]> |
Return EOVERFLOW error in case then the size of tv_sec field of struct timespec in COMPAT_LINUX32 Linuxulator's not equal to the size of native tv_sec.
MFC after: 1 month
|
| #
496ab053 |
| 13-Feb-2017 |
Konstantin Belousov <[email protected]> |
Rework r313352.
Rename kern_vm_* functions to kern_*. Move the prototypes to syscallsubr.h. Also change Mach VM types to uintptr_t/size_t as needed, to avoid headers pollution.
Requested by: alc,
Rework r313352.
Rename kern_vm_* functions to kern_*. Move the prototypes to syscallsubr.h. Also change Mach VM types to uintptr_t/size_t as needed, to avoid headers pollution.
Requested by: alc, jhb Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D9535
show more ...
|
| #
69cdfcef |
| 06-Feb-2017 |
Edward Tomasz Napierala <[email protected]> |
Add kern_vm_mmap2(), kern_vm_mprotect(), kern_vm_msync(), kern_vm_munlock(), kern_vm_munmap(), and kern_vm_madvise(), and use them in various compats instead of their sys_*() counterparts.
Reviewed
Add kern_vm_mmap2(), kern_vm_mprotect(), kern_vm_msync(), kern_vm_munlock(), kern_vm_munmap(), and kern_vm_madvise(), and use them in various compats instead of their sys_*() counterparts.
Reviewed by: ed, dchagin, kib MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D9378
show more ...
|
| #
96ee4310 |
| 05-Feb-2017 |
Edward Tomasz Napierala <[email protected]> |
Add kern_cpuset_getaffinity() and kern_cpuset_getaffinity(), and use it in compats instead of their sys_*() counterparts.
Reviewed by: kib, jhb, dchagin MFC after: 2 weeks Sponsored by: DARPA, AFRL
Add kern_cpuset_getaffinity() and kern_cpuset_getaffinity(), and use it in compats instead of their sys_*() counterparts.
Reviewed by: kib, jhb, dchagin MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D9383
show more ...
|