summaryrefslogtreecommitdiff
path: root/include/uapi/linux/rtnetlink.h
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2013-02-04 10:35:33 -0600
committerJason Wessel <jason.wessel@windriver.com>2013-03-02 08:52:19 -0600
commita37372f6c3c03dc7613eaae8bb3458c8068f5fff (patch)
treecf64786123ce7c2d47002d1d6b122967abca0eb5 /include/uapi/linux/rtnetlink.h
parent1b2caa2dcb8f18d2be9c5c3c992cb6da03f1a70a (diff)
kdb: Prevent kernel oops with kdb_defcmd
The kdb_defcmd can only be used to display the available command aliases while using the kernel debug shell. If you try to define a new macro while the kernel debugger is active it will oops. The debug shell macros must use pre-allocated memory set aside at the time kdb_init() is run, and the kdb_defcmd is restricted to only working at the time that the kdb_init sequence is being run, which only occurs if you actually activate the kernel debugger. Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'include/uapi/linux/rtnetlink.h')
0 files changed, 0 insertions, 0 deletions