X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 37015385E01F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1706631061; bh=keFkmY/PG5SfdoTV+PEkdz/wvs7/R8P2cpAsgzLyLMA=; h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=kD6mZ1/OrcgO6TMwlibX7TvFg396E9LXm5ZnmeKOhm2qwl5gP0Hw+wN6wRpkB0Jxy XLYlKEK7Yhm6GNd05NKaA5Kav3+0mRQpphXJ9SRzefjCUOQS3XPXnFOkl3Sn1+Xeyd +78D2qjtwU8qcW3tHzK3MAdkWPhgPAB5l8O2qS4g= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DFA2C3858030 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DFA2C3858030 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1706631030; cv=pass; b=b09/BMiTjIzDkF1T9n+pAefMhrjtXRcatjnwZNdXfwj0CPHfMQkE/VAu6+Sj+AZMGziTmBwkN4XDBAqA7ca0NGDlu3xdZjAOPWMAOwvcJeg/JXwzE4hNL9ndsUCscVbPEc2QJuWQfu5ej3PrMhwr5dcdvdnrA9EFlFwwQJj+JpA= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1706631030; c=relaxed/simple; bh=PgDWZWag5Tcof4Qj5hdDvjlLxpzmZvXKernGHbeY804=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=SerzxHTjjTA/JXdube5p4qtq+cc79ScWlMRm7Ptw54tv08YEd+B2zl/Ha2Gi/IP0xpOC4A30CPCPaqMjTDPc0B1HPumQxONKACPlDoetnV0ZUEuPqkkbm7psToMQtuRg8BCdBNJpXqYv0RsR66wjYbZ+RtnBT74kqum0fr2XXXc= ARC-Authentication-Results: i=2; server2.sourceware.org X-CSE-ConnectionGUID: 5BullaeyQES4FAVBZA9Xyw== X-CSE-MsgGUID: L4pAoPTeS5ycVKyrVD5ZPA== X-SBRS-Extended: Low X-IronPortListener: ces-out X-IronPort-AV: E=Sophos;i="6.05,230,1701147600"; d="scan'208";a="359731764" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NUEJOscKGSePrEkagy2MhwZ6oP0FFS8rFCBVKJYpThfvtFvn4ZNhTNzzdLk5cQHCIfjcTY4mUCkbXaQawW3YvBfam0MclMyrMA3faLdeUoOq6rLpjGRSiSjkqIK7lmIIoSmsqIy9GovuHK6pLFyHY1HDOmilPrcUIn4V8WUv4ojTvwhb35FUFxVIIytwfyyMew6i/Pnc2GvDXnfNtN7tQFzjaEmZ2EiZfpKc/Nt+FqqICYyiOqR6JQFtqwNmrkrwaaESn3tpfCUMgM1X/yDf09XkM8pkPJPLnkZdPEqQytHThuMhomC9VOn/VsTI7U4T+5Wcqea1nmEn6vbK1AHajw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vPT3vk8NhFVARcl8MJTYnDGRzYg1IjWNEL26HDzS/Ww=; b=ZwiaPDlORyrU09zgSqpMFkrmh4t4jNeo1i9+3rxvjnRX3+Pcbm/b7LTImJFouyoxEfzEmUT5lkjGcH2UPXMVXAKuYa1akNi//ZqEGEsvPrwwsM+tuho8DZ5+oN1Ugwm0JkLdBVo0RVEcS1zuE+3BzrsCECmgVQ4ZMkqAhwLCo81R5PRGHA53SXiK3lwc0HN41GLQPq+R7g+k62NhossEkuF1m6DA1LH+2R8mEwi6emNTQKlzaGO/bMTqcD5WN7haKqG6+ew1ugn8UlcJ3HQRwwRp9YtyzA4nwSQ8OXFSG3506uTLu4/MO34gVd1xYZnywTKUiguaudzOY5GiB/M4Cw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ncbi.nlm.nih.gov; dmarc=pass action=none header.from=ncbi.nlm.nih.gov; dkim=pass header.d=ncbi.nlm.nih.gov; arc=none To: Steve Beck , "cygwin AT cygwin DOT com" Subject: RE: Setting process command name in forked process Thread-Topic: Setting process command name in forked process Thread-Index: AQHaUv6viKYva9CIj0OrvInOV5tcWLDxcOtA Date: Tue, 30 Jan 2024 16:10:02 +0000 Deferred-Delivery: Tue, 30 Jan 2024 16:09:06 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM8PR09MB7095:EE_|SA1PR09MB10474:EE_ x-ms-office365-filtering-correlation-id: 7a6b515e-0ee2-4819-8311-08dc21adf64e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: P4k/EazTzAPzfQPasSNh4qnfxWINn52GgPtLRwoQ4ICPOdmbRzrwDQEr1+xHnFt3m7BH4WzSGVyrV/4nySrF+xNqaguItTQrK5xotKCwzcCyNHL32Jdp+mXxzZiSfdydHLzkS0V5DU3nJdDV586cPqqjoxvtlRJUHVzH9/Qjku4VdE4wkFwBmXdTXgAfydLnK7GNNrTWzDkExrGqL/zjjhJR3waIPswlS6mVS2pi0kLrx2M7oNIyhoN5jra5lXQDVtrhC1MzcxSRo7LZTWRcjNMxc8QLTamlvmJsJntYy7mThBM3lgHqKNqddYMZsdBM5RK+XqSMcDBa93D9PkH7BCrKYk5HeYvDvNzfqxaQ7Paruz2hfafY/zLXGdGRfO0iTK3d/fiMwIaCIAlBtRLBRShgo6vAb0WyfaF6B83KFO49mR3A4CMUlwYuRReZz+6KR20XZwiie0lC5FOgDz+MsinIGCImg0JqYtHFa9j+zEtbKQuOBhAvsMgdNZiNGh5HIATwK7fXaYEngaEWwcODqNyKhZdmUV4rlP9Evcki61eOLe3HrS7AhbsqF5s12zfs9jgleHQYV679DPng9J6KWYetmUR8cXkup8e/+JfAEUbHqyiX5BaX5ta4pa1JUp7b x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM8PR09MB7095.namprd09.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(366004)(230922051799003)(451199024)(186009)(1800799012)(55016003)(26005)(38070700009)(66476007)(66446008)(498600001)(71200400001)(64756008)(9686003)(83380400001)(6506007)(7696005)(110136005)(6666004)(38100700002)(122000001)(4744005)(86362001)(76116006)(2906002)(33656002)(66946007)(8936002)(66556008)(8676002)(52536014)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?9lqXH3ZdyluaIEz3Vs5oJmafZsRJ3ygCLcSXUPKEMDUWtMppnAI2O6b9/fKj?= =?us-ascii?Q?4VMZfD8ptOGZ+6eFLFwGezEdDlnD2almAqVaXzui++UXwQqI1Dsb7b8hHEdh?= =?us-ascii?Q?XHvJrdhDWFA23fZTD/sVW01RqS5tKEEEi5IqCeA0Y04RFtUdEwbcfIDmNhx5?= =?us-ascii?Q?6963eDbuq2VIB4LTXCtdjQEo6Wnu7zrhLossBaDFpmEqKMBDejOIv2G1Zcco?= =?us-ascii?Q?TRlwe95//ypyfMCyPptbcNpz+SspAXDSS0Xy8nZlX2okznl31JY+aVILld2k?= =?us-ascii?Q?wSzUa0Y5+PKNvUXy2l0oXfE/zysUNmof5xHy6NX8udj+FXyLAZ82IGdwjCz3?= =?us-ascii?Q?MNWXGu/GoM7wQnmC5JoVF1DGbB1/0dfjR177+v+WoBdKWDeoahlnJb9xrJ0C?= =?us-ascii?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FjmRK+fui9t9oKMyXzRoxmpce9t8M3x4cVtJvOfZWMt6xCCx8gFssgEI/YL/X/fJvsgGLoR7ucL7PcQf8KOMh/sBSLbbxgbX2p X-OriginatorOrg: ncbi.nlm.nih.gov X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM8PR09MB7095.namprd09.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7a6b515e-0ee2-4819-8311-08dc21adf64e X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jan 2024 16:10:22.4698 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 14b77578-9773-42d5-8507-251ca2dc2b06 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR09MB10474 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, T_SPF_HELO_PERMERROR autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: "Lavrentiev, Anton \(NIH/NLM/NCBI\) \[C\] via Cygwin" Reply-To: "Lavrentiev, Anton \(NIH/NLM/NCBI\) \[C\]" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" > that it matters at all, I'd like to +1 the suggestion/request of picking up support for > setproctitle(3) in the next available release. >> in which case I'd prefer to implement this via setproctitle(3), given >> this API exists on BSD and Linux. Well, I don't think setproctitle(3) exists on Linux everywhere (at least not on the version that we have around here), but I second that adding it to Cygwin would be beneficial, regardless. prctl(PR_SET_NAME) exists on Linux but is very limited, so we can't even use it for our purposes... We do a hack of modifying the argv[] array, in a way different than Cygwin's, though. Anton Lavrentiev Contractor NIH/NLM/NCBI -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple