Re: [RFC PATCH] tmpfs: support user quotas

Christoph Hellwig
2011-11-07T07:31:33Z

On Sun, Nov 06, 2011 at 06:15:01PM -0300, Davidlohr Bueso wrote:
> From: Davidlohr Bueso <dave@gnu.org>
>
> This patch adds a new RLIMIT_TMPFSQUOTA resource limit to restrict an individual user's quota across all mounted tmpfs filesystems.
> It's well known that a user can easily fill up commonly used directories (like /tmp, /dev/shm) causing programs to break through DoS.

Please jyst implement the normal user/group quota interfaces we use for other
filesystem.