security: testing the wrong variable in create_by_name()
On Thu, 22 Apr 2010, Dan Carpenter wrote: There is a typo here. We should be testing "*dentry" instead of "dentry". If "*dentry" is an ERR_PTR, it gets dereferenced in either mkdir() or create() which would cause an OOPs. Signed-off-by: Dan Carpenter <error27(a)gmail.com> Looks correct -- queued fo... 23 Apr 2010 21:07
Suggestions on process integrity checking
Hi, I need to implement a process integrity check, this is to make sure that a process that is running at the time of checking was not corrupted since it was first loaded in memory. I would appreciate suggestions on where I should implement this in the Linux kernel, my first outline of this work is: 1) Add a fie... 23 Apr 2010 21:07
Add documentation for trace commands mod, traceon/traceoff
On Fri, 23 Apr 2010 12:17:47 -0400 Chase Douglas wrote: The mod command went in as commit 64e7c440618998fd69eee6ab490b042d12248021 The traceon/traceoff commands when in as commit 23b4ff3aa479c9e3bb23cb6b2d0a97878399784a Signed-off-by: Chase Douglas <chase.douglas(a)canonical.com> --- Docum... 23 Apr 2010 21:07
[PATCH] nfs: fix memory leak in nfs_get_sb with CONFIG_NFS_V4
With CONFIG_NFS_V4 and data version 4, nfs_get_sb will allocate memory for export_path in nfs4_validate_text_mount_data, so we need to free it then. This is addressed in following kmemleak report: unreferenced object 0xffff88016bf48a50 (size 16): comm "mount.nfs", pid 22567, jiffies 4651574704 (age 175471.200s)... 23 Apr 2010 21:07
[PATCH 5/8] KVM: X86: Add callback to let modules decide over some supported cpuid bits
This patch adds the get_supported_cpuid callback to kvm_x86_ops. It will be used in do_cpuid_ent to delegate the decission about some supported cpuid bits to the architecture modules. Cc: stable(a)kernel.org Signed-off-by: Joerg Roedel <joerg.roedel(a)amd.com> --- arch/x86/include/asm/kvm_host.h | 2 ++ arch/... 23 Apr 2010 21:07
[PATCH 1/9] PM: Add suspend block api.
On Fri, 23 Apr 2010, Alan Stern wrote: On Thu, 22 Apr 2010, [UTF-8] Arve Hjønnevåg wrote: +struct suspend_blocker { +#ifdef CONFIG_SUSPEND_BLOCKERS + atomic_t flags; + const char *name; +#endif Why is flags an atomic_t? Are you worried that drivers might try to... 23 Apr 2010 21:07
[PATCH 3/8] KVM: SVM: Sync cr0 and cr3 to kvm state before nested handling
This patch syncs cr0 and cr3 from the vmcb to the kvm state before nested intercept handling is done. This allows to simplify the vmexit path. Signed-off-by: Joerg Roedel <joerg.roedel(a)amd.com> --- arch/x86/kvm/svm.c | 15 ++++++--------- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/arch/... 23 Apr 2010 21:07
[PATCH 6/8] KVM: SVM: Report emulated SVM features to userspace
This patch implements the reporting of the emulated SVM features to userspace instead of the real hardware capabilities. Every real hardware capability needs emulation in nested svm so the old behavior was broken. Cc: stable(a)kernel.org Signed-off-by: Joerg Roedel <joerg.roedel(a)amd.com> --- arch/x86/kvm/svm.c ... 23 Apr 2010 21:07
[PATCH 2/8] KVM: SVM: Make sure rip is synced to vmcb before nested vmexit
This patch fixes a bug where a nested guest always went over the same instruction because the rip was not advanced on a nested vmexit. Signed-off-by: Joerg Roedel <joerg.roedel(a)amd.com> --- arch/x86/kvm/svm.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/kvm/svm.c b... 23 Apr 2010 21:07
[PATCH 0/8] More fixes for nested svm
Hi Avi, Marcelo, here is another set of nested svm fixes. They fix NMI code to make UP Hyper-V root domain booting. The patches also add better handling for nested entry failures and mce intercepts. Also in this patchset are the fixes for the supported cpuid reporting for svm features. These patches were taken f... 23 Apr 2010 21:07