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-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <0EC4FCD1-1DBB-417C-BE5D-4B39ABD67A56@dilger.ca>
Date:	Sat, 20 Aug 2011 09:58:38 -0600
From:	Andreas Dilger <adilger@...ger.ca>
To:	Aditya Kali <adityakali@...gle.com>
Cc:	"adilger@...ger.ca" <adilger@...ger.ca>,
	"tytso@....edu" <tytso@....edu>, "jack@...e.cz" <jack@...e.cz>,
	"linux-ext4@...r.kernel.org" <linux-ext4@...r.kernel.org>,
	Aditya Kali <adityakali@...gle.com>
Subject: Re: [PATCH v2] ext4: make quota as first class supported feature

On 2011-08-19, at 1:06 PM, Aditya Kali <adityakali@...gle.com> wrote:

> This patch is an attempt towards supporting quotas as first class
> feature in ext4. It is based on the proposal at:
> https://ext4.wiki.kernel.org/index.php/Design_For_1st_Class_Quota_in_Ext4
> This patch introduces a new feature - EXT4_FEATURE_RO_COMPAT_QUOTA which, when
> turned on, enables quota accounting at mount time iteself. 

> 6) With the QUOTA feature set, since the quota inodes are hidden, some of the
>   utilities from quota-tools will no longer work correctly. Instead, e2fsprogs
>   will include support for fixing the quota files.

It would be preferable from a usability point of view to have the existing quota tools to work with the new quota files instead of having to introduce new quota utilities. 

There are a number of ways that this could be facilitated:
- make the quota files visible to userspace, but immutable
- add the needed calls to the existing quota tools and use them when manipulating quotas on ext4 filesystems with this feature
- add library interfaces for doing the quota changes to libext2fs (or a new very simple library) and have the quota tools link to that instead of interfacing to the kernel directly 

Cheers, Andreas--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ