From: Casey Schaufler <casey@schaufler-ca.com>
To: casey@schaufler-ca.com,
LSM List <linux-security-module@vger.kernel.org>,
SELinux List <selinux@tycho.nsa.gov>,
Audit List <linux-audit@redhat.com>
Subject: Re: [PATCH][RFC] V1 Remove SELinux dependencies from linux-audit via LSM
Date: Thu, 2 Aug 2007 20:57:36 -0700 (PDT) [thread overview]
Message-ID: <487163.89353.qm@web36606.mail.mud.yahoo.com> (raw)
In-Reply-To: <600616.50420.qm@web36614.mail.mud.yahoo.com>
--- Casey Schaufler <casey@schaufler-ca.com> wrote:
> From: Casey Schaufler <casey@schaufler-ca.com>
>
> This patch removes SELinux specific code from the kernel auditing
> system, replacing it with LSM hook invocations that perform the
> functions appropriate to those behaviors.
>
> The LSM interface is extended to provide interfaces for a module
> to add audit filters. Interfaces are added to get secids from
> inodes and ipcs.
>
> The audit code is revised to call these hooks instead of the SELinux
> functions. This requires some structure definitions to change header
> files.
>
> The SELinux code is changed to export the old interfaces as LSM hooks
> instead of doing so directly. The SELinux specific audit filter code
> has been moved into the SELinux module.
>
> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
>
> ---
Forgot to include: The patch is relative to 2.6.22.
Casey Schaufler
casey@schaufler-ca.com
WARNING: multiple messages have this Message-ID (diff)
From: Casey Schaufler <casey@schaufler-ca.com>
To: casey@schaufler-ca.com,
LSM List <linux-security-module@vger.kernel.org>,
SELinux List <selinux@tycho.nsa.gov>,
Audit List <linux-audit@redhat.com>
Subject: Re: [PATCH][RFC] V1 Remove SELinux dependencies from linux-audit via LSM
Date: Thu, 2 Aug 2007 20:57:36 -0700 (PDT) [thread overview]
Message-ID: <487163.89353.qm@web36606.mail.mud.yahoo.com> (raw)
In-Reply-To: <600616.50420.qm@web36614.mail.mud.yahoo.com>
--- Casey Schaufler <casey@schaufler-ca.com> wrote:
> From: Casey Schaufler <casey@schaufler-ca.com>
>
> This patch removes SELinux specific code from the kernel auditing
> system, replacing it with LSM hook invocations that perform the
> functions appropriate to those behaviors.
>
> The LSM interface is extended to provide interfaces for a module
> to add audit filters. Interfaces are added to get secids from
> inodes and ipcs.
>
> The audit code is revised to call these hooks instead of the SELinux
> functions. This requires some structure definitions to change header
> files.
>
> The SELinux code is changed to export the old interfaces as LSM hooks
> instead of doing so directly. The SELinux specific audit filter code
> has been moved into the SELinux module.
>
> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
>
> ---
Forgot to include: The patch is relative to 2.6.22.
Casey Schaufler
casey@schaufler-ca.com
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2007-08-03 3:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-03 3:33 [PATCH][RFC] V1 Remove SELinux dependencies from linux-audit via LSM Casey Schaufler
2007-08-03 3:33 ` Casey Schaufler
2007-08-03 3:57 ` Casey Schaufler [this message]
2007-08-03 3:57 ` Casey Schaufler
2007-08-03 13:09 ` Stephen Smalley
2007-08-03 13:09 ` Stephen Smalley
2007-08-03 16:18 ` Casey Schaufler
2007-08-03 16:18 ` Casey Schaufler
2007-08-03 16:33 ` Casey Schaufler
2007-08-03 16:33 ` Casey Schaufler
2007-08-03 18:43 ` Stephen Smalley
2007-08-03 18:43 ` Stephen Smalley
2007-08-03 18:56 ` Casey Schaufler
2007-08-03 18:56 ` Casey Schaufler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=487163.89353.qm@web36606.mail.mud.yahoo.com \
--to=casey@schaufler-ca.com \
--cc=linux-audit@redhat.com \
--cc=linux-security-module@vger.kernel.org \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.