lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1324705595-4035-1-git-send-email-hamo.by@gmail.com>
Date:	Sat, 24 Dec 2011 13:46:35 +0800
From:	hamo.by@...il.com
To:	avi@...hat.com, mtosatti@...hat.com
Cc:	hamo.by@...il.com, kvm@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: [PATCH] KVM: fix undeclared MAY_{READ,WRITE,ACCESS}

From: Yang Bai <hamo.by@...il.com>

commit 08a95a511af91a2a6c42f2a8f13b99402a39e84b checks
device assignment permission but forgot to include the
definition of MAY_{READ,WRITE,ACCESS} in linux/fs.h
Include it and this fix the build error here:
http://buildbot.b1-systems.de/kvm/builders/i386/builds/401

Signed-off-by: Yang Bai <hamo.by@...il.com>
---
 virt/kvm/assigned-dev.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/virt/kvm/assigned-dev.c b/virt/kvm/assigned-dev.c
index da9690e..1d9dad0 100644
--- a/virt/kvm/assigned-dev.c
+++ b/virt/kvm/assigned-dev.c
@@ -18,6 +18,7 @@
 #include <linux/interrupt.h>
 #include <linux/slab.h>
 #include <linux/namei.h>
+#include <linux/fs.h>
 #include "irq.h"
 
 static struct kvm_assigned_dev_kernel *kvm_find_assigned_dev(struct list_head *head,
-- 
1.7.7.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ