[lkml]   [2001]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: File size limit exceeded with mkfs
Horst von Brand wrote:
> This kind of differences (direct root login vs su) usualy are due to
> different environment variable settings.

Not in this case, it is because after 'su -' userland tries to
set the RLIMIT_FSIZE to unlimited with with the constant
0x7fffffff which is different from the one kernel uses internal
0xffffffff (see and all next messages).

If this is more a gnulib or kernel mistake ? I don't know, but
the kernel uses sys_old_getrlimit and gives 0x7fffffff back to userland.

I think in this case the kernel should do the same in the other direction
(leafing a hole form 0x7fffffff to 0xffffffff where you could not set
the FSIZE).


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:13    [W:2.047 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site