crypto: add an option to disable cryptoalgos' self-tests
On Wed, May 26, 2010 at 12:28:34PM +0300, Alexander Shishkin wrote: By default, CONFIG_CRYPTO_MANAGER_TESTS will be enabled and thus self-tests will still run, but it is now possible to disable them to gain some time during bootup. While reviewing this patch I found a bug in the current PCOMP Kconfig entry... 3 Jun 2010 07:50
[patch v2] fcntl: return -EFAULT if copy_to_user fails
copy_to_user() returns the number of bytes remaining, but we want to return -EFAULT. ret = fcntl(fd, F_SETOWN_EX, NULL); With the original code ret would be 8 here. V2: Takuya Yoshikawa pointed out a similar issue in f_getown_ex() Signed-off-by: Dan Carpenter <error27(a)gmail.com> diff --git a/fs/fcntl.c b/f... 3 Jun 2010 06:45
ipconfig: document DHCP hostname and DNS record
From: Wu Fengguang <fengguang.wu(a)intel.com> Date: Thu, 3 Jun 2010 10:02:44 +0800 ipconfig: document DHCP hostname and DNS record Now it's possible to update the DNS record for $HOST_NAME with ip=::::$HOST_NAME::dhcp CC: Andi Kleen <ak(a)linux.intel.com> Signed-off-by: Wu Fengguang <fengguan... 3 Jun 2010 06:45
fcntl: return -EFAULT if copy_to_user fails
(2010/06/03 19:04), Dan Carpenter wrote: copy_to_user() returns the number of bytes remaining, but we want to return -EFAULT. ret = fcntl(fd, F_SETOWN_EX, NULL); With the original code ret would be 8 here. Signed-off-by: Dan Carpenter<error27(a)gmail.com> How about f_getown_ex() ? if (!ret... 4 Jun 2010 08:07
Crypto Fixes for 2.6.35
Hi Linus: This push fixes build failures for of_device drivers as well as a couple of bugs in the n2 driver. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git or master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git Anatolij Gustschin (1): c... 3 Jun 2010 19:02
[patch] fcntl: return -EFAULT if copy_to_user fails
copy_to_user() returns the number of bytes remaining, but we want to return -EFAULT. ret = fcntl(fd, F_SETOWN_EX, NULL); With the original code ret would be 8 here. Signed-off-by: Dan Carpenter <error27(a)gmail.com> diff --git a/fs/fcntl.c b/fs/fcntl.c index f74d270..0ea7b0f 100644 --- a/fs/fcntl.c +++ b... 3 Jun 2010 06:45
[patch] x86: xsave: cleanup return codes in check_for_xstate()
The places which call check_for_xstate() only care about zero or non-zero so this patch doesn't change how the code runs, but it's a cleanup. The main reason for this patch is that I'm looking for places which don't return -EFAULT for copy_from_user() failures. Signed-off-by: Dan Carpenter <error27(a)gmail.com> ... 3 Jun 2010 06:45
Add scripts/coccinelle/kzalloc-simple.cocci
On 10.5.2010 18:24, Nicolas Palix wrote: +@script:python depends on org@ +p << r.p; +x << r.x; +@@ + +msg="%s" % (x) +msg_safe=msg.replace("[","@(").replace("]",")") +coccilib.org.print_todo(p[0], msg_safe) + +@script:python depends on report@ +p << r.p; +x << r.x; +@@ + +ms... 3 Jun 2010 06:45
[PATCH][1/1] fs: wrong type for 'magic' argument in 'simple_fill_super()', fs/libfs.c
Sorry for resending, the previous was rejected by some mailing list. On Wednesday 02 June 2010 20:44:25 Mimi Zohar wrote: On Tue, 2010-06-01 at 19:05 +0200, Roberto Sassu wrote: Description of the issue: The function 'simple_fill_super()' in the path 'fs/libfs.c' takes the 'magic' argument as i... 3 Jun 2010 06:45
cpqphp: NULL ptr deref in cpqhpc_probe
Hi, we have a system where there is a pci hotplug class device to be handled by cpqphp, but it is not a bridge. But in cpqhpc_probe there is: struct pci_bus *bus; .... bus = pdev->subordinate; .... bus->max_bus_speed = PCI_SPEED_66MHz_PCIX; But as it is not a bridge, subordinate is NULL and the kernel crash... 10 Jun 2010 20:10