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


Groups > linux.kernel > #1483768

Re: [RFC v3 07/22] landlock: Handle file comparisons

From Alexei Starovoitov <alexei.starovoitov@gmail.com>
Newsgroups linux.kernel
Subject Re: [RFC v3 07/22] landlock: Handle file comparisons
Date 2016-09-15 01:30 +0200
Message-ID <shrMR-7sW-1@gated-at.bofh.it> (permalink)
References <shcNP-6gS-15@gated-at.bofh.it> <shcXv-6ki-5@gated-at.bofh.it> <shpBn-665-21@gated-at.bofh.it> <shrtw-7hp-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Sep 15, 2016 at 01:02:22AM +0200, Mickaël Salaün wrote:
> > 
> > I would suggest for the next RFC to do minimal 7 patches up to this point
> > with simple example that demonstrates the use case.
> > I would avoid all unpriv stuff and all of seccomp for the next RFC as well,
> > otherwise I don't think we can realistically make forward progress, since
> > there are too many issues raised in the subsequent patches.
> 
> I hope we will find a common agreement about seccomp vs cgroup… I think
> both approaches have their advantages, can be complementary and nicely
> combined.

I don't mind having both task based lsm and cgroup based as long as
infrastracture is not duplicated and scaling issues from earlier version
are resolved.
I'm proposing to do cgroup only for the next RFC, since mine and Sargun's
use case for this bpf+lsm+cgroup is _not_ security or sandboxing.
No need for unpriv, no_new_priv to cgroups are other things that Andy
is concerned about.

> Unprivileged sandboxing is the main goal of Landlock. This should not be
> a problem, even for privileged features, thanks to the new subtype/access.

yes. the point that unpriv stuff can come later after agreement is reached.
If we keep arguing about seccomp details this set won't go anywhere.
Even in basic part (which is cgroup+bpf+lsm) are plenty of questions
to be still agreed.

> Agreed. With this RFC, the Checmate features (i.e. network helpers)
> should be able to sit on top of Landlock.

I think neither of them should be called fancy names for no technical reason.
We will have only one bpf based lsm. That's it and it doesn't
need an obscure name. Directory name can be security/bpf/..stuff.c

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


Thread

[RFC v3 07/22] landlock: Handle file comparisons Mickaël Salaün <mic@digikod.net> - 2016-09-14 09:40 +0200
  Re: [RFC v3 07/22] landlock: Handle file comparisons Jann Horn <jann@thejh.net> - 2016-09-14 21:10 +0200
    Re: [RFC v3 07/22] landlock: Handle file comparisons Mickaël Salaün <mic@digikod.net> - 2016-09-15 00:50 +0200
  Re: [RFC v3 07/22] landlock: Handle file comparisons Alexei Starovoitov <alexei.starovoitov@gmail.com> - 2016-09-14 23:10 +0200
    Re: [RFC v3 07/22] landlock: Handle file comparisons Mickaël Salaün <mic@digikod.net> - 2016-09-15 01:10 +0200
      Re: [RFC v3 07/22] landlock: Handle file comparisons Alexei Starovoitov <alexei.starovoitov@gmail.com> - 2016-09-15 01:30 +0200
        Re: [RFC v3 07/22] landlock: Handle file comparisons Mickaël Salaün <mic@digikod.net> - 2016-09-15 23:30 +0200
          lsm naming dilemma. Re: [RFC v3 07/22] landlock: Handle file  comparisons Alexei Starovoitov <alexei.starovoitov@gmail.com> - 2016-09-20 02:20 +0200
            Re: lsm naming dilemma. Re: [RFC v3 07/22] landlock: Handle file comparisons Sargun Dhillon <sargun@sargun.me> - 2016-09-20 03:20 +0200
              Re: lsm naming dilemma. Re: [RFC v3 07/22] landlock: Handle file  comparisons Mickaël Salaün <mic@digikod.net> - 2016-09-20 19:00 +0200

csiph-web