opnsense-src/sys/compat/linprocfs
Mark Johnston b2dfbd772e linprocfs: Avoid using a sysctl to get the CPU model string
This will fail if the reading process is in capability mode.  Just copy
the string directly.

PR:		276043
Reviewed by:	emaste, imp, kib
Reported and tested by:	Ricardo Branco <rbranco@suse.com>
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D43281

(cherry picked from commit d74a742704eb81f0c6f4aa83e4cb0de26a81c400)
2024-01-11 09:19:07 -05:00
..
linprocfs.c linprocfs: Avoid using a sysctl to get the CPU model string 2024-01-11 09:19:07 -05:00