aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/syscons/rain/rain_saver.c
diff options
context:
space:
mode:
authorOsvaldo Janeri Filho <ojanerif@amd.com>2026-10-20 22:04:17 +0000
committerMark Johnston <markj@FreeBSD.org>2026-10-20 22:05:31 +0000
commit06abe08de45d251410949eac1bbb025367275260 (patch)
tree1e78fb13c5f501051628992e6e5de4f5c4223e25 /sys/dev/syscons/rain/rain_saver.c
parent6f051f0e56feba19731adfa6f6bd2a098b5091de (diff)
pam_exec: fix the stderr close test and avoid a double closeHEADmain
The cleanup tested cherr[0] when closing cherr[1]. The parent also closed chin[0]/chout[1]/cherr[1] after pdfork() without clearing them, so the out: cleanup path closed them again. Clear each fd after closing and test the right one. Reviewed by: des, markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D60924
Diffstat (limited to 'sys/dev/syscons/rain/rain_saver.c')
0 files changed, 0 insertions, 0 deletions