Re: [patch] pipe: add support for shrinking and growing pipes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, 19 May 2010, Miklos Szeredi wrote:
> 
> One issue I see is that it's possible to grow pipes indefinitely.
> Should this be restricted to privileged users?

Yes. But perhaps only if it grows past the default (or perhaps "default*2" 
or similar). That way a normal user could shrink the pipe buffers, and 
then grow them again if he wants to.

Oh, and I think you need to also require that there be at least two 
buffers. Otherwise we can't guarantee POSIX behavior, I think.

		Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux