|
|
Log in / Subscribe / Register

LSM stacking/secondary modules / RFC: Socket MAC LSM

From:  Stephan Peijnik <stephan-AT-peijnik.at>
To:  linux-security-module-AT-vger.kernel.org
Subject:  LSM stacking/secondary modules / RFC: Socket MAC LSM
Date:  Tue, 13 Jan 2009 18:59:06 +0100
Message-ID:  <1231869546.22905.35.camel@sp-laptop3.sp-local>

Hello,

I have just been trying to investigate why LSM stacking/secondary
modules are gone nowadays. Unfortunately I did not find anything in the 
kernel ChangeLogs that would indicate why this has happened.

Well, now, after about two hours of (unsuccessful) research on this
topic I am turning to you and hope this is the right place.

So, could someone tell me why this functionality has been removed and
whether there are plans on adding it (or something similar) again?

The reason I am asking is that I am working on some sort of Socket MAC
LSM, or at least I was planning to.

The module would expose an interface for hooking socket-related calls
from other LSMs whilst exposing only the most basic information that
would be needed for making decisions (read: PIDs and sockaddr structs)
and only accepting two responses from callback functions: allow or deny.

The plan would be to allow LKMs to use this interface for making
decisions on whether a certain process is allowed to create a specific
type of socket and use connect(), bind() and friends on it. Basically an
interface for creating "personal firewalls".

Feedback on this idea is also highly appreciated.

-- Stephan


--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html




to post comments


Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds