public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Tomáš Trnka" <trnka@scm.com>
To: Kees Cook <keescook@chromium.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Stephen Smalley <sds@tycho.nsa.gov>,
	Paul Moore <pmoore@redhat.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Laura Abbott <labbott@redhat.com>
Subject: Re: System-wide hard RLIMIT_STACK in 4.14.4+ w/ SELinux
Date: Tue, 12 Dec 2017 20:36:15 +0100	[thread overview]
Message-ID: <4264998.bHD3OVdLUx@electra> (raw)
In-Reply-To: <CAGXu5j+e1kd7gHk9qVUhy6Ubc6c3PBm_zTM9kqkd+UkD9qr6KQ@mail.gmail.com>

On Tuesday, 12 December 2017 20:23:47 CET Kees Cook wrote:
> This is an interesting state for the system to be in, though, it means
> AT_SECURE is being set for virtually all processes too? I would expect
> that might break a lot too (but clearly it hasn't).

Not really. AT_SECURE is set only for the exec that triggers a domain 
transition, but unlike the rlimits it's not inherited by descendants (as long 
as they stay within the same SELinux domain).

2T

  reply	other threads:[~2017-12-12 19:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-12 10:58 System-wide hard RLIMIT_STACK in 4.14.4+ w/ SELinux Tomáš Trnka
2017-12-12 15:44 ` Tomáš Trnka
2017-12-12 19:23 ` Kees Cook
2017-12-12 19:36   ` Tomáš Trnka [this message]
2017-12-12 19:52   ` Laura Abbott
2017-12-12 19:56     ` Kees Cook
2017-12-12 20:10       ` Laura Abbott

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=4264998.bHD3OVdLUx@electra \
    --to=trnka@scm.com \
    --cc=keescook@chromium.org \
    --cc=labbott@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmoore@redhat.com \
    --cc=sds@tycho.nsa.gov \
    --cc=torvalds@linux-foundation.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox