[sudo-commits] sudo changeset 13626:687a81e59fdd
Todd C. Miller
Todd.Miller at sudo.ws
Fri Nov 5 12:44:17 MDT 2021
changeset: 13626:687a81e59fdd in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/687a81e59fdd
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Fri Nov 05 12:33:20 2021 -0600
Log Message:
Separate out the code to compute the context from selinux_setup().
This makes it possible to determine whether we really need to execute
the command via the sesh helper. What was left of selinux_setup()
is now selinux_relabel_tty() and selinux_audit_role_change().
diffstat:
src/exec_monitor.c | 4 +-
src/exec_nopty.c | 4 +-
src/selinux.c | 89 ++++++++++++++++++++++-------------------------------
src/sudo.c | 15 +++++++-
src/sudo.h | 5 +-
src/sudo_edit.c | 13 ++-----
6 files changed, 61 insertions(+), 69 deletions(-)
More information about the sudo-commits
mailing list