NetBSD Problem Report #59192
From www@netbsd.org Mon Mar 17 19:04:54 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 87A721A9239
for <gnats-bugs@gnats.NetBSD.org>; Mon, 17 Mar 2025 19:04:54 +0000 (UTC)
Message-Id: <20250317190453.68E211A923C@mollari.NetBSD.org>
Date: Mon, 17 Mar 2025 19:04:53 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: setsid(2), setpgid(2): missing automatic tests
X-Send-Pr-Version: www-1.0
>Number: 59192
>Category: misc
>Synopsis: setsid(2), setpgid(2): missing automatic tests
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 17 19:05:00 +0000 2025
>Originator: Taylor R Campbell
>Release: current, 10, 9, ...
>Organization:
The NetPGID Foundabug
>Environment:
>Description:
I accidentally broke setpgid(2) (and probably setsid(2)) while sprinkling dtrace SET_ERROR probes:
https://mail-index.netbsd.org/source-changes/2025/03/16/msg155972.html
However, this didn't cause any particular tests to fail, as far as I can tell.
>How-To-Repeat:
commit a change that breaks setpgid(2)
>Fix:
Yes, please! Need some automatic tests of setsid(2) and setpgid(2).
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.