summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-06-07 18:44:28 +0300
committerChristoph Hellwig <hch@lst.de>2020-07-31 09:16:00 +0300
commit8f740636d9049a3f9665a0ec87a00822ec1120b4 (patch)
treeb882c3795401b79acc3adf7bb7a329bb5dbe3b34 /scripts/gdb/linux/utils.py
parentbf6419e4d5440c6d414a320506c5488857a5b001 (diff)
downloadlinux-8f740636d9049a3f9665a0ec87a00822ec1120b4.tar.xz
init: open code setting up stdin/stdout/stderr
Don't rely on the implicit set_fs(KERNEL_DS) for ksys_open to work, but instead open a struct file for /dev/console and then install it as FD 0/1/2 manually. Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions