From: Peter Seiderer <Peter.Seiderer@ciselant.de>
To: linux-kernel@vger.kernel.org
Subject: Re: File size limit exceeded with mkfs
Date: Thu, 22 Nov 2001 11:21:46 +0100 [thread overview]
Message-ID: <20011122112146.A1155@zodiak.ecademix.com> (raw)
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 http://www.uwsg.indiana.edu/hypermail/linux/kernel/0111.1/0036.html 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).
Cheers,
Peter
next reply other threads:[~2001-11-22 10:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-22 10:21 Peter Seiderer [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-11-20 16:02 File size limit exceeded with mkfs Jason Tackaberry
2001-11-20 18:33 ` Andreas Dilger
2001-11-20 20:29 ` Jason Tackaberry
2001-11-20 20:43 ` Matti Aarnio
2001-11-20 23:56 ` Neil Brown
2001-11-20 23:35 ` Andreas Dilger
2001-11-21 0:24 ` Mohammad A. Haque
2001-11-20 23:21 ` Horst von Brand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011122112146.A1155@zodiak.ecademix.com \
--to=peter.seiderer@ciselant.de \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox