[sudo-commits] sudo changeset 14133:a8713dd21be9
Todd C. Miller
Todd.Miller at sudo.ws
Mon Aug 1 14:06:18 MDT 2022
changeset: 14133:a8713dd21be9 in /raid/repos/sudo
details: https://www.sudo.ws/repos/sudo/rev/a8713dd21be9
user: Todd C. Miller <Todd.Miller at sudo.ws>
date: Mon Aug 01 13:40:47 2022 -0600
Log Message:
Defer chdir(2) until sesh when running with SELinux.
We need to be running with the correct security context or the
chdir(2) may fail. GitHub issue #160.
diffstat:
src/exec.c | 22 ++++++++++++++--------
src/selinux.c | 18 +++++++++++++++---
src/sesh.c | 23 +++++++++++++++++++++--
src/sudo.c | 12 ++----------
src/sudo.h | 5 +++--
5 files changed, 55 insertions(+), 25 deletions(-)
More information about the sudo-commits
mailing list