#
c7aa572c |
| 31-Jul-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
978ffef2 |
| 18-Jul-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add missing SysV IPC stats to linprocfs(4). Fixes 'ipcs -l', and also helps Oracle.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25669
|
#
7ce051e7 |
| 18-Jul-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Fix bogomips calculation. Previously it was off by half. This was verified under VMWare Fusion, comparing to what's reported under CentOS, and by comparing numbers reported by linuxulator on T420 w
Fix bogomips calculation. Previously it was off by half. This was verified under VMWare Fusion, comparing to what's reported under CentOS, and by comparing numbers reported by linuxulator on T420 with a googled up Linux cpuinfo (https://lkml.org/lkml/2011/11/29/116).
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20693
show more ...
|
#
8ba7dddd |
| 18-Jul-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Fix two typos in flag names in /proc/cpuinfo.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25695
|
#
ce28fd95 |
| 11-Jul-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Make linprocfs(5) report correct tty number in /proc/<PID>/stat. Fixes sudo (sudo-1.8.21p2-3ubuntu1.2); previously would fail with "sudo: no tty present and no askpass program specified".
Reviewed b
Make linprocfs(5) report correct tty number in /proc/<PID>/stat. Fixes sudo (sudo-1.8.21p2-3ubuntu1.2); previously would fail with "sudo: no tty present and no askpass program specified".
Reviewed by: kib, emaste MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25588
show more ...
|
#
7fcc9f7e |
| 04-Jul-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Add /proc/sys/kernel/tainted to linprocfs(5). Helps LTP.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25556
|
#
8b99a63f |
| 04-Jul-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Make linprocfs(5) create /proc/bus/pci/devices/, and linsysfs(5) create /sys/class/power_supply/. This silences some warnings from biology/linux-foldingathome.
Reported by: 0mp MFC after: 2 weeks S
Make linprocfs(5) create /proc/bus/pci/devices/, and linsysfs(5) create /sys/class/power_supply/. This silences some warnings from biology/linux-foldingathome.
Reported by: 0mp MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25557
show more ...
|
#
c2da36fe |
| 30-Jun-2020 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Make linprocfs(5) create the /proc/<PID>/task/ directores. This is to silence down some Chromium assertions.
PR: kern/240991 Analyzed by: Alex S <iwtcex@gmail.com> MFC after: 2 weeks Sponsored by:
Make linprocfs(5) create the /proc/<PID>/task/ directores. This is to silence down some Chromium assertions.
PR: kern/240991 Analyzed by: Alex S <iwtcex@gmail.com> MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25256
show more ...
|
Revision tags: release/11.4.0 |
|
#
e43d33d2 |
| 05-Mar-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r358466 through r358677.
|
#
8d03b99b |
| 01-Mar-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
fd: move vnodes out of filedesc into a dedicated structure
The new structure is copy-on-write. With the assumption that path lookups are significantly more frequent than chdirs and chrooting this is
fd: move vnodes out of filedesc into a dedicated structure
The new structure is copy-on-write. With the assumption that path lookups are significantly more frequent than chdirs and chrooting this is a win.
This provides stable root and jail root vnodes without the need to reference them on lookup, which in turn means less work on globally shared structures. Note this also happens to fix a bug where jail vnode was never referenced, meaning subsequent access on lookup could run into use-after-free.
Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D23884
show more ...
|
#
f8091e2c |
| 08-Jan-2020 |
Mark Johnston <markj@FreeBSD.org> |
linprocfs: Fix some bugs in the maps file implementation.
- Export the offset into the backing object, not the object size. - Fix a bug where we would print the previous entry's "offset" when a ma
linprocfs: Fix some bugs in the maps file implementation.
- Export the offset into the backing object, not the object size. - Fix a bug where we would print the previous entry's "offset" when a map_entry has no object. - Try to identify shared mappings. Linux prints "s" when the mapping "may be shared". This attempt is not perfect, for example, we print "p" for anonymous memory that may be shared via minherit(INHERIT_SHARE).
PR: 240992 Reviewed by: kib MFC after: 1 week MFC note: no OBJ_ANON in stable/12 Differential Revision: https://reviews.freebsd.org/D23062
show more ...
|
#
ad382bd8 |
| 29-Dec-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Make linprocfs(5) provide an empty /proc/modules. This should silence some warnings.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
#
2b2cde80 |
| 11-Nov-2019 |
Olivier Houchard <cognet@FreeBSD.org> |
linprocfs: Make sure to report -1 as tty when we have no controlling tty.
When reporting a process' stats, we can't just provide the tty as an unsigned long, as if we have no controlling tty, the tt
linprocfs: Make sure to report -1 as tty when we have no controlling tty.
When reporting a process' stats, we can't just provide the tty as an unsigned long, as if we have no controlling tty, the tty would be NODEV, or -1. Instaed, just special-case NODEV.
Submitted by: Juraj Lutter <otis@sk.FreeBSD.org> MFC after: 1 week
show more ...
|
Revision tags: release/12.1.0 |
|
#
8b3bc70a |
| 08-Oct-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r352764 through r353315.
|
#
2288078c |
| 08-Oct-2019 |
Doug Moore <dougm@FreeBSD.org> |
Define macro VM_MAP_ENTRY_FOREACH for enumerating the entries in a vm_map. In case the implementation ever changes from using a chain of next pointers, then changing the macro definition will be nece
Define macro VM_MAP_ENTRY_FOREACH for enumerating the entries in a vm_map. In case the implementation ever changes from using a chain of next pointers, then changing the macro definition will be necessary, but changing all the files that iterate over vm_map entries will not.
Drop a counter in vm_object.c that would have an effect only if the vm_map entry count was wrong.
Discussed with: alc Reviewed by: markj Tested by: pho (earlier version) Differential Revision: https://reviews.freebsd.org/D21882
show more ...
|
#
f993ed2f |
| 09-Sep-2019 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r351732 through r352104.
|
#
e55366be |
| 04-Sep-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Fix /proc/mounts for autofs(5) mounts.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
#
bb3c7a54 |
| 03-Sep-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Make linprocfs(4) report Tgid, Linux ltrace(1) needs it.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
Revision tags: release/11.3.0 |
|
#
7648bc9f |
| 13-May-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @347527
Sponsored by: The FreeBSD Foundation
|
#
967cbe64 |
| 03-May-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Decode more CPU flags in cpuinfo.
Reviewed by: dchagin MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20145
|
#
6c8cb13d |
| 02-May-2019 |
Edward Tomasz Napierala <trasz@FreeBSD.org> |
Fix flags in cpuinfo.
Reviewed by: dchagin MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20139
|
Revision tags: release/12.0.0 |
|
#
4c431719 |
| 22-Jun-2018 |
Chuck Tuffli <chuck@FreeBSD.org> |
Fix output of linprocfs stat entry
The Linux /proc/stat entry has grown over time
v2.5.41 < user, nice, system, idle v2.5.41 user, nice, system, idle, iowait, irq v2.6.11 user, nice, sy
Fix output of linprocfs stat entry
The Linux /proc/stat entry has grown over time
v2.5.41 < user, nice, system, idle v2.5.41 user, nice, system, idle, iowait, irq v2.6.11 user, nice, system, idle, iowait, irq, softirq, steal v2.6.24 user, nice, system, idle, iowait, irq, softirq, steal, guest v2.6.32 > user, nice, system, idle, iowait, irq, softirq, steal, guest, guest_nice
Some applications (e.g. nodejs) depend on the correct number of entries and will abort otherwise.
Fix is to print the correct number of entries based on the value of osrelease set either in sysctl or the jail settings. Change is similar to approach used by illumos.
Reviewed by: emaste, imp (mentor) Approved by: imp (mentor) Differential Revision: https://reviews.freebsd.org/D15858
show more ...
|
Revision tags: release/11.2.0 |
|
#
d1fa346f |
| 15-Jun-2018 |
Chuck Tuffli <chuck@FreeBSD.org> |
Add linprocfs support for min_free_kbytes
This adds linprocfs support for proc/sys/vm/min_free_kbytes which the free program requires for correct operation. The approach mirrors the approach used in
Add linprocfs support for min_free_kbytes
This adds linprocfs support for proc/sys/vm/min_free_kbytes which the free program requires for correct operation. The approach mirrors the approach used in illumos.
Reviewed by: imp (mentor), emaste Approved by: imp (mentor) Differential Revision: https://reviews.freebsd.org/D15563
show more ...
|
#
1f3bc157 |
| 15-Jun-2018 |
Konstantin Belousov <kib@FreeBSD.org> |
linprocfs: add TracerPid to /proc/pid/status. Also fix the value of parent pid if the process is traced.
Submitted by: Yanko Yankulov <yanko.yankulov@gmail.com> MFC after: 1 week
|
#
6a1d1e0c |
| 15-Jun-2018 |
Ed Maste <emaste@FreeBSD.org> |
Add stubbed arm64 linuxulator /proc/cpuinfo handler
Sponsored by: Turing Robotic Industries
|