Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 10 Nov 2015 09:32:50 +0100
From: Quentin Casasnovas <quentin.casasnovas@...cle.com>
To: kernel-hardening@...ts.openwall.com
Subject: Re: Re: Kernel Self Protection Project

On Mon, Nov 09, 2015 at 04:55:34PM -0500, David Windsor wrote:
> The problem is cherrypicking these things from the original patchsets.  I'm
> doing that now for PAX_REFCOUNT, and it's proving more difficult than I
> originally expected.

If you're not already using it, you might find easier to work from the
github Mickaël Salaün has set up, something along those lines:

  cd linux-2.6
  git remote add linux-grsecurity https://github.com/linux-scraping/linux-grsecurity.git
  git fetch linux-grsecurity
  git checkout -b grsecurity-pax-refcount-split v4.2.5
  git checkout -p linux-grsecurity -- $(git grep -l PAX_REFCOUNT linux-grsecurity/grsec-4.2)

Which will drop you into a sub-shell where you can pick relevant hunks.
Then you can repeat the last line replacing PAX_REFCOUNT with any new
symbols that you've picked on the way.
  
Quentin

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.