From: Vasiliy Kulikov <segoon@openwall.com>
To: kernel-hardening@lists.openwall.com
Subject: Re: [kernel-hardening] -ow features
Date: Fri, 29 Jul 2011 22:06:14 +0400 [thread overview]
Message-ID: <20110729180614.GB2623@albatros> (raw)
In-Reply-To: <20110729173037.GA12284@openwall.com>
Solar,
On Fri, Jul 29, 2011 at 21:30 +0400, Solar Designer wrote:
> > HARDEN_VM86
> >
> > The code similar to -ow patch is ready, but I don't know how it should
> > be implemented relative to LSM/seccomp/etc. It looks like a small
> > feature, which is not consistent with current upstream security
> > architecture. I've described the problem here:
> >
> > http://www.openwall.com/lists/kernel-hardening/2011/06/19/2
> >
> > Without the major change of the configuration mechanism it's impossible
> > to get it applied.
>
> In -ow, there's also CONFIG_BINFMT_ELF_AOUT. When it is not enabled -
> and by default it is not - uselib(2) is disabled (returns -ENOSYS) and
> parts of binfmt_elf.c responsible for loading a.out libraries for ELF
> binaries are also disabled (truly ancient stuff). We need something
> like this for 3.x and RHEL6 kernels too.
>
> Maybe the CONFIG_BINFMT_ELF_AOUT option may be accepted upstream on the
> grounds that it's similar to other CONFIG_BINFMT_* options?
Do you propose to move all ELF_AOUT code to a configurable option, just
like STRICT_DEVMEM? Looks like a good plan - kernel developers don't
like to support legacy stuff. If it is moved to a config option, then
in some years it could be even fully removed (if I understand the AOUT
significance).
--
Vasiliy
next prev parent reply other threads:[~2011-07-29 18:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-23 16:27 [kernel-hardening] -ow features Solar Designer
2011-07-29 9:00 ` Vasiliy Kulikov
2011-07-29 17:30 ` Solar Designer
2011-07-29 18:00 ` Vasiliy Kulikov
2011-07-29 18:06 ` Vasiliy Kulikov [this message]
2011-07-29 22:42 ` Solar Designer
2011-07-30 18:20 ` [kernel-hardening] BINFMT_ELF_AOUT (was: -ow features) Vasiliy Kulikov
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=20110729180614.GB2623@albatros \
--to=segoon@openwall.com \
--cc=kernel-hardening@lists.openwall.com \
/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