Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-12-04 Thread Paul Moore
On Tue, Dec 4, 2018 at 3:07 AM Ondrej Mosnacek wrote: > On Sat, Dec 1, 2018 at 5:50 PM Steve Grubb wrote: > > On Tuesday, November 13, 2018 11:30:55 AM EST Paul Moore wrote: > > > On Tue, Nov 13, 2018 at 10:25 AM Ondrej Mosnacek > > wrote: > > > > On Tue, Nov 6, 2018 at 9:19 PM Paul Moore

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-12-04 Thread Ondrej Mosnacek
On Sat, Dec 1, 2018 at 5:50 PM Steve Grubb wrote: > On Tuesday, November 13, 2018 11:30:55 AM EST Paul Moore wrote: > > On Tue, Nov 13, 2018 at 10:25 AM Ondrej Mosnacek > wrote: > > > On Tue, Nov 6, 2018 at 9:19 PM Paul Moore wrote: > > > > On Tue, Nov 6, 2018 at 3:09 AM Ondrej Mosnacek >

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-12-03 Thread Paul Moore
On Sat, Dec 1, 2018 at 11:50 AM Steve Grubb wrote: > On Tuesday, November 13, 2018 11:30:55 AM EST Paul Moore wrote: > > On Tue, Nov 13, 2018 at 10:25 AM Ondrej Mosnacek > wrote: > > > On Tue, Nov 6, 2018 at 9:19 PM Paul Moore wrote: > > > > On Tue, Nov 6, 2018 at 3:09 AM Ondrej Mosnacek >

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-12-01 Thread Steve Grubb
On Tuesday, November 13, 2018 11:30:55 AM EST Paul Moore wrote: > On Tue, Nov 13, 2018 at 10:25 AM Ondrej Mosnacek wrote: > > On Tue, Nov 6, 2018 at 9:19 PM Paul Moore wrote: > > > On Tue, Nov 6, 2018 at 3:09 AM Ondrej Mosnacek wrote: > > > > On Tue, Nov 6, 2018 at 12:30 AM Paul Moore

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-11-13 Thread Paul Moore
On Tue, Nov 13, 2018 at 10:25 AM Ondrej Mosnacek wrote: > On Tue, Nov 6, 2018 at 9:19 PM Paul Moore wrote: > > On Tue, Nov 6, 2018 at 3:09 AM Ondrej Mosnacek wrote: > > > On Tue, Nov 6, 2018 at 12:30 AM Paul Moore wrote: > > > > Let's reset this discussion a bit ... if we abolish relative

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-11-13 Thread Ondrej Mosnacek
On Tue, Nov 6, 2018 at 9:19 PM Paul Moore wrote: > On Tue, Nov 6, 2018 at 3:09 AM Ondrej Mosnacek wrote: > > On Tue, Nov 6, 2018 at 12:30 AM Paul Moore wrote: > > > Let's reset this discussion a bit ... if we abolish relative paths and > > > make everything absolute, is there even a need to log

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-11-06 Thread Paul Moore
On Tue, Nov 6, 2018 at 3:09 AM Ondrej Mosnacek wrote: > On Tue, Nov 6, 2018 at 12:30 AM Paul Moore wrote: > > Let's reset this discussion a bit ... if we abolish relative paths and > > make everything absolute, is there even a need to log PARENT? > > If there ever was such need, then this won't

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-11-06 Thread Ondrej Mosnacek
On Tue, Nov 6, 2018 at 12:30 AM Paul Moore wrote: > On Wed, Oct 31, 2018 at 4:54 AM Ondrej Mosnacek wrote: > > On Wed, Sep 19, 2018 at 5:44 PM Paul Moore wrote: > > > On Wed, Sep 19, 2018 at 7:01 AM Ondrej Mosnacek > > > wrote: > > > > On Wed, Sep 19, 2018 at 3:35 AM Paul Moore wrote: > > >

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-11-05 Thread Paul Moore
On Wed, Oct 31, 2018 at 4:54 AM Ondrej Mosnacek wrote: > On Wed, Sep 19, 2018 at 5:44 PM Paul Moore wrote: > > On Wed, Sep 19, 2018 at 7:01 AM Ondrej Mosnacek wrote: > > > On Wed, Sep 19, 2018 at 3:35 AM Paul Moore wrote: > > > > On Thu, Sep 13, 2018 at 10:13 AM Paul Moore wrote: > > > > > On

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-10-31 Thread Ondrej Mosnacek
Sorry for the long-delayed reply, the SELinux world is keeping me quite busy right now :) On Wed, Sep 19, 2018 at 5:44 PM Paul Moore wrote: > On Wed, Sep 19, 2018 at 7:01 AM Ondrej Mosnacek wrote: > > On Wed, Sep 19, 2018 at 3:35 AM Paul Moore wrote: > > > On Thu, Sep 13, 2018 at 10:13 AM Paul

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-09-19 Thread Paul Moore
On Wed, Sep 19, 2018 at 7:01 AM Ondrej Mosnacek wrote: > On Wed, Sep 19, 2018 at 3:35 AM Paul Moore wrote: > > On Thu, Sep 13, 2018 at 10:13 AM Paul Moore wrote: > > > On Thu, Sep 13, 2018 at 9:58 AM Ondrej Mosnacek > > > wrote: > > > > Paul, could you please answer this question so I can

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-09-19 Thread Ondrej Mosnacek
On Wed, Sep 19, 2018 at 3:35 AM Paul Moore wrote: > On Thu, Sep 13, 2018 at 10:13 AM Paul Moore wrote: > > On Thu, Sep 13, 2018 at 9:58 AM Ondrej Mosnacek wrote: > > > Paul, could you please answer this question so I can move forward? :) > > > > Yep, sorry for the delay ... > > I just went back

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-09-18 Thread Paul Moore
On Thu, Sep 13, 2018 at 10:13 AM Paul Moore wrote: > On Thu, Sep 13, 2018 at 9:58 AM Ondrej Mosnacek wrote: > > Paul, could you please answer this question so I can move forward? :) > > Yep, sorry for the delay ... I just went back over the original problem, your proposed fix, and all of the

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-09-13 Thread Paul Moore
On Thu, Sep 13, 2018 at 9:58 AM Ondrej Mosnacek wrote: > Paul, could you please answer this question so I can move forward? :) Yep, sorry for the delay; there have been some serious bugs over in SELinux land (as well as some employer related things that should be public soon) that have taken my

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-09-13 Thread Ondrej Mosnacek
On Mon, Aug 27, 2018 at 3:00 PM Ondrej Mosnacek wrote: > On Fri, Aug 24, 2018 at 4:09 PM Paul Moore wrote: > > > > On Fri, Aug 3, 2018 at 3:08 AM Ondrej Mosnacek wrote: > > > On Fri, Aug 3, 2018 at 12:24 AM Paul Moore wrote: > > > > On Thu, Aug 2, 2018 at 7:45 AM Ondrej Mosnacek > > > >

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-08-27 Thread Ondrej Mosnacek
On Fri, Aug 24, 2018 at 4:09 PM Paul Moore wrote: > > On Fri, Aug 3, 2018 at 3:08 AM Ondrej Mosnacek wrote: > > On Fri, Aug 3, 2018 at 12:24 AM Paul Moore wrote: > > > On Thu, Aug 2, 2018 at 7:45 AM Ondrej Mosnacek > > > wrote: > > > > > > > > When a relative path has just a single component

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-08-27 Thread Ondrej Mosnacek
On Fri, Aug 24, 2018 at 5:14 PM Steve Grubb wrote: > On Friday, August 24, 2018 11:00:35 AM EDT Paul Moore wrote: > > On Thu, Aug 2, 2018 at 8:03 PM Paul Moore wrote: > > > On Thu, Aug 2, 2018 at 7:45 AM Ondrej Mosnacek > wrote: > > > > When a relative path has just a single component and we

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-08-24 Thread Steve Grubb
On Friday, August 24, 2018 11:00:35 AM EDT Paul Moore wrote: > On Thu, Aug 2, 2018 at 8:03 PM Paul Moore wrote: > > On Thu, Aug 2, 2018 at 7:45 AM Ondrej Mosnacek wrote: > > > When a relative path has just a single component and we want to emit a > > > nametype=PARENT record, the current

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-08-24 Thread Paul Moore
On Thu, Aug 2, 2018 at 8:03 PM Paul Moore wrote: > > On Thu, Aug 2, 2018 at 7:45 AM Ondrej Mosnacek wrote: > > When a relative path has just a single component and we want to emit a > > nametype=PARENT record, the current implementation just reports the full > > CWD path (which is alrady

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-08-24 Thread Steve Grubb
On Friday, August 24, 2018 8:59:10 AM EDT Ondrej Mosnacek wrote: > On Thu, Aug 2, 2018 at 1:45 PM Ondrej Mosnacek wrote: > > When a relative path has just a single component and we want to emit a > > nametype=PARENT record, the current implementation just reports the full > > CWD path (which is

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-08-24 Thread Paul Moore
On Fri, Aug 3, 2018 at 3:08 AM Ondrej Mosnacek wrote: > On Fri, Aug 3, 2018 at 12:24 AM Paul Moore wrote: > > On Thu, Aug 2, 2018 at 7:45 AM Ondrej Mosnacek wrote: > > > > > > When a relative path has just a single component and we want to emit a > > > nametype=PARENT record, the current

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-08-24 Thread Ondrej Mosnacek
On Thu, Aug 2, 2018 at 1:45 PM Ondrej Mosnacek wrote: > When a relative path has just a single component and we want to emit a > nametype=PARENT record, the current implementation just reports the full > CWD path (which is alrady available in the audit context). > > This is wrong for three

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-08-05 Thread Ondrej Mosnacek
On Fri, Aug 3, 2018 at 12:24 AM Paul Moore wrote: > On Thu, Aug 2, 2018 at 7:45 AM Ondrej Mosnacek wrote: > > > > When a relative path has just a single component and we want to emit a > > nametype=PARENT record, the current implementation just reports the full > > CWD path (which is alrady

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-08-05 Thread Paul Moore
On Thu, Aug 2, 2018 at 7:45 AM Ondrej Mosnacek wrote: > When a relative path has just a single component and we want to emit a > nametype=PARENT record, the current implementation just reports the full > CWD path (which is alrady available in the audit context). > > This is wrong for three

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-08-02 Thread Paul Moore
On Thu, Aug 2, 2018 at 7:45 AM Ondrej Mosnacek wrote: > > When a relative path has just a single component and we want to emit a > nametype=PARENT record, the current implementation just reports the full > CWD path (which is alrady available in the audit context). > > This is wrong for three

Re: [PATCH ghak95] audit: Do not log full CWD path on empty relative paths

2018-08-02 Thread Richard Guy Briggs
On 2018-08-02 13:44, Ondrej Mosnacek wrote: > When a relative path has just a single component and we want to emit a > nametype=PARENT record, the current implementation just reports the full > CWD path (which is alrady available in the audit context). > > This is wrong for three reasons: > 1.