cregit-Linux how code gets into the kernel

Release 4.14 arch/um/kernel/sysrq.c

Directory: arch/um/kernel
/*
 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
 * Copyright (C) 2013 Richard Weinberger <richrd@nod.at>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#include <linux/kallsyms.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/sched/debug.h>
#include <linux/sched/task_stack.h>

#include <asm/sysrq.h>
#include <asm/stacktrace.h>
#include <os.h>


static void _print_addr(void *data, unsigned long address, int reliable) { pr_info(" [<%08lx>] %s%pF\n", address, reliable ? "" : "? ", (void *)address); }

Contributors

PersonTokensPropCommitsCommitProp
Richard Weinberger1644.44%233.33%
Daniel Walter925.00%116.67%
Jeff Dike822.22%116.67%
Paolo 'Blaisorblade' Giarrusso25.56%116.67%
Chris Wedgwood12.78%116.67%
Total36100.00%6100.00%

static const struct stacktrace_ops stackops = { .address = _print_addr };
void show_stack(struct task_struct *task, unsigned long *stack) { unsigned long *sp = stack; struct pt_regs *segv_regs = current->thread.segv_regs; int i; if (!segv_regs && os_is_signal_stack()) { pr_err("Received SIGSEGV in SIGSEGV handler," " aborting stack trace!\n"); return; } if (!stack) sp = get_stack_pointer(task, segv_regs); pr_info("Stack:\n"); stack = sp; for (i = 0; i < 3 * STACKSLOTS_PER_LINE; i++) { if (kstack_end(stack)) break; if (i && ((i % STACKSLOTS_PER_LINE) == 0)) pr_cont("\n"); pr_cont(" %08lx", *stack++); } pr_cont("\n"); pr_info("Call Trace:\n"); dump_trace(current, &stackops, NULL); pr_info("\n"); }

Contributors

PersonTokensPropCommitsCommitProp
Paolo 'Blaisorblade' Giarrusso8353.90%342.86%
Richard Weinberger5032.47%342.86%
Daniel Walter2113.64%114.29%
Total154100.00%7100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Paolo 'Blaisorblade' Giarrusso8536.80%321.43%
Richard Weinberger7331.60%428.57%
Daniel Walter4318.61%17.14%
Jeff Dike229.52%214.29%
Ingo Molnar62.60%214.29%
Chris Wedgwood10.43%17.14%
Al Viro10.43%17.14%
Total231100.00%14100.00%
Directory: arch/um/kernel
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.