From: Adrian Bunk <bunk@stusta.de>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Cannot compile without sysctl (+semi-patch)
Date: Mon, 27 Dec 2004 18:43:19 +0100 [thread overview]
Message-ID: <20041227174319.GC5345@stusta.de> (raw)
In-Reply-To: <Pine.LNX.4.61.0412271803300.10322@yvahk01.tjqt.qr>
On Mon, Dec 27, 2004 at 06:06:35PM +0100, Jan Engelhardt wrote:
> Hi,
Hi Jan,
> in trying to make the smallest possible kernel for an old pc's needs (read:
> 386sx) disabling sysctl support (CONFIG_SYSCTL) does not work, sys_setgroups
> and sys_setgroups16 still require it. (I get a linking error.)
> It's not a blocker, but it would be nice if this got wrapped up in #ifdef or
> something :-) so that either sysctl is always on or sys_setgroups behaves a
> little different.
>
> Preferably:
> include/linux/limits.h:
> #ifdef __KERNEL__
> extern int ngroups_max;
> # define NGROUPS_MAX ngroups_max
> #else
> # define NGROUPS_MAX __NGROUPS_MAX
> #endif
>
> to
>...
you should also tell us which kernel version you observed this problem
in - neither the latest 2.4 nor the latest 2.6 kernels have a limits.h
like the one you describe...
> Jan Engelhardt
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2004-12-27 17:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-27 17:06 Jan Engelhardt
2004-12-27 17:43 ` Adrian Bunk [this message]
2004-12-27 19:50 ` Jan Engelhardt
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=20041227174319.GC5345@stusta.de \
--to=bunk@stusta.de \
--cc=jengelh@linux01.gwdg.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
all inboxes | Powered by JetHome®