aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/debug/kdb
AgeCommit message (Expand)AuthorFilesLines
2024-04-26kdb: Simplify management of tmpbuffer in kdb_read()Daniel Thompson1-23/+18
2024-04-26kdb: Replace double memcpy() with memmove() in kdb_read()Daniel Thompson1-12/+7
2024-04-26kdb: Use format-specifiers rather than memset() for padding in kdb_read()Daniel Thompson1-5/+3
2024-04-26kdb: Merge identical case statements in kdb_read()Daniel Thompson1-9/+1
2024-04-26kdb: Fix console handling when editing and tab-completing commandsDaniel Thompson1-0/+5
2024-04-26kdb: Use format-strings rather than '\0' injection in kdb_read()Daniel Thompson1-21/+34
2024-04-26kdb: Fix buffer overflow during tab-completeDaniel Thompson1-8/+13
2024-04-22kdb: Use str_plural() to fix Coccinelle warningThorsten Blum1-1/+1
2024-01-17kdb: Fix a potential buffer overflow in kdb_local()Christophe JAILLET1-2/+0
2023-11-06kdb: Corrects comment for kdballocenvYuran Pereira1-4/+3
2023-09-04Merge tag 'printk-for-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-0/+2
2023-07-20kdb: Do not assume write() callback availableJohn Ogness1-0/+2
2023-07-03kdb: move kdb_send_sig() declaration to a better header fileDaniel Thompson1-1/+0
2023-06-30kdb: Handle LF in the command parserDouglas Anderson1-1/+15
2023-06-29kdb: include kdb_private.h for function prototypesArnd Bergmann1-0/+2
2022-12-02kdb: use srcu console list iteratorJohn Ogness1-2/+16
2022-05-26Merge tag 'modules-5.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds5-56/+0
2022-05-24lockdown: also lock down previous kgdb useDaniel Thompson1-3/+59
2022-04-05module: Move kdb module related code out of main kdb codeAaron Tomlin5-56/+0
2022-03-24kdb: Fix the putarea helper functionDaniel Thompson1-1/+1
2021-11-03kdb: Adopt scheduler's task classificationDaniel Thompson4-122/+53
2021-09-07Merge tag 'kgdb-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/da...Linus Torvalds5-696/+350
2021-08-19isystem: trim/fixup stdarg.h and other headersAlexey Dobriyan1-1/+0
2021-07-27kdb: Rename members of struct kdbtab_tSumit Garg2-239/+237
2021-07-27kdb: Simplify kdb_defcmd macro logicSumit Garg1-49/+58
2021-07-27kdb: Get rid of redundant kdb_register_flags()Sumit Garg2-127/+53
2021-07-27kdb: Rename struct defcmd_set to struct kdb_macroSumit Garg1-20/+20
2021-07-27kdb: Get rid of custom debug heap allocatorSumit Garg3-307/+28
2021-07-06Merge tag 'kgdb-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/da...Linus Torvalds2-5/+5
2021-06-29Merge tag 'printk-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-8/+1
2021-06-18sched: Change task_struct::statePeter Zijlstra1-8/+10
2021-06-01kgdb: Fix spelling mistakesZhen Lei2-5/+5
2021-05-17kdb: Switch to use %ptTsAndy Shevchenko1-8/+1
2021-04-27Merge tag 'printk-for-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-5/+5
2021-04-14kdb: Refactor env variables get/set codeSumit Garg1-74/+68
2021-03-19kdb: Simplify kdb commands registrationSumit Garg3-213/+311
2021-03-19kdb: Remove redundant function definitions/prototypesSumit Garg2-20/+0
2021-03-08printk: kmsg_dump: remove _nolock() variantsJohn Ogness1-4/+4
2021-03-08printk: introduce a kmsg_dump iteratorJohn Ogness1-5/+5
2021-03-08printk: kmsg_dumper: remove @active fieldJohn Ogness1-1/+1
2021-02-08kdb: Make memory allocations more robustSumit Garg1-1/+1
2021-02-04kdb: kdb_support: Fix debugging information problemStephen Zhang2-33/+30
2020-10-01kdb: Fix pager search for multi-line stringsDaniel Thompson1-2/+6
2020-10-01kernel: debug: Centralize dbg_[de]activate_sw_breakpointsDaniel Thompson1-2/+0
2020-09-28kgdb: Honour the kprobe blocklist when setting breakpointsDaniel Thompson1-0/+9
2020-09-08kdb: Use newer api for tasklist scanningDavidlohr Bueso3-10/+6
2020-09-08kdb: remove unnecessary null check of dbg_io_opsCengiz Can1-7/+7
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva2-5/+5
2020-07-16treewide: Remove uninitialized_var() usageKees Cook1-1/+1
2020-06-26kdb: Switch to use safer dbg_io_ops over console APIsSumit Garg1-1/+3
2020-06-25kdb: Make kdb_printf() console handling more robustSumit Garg1-0/+11
2020-06-25kdb: Check status of console prior to invoking handlersSumit Garg1-0/+2
2020-06-25kdb: Re-factor kdb_printf() message write codeSumit Garg1-29/+28
2020-06-17maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofaultChristoph Hellwig2-4/+6
2020-06-09kernel: rename show_stack_loglvl() => show_stack()Dmitry Safonov1-1/+1
2020-06-09kdb: don't play with console_loglevelDmitry Safonov1-7/+8
2020-06-02kdb: Remove the misfeature 'KDBFLAGS'Wei Li1-4/+4
2020-06-02kdb: Cleanup math with KDB_CMD_HISTORY_COUNTDouglas Anderson1-1/+2
2020-04-03Merge tag 'spdx-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-0/+1
2020-04-01kdb: Censor attempts to set PROMPT without ENABLE_MEM_READDaniel Thompson1-4/+8
2020-04-01kdb: Eliminate strncpy() warnings by replacing with strscpy()Daniel Thompson1-4/+4
2020-03-25.gitignore: add SPDX License IdentifierMasahiro Yamada1-0/+1
2020-02-06Revert "kdb: Get rid of confusing diag msg from "rd" if current task has no r...Daniel Thompson1-13/+15
2020-01-31kdb: Use for_each_console() helperAndy Shevchenko1-6/+3
2020-01-31kdb: remove redundant assignment to pointer bpColin Ian King1-1/+0
2020-01-31kdb: Get rid of confusing diag msg from "rd" if current task has no regsDouglas Anderson1-15/+13
2020-01-31kdb: Gid rid of implicit setting of the current task / regsDouglas Anderson3-9/+2
2020-01-31kdb: kdb_current_task shouldn't be exportedDouglas Anderson1-1/+0
2020-01-31kdb: kdb_current_regs should be privateDouglas Anderson1-0/+1
2019-10-28kdb: Tweak escape handling for vi usersDaniel Thompson1-2/+2
2019-10-28kdb: Improve handling of characters from different input sourcesDaniel Thompson1-19/+19
2019-10-28kdb: Remove special case logic from kdb_read()Daniel Thompson3-42/+42
2019-10-28kdb: Simplify code to fetch characters from consoleDaniel Thompson1-24/+14
2019-10-28kdb: Tidy up code to handle escape sequencesDaniel Thompson1-61/+67
2019-10-10kdb: Fix stack crawling on 'running' CPUs that aren't the masterDouglas Anderson1-12/+7
2019-10-10kdb: Fix "btc <cpu>" crash if the CPU didn't round upDouglas Anderson1-27/+34
2019-10-10kdb: Remove unused "argcount" param from kdb_bt1(); make btaprompt boolDouglas Anderson1-8/+6
2019-09-03kdb: Replace strncmp with str_has_prefixChuhong Yuan1-1/+1
2019-05-14kdb: Fix bound check compiler warningWenlin Kang1-1/+1
2019-05-12kdb: do a sanity check on the cpu in kdb_per_cpu()Dan Carpenter1-1/+1
2019-05-12kdb: Get rid of broken attempt to print CCVERSION in kdb summaryDouglas Anderson2-2/+0
2019-05-02kdb: kdb_support: replace strcpy() by strscpy()Gustavo A. R. Silva1-1/+1
2018-12-30kdb: use bool for binary state indicatorsNicholas Mc Guire1-7/+7
2018-12-30kdb: Don't back trace on a cpu that didn't round upDouglas Anderson2-8/+10
2018-11-13kdb: kdb_support: mark expected switch fall-throughsGustavo A. R. Silva1-3/+3
2018-11-13kdb: kdb_keyboard: mark expected switch fall-throughsGustavo A. R. Silva1-2/+2
2018-11-13kdb: kdb_main: refactor code in kdb_md_lineGustavo A. R. Silva1-18/+3
2018-11-13kdb: Use strscpy with destination buffer sizePrarit Bhargava3-12/+15
2018-11-13kdb: print real address of pointers instead of hashed addressesChristophe Leroy2-13/+13
2018-11-13kdb: use correct pointer when 'btc' calls 'btt'Christophe Leroy1-2/+2
2018-10-26sched: loadavg: consolidate LOAD_INT, LOAD_FRAC, CALC_LOADJohannes Weiner1-6/+1
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-06-12treewide: kmalloc() -> kmalloc_array()Kees Cook1-4/+7
2018-04-12Merge tag 'for_linus-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/j...Linus Torvalds3-53/+44
2018-02-04kdb: use memmove instead of overlapping memcpyArnd Bergmann1-2/+2
2018-01-31kdb: use ktime_get_mono_fast_ns() instead of ktime_get_ts()Baolin Wang1-3/+3
2018-01-25kdb: bl: don't use tab character in outputRandy Dunlap1-2/+2
2018-01-25kdb: drop newline in unknown command outputRandy Dunlap1-0/+11
2018-01-25kdb: make "mdr" command repeatRandy Dunlap1-6/+21
2018-01-25kdb: use __ktime_get_real_seconds instead of __current_kernel_timeArnd Bergmann1-40/+5
2018-01-03signal: Simplify and fix kdb_send_sigEric W. Biederman2-9/+3
2017-12-06kdb: Fix handling of kallsyms_symbol_next() return valueDaniel Thompson1-1/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar2-0/+2
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-1/+1
2017-03-02sched/headers: Prepare for new header dependencies before moving code to <lin...Ingo Molnar1-0/+1
2016-12-14kdb: call vkdb_printf() from vprintk_default() only when wantedPetr Mladek1-7/+2
2016-12-14kdb: properly synchronize vkdb_printf() calls with other CPUsPetr Mladek2-18/+13
2016-12-14kdb: remove unused kdb_event handlingPetr Mladek2-3/+0
2016-12-12printk/kdb: handle more message headersPetr Mladek1-1/+1
2016-02-22mm/init: Add 'rodata=off' boot cmdline parameter to disable read-only kernel ...Kees Cook1-3/+1
2015-12-04module: use a structure to encapsulate layout.Rusty Russell1-2/+2
2015-02-19kdb: Const qualifier for kdb_getstr's prompt argumentDaniel Thompson2-2/+2
2015-02-19kdb: Provide forward search at more promptDaniel Thompson3-5/+26
2015-02-19kdb: Fix a prompt management bug when using | grepDaniel Thompson1-2/+2
2015-02-19kdb: Remove stack dump when entering kgdb due to NMIDaniel Thompson1-1/+0
2015-02-19kdb: Avoid printing KERN_ levels to consolesDaniel Thompson1-9/+13
2015-02-19kdb: Fix off by one error in kdb_cpu()Jason Wessel1-1/+1
2015-02-19kdb: fix incorrect counts in KDB summary command outputJay Lan1-1/+1
2015-01-23Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2015-01-22module: make module_refcount() a signed integer.Rusty Russell1-1/+1
2014-11-11kgdb: timeout if secondary CPUs ignore the roundupDaniel Thompson2-1/+7
2014-11-11kdb: Allow access to sensitive commands to be restricted by defaultDaniel Thompson1-1/+1
2014-11-11kdb: Add enable mask for groups of commandsAnton Vorontsov1-1/+29
2014-11-11kdb: Categorize kdb commands (similar to SysRq categorization)Daniel Thompson2-40/+101
2014-11-11kdb: Remove KDB_REPEAT_NONE flagAnton Vorontsov2-33/+32
2014-11-11kdb: Use KDB_REPEAT_* values as flagsAnton Vorontsov1-14/+7
2014-11-11kdb: Rename kdb_register_repeat() to kdb_register_flags()Anton Vorontsov2-50/+50
2014-11-11kdb: Rename kdb_repeat_t to kdb_cmdflags_t, cmd_repeat to cmd_flagsAnton Vorontsov2-4/+4
2014-11-11kdb: Remove currently unused kdbtab_t->cmd_flagsAnton Vorontsov2-2/+0
2014-10-14kdb: replace strnicmp with strncasecmpRasmus Villemoes1-3/+3
2014-06-12kdb: Use ktime_get_ts()Thomas Gleixner1-1/+1
2014-06-04kernel/printk: use symbolic defines for console loglevelsBorislav Petkov3-3/+3
2013-10-03kdb: Add support for external NMI handler to call KGDB/KDBMike Travis2-1/+7
2013-03-02kdb: Remove unhandled ssb commandVincent4-39/+2
2013-03-02kdb: Prevent kernel oops with kdb_defcmdJason Wessel1-2/+6
2013-03-02kdb: Remove the ll commandJason Wessel1-65/+0
2013-03-02kdb_main: fix help printJason Wessel1-3/+7
2013-03-02kdb: Fix overlap in buffers with strcpyJason Wessel1-9/+21
2013-03-02kdb: Setup basic kdb state before invoking commands via kgdbMatt Klein1-6/+18
2013-03-02kdb: use ARRAY_SIZE where possibleSasha Levin1-2/+2
2013-03-02kdb: A fix for kdb command table expansionJohn Blackwood1-1/+1
2013-01-12module: add new state MODULE_STATE_UNFORMED.Rusty Russell1-0/+2
2012-10-13Merge tag 'for_linus-3.7' of git://git.kernel.org/pub/scm/linux/kernel/git/jw...Linus Torvalds3-5/+32
2012-10-12kdb,vt_console: Fix missed data due to pager overrunsJason Wessel1-5/+28
2012-10-12kdb: Fix dmesg/bta scroll to quit with 'q'Jason Wessel2-0/+4
2012-09-26kdb: Implement disable_nmi commandAnton Vorontsov1-0/+31
2012-07-31kernel/debug: Make use of KGDB_REASON_NMIAnton Vorontsov1-0/+4
2012-07-31kdb: Remove cpu from the more promptJason Wessel1-11/+0
2012-07-31kdb: Remove unused KDB_FLAG_ONLY_DO_DUMPJason Wessel1-14/+1
2012-07-21kdb: Switch to nolock variants of kmsg_dump functionsAnton Vorontsov1-4/+4
2012-07-21printk: Remove kdb_syslog_dataAnton Vorontsov1-1/+0
2012-07-21kdb: Revive dmesg commandAnton Vorontsov1-58/+33
2012-04-04Merge tag 'for_linus-3.4-rc2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2012-03-29kdb: Fix smatch warning on dbg_io_ops->is_consoleJason Wessel1-1/+1
2012-03-28Merge tag 'split-asm_system_h-for-linus-20120328' of git://git.kernel.org/pub...Linus Torvalds1-1/+0
2012-03-28Remove all #inclusions of asm/system.hDavid Howells1-1/+0
2012-03-23Merge tag 'for_linus-3.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds5-23/+91
2012-03-22kdb: Add message about CONFIG_DEBUG_RODATA on failure to install breakpointJason Wessel1-0/+7
2012-03-22kdb: Avoid using dbg_io_ops until it is initializedTim Bird1-1/+1
2012-03-22KDB: Fix usability issues relating to the 'enter' key.Andrei Warkentin3-22/+83
2012-03-20kdb: remove the second argument of k[un]map_atomic()Cong Wang1-2/+2
2012-01-13module: struct module_ref should contains long fieldsEric Dumazet1-1/+1
2011-12-11kdb: Make KDB use the new is_idle_task() APIPaul E. McKenney1-1/+1
2011-10-31kernel: Fix files explicitly needing EXPORT_SYMBOL infrastructurePaul Gortmaker1-0/+1
2011-08-01kdb,kgdb: Allow arbitrary kgdb magic knock sequencesJason Wessel1-8/+20
2011-08-01kdb: Remove all references to DOING_KGDB2Jason Wessel4-7/+3
2011-08-01kdb,kgdb: Implement switch and pass buffer from kdb -> gdbJason Wessel3-14/+14
2011-08-01kdb: cleanup unused variables missed in the original kdb mergeJason Wessel3-8/+3
2011-03-31Fix common misspellingsLucas De Marchi2-4/+4
2011-03-25kdb: add usage string of 'per_cpu' commandNamhyung Kim1-1/+1
2011-03-25kdb: code cleanup to use macro instead of valueJovi Zhang1-1/+1
2010-12-22Merge branch 'master' into for-nextJiri Kosina1-10/+11
2010-11-17kdb: fix crash when KDB_BASE_CMD_MAX is exceededJovi Zhang1-4/+4
2010-11-17kdb: fix memory leak in kdb_main.cJovi Zhang1-6/+7
2010-11-01tree-wide: fix comment/printk typosUwe Kleine-König1-1/+1
2010-10-29kdb: Fix early debugging crash regressionJason Wessel1-1/+1
2010-10-29kdb: fix per_cpu command to remove supress maskJason Wessel1-35/+11
2010-10-22kdb,debug_core: adjust master cpu switch logic against new debug_core lockingJason Wessel2-8/+7
2010-10-22kdb,kgdb: fix sparse fixupsJason Wessel1-8/+1
2010-10-22kdb: Fix oops in kdb_unregisterJason Wessel1-1/+1
2010-10-22kdb: Allow kernel loadable modules to add kdb shell functionsJason Wessel3-40/+5
2010-09-08Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-2/+0
2010-09-05gcc-4.6: kernel/*: Fix unused but set warningsAndi Kleen1-2/+0
2010-08-28Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dto...Linus Torvalds1-1/+1
2010-08-21Input: sysrq - drop tty argument form handle_sysrq()Dmitry Torokhov1-1/+1
2010-08-16kdb: fix compile error without CONFIG_KALLSYMSJason Wessel2-2/+9
2010-08-06Merge branch 'timers-timekeeping-for-linus' of git://git.kernel.org/pub/scm/l...Linus Torvalds1-1/+3
2010-08-05vt,console,kdb: automatically set kdb LINES variableJason Wessel1-2/+0
2010-08-05kgdb,kdb: individual register set and and get APIJason Wessel1-12/+120
2010-07-29kgdb: Do not access xtime directlyThomas Gleixner1-1/+3
2010-07-21sysrq,kdb: Use __handle_sysrq() for kdb's sysrq functionJason Wessel1-2/+1
2010-07-21Fix merge regression from external kdb to upstream kdbJason Wessel1-0/+1
2010-07-21kdb: break out of kdb_ll() when command is terminatedMartin Hicks1-0/+3
2010-06-05module: fix kdb's illicit use of struct module_use.Rusty Russell1-9/+3
2010-05-20printk,kdb: capture printk() when in kdb shellJason Wessel3-4/+26
2010-05-20kgdboc,kdb: Allow kdb to work on a non open console portJason Wessel1-0/+16
2010-05-20kgdboc,keyboard: Keyboard driver for kdb with kgdbJason Wessel2-0/+213
2010-05-20kgdb: gdb "monitor" -> kdb passthroughJason Wessel2-5/+9
2010-05-20kgdb,8250,pl011: Return immediately from console pollJason Wessel1-0/+10