Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1551454
| From | Kees Cook <keescook@chromium.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: Designated initializers, struct randomization and addressing? |
| Date | 2017-01-04 23:40 +0100 |
| Message-ID | <sW2nT-2uu-9@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <sQwym-89-19@gated-at.bofh.it> <sVH05-4YR-15@gated-at.bofh.it> <sVNfb-OR-1@gated-at.bofh.it> <sVNoR-RY-21@gated-at.bofh.it> <sVX4R-7gr-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, Jan 4, 2017 at 8:55 AM, Stephen Hemminger <stephen@networkplumber.org> wrote: > On Tue, 3 Jan 2017 22:35:26 -0800 > Kees Cook <keescook@chromium.org> wrote: > >> For randstruct and constify, the automatic selection is done on >> structures with only function pointers. (Additional structures can be >> added via a compiler attribute marking.) >> >> See is_pure_ops_struct(): > > Is there anyway to use this plugin to identify pure_ops structures not already marked as const? That's what the constify plugin does, yes. Though to deal with cases where something rarely written to, the pax_open_kernel/pax_close_kernel annotations are needed, which is why I don't have a sane port of the constify plugin yet. We need to build upstream-acceptable infrastructure for the write-rarely case. But, as Julia replied, yes, there's a huge list. :) -Kees -- Kees Cook Nexus Security
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Designated initializers, struct randomization and addressing? Kees Cook <keescook@chromium.org> - 2017-01-04 00:50 +0100
Re: Designated initializers, struct randomization and addressing? Bruce Korb <bruce.korb@gmail.com> - 2017-01-04 01:00 +0100
Re: Designated initializers, struct randomization and addressing? Kees Cook <keescook@chromium.org> - 2017-01-04 01:20 +0100
Re: Designated initializers, struct randomization and addressing? Julia Lawall <julia.lawall@lip6.fr> - 2017-01-04 07:30 +0100
Re: Designated initializers, struct randomization and addressing? Kees Cook <keescook@chromium.org> - 2017-01-04 07:40 +0100
Re: Designated initializers, struct randomization and addressing? Stephen Hemminger <stephen@networkplumber.org> - 2017-01-04 18:00 +0100
Re: Designated initializers, struct randomization and addressing? Julia Lawall <julia.lawall@lip6.fr> - 2017-01-04 18:40 +0100
Re: Designated initializers, struct randomization and addressing? Kees Cook <keescook@chromium.org> - 2017-01-04 23:40 +0100
csiph-web