freebsd-dev/sys/ddb
Mark Johnston c036339ddf ddb: Don't flag breakpoint/watchpoint commands as MEMSAFE
They could potentially be abused to overwrite kernel memory, so
shouldn't be accessible when mac_ddb is loaded.

Reviewed by:	mhorne
Fixes:	bc4ea61d55cb ("ddb: tag core commands with DB_CMD_MEMSAFE")
Sponsored by:	Juniper Networks, Inc.
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D37105
2022-11-02 13:46:24 -04:00
..
db_access.c sys/ddb: Use C99 fixed-width integer types. 2021-12-28 09:41:47 -08:00
db_access.h
db_break.c ddb: Remove SOFTWARE_SSTEP support 2022-01-07 09:25:33 -07:00
db_break.h ddb: Remove SOFTWARE_SSTEP support 2022-01-07 09:25:33 -07:00
db_capture.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
db_command.c ddb: Don't flag breakpoint/watchpoint commands as MEMSAFE 2022-11-02 13:46:24 -04:00
db_command.h
db_examine.c
db_expr.c fix style nit: space after if 2021-05-05 15:26:09 -06:00
db_input.c ddb: enable the use of ^C and ^S/^Q 2021-03-14 16:04:27 -07:00
db_lex.c Adjust db_flush_line() definition to avoid clang 15 warning 2022-07-19 20:37:15 +02:00
db_lex.h
db_main.c [PowerPC] More relocation fixes 2020-06-21 03:39:26 +00:00
db_output.c ddb: enable the use of ^C and ^S/^Q 2021-03-14 16:04:27 -07:00
db_output.h
db_print.c ddb: add ability to print user registers 2021-01-08 14:53:06 -04:00
db_ps.c Use atomic loads/stores when updating td->td_state 2021-02-18 14:02:48 +00:00
db_run.c ddb: Remove SOFTWARE_SSTEP support 2022-01-07 09:25:33 -07:00
db_script.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
db_sym.c ddb: print the actual syscall name 2022-10-28 18:21:08 -03:00
db_sym.h ddb: print the actual syscall name 2022-10-28 18:21:08 -03:00
db_textdump.c kerneldump: remove physical from dump routines 2022-05-13 10:43:19 -03:00
db_thread.c Use kdb_thr_from_pid() in db_lookup_thread(). 2020-12-31 16:01:27 -08:00
db_variables.c
db_variables.h
db_watch.c ddb: annotate some commands with DB_CMD_MEMSAFE 2022-07-18 22:06:09 +00:00
db_watch.h
db_write_cmd.c ddb: clean up empty lines in .c and .h files 2020-09-01 22:14:30 +00:00
ddb.h mac: add new mac_ddb(4) policy 2022-07-18 22:06:15 +00:00