From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6295DC77B61 for ; Sun, 16 Apr 2023 23:36:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229606AbjDPXgI (ORCPT ); Sun, 16 Apr 2023 19:36:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjDPXgI (ORCPT ); Sun, 16 Apr 2023 19:36:08 -0400 Received: from pulsar.hadrons.org (2.152.192.238.dyn.user.ono.com [2.152.192.238]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7790F19B2 for ; Sun, 16 Apr 2023 16:36:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hadrons.org ; s=201908; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:From:Reply-To:Subject:Content-Type: Content-ID:Content-Description:X-Debbugs-Cc; bh=zSPa7oR8e5IcxClWoGtJohFM5BdFVbzRb6BgymXyaQE=; b=KT51DUsggcNLBFu0hNV8NboWhw 14hzk+5iq5KTaSDFQfxmQICpZwtp1Fum6RSjBcq2U0Cpu42BfiyO/whxZDW43vIZpIBntqvkhegak SoFII48nJ/2MRI5lGNpSUeF4Dl98Uh1ioAneFxLs3DdNEXm+U9QcSRv+KfBrtE4HLJRHUr6HwNhH2 pIwjdSoWIZy/H9YBBbCnP9FtvKEqKm50w5sLeoao5lBL2xwgEIiaPP/qa7bLI0bFQVGSJ43tZTBAj LHKN0/V5myF1aj/mrdq0HKuuFVCh8Izs3FecCeg9zaa+lBcrSSqDkDLzV1d4aGHNkqzEQ8wFC5XCy kewipEFQ==; Received: from guillem by pulsar.hadrons.org with local (Exim 4.96) (envelope-from ) id 1poBuf-0000sX-33; Mon, 17 Apr 2023 01:36:05 +0200 From: Guillem Jover To: Alejandro Colomar Cc: linux-man@vger.kernel.org Subject: [PATCH 1/4] proc.5: Document exact /proc/PID/exe behavior on unlinked pathnames Date: Mon, 17 Apr 2023 01:35:49 +0200 Message-Id: <20230416233552.283776-2-guillem@hadrons.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230416233552.283776-1-guillem@hadrons.org> References: <20230416233552.283776-1-guillem@hadrons.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org Add the space which gets appended before the "(deleted)" marker. Signed-off-by: Guillem Jover --- man5/proc.5 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man5/proc.5 b/man5/proc.5 index dc5397a22..1947957ad 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -634,7 +634,7 @@ to run another copy of the same executable that is being run by process .IR pid . If the pathname has been unlinked, the symbolic link will contain the -string \[aq](deleted)\[aq] appended to the original pathname. +string \[aq] (deleted)\[aq] appended to the original pathname. .\" The following was still true as at kernel 2.6.13 In a multithreaded process, the contents of this symbolic link are not available if the main thread has already terminated -- 2.40.0