[16903] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #8618] git commit

daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Tue Oct 3 15:58:12 2023

From: "Greg Hudson via RT" <rt@krbdev.mit.edu>
In-Reply-To: 
Message-ID: <rt-4.4.3-2-2507871-1696363063-1041.8618-5-0@mit.edu>
To: "AdminCc of krbdev.mit.edu Ticket #8618":;
Date: Tue, 03 Oct 2023 15:57:43 -0400
MIME-Version: 1.0
Reply-To: rt@krbdev.mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu


<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8618 >


Properly mirror child exit status in ksu

ksu attempts to exit with the same status as its child process, but
does not do so correctly.  Use WEXITSTATUS() to extract the exit code.
Reported by Todd Lubin.

https://github.com/krb5/krb5/commit/03c7df6fc683c68975db46c7afaa24f1a9a05fae
Author: Greg Hudson <ghudson@mit.edu>
Commit: 03c7df6fc683c68975db46c7afaa24f1a9a05fae
Branch: master
 src/clients/ksu/main.c   | 2 +-
 src/clients/ksu/t_ksu.py | 8 +++++---
 2 files changed, 6 insertions(+), 4 deletions(-)

_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs

home help back first fref pref prev next nref lref last post