From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753178AbdK3CgJ (ORCPT ); Wed, 29 Nov 2017 21:36:09 -0500 Received: from mail.kernel.org ([198.145.29.99]:52596 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752604AbdK3CgI (ORCPT ); Wed, 29 Nov 2017 21:36:08 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AA0B021984 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=mcgrof@kernel.org From: "Luis R. Rodriguez" To: jeyu@redhat.com, rusty@rustcorp.com.au Cc: keescook@chromium.org, tixxdz@gmail.com, mbenes@suse.cz, atomlin@redhat.com, pmladek@suse.com, hare@suse.com, james.l.morris@oracle.com, ebiederm@xmission.com, davem@davemloft.net, akpm@linux-foundation.org, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, "Luis R. Rodriguez" Subject: [PATCH 0/3] module: process aliasing when debugging Date: Wed, 29 Nov 2017 18:36:02 -0800 Message-Id: <20171130023605.29568-1-mcgrof@kernel.org> X-Mailer: git-send-email 2.13.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Debugging ineractions with userspace can often be a bit of pain, specially when trying to figure out who is at fault for an issue. Having the kernel process aliases when debugging can help us much faster find who is the culprit to an issue. I've been carrying this around privately in my tree since 2016 but it seems others can benefit from similar debugging functionality so pushing this out for integration and wider review. Further testing, thoughts, reviews, flames are all equally appreciated. Luis R. Rodriguez (3): module: use goto errors on check_modinfo() and layout_and_allocate() module: add helper get_modinfo_idx() module: add debugging alias parsing support include/linux/module.h | 4 ++ init/Kconfig | 7 +++ kernel/module.c | 129 +++++++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 135 insertions(+), 5 deletions(-) -- 2.15.0