[PATCH] uml: umid tidying
Add an error message when two umids are put on the command line. umid.h is kind of pointless since it only declares one thing, and that is already declared in os.h. Commented the lack of locking of some data in os-Linux/umid.h. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
此提交包含在:
@@ -33,7 +33,6 @@
|
||||
#include "irq_user.h"
|
||||
#include "init.h"
|
||||
#include "os.h"
|
||||
#include "umid.h"
|
||||
#include "irq_kern.h"
|
||||
#include "choose-mode.h"
|
||||
|
||||
|
@@ -16,7 +16,7 @@
|
||||
#include "user.h"
|
||||
#include "sysdep/ptrace.h"
|
||||
#include "mconsole.h"
|
||||
#include "umid.h"
|
||||
#include "os.h"
|
||||
#include "user_util.h"
|
||||
|
||||
static struct mconsole_command commands[] = {
|
||||
|
新增問題並參考
封鎖使用者