|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
| #
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 |
|
| #
8049c6bf |
| 06-Mar-2017 |
Mahdi Mokhtari <[email protected]> |
Add UNIMPLEMENTED() placeholder macro for the syscalls that are not implemented in Linux kernel itself. Cleanup DUMMY() macros.
Reviewed by: dchagin, trasz Approved by: dchagin MFC after: 1 month Di
Add UNIMPLEMENTED() placeholder macro for the syscalls that are not implemented in Linux kernel itself. Cleanup DUMMY() macros.
Reviewed by: dchagin, trasz Approved by: dchagin MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D9804
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0 |
|
| #
35a0bc12 |
| 22-Feb-2016 |
Svatopluk Kraus <[email protected]> |
As <machine/vmparam.h> is included from <vm/vm_param.h>, there is no need to include it explicitly when <vm/vm_param.h> is already included.
Suggested by: alc Reviewed by: alc Differential Revision:
As <machine/vmparam.h> is included from <vm/vm_param.h>, there is no need to include it explicitly when <vm/vm_param.h> is already included.
Suggested by: alc Reviewed by: alc Differential Revision: https://reviews.freebsd.org/D5379
show more ...
|
|
Revision tags: release/10.2.0 |
|
| #
520e9c18 |
| 24-May-2015 |
Dmitry Chagin <[email protected]> |
Fix linux_common module build with KTR option.
Differential Revision: https://reviews.freebsd.org/D1096 Reviewed by: trasz
|
| #
e16fe1c7 |
| 24-May-2015 |
Dmitry Chagin <[email protected]> |
Implement epoll family system calls. This is a tiny wrapper around kqueue() to implement epoll subset of functionality. The kqueue user data are 32bit on i386 which is not enough for epoll user data,
Implement epoll family system calls. This is a tiny wrapper around kqueue() to implement epoll subset of functionality. The kqueue user data are 32bit on i386 which is not enough for epoll user data, so we keep user data in the proc emuldata.
Initial patch developed by rdivacky@ in 2007, then extended by Yuri Victorovich @ r255672 and finished by me in collaboration with mjg@ and jillies@.
Differential Revision: https://reviews.freebsd.org/D1092
show more ...
|
| #
e0d3ea8c |
| 24-May-2015 |
Dmitry Chagin <[email protected]> |
Where possible we will use M_LINUX malloc(9) type. Move M_FUTEX defines to the linux_common.ko.
Differential Revision: https://reviews.freebsd.org/D1077 Reviewed by: emaste
|
| #
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, release/8.4.0, release/9.1.0 |
|
| #
19e252ba |
| 05-May-2012 |
Alexander Leidinger <[email protected]> |
- >500 static DTrace probes for the linuxulator - DTrace scripts to check for errors, performance, ... they serve mostly as examples of what you can do with the static probe;s with moderate load
- >500 static DTrace probes for the linuxulator - DTrace scripts to check for errors, performance, ... they serve mostly as examples of what you can do with the static probe;s with moderate load the scripts may be overwhelmed, excessive lock-tracing may influence program behavior (see the last design decission)
Design decissions: - use "linuxulator" as the provider for the native bitsize; add the bitsize for the non-native emulation (e.g. "linuxuator32" on amd64) - Add probes only for locks which are acquired in one function and released in another function. Locks which are aquired and released in the same function should be easy to pair in the code, inter-function locking is more easy to verify in DTrace. - Probes for locks should be fired after locking and before releasing to prevent races (to provide data/function stability in DTrace, see the man-page of "dtrace -v ..." and the corresponding DTrace docs).
show more ...
|
|
Revision tags: release/8.3.0 |
|
| #
7870adb6 |
| 10-Feb-2012 |
Ed Schouten <[email protected]> |
Remove direct access to si_name.
Code should just use the devtoname() function to obtain the name of a character device. Also add const keywords to pieces of code that need it to build properly.
MF
Remove direct access to si_name.
Code should just use the devtoname() function to obtain the name of a character device. Also add const keywords to pieces of code that need it to build properly.
MFC after: 2 weeks
show more ...
|
|
Revision tags: release/7.4.0, release/8.2.0 |
|
| #
11380181 |
| 14-Oct-2010 |
Konstantin Belousov <[email protected]> |
Remove stale comment.
Submitted by: arundel MFC after: 3 days
|
|
Revision tags: release/8.1.0, release/7.3.0, release/8.0.0 |
|
| #
4ec3ea90 |
| 07-May-2009 |
Dmitry Chagin <[email protected]> |
Add preliminary KTR(9) support to the linux emulation layer.
Approved by: kib (mentor) MFC after: 1 month
|
|
Revision tags: release/7.2.0, release/7.1.0, release/6.4.0 |
|
| #
48b05c3f |
| 08-Apr-2008 |
Konstantin Belousov <[email protected]> |
Implement the linux syscalls openat, mkdirat, mknodat, fchownat, futimesat, fstatat, unlinkat, renameat, linkat, symlinkat, readlinkat, fchmodat, faccessat.
Submitted by: rdivacky Sponsored
Implement the linux syscalls openat, mkdirat, mknodat, fchownat, futimesat, fstatat, unlinkat, renameat, linkat, symlinkat, readlinkat, fchmodat, faccessat.
Submitted by: rdivacky Sponsored by: Google Summer of Code 2007 Tested by: pho
show more ...
|
|
Revision tags: release/7.0.0, release/6.3.0 |
|
| #
6734f35e |
| 29-Mar-2007 |
Julian Elischer <[email protected]> |
Implement the openat() linux syscall Submitted by: Roman Divacky (rdivacky@) MFC after: 2 weeks
|
|
Revision tags: release/6.2.0 |
|
| #
4db58097 |
| 27-Jun-2006 |
John Baldwin <[email protected]> |
Axe the stackgap macros as the Linux ABIs no longer use the stackgap.
|
|
Revision tags: release/5.5.0, release/6.1.0 |
|
| #
060e4882 |
| 05-May-2006 |
Doug Ambrisko <[email protected]> |
Enhance the Linux emulation layer to make MegaRAID SAS managements tool happy. Add back in a scheme to emulate old type major/minor numbers via hooks into stat, linprocfs to return major/minors that
Enhance the Linux emulation layer to make MegaRAID SAS managements tool happy. Add back in a scheme to emulate old type major/minor numbers via hooks into stat, linprocfs to return major/minors that Linux app's expect. Currently only /dev/null is always registered. Drivers can register via the Linux type shim similar to the ioctl shim but by using linux_device_register_handler/linux_device_unregister_handler functions. The structure is:
struct linux_device_handler { char *bsd_driver_name; char *linux_driver_name; char *bsd_device_name; char *linux_device_name; int linux_major; int linux_minor; int linux_char_device; };
Linprocfs uses this to display the major number of the driver. The soon to be available linsysfs will use it to fill in the driver name. Linux_stat uses it to translate the major/minor into Linux type values.
Note major numbers are dynamically assigned via passing in a -1 for the major number so we don't need to keep track of them.
This is somewhat needed due to us switching to our devfs. MegaCli will not run until I add in the linsysfs and mfi Linux compat changes.
Sponsored by: IronPort Systems
show more ...
|
| #
7a143545 |
| 08-Dec-2005 |
Gleb Smirnoff <[email protected]> |
Suppress logging about unimplemented syscalls to one time per process. This prevents hard flood of the system console.
Reviewed by: bde
|
|
Revision tags: release/6.0.0, release/5.4.0 |
|
| #
501ce305 |
| 01-Mar-2005 |
John Baldwin <[email protected]> |
Remove linux_emul_find() and the CHECKALT*() macros as they are no longer used.
|
|
Revision tags: release/4.11.0 |
|
| #
898b0535 |
| 05-Jan-2005 |
Warner Losh <[email protected]> |
Start each of the license/copyright comments with /*-
|
|
Revision tags: release/5.3.0 |
|
| #
08de85f5 |
| 10-Oct-2004 |
David Malone <[email protected]> |
Rename thread args to be called "td" rather than "p" to be consistent with other bits of this file. There should be no functional change.
Submitted by: Andrea Campi (many moons ago) MFC after: 2 mon
Rename thread args to be called "td" rather than "p" to be consistent with other bits of this file. There should be no functional change.
Submitted by: Andrea Campi (many moons ago) MFC after: 2 month
show more ...
|
| #
6fa534ba |
| 15-Aug-2004 |
Tim J. Robbins <[email protected]> |
Use sv_psstrings from the current process's sysentvec structure instead of PS_STRINGS. This is a no-op at present, but it will be needed when running 32-bit Linux binaries on amd64 to ensure PS_STRIN
Use sv_psstrings from the current process's sysentvec structure instead of PS_STRINGS. This is a no-op at present, but it will be needed when running 32-bit Linux binaries on amd64 to ensure PS_STRINGS is in addressable memory.
show more ...
|
|
Revision tags: release/4.10.0, release/5.2.1, release/5.2.0, release/4.9.0, release/5.1.0, release/4.8.0, release/5.0.0 |
|
| #
e15583ce |
| 02-Jan-2003 |
Alfred Perlstein <[email protected]> |
Add function linux_msg() for regulating output from the linux emulation code, make the emulator use it.
Rename unsupported_msg() to unimplemented_syscall(). Rename some arguments for clarity
Fixup
Add function linux_msg() for regulating output from the linux emulation code, make the emulator use it.
Rename unsupported_msg() to unimplemented_syscall(). Rename some arguments for clarity
Fixup grammar.
Requested by: bde
show more ...
|
| #
4f5a0588 |
| 01-Jan-2003 |
Alfred Perlstein <[email protected]> |
When complaining about obsolete/unimplemented syscalls output the process name to make things more clear for the user.
PR: 46661 MFC After: 3 days
|
| #
ff766321 |
| 01-Sep-2002 |
Ian Dowse <[email protected]> |
Add a new function linux_emul_convpath(), which is a version of linux_emul_find() that does not use stack gap storage but instead always returns the resulting path in a malloc'd kernel buffer. Implem
Add a new function linux_emul_convpath(), which is a version of linux_emul_find() that does not use stack gap storage but instead always returns the resulting path in a malloc'd kernel buffer. Implement linux_emul_find() in terms of this function. Also add LCONVPATH* macros that wrap linux_emul_convpath in the same way that the CHECKALT* macros wrap linux_emul_find().
show more ...
|
|
Revision tags: release/4.6.2 |
|
| #
b63dc6ad |
| 20-Mar-2002 |
Alfred Perlstein <[email protected]> |
Remove __P.
|