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


Groups > linux.kernel > #1620894

Re: [kernel-hardening] Re: [PATCH RFC v2 1/3] LSM: Allow per LSM module per "struct task_struct" blob.

From Kees Cook <keescook@chromium.org>
Newsgroups linux.kernel
Subject Re: [kernel-hardening] Re: [PATCH RFC v2 1/3] LSM: Allow per LSM module per "struct task_struct" blob.
Date 2017-04-11 06:50 +0200
Message-ID <tuVUB-2g1-7@gated-at.bofh.it> (permalink)
References (1 earlier) <tuizU-1Fl-11@gated-at.bofh.it> <tuJTs-2D4-21@gated-at.bofh.it> <tuMoh-4s3-23@gated-at.bofh.it> <tuNaF-50X-5@gated-at.bofh.it> <tuNNo-5x7-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Apr 10, 2017 at 1:00 PM, Djalal Harouni <tixxdz@gmail.com> wrote:
> On Mon, Apr 10, 2017 at 9:26 PM, Casey Schaufler <casey@schaufler-ca.com> wrote:
>> I think that would be the prudent approach. There is still
>> the possibility that blob sharing (or full stacking, if you
>> prefer) won't be accepted any time soon.
>
> Ok Casey! I will wait for more feedback, and if other maintainers do
> not object, I will convert it back to rhashtables in next iterations
> making sure that it should be simple to convert later to a blob
> sharing mechanism.

Would it be possible just to add a single field to task_struct if this
LSM is built in? I feel like rhashtables is a huge overhead when a
single field is all that's needed.

-Kees

-- 
Kees Cook
Pixel Security

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


Thread

Re: [PATCH RFC v2 1/3] LSM: Allow per LSM module per "struct  task_struct" blob. Casey Schaufler <casey@schaufler-ca.com> - 2017-04-10 18:00 +0200
  Re: [PATCH RFC v2 1/3] LSM: Allow per LSM module per "struct  task_struct" blob. Djalal Harouni <tixxdz@gmail.com> - 2017-04-10 20:40 +0200
    Re: [PATCH RFC v2 1/3] LSM: Allow per LSM module per "struct  task_struct" blob. Casey Schaufler <casey@schaufler-ca.com> - 2017-04-10 21:30 +0200
      Re: [PATCH RFC v2 1/3] LSM: Allow per LSM module per "struct  task_struct" blob. Djalal Harouni <tixxdz@gmail.com> - 2017-04-10 22:10 +0200
        Re: [kernel-hardening] Re: [PATCH RFC v2 1/3] LSM: Allow per LSM  module per "struct task_struct" blob. Kees Cook <keescook@chromium.org> - 2017-04-11 06:50 +0200
          Re: [kernel-hardening] Re: [PATCH RFC v2 1/3] LSM: Allow per LSM  module per "struct task_struct" blob. Kees Cook <keescook@chromium.org> - 2017-04-11 22:00 +0200
          Re: [kernel-hardening] Re: [PATCH RFC v2 1/3] LSM: Allow per LSM  module per "struct task_struct" blob. Casey Schaufler <casey@schaufler-ca.com> - 2017-04-11 22:00 +0200
            Re: [kernel-hardening] Re: [PATCH RFC v2 1/3] LSM: Allow per LSM  module per "struct task_struct" blob. Djalal Harouni <tixxdz@gmail.com> - 2017-04-12 18:10 +0200
          Re: [kernel-hardening] Re: [PATCH RFC v2 1/3] LSM: Allow per LSM  module per "struct task_struct" blob. Djalal Harouni <tixxdz@gmail.com> - 2017-04-12 18:30 +0200
            Re: [kernel-hardening] Re: [PATCH RFC v2 1/3] LSM: Allow per LSM  module per "struct task_struct" blob. Casey Schaufler <casey@schaufler-ca.com> - 2017-04-12 22:50 +0200

csiph-web