From: Jesse Pollard <pollard@tomcat.admin.navo.hpc.mil>
To: kaih@khms.westfalen.de (Kai Henningsen), linux-kernel@vger.rutgers.edu
Subject: Re: RLIM_INFINITY inconsistency between archs
Date: Mon, 31 Jul 2000 12:31:47 -0500 (CDT) [thread overview]
Message-ID: <200007311731.MAA158912@tomcat.admin.navo.hpc.mil> (raw)
--------- Received message begins Here ---------
>
> pollard@tomcat.admin.navo.hpc.mil (Jesse Pollard) wrote on 27.07.00 in <200007271531.KAA89926@tomcat.admin.navo.hpc.mil>:
>
> > Might I suggest creating a "/lib/include" that works something like
> > the /lib/modules where the kernel name is used to generate the directory
> > for the kernel include files?
> >
> > That way the "uname -r" command could be used to set a symbolic link
> > to point to the correct include files at boot time (or install time).
>
> Correct for what?
>
> I think this is silly.
>
> There are two versions of header files people tend to be interested in:
>
> a. The ones corresponding to the libc version their linker will link
> against. This will be good for 99% of the situations.
>
> b. A special version for some kernel-version-dependant executable. Exact
> version depends on what they plan to do with that executable - could be
> most advanced kernel version available, least advanced version available,
> a specific version whose significance depends on the configuration of a
> different machine, whatever.
>
> There is no reason to assume that the currently running kernel version is
> any more relevant than any of the other arguments for b.
>
> > This way the kernel that is active would be selecting the correct includes.
>
> Correct for what?
I said (which got dropped) for things like the RSBAC project, which has
applications that are dependant on the current kernel for proper operation.
The RSBAC project implements multi-level security (among other things) and
supports system calls for manipulating the security labels on the kernel,
and disk files (login, init, ...). The system call list varies depending
on the kernel version, some of the data structures also depends on the
kernel version. The symbolic link would allow a boot time selection of
the correct include files if I need to rebuild/debug them.
When I boot an older/test kernel, the executables used are no longer
valid. Building new executables during test would also invalidate the
older/current ones.
I see using a symbolic link (which I may do on my own) as a way to
preserve system level consistancy, by having different versions of the
executables in my search path/cron job search path.
I can see this also providing advantages for module initialization - well
only the ones that require external hardware initialization. Things like
some wide area net cards, terminal multiplexors...
Some of these require compatablility between module and hardware microcode
for proper functionality. An older kernel will require an older module, and
that older module may require older microcode (not to mention, and older
loader application). Using a version link would simplify the automatic
selection of the proper initialization code.
Now I can do all this on my own, but it might be usefull for more than
just what I see; and others might see pitfalls that I missed.
-------------------------------------------------------------------------
Jesse I Pollard, II
Email: pollard@navo.hpc.mil
Any opinions expressed are solely my own.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2000-07-31 17:13 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-07-31 17:31 Jesse Pollard [this message]
[not found] <20000728112353Z160228-16385+645@vger.rutgers.edu>
2000-07-31 15:26 ` Kai Henningsen
2000-08-01 7:53 ` David Howells
2000-08-01 18:15 ` Kai Henningsen
2000-08-02 6:52 ` wingel
[not found] <200007271459.KAA04701@tsx-prime.MIT.EDU>
[not found] ` <200007271531.KAA89926@tomcat.admin.navo.hpc.mil>
2000-07-31 14:57 ` Kai Henningsen
2000-07-31 17:35 ` Richard B. Johnson
2000-07-31 20:06 ` Mike Galbraith
2000-07-31 21:15 ` Miquel van Smoorenburg
2000-07-31 21:49 ` Richard B. Johnson
2000-07-31 22:39 ` Miquel van Smoorenburg
2000-07-31 22:13 ` H. Peter Anvin
2000-07-31 22:33 ` Miquel van Smoorenburg
2000-08-01 0:17 ` H. Peter Anvin
2000-08-01 0:43 ` wingel
2000-08-01 1:00 ` H. Peter Anvin
2000-08-01 2:06 ` wingel
2000-08-01 9:36 ` Miquel van Smoorenburg
2000-08-01 17:03 ` H. Peter Anvin
2000-08-01 21:50 ` Miquel van Smoorenburg
2000-08-01 2:18 ` Mike Castle
2000-08-01 2:30 ` wingel
2000-08-01 23:55 ` Mike Castle
2000-08-02 0:18 ` H. Peter Anvin
2000-08-02 9:28 ` Miquel van Smoorenburg
2000-08-04 1:07 ` H. Peter Anvin
2000-08-01 17:03 ` H. Peter Anvin
2000-08-01 2:11 ` Mike Castle
2000-08-01 9:38 ` Miquel van Smoorenburg
2000-08-01 23:44 ` Mike Castle
2000-08-02 18:16 ` peter swain
[not found] <FyFI8n.IpM@spuddy.mew.co.uk>
2000-07-29 10:34 ` Stephen Harris
[not found] <200007281315.OAA30398@flint.arm.linux.org.uk>
2000-07-29 1:09 ` David Howells
[not found] <200007272122.RAA04791@tsx-prime.MIT.EDU>
[not found] ` <m2hf9bnm95.fsf@euler.axel.nom>
[not found] ` <20000728162225.A4317@saw.sw.com.sg>
2000-07-29 0:51 ` Mike Castle
[not found] <no.id>
2000-07-28 22:10 ` Adam Sampson
2000-07-28 22:20 ` Adam Sampson
2000-07-29 13:23 ` Miquel van Smoorenburg
[not found] <3981ED0C.CBE0A0F9@transmeta.com>
2000-07-28 21:02 ` Khimenko Victor
[not found] <Pine.LNX.4.21.0007280808460.73-100000@rc.priv.hereintown.net>
2000-07-28 20:56 ` Stuart Lynne
2000-07-28 20:13 ` clubneon
[not found] <E13HsBT-00033e-00@the-village.bc.nu>
[not found] ` <200007281405.JAA101655@tomcat.admin.navo.hpc.mil>
2000-07-28 14:11 ` Jamie Lokier
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=200007311731.MAA158912@tomcat.admin.navo.hpc.mil \
--to=pollard@tomcat.admin.navo.hpc.mil \
--cc=kaih@khms.westfalen.de \
--cc=linux-kernel@vger.rutgers.edu \
/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®