Thread (88 messages) 88 messages, 7 authors, 2019-02-12

Re: [PATCH v5 2/2] LSM: add SafeSetID module that gates setid calls

From: Micah Morton <mortonm@chromium.org>
Date: 2019-01-28 20:19:47

On Mon, Jan 28, 2019 at 11:56 AM Kees Cook [off-list ref] wrote:
On Tue, Jan 29, 2019 at 8:47 AM Micah Morton [off-list ref] wrote:
quoted
I'm getting the following crash when booting after compiling a kernel
with this LSM enabled, so I'll have to figure out what is going on.
All the "core" functionality of this LSM has been tested thoroughly
(we're already using this LSM on ChromeOS), but looks like there's
some debugging of the initialization that still needs to be done.

+DEFINE_LSM(safesetid_security_init) = {
+       .init = safesetid_security_init,
+};

I think this is from not having:

.name = "safesetid",
That fixed it for me! Thanks
I missed that in the review, sorry!

--
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help