|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0 |
|
| #
1f2b31f7 |
| 17-Aug-2023 |
Alvin Chen <weike.chen_dell.com> |
linux(4): Add 2 Linux socket ioctl commands
Support 2 Linux socket ioctl commands: SIOCGIFMETRIC, SIOCSIFMETRIC.
Differential revision: https://reviews.freebsd.org/D39786 MFC after: 1 month
|
| #
95ee2897 |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
| #
4d846d26 |
| 10-May-2023 |
Warner Losh <[email protected]> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0 |
|
| #
1866c766 |
| 29-Apr-2021 |
Edward Tomasz Napierala <[email protected]> |
linux: Improve debugging by recognizing TIOCGPTPEER
Sponsored By: EPSRC
|
|
Revision tags: release/13.0.0 |
|
| #
77311940 |
| 02-Nov-2020 |
Conrad Meyer <[email protected]> |
linux(4): Quiesce unrecognized ioctl warning for F2FS query
On Linux, sqlite probes for underlying F2FS filesystems that support certain kinds of atomic update with this ioctl. The expected result
linux(4): Quiesce unrecognized ioctl warning for F2FS query
On Linux, sqlite probes for underlying F2FS filesystems that support certain kinds of atomic update with this ioctl. The expected result on non-F2FS filesystem (i.e., all FreeBSD filesystems) is any error value.
Minimally implement the ioctl and avoid the warning message.
(This shows up in Linux Chrome, which embeds sqlite.)
Reviewed by: emaste, trasz Differential Revision: https://reviews.freebsd.org/D27050
show more ...
|
| #
53efdb55 |
| 02-Nov-2020 |
Conrad Meyer <[email protected]> |
linux(4): Deduplicate ioctl range construction with a helper macro
No functional change.
Reviewed by: emaste, trasz Differential Revision: https://reviews.freebsd.org/D27049
|
|
Revision tags: release/12.2.0 |
|
| #
79e3da06 |
| 17-Sep-2020 |
Edward Tomasz Napierala <[email protected]> |
Add support for SOUND_MIXER_WRITE_MONITOR ioctl. Fixes alsamixer(1) on my x220.
Reviewed by: emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.fr
Add support for SOUND_MIXER_WRITE_MONITOR ioctl. Fixes alsamixer(1) on my x220.
Reviewed by: emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25806
show more ...
|
| #
46888ded |
| 04-Sep-2020 |
Mark Johnston <[email protected]> |
Add emulation support for the Linux kcov(4) ioctl API.
This makes it possible to run an unmodified Linux syzkaller executor against the Linuxulator, and have it gather code coverage information.
Sp
Add emulation support for the Linux kcov(4) ioctl API.
This makes it possible to run an unmodified Linux syzkaller executor against the Linuxulator, and have it gather code coverage information.
Sponsored by: The FreeBSD Foundation
show more ...
|
| #
aa754121 |
| 19-Jul-2020 |
Edward Tomasz Napierala <[email protected]> |
Make linux(4) support the BLKPBSZGET ioctl. Oracle uses it.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25694
|
|
Revision tags: release/11.4.0 |
|
| #
d845d3dc |
| 10-Mar-2020 |
Hans Petter Selasky <[email protected]> |
Add support for the device statistics IOCTL, needed by the coming linux_libusb upgrade.
MFC after: 3 days Sponsored by: Mellanox Technologies
|
| #
b9594cd9 |
| 29-Dec-2019 |
Edward Tomasz Napierala <[email protected]> |
Implement Linux BLKGETSIZE64 ioctl.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
| #
2cf9eb6c |
| 16-Dec-2019 |
Edward Tomasz Napierala <[email protected]> |
Add a hack to make ^T work for Linux binaries, enabled with 'compat.linux.preserve_vstatus=1' sysctl.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.f
Add a hack to make ^T work for Linux binaries, enabled with 'compat.linux.preserve_vstatus=1' sysctl.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D21967
show more ...
|
|
Revision tags: release/12.1.0, release/11.3.0 |
|
| #
0fabd7b5 |
| 04-Jul-2019 |
Edward Tomasz Napierala <[email protected]> |
Return ENOTSUP for Linux FS_IOC_FIEMAP ioctl.
Linux man(1) calls it for no good reason; this avoids the console spam (eg '(man): ioctl fd=4, cmd=0x660b ('f',11) is not implemented').
Reviewed by: e
Return ENOTSUP for Linux FS_IOC_FIEMAP ioctl.
Linux man(1) calls it for no good reason; this avoids the console spam (eg '(man): ioctl fd=4, cmd=0x660b ('f',11) is not implemented').
Reviewed by: emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20690
show more ...
|
|
Revision tags: release/12.0.0 |
|
| #
8fc08087 |
| 06-Nov-2018 |
Tijl Coosemans <[email protected]> |
On amd64 both Linux compat modules, linux.ko and linux64.ko, provide linux_ioctl_(un)register_handler that allows other driver modules to register ioctl handlers. The ioctl syscall implementation in
On amd64 both Linux compat modules, linux.ko and linux64.ko, provide linux_ioctl_(un)register_handler that allows other driver modules to register ioctl handlers. The ioctl syscall implementation in each Linux compat module iterates over the list of handlers and forwards the call to the appropriate driver. Because the registration functions have the same name in each module it is not possible for a driver to support both 32 and 64 bit linux compatibility.
Move the list of ioctl handlers to linux_common.ko so it is shared by both Linux modules and all drivers receive both 32 and 64 bit ioctl calls with one registration. These ioctl handlers normally forward the call to the FreeBSD ioctl handler which can handle both 32 and 64 bit.
Keep the special COMPAT_LINUX32 ioctl handlers in linux.ko in a separate list for now and let the ioctl syscall iterate over that list first. Later, COMPAT_LINUX32 support can be added to the 64 bit ioctl handlers via a runtime check for ILP32 like is done for COMPAT_FREEBSD32 and then this separate list would disappear again. That is a much bigger effort however and this commit is meant to be MFCable.
This enables linux64 support in x11/nvidia-driver*.
PR: 206711 Reviewed by: kib MFC after: 3 days
show more ...
|
|
Revision tags: release/11.2.0 |
|
| #
b1ed95fd |
| 23-Mar-2018 |
Ed Maste <[email protected]> |
Rationalize license text on Linuxolator files
Many licenses on Linuxolator files contained small variations from the standard FreeBSD license text. To avoid license proliferation switch to the stan
Rationalize license text on Linuxolator files
Many licenses on Linuxolator files contained small variations from the standard FreeBSD license text. To avoid license proliferation switch to the standard 2-Clause FreeBSD license for those files where I have permission from each of the listed copyright holders.
Approved by: rdivacky, marcel MFC after: 1 week Sponsored by: The FreeBSD Foundation
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 |
|
| #
8e9e07e6 |
| 22-Jul-2017 |
Dmitry Chagin <[email protected]> |
Style(9) whitespace fix.
MFC after: 1 week
|
|
Revision tags: release/11.1.0 |
|
| #
6e1d05bb |
| 23-Apr-2017 |
Dmitry Chagin <[email protected]> |
Add Evdev ioctl handler to the Linuxulator.
PR: 218627 Submitted by: Jan Kokemüller Reported by: Jan Kokemüller MFC after: 1 week
|
| #
113bb55f |
| 09-Apr-2017 |
Tai-hwa Liang <[email protected]> |
Adding SIOCGIFNAME support in Linuxulator. This should silence the console warning associated with linux-opera: linux: pid 23492 (opera): ioctl fd=5, cmd=0x8910 ('\M^I',16) is not implemented linu
Adding SIOCGIFNAME support in Linuxulator. This should silence the console warning associated with linux-opera: linux: pid 23492 (opera): ioctl fd=5, cmd=0x8910 ('\M^I',16) is not implemented linux: pid 23492 (opera): ioctl fd=28, cmd=0x8910 ('\M^I',16) is not implemented ...
Reviewed by: kib, marcel, dchagin Tested with: linux-opera-12.16_3 MFC after: 1 month
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0 |
|
| #
5989b75b |
| 24-May-2015 |
Dmitry Chagin <[email protected]> |
The latest cp tool is trying to use the btrfs clone operation that is implemented via ioctl interface. First of all return ENOTSUP for this operation as a cp fallback to usual method in that case. Se
The latest cp tool is trying to use the btrfs clone operation that is implemented via ioctl interface. First of all return ENOTSUP for this operation as a cp fallback to usual method in that case. Secondly, do not print out the message about unimplemented operation.
show more ...
|
| #
67d39748 |
| 24-May-2015 |
Dmitry Chagin <[email protected]> |
Introduce a new module linux_common.ko which is intended for the following primary purposes:
1. Remove the dependency of linsysfs and linprocfs modules from linux.ko, which will be architecture spec
Introduce a new module linux_common.ko which is intended for the following primary purposes:
1. Remove the dependency of linsysfs and linprocfs modules from linux.ko, which will be architecture specific on amd64.
2. Incorporate into linux_common.ko general code for platforms on which we'll support two Linuxulator modules (for both instruction set - 32 & 64 bit).
3. Move malloc(9) declaration to linux_common.ko, to enable getting memory usage statistics properly.
Currently linux_common.ko incorporates a code from linux_mib.c and linux_util.c and linprocfs, linsysfs and linux kernel modules depend on linux_common.ko.
Temporarily remove dtrace garbage from linux_mib.c and linux_util.c
Differential Revision: https://reviews.freebsd.org/D1072 In collaboration with: Vassilis Laganakos.
Reviewed by: trasz
show more ...
|
|
Revision tags: release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0 |
|
| #
a40a377c |
| 14-Jul-2013 |
Hans Petter Selasky <[email protected]> |
Add some missing LIBUSB IOCTL conversion codes.
|
|
Revision tags: release/8.4.0 |
|
| #
d825ce0a |
| 29-Jan-2013 |
John Baldwin <[email protected]> |
Reduce duplication between i386/linux/linux.h and amd64/linux32/linux.h by moving bits that are MI out into headers in compat/linux.
Reviewed by: Chagin Dmitry dmitry | gmail MFC after: 2 weeks
|
|
Revision tags: release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0 |
|
| #
15bf9014 |
| 04-May-2011 |
Alexander Leidinger <[email protected]> |
This is v4l2 support for the linuxulator. This allows to access FreeBSD native devices which support the v4l2 API from processes running within the linuxulator, e.g. skype or flash can access the mul
This is v4l2 support for the linuxulator. This allows to access FreeBSD native devices which support the v4l2 API from processes running within the linuxulator, e.g. skype or flash can access the multimedia/pwcbsd or multimedia/webcamd supplied drivers.
Submitted by: nox MFC after: 1 month
show more ...
|