Re: 64bit filesize limit on a 32bit linux

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

 



On Tue, May 31, 2005 at 03:35:33PM -0400, Igor Schein wrote:

> # ulimit -f `echo 2^22-1|bc`;ulimit -f
> 4194303
> # ulimit -f `echo 2^22|bc`;ulimit -f
> unlimited
> # uname -r
> 2.6.11-1.1290_FC4

> I need to limit users to 5GB per file instead of 4GB.  Do I need any
> kernel patches or can it somehow be done in user space?

The syscall (and also glibc glue) for this only support 32-bit values.
It's probably not hard to make a 64-bit version of these system calls
(I'm not sure about the glibc changes though).
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux