All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Micay <danielmicay@gmail.com>
To: kernel-hardening@lists.openwall.com
Subject: Re: [kernel-hardening] Project convention on configuration options
Date: Fri, 11 Dec 2015 14:17:03 -0500	[thread overview]
Message-ID: <1449861423.8579.33.camel@gmail.com> (raw)
In-Reply-To: <CAGXu5j+Q3pKN7G9OgCop-DPbq6vjTOL-PoVHTP0tSwxdyjGiJw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 867 bytes --]

> I think there will be plenty of bike-shedding, so pick whatever you
> like for now. :)
> 
> There is already the (disabled due to gcc bugs)
> DEBUG_STRICT_USER_COPY_CHECKS (which should lose the "DEBUG" name
> too). IIRC, it works by tracking memory regions? Maybe TRACK_USERCOPY?
> I'm sure it'll get renamed, so no big deal. In fact, you could just
> leave it as PAX_USERCOPY too for the initial extraction.

The main component is dynamically querying the slab allocator for the
allocation sizes. It also has checking for stack frames and global data.
There are also some tweaks related to __builtin_object_size.

It would make sense to land it in pieces, perhaps starting with the slab
allocator stuff (which is the bulk of the changes since some slabs need
to be marked and it seems like it would be the least controversial part
of the feature).

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2015-12-11 19:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-11 17:57 [kernel-hardening] Project convention on configuration options Schaufler, Casey
2015-12-11 18:47 ` Kees Cook
2015-12-11 19:17   ` Daniel Micay [this message]
2015-12-11 20:24 ` HacKurx
2015-12-11 21:06   ` Kees Cook
2015-12-11 21:09   ` Schaufler, Casey
2015-12-11 21:48     ` HacKurx
2015-12-11 21:57       ` Kees Cook
2015-12-11 22:46         ` HacKurx
2015-12-11 22:59       ` Valdis.Kletnieks
2015-12-12  9:17         ` HacKurx
2015-12-13 16:36           ` Kees Cook

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=1449861423.8579.33.camel@gmail.com \
    --to=danielmicay@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.