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: <4C6E4229.4050702@linux.vnet.ibm.com>
Date:	Fri, 20 Aug 2010 14:21:53 +0530
From:	Ciju Rajan K <ciju@...ux.vnet.ibm.com>
To:	linux-kernel@...r.kernel.org, Jens Axobe <jaxboe@...ionio.com>,
	Vivek Goyal <vgoyal@...hat.com>,
	"Daniel P. Berrange" <berrange@...hat.com>
CC:	Munehiro Ikeda <m-ikeda@...jp.nec.com>,
	Ryo Tsuruta <ryov@...inux.co.jp>, taka@...inux.co.jp,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
	Andrea Righi <righi.andrea@...il.com>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Balbir Singh <balbir@...ux.vnet.ibm.com>,
	Bharata B Rao <bharata@...ux.vnet.ibm.com>,
	Ciju Rajan K <ciju@...ux.vnet.ibm.com>
Subject: [PATCH]Fix return code for mkdir calls

Hi,

This patch fixes the return value when the cgroup hierarchy for blkio 
control groups is deeper than two levels. Right now EINVAL is returned. 
This patch replaces EINVAL with more appropriate EPERM to align with 
mkdir system call return values. This was discussed between Vivek and 
Daniel sometime back. Please consider this patch for inclusion in 2.6.36.

Thanks
Ciju


View attachment "blkio-Fix-the-return-code.patch" of type "text/plain" (1057 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ