opnsense-src/sys/fs/procfs
Simon J. Gerraty f239981ed5 proc_rwmem check PRIV_PROC_MEM_WRITE when writing
This will fail when mac_veriexec is enforced.

Move the check from procfs_doprocmem to proc_rwmem to ensure all
cases are covered.

Reviewed by:	olce, markj
Sponsored by:	Juniper Networks, Inc.
Differential Revision:	https://reviews.freebsd.org/D47484
2024-11-08 16:11:33 -08:00
..
procfs.c procfs: Add self & exe symlinks like NetBSD does 2024-02-02 18:34:59 -07:00
procfs.h sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
procfs_dbregs.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
procfs_fpregs.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
procfs_map.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
procfs_mem.c proc_rwmem check PRIV_PROC_MEM_WRITE when writing 2024-11-08 16:11:33 -08:00
procfs_note.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
procfs_osrel.c uio: Use switch statements when handling UIO_READ vs UIO_WRITE 2024-05-10 13:43:36 -07:00
procfs_regs.c sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
procfs_rlimit.c procfs: ensure that RLIMIT_IDENT is properly updated when a limit is added 2024-09-21 00:08:51 +03:00
procfs_status.c proc: Remove kernel stack swapping support, part 6 2024-07-29 01:43:18 +00:00
procfs_type.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00