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


Groups > linux.kernel > #1252416

Re: [PATCH v8 06/14] task_isolation: provide strict mode configurable signal

From Andy Lutomirski <luto@amacapital.net>
Newsgroups linux.kernel
Subject Re: [PATCH v8 06/14] task_isolation: provide strict mode configurable signal
Date 2015-10-21 03:50 +0200
Message-ID <qlQHp-4T6-13@gated-at.bofh.it> (permalink)
References <qlM13-6so-9@gated-at.bofh.it> <qlPV1-3Ig-7@gated-at.bofh.it> <qlPV1-3Ig-5@gated-at.bofh.it> <qlQxH-4GQ-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Oct 20, 2015 at 6:30 PM, Chris Metcalf <cmetcalf@ezchip.com> wrote:
> On 10/20/2015 8:56 PM, Steven Rostedt wrote:
>>
>> On Tue, 20 Oct 2015 16:36:04 -0400
>> Chris Metcalf <cmetcalf@ezchip.com> wrote:
>>
>>> Allow userspace to override the default SIGKILL delivered
>>> when a task_isolation process in STRICT mode does a syscall
>>> or otherwise synchronously enters the kernel.
>>>
>> Is this really a good idea? This means that there's no way to terminate
>> a task in this mode, even if it goes astray.
>
>
> It doesn't map SIGKILL to some other signal unconditionally.  It just allows
> the "hey, you broke the STRICT contract and entered the kernel" signal
> to be something besides the default SIGKILL.
>

...which has the odd side effect that sending a non-fatal signal from
another process will cause the strict process to enter the kernel and
receive an extra signal.

I still dislike this thing.  It seems like a debugging feature being
implemented using signals instead of existing APIs.  I *still* don't
see why perf can't be used to accomplish your goal.

--Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

Re: [PATCH v8 06/14] task_isolation: provide strict mode  configurable signal Steven Rostedt <rostedt@goodmis.org> - 2015-10-21 03:00 +0200
  Re: [PATCH v8 06/14] task_isolation: provide strict mode configurable  signal Chris Metcalf <cmetcalf@ezchip.com> - 2015-10-21 03:40 +0200
    Re: [PATCH v8 06/14] task_isolation: provide strict mode  configurable signal Steven Rostedt <rostedt@goodmis.org> - 2015-10-21 03:50 +0200
    Re: [PATCH v8 06/14] task_isolation: provide strict mode configurable signal Andy Lutomirski <luto@amacapital.net> - 2015-10-21 03:50 +0200
      RE: [PATCH v8 06/14] task_isolation: provide strict mode configurable  signal Gilad Ben Yossef <giladb@ezchip.com> - 2015-10-21 09:20 +0200
        Re: [PATCH v8 06/14] task_isolation: provide strict mode configurable signal Andy Lutomirski <luto@amacapital.net> - 2015-10-21 21:00 +0200
          Re: [PATCH v8 06/14] task_isolation: provide strict mode configurable signal Andy Lutomirski <luto@amacapital.net> - 2015-10-22 23:10 +0200
          RE: [PATCH v8 06/14] task_isolation: provide strict mode configurable  signal Gilad Ben Yossef <giladb@ezchip.com> - 2015-10-24 11:20 +0200

csiph-web