[sudo-commits] sudo changeset 13976:0345a4137047

Todd C. Miller Todd.Miller at sudo.ws
Tue May 24 13:47:33 MDT 2022


changeset:	13976:0345a4137047 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/0345a4137047
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Tue May 24 13:43:50 2022 -0600

Log Message:
	Enable ptrace support for MIPS but only for log_subcmds.
	It is not possible to change the syscall return value on MIPS
	so we cannot support full intercept mode.
	Another complication on MIPS is that if a system call is invoked
	via syscall(__NR_###), v0 holds __NR_O32_Linux and the real syscall
	is in the first arg (a0) and other args are shifted by one.

diffstat:

 src/exec_ptrace.c |   31 +++++++++------
 src/exec_ptrace.h |  102 +++++++++++++++++++++++++++++++++++++++++++++++++----
 src/sudo_exec.h   |    3 +-
 3 files changed, 114 insertions(+), 22 deletions(-)



More information about the sudo-commits mailing list