The "rare write" mechanism - attribution
The "rare write" mechanism - attribution
Posted Jun 4, 2017 0:44 UTC (Sun) by giraffedata (guest, #1954)In reply to: The "rare write" mechanism by ballombe
Parent article: The "rare write" mechanism
If the code is largely copied from the PaX/grsecurity patch set, saying that Cook proposed a mechanism based on functionality (or function) in that patch set is inadequate. That says to me original code that does something similar to what the PaX/grsecurity code does.
If it's basically code copied with some renaming, and Cook said so in the talk as PaXTeam says, then "based on code in the PaX/grsecurity patch set" or "derived from code ..." would be less misleading, if not, "largely copied from ..."
Posted Jun 5, 2017 7:00 UTC (Mon)
by jospoortvliet (guest, #33164)
[Link] (8 responses)
Posted Jun 6, 2017 3:17 UTC (Tue)
by flussence (guest, #85566)
[Link] (7 responses)
Posted Jun 6, 2017 10:56 UTC (Tue)
by PaXTeam (guest, #24616)
[Link] (1 responses)
Posted Jun 6, 2017 17:32 UTC (Tue)
by likryol (guest, #115542)
[Link]
Posted Jun 6, 2017 11:05 UTC (Tue)
by minipli (guest, #69735)
[Link] (4 responses)
Posted Jun 6, 2017 11:21 UTC (Tue)
by tao (subscriber, #17563)
[Link] (1 responses)
I find it hard to say that it lacks proper attribution though.
Posted Jun 26, 2017 9:33 UTC (Mon)
by jospoortvliet (guest, #33164)
[Link]
Posted Jun 6, 2017 11:24 UTC (Tue)
by nix (subscriber, #2304)
[Link] (1 responses)
Posted Jun 6, 2017 18:53 UTC (Tue)
by minipli (guest, #69735)
[Link]
This is just a prime example that they don't understand what they're copying. How would such an approach gain Linux security in any sensible way? It's always the bloody details that count -- that little corner case that also needs to be taken care of to make a security feature complete. But so far KSPP has just copy-pasted PaX/grsec code without fully understanding the interconnections with other features and code changes. I'd say, they need to slow down and start reading the whole thing, trying to understand what they just read and repeat -- until no new "Ahhh!" moments appear any more. What happens now isn't much more than a grep 'n sed over the patch without understanding what those hunks really do -- what other changes they need the grep didn't catch.
The "rare write" mechanism - attribution
The "rare write" mechanism - attribution
The "rare write" mechanism - attribution
The "rare write" mechanism - attribution
The relevant code from the PaX Patch for v4.9.24 looks astonishingly similar to Kees' proposal, no?
So, now, please tell me this is not just a poor rip-off with minor bikeshedding applied!?
The "rare write" mechanism - attribution
The "rare write" mechanism - attribution
allows HAVE_ARCH_RARE_WRITE to work on x86."
The "rare write" mechanism - attribution
The "rare write" mechanism - attribution
The "rare write" mechanism - attribution