delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/06/03/20:57:26

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4540vQZH3960130
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=tK6xLBxC
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A19BE396E833
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1717462645;
bh=NRk71Ot3G3kTKjdxltJBEMiJFITUpqEZuISw9BYlD+0=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=tK6xLBxCJl16KyaKIynC3/VkeKR/XwYdUG/rl27DSk6BIDf2BjL6Xr0ZPSP46eR28
UaTzFu5hoh2rdVIVN2BZ7UXzQ6qKKMy/EbsahS780AXJYZ8qhiMwYaClrdgTiJdtzH
WqufRU/sIQEldwLlSHJs/1ElXnawxSNzlno1nixQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C3EFD396D82F
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C3EFD396D82F
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717462625; cv=none;
b=vzEorD8YpM27Kz5UhvCtpJOXZXZwbZrlouBEIczISYlcIh/dM6h4hKGU5Zz5mGcn9ztKK/dS5g+KOLW526Y1dGDLp7fMQ29fjjPVUvH5G+3muI1/46h9+iZClsjcyX2BJ/gvoOmGFPlw5a1H+lyU0Lssdd8SNk/D/HXYPFIGJeA=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1717462625; c=relaxed/simple;
bh=uLJ5/lz+xUO0U163ZUn5FubWBOowUMbyVg8n1Ilhokc=;
h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;
b=kh1UYlIb6/JuQlJzW/hYDajlNslc7zulfPKbLIdfjC4VhtOCWrcPSf8xzPx76Rpn+U9SHWae8vPBqD1mwE/gGGyWISLL41GfiWLWmml5qPelUxKRLyRyPlI+5akEw3pW6b7SKxHmMoak3k81zMPScAuywj80pzuYH7LDSHHYqrY=
ARC-Authentication-Results: i=1; server2.sourceware.org
Date: Mon, 3 Jun 2024 17:57:00 -0700 (PDT)
X-X-Sender: jeremyd AT resin DOT csoft DOT net
To: cygwin AT cygwin DOT com
Subject: Re: mount points with whitespace are not escaped
In-Reply-To: <ea0c35ef-601f-a078-9504-4d7958f86e6c@jdrake.com>
Message-ID: <45f6e7e6-1c8e-3972-ecd9-6beebdfcc413@jdrake.com>
References: <ea0c35ef-601f-a078-9504-4d7958f86e6c AT jdrake DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_PASS, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE 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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Jeremy Drake via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jeremy Drake <cygwin AT jdrake DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Mon, 3 Jun 2024, Jeremy Drake via Cygwin wrote:

> /proc/self/mounts and /proc/self/mountinfo use octal escapes for ' ' and
> \n (I was rather surprised they didn't escape \r also, but I guess they
> don't have to because only ' ' and \n are used as delimiters):

Went looking at Linux source code, I guess they escape ' ' \n and \, and
"recently" added #
(https://github.com/torvalds/linux/commit/ed5fce76b5ea40c87b44cafbe4f3222da8ec981a)

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019