All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Moore <paul@paul-moore.com>
To: Yiwen Gu <guyiwen@huawei.com>
Cc: linux-audit@redhat.com
Subject: Re: [RFC] audit: allow audit_reusename to check kernel path
Date: Tue, 26 May 2020 08:32:06 -0400	[thread overview]
Message-ID: <CAHC9VhQ8orX0B4Rq5ztaumrGQKmaPvu8n059MomRM0fxUc3H_Q@mail.gmail.com> (raw)
In-Reply-To: <1590391317-71528-1-git-send-email-guyiwen@huawei.com>

On Mon, May 25, 2020 at 3:22 AM Yiwen Gu <guyiwen@huawei.com> wrote:
> For now, we met a situation where the audit_reusename checking
> function returns the same filename structure for files sharing
> the same uptr. However, these files are different, and we are trying
> to open them in a loop where the names are loaded into the same address.
> Therefore, the function returns the same structure for different files.
> By the way, may I ask in what situation would the audit_list be kept
> across syscalls?

What kernel are you using?  Is this an Android kernel?

Do you have a reproducer you can share?

-- 
paul moore
www.paul-moore.com

--
Linux-audit mailing list
Linux-audit@redhat.com
https://www.redhat.com/mailman/listinfo/linux-audit


  parent reply	other threads:[~2020-05-26 12:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-25  7:21 [RFC] audit: allow audit_reusename to check kernel path Yiwen Gu
2020-05-25  7:21 ` [PATCH] " Yiwen Gu
2020-05-26 12:32 ` Paul Moore [this message]
2020-05-27  0:36   ` [RFC] " Alexander Viro
2020-05-27 13:23     ` Paul Moore

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=CAHC9VhQ8orX0B4Rq5ztaumrGQKmaPvu8n059MomRM0fxUc3H_Q@mail.gmail.com \
    --to=paul@paul-moore.com \
    --cc=guyiwen@huawei.com \
    --cc=linux-audit@redhat.com \
    /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.