Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1580755

Re: [PATCH V2] audit: log module name on init_module

From Steve Grubb <sgrubb@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH V2] audit: log module name on init_module
Date 2017-02-14 19:50 +0100
Message-ID <taQkN-5op-3@gated-at.bofh.it> (permalink)
References <t7d6h-4jT-7@gated-at.bofh.it> <taPRM-5dX-19@gated-at.bofh.it> <taQb8-5kY-7@gated-at.bofh.it>
Organization Red Hat

Show all headers | View raw


On Tuesday, February 14, 2017 1:38:36 PM EST Paul Moore wrote:
> On Tue, Feb 14, 2017 at 1:11 PM, Richard Guy Briggs <rgb@redhat.com> wrote:
> > On 2017-02-14 13:02, Steve Grubb wrote:
> >> On Monday, February 13, 2017 4:20:55 PM EST Paul Moore wrote:
> >> > On Sat, Feb 4, 2017 at 1:10 PM, Richard Guy Briggs <rgb@redhat.com> 
wrote:
> >> > > This adds a new auxiliary record MODULE_INIT to the SYSCALL event.
> >> > > 
> >> > > We get finit_module for free since it made most sense to hook this in
> >> > > to
> >> > > load_module().
> >> > > 
> >> > > https://github.com/linux-audit/audit-kernel/issues/7
> >> > > https://github.com/linux-audit/audit-kernel/wiki/RFE-Module-load-reco
> >> > > rd-fo
> >> > > rmat
> >> > 
> >> > Correction for the record:
> >> > 
> >> > *
> >> > https://github.com/linux-audit/audit-kernel/wiki/RFE-Module-Load-Record
> >> > -For
> >> > mat
> >> > 
> >> > [NOTE: don't resend please, I'll fix this when merging]
> >> 
> >> OK. Support was added to user space for this record. While doing this, I
> >> wondered if we also get this auxiliary record when unloading a module?
> > 
> > I thought of that at the time, which influenced the design and wording.
> > It is not supported yet, but that should be easier to add.
> 
> As a reminder, this is currently in audit/next and will be going up to
> Linus next week during the merge window, if you want to change this
> record in some backwards incompatible way, e.g. putting a field before
> "name", you've got until the end of this week to figure that out.

This isn't necessary. The syscall used denotes the meaning of the action.

-Steve

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH V2] audit: log module name on init_module Paul Moore <paul@paul-moore.com> - 2017-02-13 22:30 +0100
  Re: audit: log module name on init_module Jessica Yu <jeyu@redhat.com> - 2017-02-13 22:40 +0100
  Re: [PATCH V2] audit: log module name on init_module Steve Grubb <sgrubb@redhat.com> - 2017-02-14 19:10 +0100
    Re: [PATCH V2] audit: log module name on init_module Richard Guy Briggs <rgb@redhat.com> - 2017-02-14 19:20 +0100
      Re: [PATCH V2] audit: log module name on init_module Paul Moore <paul@paul-moore.com> - 2017-02-14 19:40 +0100
        Re: [PATCH V2] audit: log module name on init_module Steve Grubb <sgrubb@redhat.com> - 2017-02-14 19:50 +0100
          Re: [PATCH V2] audit: log module name on init_module Richard Guy Briggs <rgb@redhat.com> - 2017-02-14 20:30 +0100

csiph-web