Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83234
b: refs/heads/master
c: 827b3f6
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed Feb 5, 2008
1 parent e3d0381 commit 88e2030
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f87ea91d988637b3bbf6aa2d281c6010e7d5f48d
refs/heads/master: 827b3f6abc21246928e38480bb308936701a2ad4
35 changes: 18 additions & 17 deletions trunk/arch/um/drivers/mconsole_kern.c
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
/*
* Copyright (C) 2001 Lennert Buytenhek (buytenh@gnu.org)
* Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Copyright (C) 2001 - 2008 Jeff Dike (jdike@{addtoit,linux.intel}.com)
* Licensed under the GPL
*/

#include "linux/console.h"
#include "linux/ctype.h"
#include "linux/interrupt.h"
#include "linux/list.h"
#include "linux/mm.h"
#include "linux/module.h"
#include "linux/notifier.h"
#include "linux/reboot.h"
#include "linux/proc_fs.h"
#include "linux/slab.h"
#include "linux/syscalls.h"
#include "linux/utsname.h"
#include "linux/workqueue.h"
#include "linux/mutex.h"
#include "asm/uaccess.h"
#include <linux/console.h>
#include <linux/ctype.h>
#include <linux/interrupt.h>
#include <linux/list.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/notifier.h>
#include <linux/reboot.h>
#include <linux/proc_fs.h>
#include <linux/slab.h>
#include <linux/syscalls.h>
#include <linux/utsname.h>
#include <linux/workqueue.h>
#include <linux/mutex.h>
#include <asm/uaccess.h>

#include "init.h"
#include "irq_kern.h"
#include "irq_user.h"
Expand Down Expand Up @@ -765,7 +766,7 @@ void mconsole_stack(struct mc_request *req)
return;
}

to = find_task_by_pid(pid_requested);
to = find_task_by_pid_ns(pid_requested, &init_pid_ns);
if ((to == NULL) || (pid_requested == 0)) {
mconsole_reply(req, "Couldn't find that pid", 1, 0);
return;
Expand Down

0 comments on commit 88e2030

Please sign in to comment.