From: Stephen Smalley <sds@tycho.nsa.gov>
To: selinux@vger.kernel.org
Subject: Re: question about selinux_restore_tty() in sudo's selinux.c
Date: Fri, 27 Sep 2019 08:59:26 -0400 [thread overview]
Message-ID: <0fb7bf1f-f13b-3bec-7b91-53460dfbe265@tycho.nsa.gov> (raw)
In-Reply-To: <20190927075507.GA20555@seamus.lan>
On 9/27/19 3:55 AM, Dominick Grift wrote:
> sudo does not reset the role of my tty properly [1], and i was wondering if anyone is able to determine what is causing this [2]
>
> [1] https://bugzilla.sudo.ws/show_bug.cgi?id=898
> [2] https://www.sudo.ws/repos/sudo/file/tip/src/selinux.c
Are you sure sudo is calling selinux_restore_tty()?
next prev parent reply other threads:[~2019-09-27 12:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-27 7:55 question about selinux_restore_tty() in sudo's selinux.c Dominick Grift
2019-09-27 8:24 ` Dominick Grift
2019-09-27 13:02 ` Stephen Smalley
2019-09-27 12:59 ` Stephen Smalley [this message]
2019-09-27 13:08 ` Dominick Grift
2019-09-27 13:33 ` Stephen Smalley
2019-09-27 13:49 ` Dominick Grift
2019-09-27 13:51 ` Stephen Smalley
2019-09-27 13:57 ` Dominick Grift
2019-09-27 14:01 ` Stephen Smalley
2019-09-27 14:17 ` Stephen Smalley
2019-09-27 14:28 ` Dominick Grift
2019-09-27 14:32 ` Dominick Grift
2019-09-27 14:49 ` Stephen Smalley
2019-09-27 14:53 ` Stephen Smalley
2019-09-27 14:57 ` Dominick Grift
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=0fb7bf1f-f13b-3bec-7b91-53460dfbe265@tycho.nsa.gov \
--to=sds@tycho.nsa.gov \
--cc=selinux@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).