Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Wernher von Braun settled for a V-2 when he coulda had a V-8.


devel / comp.os.msdos.djgpp / Re: Error handling in __djgpp_set_page_attributes()

SubjectAuthor
* Re: Error handling in __djgpp_set_page_attributes()Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com]
+* Re: Error handling in __djgpp_set_page_attributes()Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com]
|`* Re: Error handling in __djgpp_set_page_attributes()Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com]
| `* Re: Error handling in __djgpp_set_page_attributes()Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com]
|  `* Re: Error handling in __djgpp_set_page_attributes()Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com]
|   `* Re: Error handling in __djgpp_set_page_attributes()Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com]
|    `* Re: Error handling in __djgpp_set_page_attributes()Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com]
|     `* Re: Error handling in __djgpp_set_page_attributes()Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com]
|      `* Re: Error handling in __djgpp_set_page_attributes()Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com]
|       `* Re: Error handling in __djgpp_set_page_attributes()Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com]
|        `- Re: Error handling in __djgpp_set_page_attributes()Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com]
`* Re: Error handling in __djgpp_set_page_attributes()J.W. Jagersma (jwjagersma@gmail.com) [via djgpp@delorie.com]
 `- Re: Error handling in __djgpp_set_page_attributes()Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com]

1
Re: Error handling in __djgpp_set_page_attributes()

<86edb9pjka.fsf@gnu.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=497&group=comp.os.msdos.djgpp#497

  copy link   Newsgroups: comp.os.msdos.djgpp
Path: i2pn2.org!i2pn.org!news.swapon.de!news.mixmin.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!193.141.40.65.MISMATCH!npeer.as286.net!npeer-ng0.as286.net!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 13 Apr 2024 11:51:35 +0000
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp@delorie.com
X-Recipient: dj@delorie.com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=skdcwjJ2KWspiX6VH/7ZhfbgY6xA9PVWI7ebPa0hhe4=; b=hTpb5Kd26c26
H6mj+o4SMGYThvbYCqytJGI7YzANr0icBYEIOLTj6UUZFMfj4swxEtnwRutCwZk5SQLuAP7tVZCB5
kvqFsn/4QfT1dmcppUGxPr4JeB93ZwQ9ZpaSi/J1dG0m7gBWDgQkSi0TaIv6kWMNbY5j9DBz1psAQ
rvfU5b6kPo40tVc/DiOCfszMg1nc4b1m6rkFpqbXhZTUdBRXfboFLkxg1sVRX70QO8sFIa/c6/7zC
0rLWdaem9Z2/B8iWg9z4LFdihYYdK48ECijPuKFDvA+kx8AkyEP2fWusKp3ljRR4gBsVz9FyKzZIz
WuURMedtizQkv1uoZd47VQ==;
Date: Sat, 13 Apr 2024 14:51:17 +0300
Message-Id: <86edb9pjka.fsf@gnu.org>
From: djg...@delorie.com (Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com])
To: Pali <pali@pali.im>
Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
In-Reply-To: <20240413103741.wpz7cy3ff3uaflo6@pali> (message from Pali on Sat,
13 Apr 2024 12:37:41 +0200)
Subject: Re: Error handling in __djgpp_set_page_attributes()
References: <20240413103741.wpz7cy3ff3uaflo6@pali>
Reply-To: djgpp@delorie.com
Errors-To: nobody@delorie.com
X-Mailing-List: djgpp@delorie.com
X-Unsubscribes-To: listserv@delorie.com
Precedence: bulk
Newsgroups: comp.os.msdos.djgpp
Organization: None provided
DJ-Gateway: from mailing list djgpp@delorie.com
Lines: 12
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-LL9v7JsLZJyqCgkr3BSAAUIcn73+bZbQ0OUXCW6kqfBibhqeeskJaJIBG+LQqIBMoU5tIcEzp/rXQ5n!1pRQFgCpBc0LLsB6eXXQ12JO4+imizINwU9r4Ot12jU9
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 2695
 by: Eli Zaretskii (eliz@ - Sat, 13 Apr 2024 11:51 UTC

> Date: Sat, 13 Apr 2024 12:37:41 +0200
> From: Pali <pali@pali.im>
> Cc: djgpp@delorie.com
>
> Hello, I have there a change for __djgpp_set_page_attributes() function
> which sets more sane errno value on different failures. Could you look
> at it if it is useful?

Thanks. I think this can be useful, but I'd prefer to keep the style
of having just one exit point in this function. So could you please
rewrite the patch so that the various conditions only set errno, and
still "goto fail"?

Re: Error handling in __djgpp_set_page_attributes()

<865xwlpio5.fsf@gnu.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=498&group=comp.os.msdos.djgpp#498

  copy link   Newsgroups: comp.os.msdos.djgpp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!69.80.99.22.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 13 Apr 2024 12:10:46 +0000
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp@delorie.com
X-Recipient: dj@delorie.com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=d0AYakCr3/RvSgk50lHHghpEk58QabpPHfIXtZvWXGw=; b=G1HvRdv+Na8o XWUc2IU+r3NIbRBe5ExUyeGONCjMroz+CGjT3P3sSvXK/Z9QHYvIXT51ZDrvvM0uoCyVMsZFx6Z3+ FWF0gqrlMN3KHTN3FKh5sJkQ9mDKnc0+i+Zog/Ui4vLcgIwc2yKhS79falIYAMYLCRGekVPjs+Aiu sIkgadrxUCCeEITz4fdK2H+6/6/tzOyGEJGbSO7VdmwdT/JlrwKQeXjnBky2VRS9tm1sAvZsPiehl Ai8mDkwTjntN2t60oS8/eSq64MnxG30FoSu+iH4VkZRHj4gHG5dkogX8aJjqvHM0wH0jC58Eh5GrV FpfBCJanv+p/ik+ncMsXjw==;
Date: Sat, 13 Apr 2024 15:10:34 +0300
Message-Id: <865xwlpio5.fsf@gnu.org>
From: djg...@delorie.com (Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com])
To: Pali <pali@pali.im>
Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
In-Reply-To: <20240413120109.bbs63syonlprvmw4@pali> (message from Pali on Sat, 13 Apr 2024 14:01:09 +0200)
Subject: Re: Error handling in __djgpp_set_page_attributes()
References: <20240413103741.wpz7cy3ff3uaflo6@pali> <86edb9pjka.fsf@gnu.org> <20240413120109.bbs63syonlprvmw4@pali>
Reply-To: djgpp@delorie.com
Errors-To: nobody@delorie.com
X-Mailing-List: djgpp@delorie.com
X-Unsubscribes-To: listserv@delorie.com
Precedence: bulk
Newsgroups: comp.os.msdos.djgpp
Organization: None provided
DJ-Gateway: from mailing list djgpp@delorie.com
Lines: 102
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-XUsGzkDQ+XQ2lHbxN16ZZcQGDAGxWcFyQQdSuomIBYh7+oa/PYq5vFYOMSRmnj7I4tC50uAQs7UK5G1!M6IdJqDYXBzsakJolJ+7QDlUxCxVpRaAjaDQCaJ6jZA/
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: Eli Zaretskii (eliz@ - Sat, 13 Apr 2024 12:10 UTC

> Date: Sat, 13 Apr 2024 14:01:09 +0200
> From: Pali <pali@pali.im>
> Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
>
> On Saturday 13 April 2024 14:51:17 Eli Zaretskii wrote:
> > > Date: Sat, 13 Apr 2024 12:37:41 +0200
> > > From: Pali <pali@pali.im>
> > > Cc: djgpp@delorie.com
> > >
> > > Hello, I have there a change for __djgpp_set_page_attributes() function
> > > which sets more sane errno value on different failures. Could you look
> > > at it if it is useful?
> >
> > Thanks. I think this can be useful, but I'd prefer to keep the style
> > of having just one exit point in this function. So could you please
> > rewrite the patch so that the various conditions only set errno, and
> > still "goto fail"?
>
> Ok. Something like this?

Yes, but:

>
> --- src/libc/dpmi/helper/setattr.c
> +++ src/libc/dpmi/helper/setattr.c
> @@ -28,7 +28,7 @@ __djgpp_set_page_attributes (void *_our_addr, unsigned long _num_bytes,
> || ((_attributes & 0x3) == 2))
> {
> errno = EINVAL;
> - return -1;
> + goto fail;
> }
>
> /* Set up an array of page attribute information. */
> @@ -50,7 +50,17 @@ __djgpp_set_page_attributes (void *_our_addr, unsigned long _num_bytes,
> /* Find the memory handle corresponding to the first byte. */
> d = __djgpp_memory_handle (p);
> if (d == NULL)
> - goto fail;
> + {
> + errno = EFAULT;
> + goto fail;
> + }
> +
> + /* Base address of the memory handle must be page aligned too. */
> + if (d->address & 0xfff)
> + {
> + errno = EFAULT;
> + goto fail;
> + }
>
> /* Find the last byte in the range that's also in the same
> * memory handle as our current starting byte. We start with
> @@ -68,7 +78,10 @@ __djgpp_set_page_attributes (void *_our_addr, unsigned long _num_bytes,
> /* Find the memory handle corresponding to this test byte. */
> d2 = __djgpp_memory_handle (handle_end_addr);
> if (d2 == NULL)
> - goto fail;
> + {
> + errno = EFAULT;
> + goto fail;
> + }
>
> /* Is this test byte in the same handle as the first byte? */
> if (d2->handle == d->handle)
> @@ -81,9 +94,35 @@ __djgpp_set_page_attributes (void *_our_addr, unsigned long _num_bytes,
> meminfo.handle = d->handle;
> meminfo.size = num_pages2;
> meminfo.address = p - d->address;
> - if (__dpmi_set_page_attributes (&meminfo, attr)
> - || meminfo.size != num_pages2)
> - goto fail;
> + if (__dpmi_set_page_attributes (&meminfo, attr))
> + {
> + switch (__dpmi_error)
> + {
> + case 0x0507: /* Unsupported function (returned by DPMI 0.9 host, error number is same as DPMI function number) */
> + case 0x8001: /* Unsupported function (returned by DPMI 1.0 host) */
> + errno = ENOSYS;
> + break;
> + case 0x8002: /* Invalid state (page in wrong state for request) */
> + errno = EFAULT;
> + break;
> + case 0x8010: /* Resource unavailable (DPMI host cannot allocate internal resources to complete an operation) */
> + case 0x8013: /* Physical memory unavailable */
> + case 0x8014: /* Backing store unavailable */
> + errno = ENOMEM;
> + break;
> + case 0x8021: /* Invalid value (illegal request in bits 0-2 of one or more page attribute words) */
> + errno = EINVAL;
> + break;
> + case 0x8023: /* Invalid handle (in ESI) */
> + case 0x8025: /* Invalid linear address (specified range is not within specified block) */
> + errno = EFAULT;
> + break;
> + default: /* Other unspecified error */
> + errno = EIO;
> + break;

Why EIO and not the original EACCES?

Also, can you collect all EFAULT cases in the switch together?

Re: Error handling in __djgpp_set_page_attributes()

<d9e5c783-01bc-4cdb-913c-d44668401a8a@gmail.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=499&group=comp.os.msdos.djgpp#499

  copy link   Newsgroups: comp.os.msdos.djgpp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!69.80.99.27.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 13 Apr 2024 14:59:44 +0000
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp@delorie.com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713020371; x=1713625171; darn=delorie.com; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=NADVtVrm/rqqXhoEIYUW7i4h+rakhvCqdaHIzyg6074=; b=kUbIFxuEOwFjsAG2nAa2jIbyknitGZrvrnh5jRmFOurwNQJRRcz3Khp5mpIBTjXFFd 7n1mpm3pa7PH+N4fyNvAGuurJEhGXAOHnoFqfh4PTTO/wyQeLv3gKDLtuIFuCmiz8z0T JZPi8WJzivNgHtlOByOQXYDSqq3H2WBiePO/Ah1eT2vCy/bJPVTzXRtETfhqmgnho7Bh tVWxXfaGKfPJzD7lZlz8LSLA4e1POrWvG4YeXeagP49t1rdQHDSnSEW5FB9434sqJMqQ 6Wa6doLzxGIm1AZIkcjABYa1MEBVNlNKuBKXJQn7W+WV2/EAxsyxtpU4KbCdIPuHDBpi pK8A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713020371; x=1713625171; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NADVtVrm/rqqXhoEIYUW7i4h+rakhvCqdaHIzyg6074=; b=aCHl7Kcw0Ud2UgKG2gu5//x7t7oAPEIJ+hxXPB7Anl1bS5CHFw2pBc0aXPDPNG/fHt 4eVsKk2PJykLh90oMafQW4YgqmpBs1+nADpGzbT45gsSQxJKAE7A/7CHEIOL1kGdHzlV 7Ax3rWNLPsrdTbpbpXEsMELGd4VeGhCEqTrt/NCqadnz9u9C1vTT6kUIqwD/iwEYHR3x cAnvpxoJpvt9eTnMn2m5+lnd9mqB2tprOrpw9LP8RXY/nydDosX5ASLMlnMWzW0GZPj3 wo79i9jsES7bmeOHdygE98Vg8ERzwScgWnZIExaj34aps3BJ8aoMGAPdroSBsMYnVug1 77+w==
X-Gm-Message-State: AOJu0Yw4IPaBuEkVUM67ytLkG7huRMQKHRSq13Z07TWxZzpUPT6daUKy 1Nvs36MZn551RUsXzWT9H4hgBddkLPPCxOcf3x1Nqd6Zlo0qBcEqnwgSjQ==
X-Google-Smtp-Source: AGHT+IHONBGVoE1isWWpRI9vA+4T2bQJorXVx6RFcLhqrp/4JE195tiBjzfy372h/C2KugAymYPO8A==
X-Received: by 2002:ac2:46fc:0:b0:518:bc7c:4137 with SMTP id q28-20020ac246fc000000b00518bc7c4137mr437136lfo.0.1713020370470; Sat, 13 Apr 2024 07:59:30 -0700 (PDT)
Message-ID: <d9e5c783-01bc-4cdb-913c-d44668401a8a@gmail.com>
Date: Sat, 13 Apr 2024 16:59:29 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Error handling in __djgpp_set_page_attributes()
To: djgpp@delorie.com, Pali <pali@pali.im>
References: <20240413103741.wpz7cy3ff3uaflo6@pali> <86edb9pjka.fsf@gnu.org>
Content-Language: en-US
From: djg...@delorie.com (J.W. Jagersma (jwjagersma@gmail.com) [via djgpp@delorie.com])
In-Reply-To: <86edb9pjka.fsf@gnu.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Reply-To: djgpp@delorie.com
Errors-To: nobody@delorie.com
X-Mailing-List: djgpp@delorie.com
X-Unsubscribes-To: listserv@delorie.com
Precedence: bulk
Newsgroups: comp.os.msdos.djgpp
Organization: None provided
DJ-Gateway: from mailing list djgpp@delorie.com
Lines: 12
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-qgtpPRGZWT280EmKruoI9JYxDe33bGOvTlwFgVj2DXpfnYWOn1pVyTh1i8jDNYvk3iSkz0yFjWTc5GF!Gt4SIAfa8SQhEzXfzg0y1bcHn+5SEuUD7W6ixCmSc8l0gF4augSLhoVXp+4vrTymXacbuHX1Ih6A
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: J.W. Jagersma (jwjag - Sat, 13 Apr 2024 14:59 UTC

On 2024-04-13 13:51, Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com] wrote:
>> Date: Sat, 13 Apr 2024 12:37:41 +0200
>> From: Pali <pali@pali.im>
>> Cc: djgpp@delorie.com

Just wanted to point out, I haven't received any of Pali's messages on
this list. They also don't appear in the archives:

https://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp/2024/04/13

Not sure what's going wrong there.

Re: Error handling in __djgpp_set_page_attributes()

<86wmp1ntzy.fsf@gnu.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=500&group=comp.os.msdos.djgpp#500

  copy link   Newsgroups: comp.os.msdos.djgpp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!69.80.99.22.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 13 Apr 2024 15:49:03 +0000
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp@delorie.com
X-Recipient: dj@delorie.com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=jmIJTJEaDoTL2g1xIk29+7UJd3z+NFO/KtOO7ZtRxvI=; b=O8daiXubK9X9 esKxjAID4/KRbUjuNTWfDUArudNlN8WTHwiXs2h3QGyZ25ooKq18YdSU/lNgKwNwuhlpL90CfLSe6 vjtWs2NGST6lU1wDw5vnkJs9nOabm/SWmk54HqzivafccJP49056P3+p/a5MoOagE5iztzlVlkEmG SaHw1J+WZFRXYxF6dMBBPTleoZ3Tnk+5ZJPk5K5CHpztgOoVedJe2E7UnYdJPx7teHICb/hE1YadD YszaUYoS93B/G1XdSPc2bWqG+l+hjdIEQD0bpPWOiaR1EAfFPTQDdvjPqq825EhjHqu26e2geX+1x rYYLIPROfcacS1T4EqHfXQ==;
Date: Sat, 13 Apr 2024 18:48:49 +0300
Message-Id: <86wmp1ntzy.fsf@gnu.org>
From: djg...@delorie.com (Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com])
To: dj@delorie.com
Cc: djgpp@delorie.com, pali@pali.im
In-Reply-To: <d9e5c783-01bc-4cdb-913c-d44668401a8a@gmail.com> (djgpp@delorie.com)
Subject: Re: Error handling in __djgpp_set_page_attributes()
References: <20240413103741.wpz7cy3ff3uaflo6@pali> <86edb9pjka.fsf@gnu.org> <d9e5c783-01bc-4cdb-913c-d44668401a8a@gmail.com>
Reply-To: djgpp@delorie.com
Errors-To: nobody@delorie.com
X-Mailing-List: djgpp@delorie.com
X-Unsubscribes-To: listserv@delorie.com
Precedence: bulk
Newsgroups: comp.os.msdos.djgpp
Organization: None provided
DJ-Gateway: from mailing list djgpp@delorie.com
Lines: 16
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-eOWuEGM1PTkpFTkVdz20RWQDSWHtWWUs88kT72OV9cFDhBQdeGX93lyNwD4HcYsRynK5DoGbb8ye/2Q!mY7FCaLsoU3d2dEyPaHrWucPy/AC0s1o/IPuwJXSzjUS
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: Eli Zaretskii (eliz@ - Sat, 13 Apr 2024 15:48 UTC

> Date: Sat, 13 Apr 2024 16:59:29 +0200
> From: "J.W. Jagersma (jwjagersma@gmail.com) [via djgpp@delorie.com]" <djgpp@delorie.com>
>
> On 2024-04-13 13:51, Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com] wrote:
> >> Date: Sat, 13 Apr 2024 12:37:41 +0200
> >> From: Pali <pali@pali.im>
> >> Cc: djgpp@delorie.com
>
> Just wanted to point out, I haven't received any of Pali's messages on
> this list. They also don't appear in the archives:
>
> https://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp/2024/04/13
>
> Not sure what's going wrong there.

DJ, is there something wrong with the list server?

Re: Error handling in __djgpp_set_page_attributes()

<86v84lntr7.fsf@gnu.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=501&group=comp.os.msdos.djgpp#501

  copy link   Newsgroups: comp.os.msdos.djgpp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!69.80.99.27.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 13 Apr 2024 15:54:20 +0000
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp@delorie.com
X-Recipient: dj@delorie.com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=yjtQhHG3fc8WPlwNN90mazdzihEDC8tbjFKM/dT4kbQ=; b=IVEc3/SN5dQ7 yuvF0sFXmjmjfpp9rofI2uxeEQ0qU0IUb0b6y0/OvJv5FkGI/YxIX8M/BTbdFRUgXcsvKgZfHGyEi 0Yz0iQrJzpIjlg4Tsh+RB9898pYIGWKwOvKqR3NCd7bz2puaWF7iFbU/Wnb+pWVfE9af2PA8kFhQm bvThirXUYsaxXoXyXmpJecWGstmKXMBtsHasqwSQ/Nu+RQyUel1wPDpxQFPIddZXgr6gu+8mmU43i mneX2gi4Q03OTJzPeaTCRM68vIkEywye1eFHFr0pejmgL9OFTS1jHwFDAbwqwnU5qwj7nI/ZuF/qR G+bQULaLd5F9wHvTDR/l7A==;
Date: Sat, 13 Apr 2024 18:54:04 +0300
Message-Id: <86v84lntr7.fsf@gnu.org>
From: djg...@delorie.com (Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com])
To: Pali <pali@pali.im>
Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
In-Reply-To: <20240413122345.sq2ua43ugmshrlhv@pali> (message from Pali on Sat, 13 Apr 2024 14:23:45 +0200)
Subject: Re: Error handling in __djgpp_set_page_attributes()
References: <20240413103741.wpz7cy3ff3uaflo6@pali> <86edb9pjka.fsf@gnu.org> <20240413120109.bbs63syonlprvmw4@pali> <865xwlpio5.fsf@gnu.org> <20240413122345.sq2ua43ugmshrlhv@pali>
Reply-To: djgpp@delorie.com
Errors-To: nobody@delorie.com
X-Mailing-List: djgpp@delorie.com
X-Unsubscribes-To: listserv@delorie.com
Precedence: bulk
Newsgroups: comp.os.msdos.djgpp
Organization: None provided
DJ-Gateway: from mailing list djgpp@delorie.com
Lines: 25
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-s5Bey6BTeNi8QtuzDp1YpK4oiwFXMlXK303iy+RTUS/KnGO0MNl9pk4d0XXqnQANeMSx7ispPBHvGuU!vzFVJ+dhtXhuhBkpVCMJkGEegzJwwIYqib3ByNcJImr0
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: Eli Zaretskii (eliz@ - Sat, 13 Apr 2024 15:54 UTC

> Date: Sat, 13 Apr 2024 14:23:45 +0200
> From: Pali <pali@pali.im>
> Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
>
> On Saturday 13 April 2024 15:10:34 Eli Zaretskii wrote:
> > > + default: /* Other unspecified error */
> > > + errno = EIO;
> > > + break;
> >
> > Why EIO and not the original EACCES?
>
> EACCES is "Permission denied" error.

I believe it's "Access denied" ("Permission denied" is EPERM).

EACCES was what we returned previously, isn't it? So why is it bad to
fall back on it? EIO is basically inappropriate at least the same as
EACCES: there's no "I/O" here, right?

> > Also, can you collect all EFAULT cases in the switch together?
>
> I sorted cases by dpmi error values. But EFAULT cases can be grouped
> easily, for example by moving case 0x8002 above case 0x8023.

Yes, please.

Re: Error handling in __djgpp_set_page_attributes()

<86h6g4o638.fsf@gnu.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=502&group=comp.os.msdos.djgpp#502

  copy link   Newsgroups: comp.os.msdos.djgpp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!69.80.99.26.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 14 Apr 2024 05:40:10 +0000
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp@delorie.com
X-Recipient: dj@delorie.com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=MnIzGzijbkzw1UCG+e1MxXmSRoqwceWUSlY+uNFdKF8=; b=En6Tcoq+wxv6 4ECWtCxVyflSb9/cEmiEmE1FyzqUMkuklx0Awu8+gB7zlivr7kTQph5BcWHvcAeIjudLzj1ioAEmt nD81qrByrv8xScfuYoCz3zsmh6D2Rr7nmDzBhT+2q8sjWd2o4YAPW+P5ltoZyouAgoEy8NiuPhfwE s8NSqM3BfBEJphSjSC5BL5Ax5nXOXRDsRqxFk3HI1ywWuIsRg7BzjXlfSbWS+xcVPTUk1Ja5stkqk RdXSligkHBwF9RDsRStqGQDClhdADZlFdFB+bWQGWt2V6e7k18YX4FRLRESdY4SHeNXzneQtMYY7A 7SYDz295LP8QXAjsbC4Vvg==;
Date: Sun, 14 Apr 2024 08:39:55 +0300
Message-Id: <86h6g4o638.fsf@gnu.org>
From: djg...@delorie.com (Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com])
To: Pali <pali@pali.im>
Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
In-Reply-To: <20240413225744.sxdwqpaipq5acj3n@pali> (message from Pali on Sun, 14 Apr 2024 00:57:44 +0200)
Subject: Re: Error handling in __djgpp_set_page_attributes()
References: <20240413103741.wpz7cy3ff3uaflo6@pali> <86edb9pjka.fsf@gnu.org> <20240413120109.bbs63syonlprvmw4@pali> <865xwlpio5.fsf@gnu.org> <20240413122345.sq2ua43ugmshrlhv@pali> <86v84lntr7.fsf@gnu.org> <20240413225744.sxdwqpaipq5acj3n@pali>
Reply-To: djgpp@delorie.com
Errors-To: nobody@delorie.com
X-Mailing-List: djgpp@delorie.com
X-Unsubscribes-To: listserv@delorie.com
Precedence: bulk
Newsgroups: comp.os.msdos.djgpp
Organization: None provided
DJ-Gateway: from mailing list djgpp@delorie.com
Lines: 64
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-gcQe9bL6k4UKN2XwTElJ1UkOitaj5UpXQ/T8t5AN3wHUdFnSlDjSOLStmHmyJKzVLXsBMvn1IkgV9MG!8sXwi7OF237eVNDtThHUY+fZSzBZYYopamxAMuhR0u3P
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: Eli Zaretskii (eliz@ - Sun, 14 Apr 2024 05:39 UTC

> Date: Sun, 14 Apr 2024 00:57:44 +0200
> From: Pali <pali@pali.im>
> Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
>
> On Saturday 13 April 2024 18:54:04 Eli Zaretskii wrote:
> > > Date: Sat, 13 Apr 2024 14:23:45 +0200
> > > From: Pali <pali@pali.im>
> > > Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
> > >
> > > On Saturday 13 April 2024 15:10:34 Eli Zaretskii wrote:
> > > > > + default: /* Other unspecified error */
> > > > > + errno = EIO;
> > > > > + break;
> > > >
> > > > Why EIO and not the original EACCES?
> > >
> > > EACCES is "Permission denied" error.
> >
> > I believe it's "Access denied" ("Permission denied" is EPERM).
>
> EACCES is "Permission denied" error. Now I checked it via
> strerror(EACCES) call on both DJGPP and Linux runtimes.
>
> EPERM is "Operation not permitted" error.
>
> But this is quite interesting, I was looking at differences between
> EACCES and EPERM. Here are links to POSIX and GNU definitions:
>
> https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_03
> https://www.gnu.org/software/libc/manual/html_node/Error-Codes.html
>
> My understanding is that EACCES is an error caused by rwx file access
> permission check (e.g. opening file for writing which is marked as
> read-only, without w bit) and EPERM is an error caused by limited
> ownership (e.g. killing process of other user).
>
> So in my opinion both EACCES and EPERM are not good choices for this
> case of "other unspecified error".

EACCES is the DOS and Windows "generic" errno value, and is ubiquitous
on those two systems. Reading Posix references will not tell you the
whole story, since the "native" error codes on DOS and Windows are
quite different, and converting them to Posix codes is not always
trivial. That is why we see EACCES so much, and I believe that's why
the original code used it.

> > EACCES was what we returned previously, isn't it? So why is it bad to
> > fall back on it?
>
> Because I think that "Permission denied" error is misleading.
>
> > EIO is basically inappropriate at least the same as
> > EACCES: there's no "I/O" here, right?
>
> I see what you mean. I thought that EIO could be used for some generic
> error when changing page attributes, as it is doing some I/O operations
> on page tables. But I really do not know now. I/O term is mostly used
> when doing some kind of disk I/O operation.

I still think falling back on EACCES is the best way here. Since
every error that we can reasonably interpret now has its correct errno
value, what happens in the default case is really not important, and
leaving the default as it was before is slightly more backward
compatible, IMO.

Re: Error handling in __djgpp_set_page_attributes()

<861q78nuk3.fsf@gnu.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=503&group=comp.os.msdos.djgpp#503

  copy link   Newsgroups: comp.os.msdos.djgpp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 14 Apr 2024 09:49:19 +0000
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp@delorie.com
X-Recipient: dj@delorie.com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=4n4PN8MO4+OZTxMioXh/cFIwkQK6SjzRxeu8ERZa4w8=; b=sdjM9hzQCUNz
SNUJ4A+ASBhIc+Zb/gVU8hohQToeZuaHq261j45Rj6x2fiuQA1xbJ682R+PhL+iyuhkitl+1z6A8w
WVh0sVlVvwPR32KyZN7B5gpyKgIqKdotB0hEUzdaDwXQqtS9D8guoz9Ly/ntj+6jaZy4FJqxtQdVK
LDL6RunNO5pAJYQ8ID/Al48fhk9Ivy7In3LaPs3iDzfkroJLuswQJrCGmOn+8GEj82LKG9VpDMPxO
oQPz1NhwPphx+yIgax+TfusfnGqwGXr2MHanL6QVrNkK7+3E6q20DuHpaogxMVMc7Tv3YBH0i/aHY
Hb9kYJ/+2t6CmJajC02++A==;
Date: Sun, 14 Apr 2024 12:49:00 +0300
Message-Id: <861q78nuk3.fsf@gnu.org>
From: djg...@delorie.com (Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com])
To: Pali <pali@pali.im>
Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
In-Reply-To: <20240414082932.pm4hht4c5agcysou@pali> (message from Pali on Sun,
14 Apr 2024 10:29:32 +0200)
Subject: Re: Error handling in __djgpp_set_page_attributes()
References: <20240413103741.wpz7cy3ff3uaflo6@pali>
<86edb9pjka.fsf@gnu.org>
<20240413120109.bbs63syonlprvmw4@pali>
<865xwlpio5.fsf@gnu.org>
<20240413122345.sq2ua43ugmshrlhv@pali>
<86v84lntr7.fsf@gnu.org>
<20240413225744.sxdwqpaipq5acj3n@pali>
<86h6g4o638.fsf@gnu.org> <20240414082932.pm4hht4c5agcysou@pali>
Reply-To: djgpp@delorie.com
Errors-To: nobody@delorie.com
X-Mailing-List: djgpp@delorie.com
X-Unsubscribes-To: listserv@delorie.com
Precedence: bulk
Newsgroups: comp.os.msdos.djgpp
Organization: None provided
DJ-Gateway: from mailing list djgpp@delorie.com
Lines: 8
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-1lOugSPD/QbG7UMWgzC3JvttpXFHratbdEC6WlxkTDVwBw0iLuBYp6SkhYaI0/vP1nPoJN4+xJlGzc8!zvmsH5hVn6INvlYiVtA9Gt5sIVCUX5J27FFvUvZmFizi
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 2669
 by: Eli Zaretskii (eliz@ - Sun, 14 Apr 2024 09:49 UTC

> Date: Sun, 14 Apr 2024 10:29:32 +0200
> From: Pali <pali@pali.im>
> Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
>
> Here is the modification which returns EACCES as generic error and move
> EFAULT errors into one case. I hope that everything is fixed now.

Thanks, installed.

Re: Error handling in __djgpp_set_page_attributes()

<86sezome63.fsf@gnu.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=504&group=comp.os.msdos.djgpp#504

  copy link   Newsgroups: comp.os.msdos.djgpp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 14 Apr 2024 10:28:32 +0000
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp@delorie.com
X-Recipient: dj@delorie.com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=/iDHsTE3XBibVA5HGuholdyIroxrGibjWGIjfzeiqMo=; b=Rqnh3T5HQpPe
h6rz2+C4MK7awPeHJlY0u/1jh7h/2sgKOwbUnxjsE1sjqrI5o0bGiVQIZHJPoqRk10/2s7pdu4s6t
Tc/MoOZEqaD66WWsdUOa/zSXcPYoXw2UdDQiZscejlEMRMc22772gtSlBuxiv4xHY1JmJV+yHYWvo
m6DGP9P5N8DR8GfIEm8vbNioqwjVvo2qU667yORmOsATdm76bRoyfWXcx77bQTQslX5UXPTkp89R3
KN3iPuYPydSq4IwjVSH3rOOZTMIefwOuZplhq+VD/9kdXZ8knJcV8PDaFEA6Fyyt4JzRE8+c/wGiz
DMBvZH3a2trhr1F6Hayq/Q==;
Date: Sun, 14 Apr 2024 13:28:20 +0300
Message-Id: <86sezome63.fsf@gnu.org>
From: djg...@delorie.com (Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com])
To: Pali <pali@pali.im>
Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
In-Reply-To: <20240414100331.yv4eqcr2ruhfbslk@pali> (message from Pali on Sun,
14 Apr 2024 12:03:31 +0200)
Subject: Re: Error handling in __djgpp_set_page_attributes()
References: <20240413103741.wpz7cy3ff3uaflo6@pali>
<86edb9pjka.fsf@gnu.org>
<20240413120109.bbs63syonlprvmw4@pali>
<865xwlpio5.fsf@gnu.org>
<20240413122345.sq2ua43ugmshrlhv@pali>
<86v84lntr7.fsf@gnu.org>
<20240413225744.sxdwqpaipq5acj3n@pali>
<86h6g4o638.fsf@gnu.org>
<20240414082932.pm4hht4c5agcysou@pali>
<861q78nuk3.fsf@gnu.org> <20240414100331.yv4eqcr2ruhfbslk@pali>
Reply-To: djgpp@delorie.com
Errors-To: nobody@delorie.com
X-Mailing-List: djgpp@delorie.com
X-Unsubscribes-To: listserv@delorie.com
Precedence: bulk
Newsgroups: comp.os.msdos.djgpp
Organization: None provided
DJ-Gateway: from mailing list djgpp@delorie.com
Lines: 13
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-pyUHtmc/DmI+LT0/XM06hY8YRt0hByUs71JbMd2v58uIzFg21vs2BWGQv55J+x1XcKtJytqNIW1lqgF!IoWyGbJObQKTqA2n6uUktmaa0TNJlkt0Pk1w/q0mrXJh
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 2984
 by: Eli Zaretskii (eliz@ - Sun, 14 Apr 2024 10:28 UTC

> Date: Sun, 14 Apr 2024 12:03:31 +0200
> From: Pali <pali@pali.im>
> Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
>
> I would propose to also update documentation for this function
> __djgpp_set_page_attributes to include all important information.

I think it's too much detail. We never describe errno values in such
detail anywhere else, do we? It's also a maintenance burden:
"Someone" will need to make sure the documentation is updated when the
code changes.

Why did you think this was important to spell out?

Re: Error handling in __djgpp_set_page_attributes()

<86r0f8makl.fsf@gnu.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=505&group=comp.os.msdos.djgpp#505

  copy link   Newsgroups: comp.os.msdos.djgpp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 14 Apr 2024 11:46:22 +0000
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp@delorie.com
X-Recipient: dj@delorie.com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=cvGOtGL537BwSVAJZz/EUnWQA1/I8EKgF5iA+x2AK+g=; b=Ct2jc/3cabUw
xx5TKTIdQGy+ap/xwqB9mJfyx6sgRpwob3Dc/3LarBHNtxC6DgY3T1rxflIQZvBm2Fq0j/h2RVCxt
B7z1rzPMvGZeYQ4t+lox0HbjWxPGiKzvqpx/V9e5SQMojc/mV3V/V9gXhrwTV4mkDmn5MVkC5iERw
1Ik5d/j7hiJpw7EM+sJ9pTtH2oP3hZLWqTpq5omkCm1xb3CibE7wzQxbx47wLS5DRz2KVFFHtc/vl
BtTVkjIAWBSjRparkTXqgRDmmhfotivep99Rnjn1QnQDlDQJbqlEout8URDt72kp+87LFJ1qKyJdC
3NlRGXYP2L9qIB7WIJ7HkA==;
Date: Sun, 14 Apr 2024 14:46:02 +0300
Message-Id: <86r0f8makl.fsf@gnu.org>
From: djg...@delorie.com (Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com])
To: Pali <pali@pali.im>
Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
In-Reply-To: <20240414104251.bjvvmf2qzvhus3ug@pali> (message from Pali on Sun,
14 Apr 2024 12:42:51 +0200)
Subject: Re: Error handling in __djgpp_set_page_attributes()
References: <20240413120109.bbs63syonlprvmw4@pali>
<865xwlpio5.fsf@gnu.org>
<20240413122345.sq2ua43ugmshrlhv@pali>
<86v84lntr7.fsf@gnu.org>
<20240413225744.sxdwqpaipq5acj3n@pali>
<86h6g4o638.fsf@gnu.org>
<20240414082932.pm4hht4c5agcysou@pali>
<861q78nuk3.fsf@gnu.org>
<20240414100331.yv4eqcr2ruhfbslk@pali>
<86sezome63.fsf@gnu.org> <20240414104251.bjvvmf2qzvhus3ug@pali>
Reply-To: djgpp@delorie.com
Errors-To: nobody@delorie.com
X-Mailing-List: djgpp@delorie.com
X-Unsubscribes-To: listserv@delorie.com
Precedence: bulk
Newsgroups: comp.os.msdos.djgpp
Organization: None provided
DJ-Gateway: from mailing list djgpp@delorie.com
Lines: 10
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-MCsge55At5YkKbN6RFubqOXCQIs2XEucnS1ot5E5WpMpsXi8kRcfl6cSrULHp+ayZpx4k+yaxqMXUHM!MxGbSTWocZAzqwZzRVxcgYWd1cYIJZFr73og/r2zWNde
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 2890
 by: Eli Zaretskii (eliz@ - Sun, 14 Apr 2024 11:46 UTC

> Date: Sun, 14 Apr 2024 12:42:51 +0200
> From: Pali <pali@pali.im>
> Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
>
> What I think is important: include information that out_addr/num_bytes
> address range must belong to sbrk allocator. This is something hard to
> figure out without reading the source code of the function.

What other allocator there can be in DJGPP? I thought all allocations
go through sbrk, isn't that so?

Re: Error handling in __djgpp_set_page_attributes()

<86jzl0m5x8.fsf@gnu.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=506&group=comp.os.msdos.djgpp#506

  copy link   Newsgroups: comp.os.msdos.djgpp
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 14 Apr 2024 13:27:01 +0000
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp@delorie.com
X-Recipient: dj@delorie.com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=uE53oEs6AvfpxjHBOMtBowbU8YQ1zm8Hse3TyAXap0E=; b=RLP8bBww8p4d
EoYATEPEB3CSR57pBleLP31N/bmGT1gj0oyyLCr+lYhfRL1qOMqNMbjDg/EvyAF2s3TaQ0rxFy5tT
9NlB/v00ZoBJMnkLQBHgs7Jz5c1MoaHOZ4PFDfR0hh3qp3HVCOKwB7n9iXORcc82Sjr3A4qRoda85
KA8BWtYEXWnKH5zg4mdgeTXTk6zhG+Lmr8obIG3QaqG6balTOVjtWHZ6ar3X79CBMuaRutDK0T4+f
aBrLfE2IlMjzjDZ13qoDdKBtXM7p6Av5uw92IH8vMrqBTGjBCXHKF+qeIMsjb4tr4WwE/CLeZsZsW
JaeBpM9Ec/0oqhMILbzMjA==;
Date: Sun, 14 Apr 2024 16:26:27 +0300
Message-Id: <86jzl0m5x8.fsf@gnu.org>
From: djg...@delorie.com (Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com])
To: Pali <pali@pali.im>
Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
In-Reply-To: <20240414121034.h34pjed3s3udathh@pali> (message from Pali on Sun,
14 Apr 2024 14:10:34 +0200)
Subject: Re: Error handling in __djgpp_set_page_attributes()
References: <20240413122345.sq2ua43ugmshrlhv@pali>
<86v84lntr7.fsf@gnu.org>
<20240413225744.sxdwqpaipq5acj3n@pali>
<86h6g4o638.fsf@gnu.org>
<20240414082932.pm4hht4c5agcysou@pali>
<861q78nuk3.fsf@gnu.org>
<20240414100331.yv4eqcr2ruhfbslk@pali>
<86sezome63.fsf@gnu.org>
<20240414104251.bjvvmf2qzvhus3ug@pali>
<86r0f8makl.fsf@gnu.org> <20240414121034.h34pjed3s3udathh@pali>
Reply-To: djgpp@delorie.com
Errors-To: nobody@delorie.com
X-Mailing-List: djgpp@delorie.com
X-Unsubscribes-To: listserv@delorie.com
Precedence: bulk
Newsgroups: comp.os.msdos.djgpp
Organization: None provided
DJ-Gateway: from mailing list djgpp@delorie.com
Lines: 37
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-VoqRJKe3H3T/xd3EN7IRR6zMY7mrOwxJw7BhuhYoh6Ma1w+MTGSa2NeSsUXTlE2sf34UhCSuqXUk0n3!WhQG/EgO+i9LIKwkagnIHAPgzyRxn2yf2pROJuCNfG3t
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 4310
 by: Eli Zaretskii (eliz@ - Sun, 14 Apr 2024 13:26 UTC

> Date: Sun, 14 Apr 2024 14:10:34 +0200
> From: Pali <pali@pali.im>
> Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
>
> On Sunday 14 April 2024 14:46:02 Eli Zaretskii wrote:
> > > Date: Sun, 14 Apr 2024 12:42:51 +0200
> > > From: Pali <pali@pali.im>
> > > Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
> > >
> > > What I think is important: include information that out_addr/num_bytes
> > > address range must belong to sbrk allocator. This is something hard to
> > > figure out without reading the source code of the function.
> >
> > What other allocator there can be in DJGPP? I thought all allocations
> > go through sbrk, isn't that so?
>
> __djgpp_set_page_attributes function takes our_addr argument and it was
> not clear for me what it is. Current documentation refers to the DPMI
> 0507H function, which takes memory handle and offset in it, which
> describes linear memory. __djgpp_set_page_attributes on the other hand
> expects for that out_addr is the offset in the DS segment and is doing
> translation to memory handle + offset by looking into sbrk allocator
> (via _djgpp_memory_handle).

So I think it's important to say that the OUT_ADDR is the offset from
the DS segment base, and use 'sbrk' and 'malloc' as examples of
functions that return such addresses, in contrast to
__dpmi_allocate_linear_memory and similar APIs. IOW, say that offsets
from DS are the requirement, and use 'sbrk' etc. as examples of
satisfying the requirement. The fact that __djgpp_set_page_attributes
translates to linear addresses is also worth mentioning.

> Important is that it is from allocator (not from any other source).

AFAIU, this is not a requirement. For example, if I know that offset
0x1000 from DS belongs to the program's address space (as it usually
is), I can use that as OUT_ADDR. Right?

Re: Error handling in __djgpp_set_page_attributes()

<86il0km2y9.fsf@gnu.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=507&group=comp.os.msdos.djgpp#507

  copy link   Newsgroups: comp.os.msdos.djgpp
Path: i2pn2.org!i2pn.org!news.neodome.net!npeer.as286.net!npeer-ng0.as286.net!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 14 Apr 2024 14:30:55 +0000
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp@delorie.com
X-Recipient: dj@delorie.com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=K1EliDMNHYggq0uwMECODliDz6d2PXvwrE6UOp6A/mI=; b=IpU1ARjNEzim
sh/uUFOd9j7VMExa1tX2GDuh960R+aPGJVpa76JXgWEOXB6aH9hPGtGaigpOa8o2jal0kDKEVtCaM
YzdLoUCOMcHrcud0rsdUTCUxNOZ8SoGAMiU9GbkTkQWbfTgdseK7ZO8kX5RhKRpeAlQIOrwIvi9/+
WbGxpkW95cFp1wOMEPOFE4/JHui23CJaPG368VDW93awqJuCKNB5i+sfJya+moNTjlBC6NQhwEEPU
i4R3D8pEnRbe7A0qzfD1+7uRMH8zWfS+kHK+cxgtxI6BE8K38Ler05jMBW4TaLr8rX9EG1uqntdmc
cKaxtsUTSgkE8nPEuwYajA==;
Date: Sun, 14 Apr 2024 17:30:38 +0300
Message-Id: <86il0km2y9.fsf@gnu.org>
From: djg...@delorie.com (Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com])
To: Pali <pali@pali.im>
Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
In-Reply-To: <20240414134915.k77cmfrcycetjsm5@pali> (message from Pali on Sun,
14 Apr 2024 15:49:15 +0200)
Subject: Re: Error handling in __djgpp_set_page_attributes()
References: <20240413225744.sxdwqpaipq5acj3n@pali>
<86h6g4o638.fsf@gnu.org>
<20240414082932.pm4hht4c5agcysou@pali>
<861q78nuk3.fsf@gnu.org>
<20240414100331.yv4eqcr2ruhfbslk@pali>
<86sezome63.fsf@gnu.org>
<20240414104251.bjvvmf2qzvhus3ug@pali>
<86r0f8makl.fsf@gnu.org>
<20240414121034.h34pjed3s3udathh@pali>
<86jzl0m5x8.fsf@gnu.org> <20240414134915.k77cmfrcycetjsm5@pali>
Reply-To: djgpp@delorie.com
Errors-To: nobody@delorie.com
X-Mailing-List: djgpp@delorie.com
X-Unsubscribes-To: listserv@delorie.com
Precedence: bulk
Newsgroups: comp.os.msdos.djgpp
Organization: None provided
DJ-Gateway: from mailing list djgpp@delorie.com
Lines: 57
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-nl5txxi711MNOKW/qhmLug+JZxti1zZ28F+ttTIX4kltznhh9kWk7cYwmIwSJM/kg8B2dMSCxFyD/+c!g+pFaPSZCmC+mq4P7oAC4aV82vKxf1SzpKdswtQWvE7I
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 5221
 by: Eli Zaretskii (eliz@ - Sun, 14 Apr 2024 14:30 UTC

> Date: Sun, 14 Apr 2024 15:49:15 +0200
> From: Pali <pali@pali.im>
> Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
>
> > So I think it's important to say that the OUT_ADDR is the offset from
> > the DS segment base, and use 'sbrk' and 'malloc' as examples of
> > functions that return such addresses, in contrast to
> > __dpmi_allocate_linear_memory and similar APIs. IOW, say that offsets
> > from DS are the requirement, and use 'sbrk' etc. as examples of
> > satisfying the requirement. The fact that __djgpp_set_page_attributes
> > translates to linear addresses is also worth mentioning.
> >
> > > Important is that it is from allocator (not from any other source).
> >
> > AFAIU, this is not a requirement. For example, if I know that offset
> > 0x1000 from DS belongs to the program's address space (as it usually
> > is), I can use that as OUT_ADDR. Right?
>
> If the memory offset 0x1000 from DS comes from the allocator (as it
> usually is, created during startup) then it would work. But if the
> offset, lets say 0x100000 from DS is behind the last byte allocated by
> sbrk then it would fail.
>
> It would fail because translation is done by _djgpp_memory_handle
> function and it works by looking into memory handles which were
> allocated by 'sbrk'.

But isn't the DS segment memory allocated via calls to 'sbrk', and
aren't its memory handles kept in __djgpp_memory_handle?

For example, when we read the executable code of a DJGPP program into
DPMI memory at startup, don't we allocate that memory via 'sbrk' and
store the handle in __djgpp_memory_handle?

> If you take uncommited memory via __dpmi_allocate_linear_memory function
> then it would not be from the allocator but still can be expressed as an
> offset from the DS.

I didn't mean just _any_ offset, I meant memory that is known to be
committed.

> Note that when __djgpp_nearptr_enable function was called and succeeded
> then any offset in 4GB address space is valid for DS, so also the memory
> obtained from the __dpmi_allocate_linear_memory function is
> automatically in the DS segment.

I didn't mean "fat DS", there's no need to take what I say ad
absurdum. All I meant to say was that the address can come in some
other way, not just via a direct call to 'sbrk' or 'malloc'.

> Anyway, similar documentation update was already done to the function
> __djgpp_map_physical_memory which basically uses same code pattern as
> __djgpp_set_page_attributes. And therefore has same requirements for
> our_addr/num_bytes parameters.

That could mean we should make the same changes there as well. Unless
I'm wrong in what I say above.

Re: Error handling in __djgpp_set_page_attributes()

<86zftuk6pm.fsf@gnu.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=508&group=comp.os.msdos.djgpp#508

  copy link   Newsgroups: comp.os.msdos.djgpp
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!newsfeed.hasname.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!69.80.99.23.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 15 Apr 2024 15:05:16 +0000
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp@delorie.com
X-Recipient: dj@delorie.com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=d6C4zEIqyavROpj3+CUBfdXqaxLGSnPSMILkXeGj4q8=; b=O4GQdLBleXT1 k5X91z7SR1QXFxE1jktkoRznkcdToO2jXCuomVuL2GrR9aB4JBbn832VKHUX8d4rYHxuJ+fBXaBFt zxINj6G6UZYrpNR5mHprlcNNrqdarxyRKFtLXa9OJvUA01o8yONS2Q5vRQ+dvbRZKxUmNY4+xAuoX AP2pWyCTEuJulNmDQYV2RWkKvIUEsIjC+OM8K8rvdozRhIUXln6ysATaGHd2QzXtAX/y59MxW3P5c JUTaCPanuJe5SKXcWHDZDFozRBwCl2UvjG12ICxt3XU4cCTQCH4uY0t5NVmXJZIFiX3w8zov9msSQ daZgYYG6+3OGcJOsjL4wSQ==;
Date: Mon, 15 Apr 2024 18:04:37 +0300
Message-Id: <86zftuk6pm.fsf@gnu.org>
From: djg...@delorie.com (Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com])
To: Pali <pali@pali.im>
Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
In-Reply-To: <20240414151845.xaaqybjtxnzyup6h@pali> (message from Pali on Sun, 14 Apr 2024 17:18:45 +0200)
Subject: Re: Error handling in __djgpp_set_page_attributes()
References: <861q78nuk3.fsf@gnu.org> <20240414100331.yv4eqcr2ruhfbslk@pali> <86sezome63.fsf@gnu.org> <20240414104251.bjvvmf2qzvhus3ug@pali> <86r0f8makl.fsf@gnu.org> <20240414121034.h34pjed3s3udathh@pali> <86jzl0m5x8.fsf@gnu.org> <20240414134915.k77cmfrcycetjsm5@pali> <86il0km2y9.fsf@gnu.org> <20240414150520.4zua5mzxjjmat67r@pali> <20240414151845.xaaqybjtxnzyup6h@pali>
Reply-To: djgpp@delorie.com
Errors-To: nobody@delorie.com
X-Mailing-List: djgpp@delorie.com
X-Unsubscribes-To: listserv@delorie.com
Precedence: bulk
Newsgroups: comp.os.msdos.djgpp
Organization: None provided
DJ-Gateway: from mailing list djgpp@delorie.com
Lines: 8
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-bIK6gywZK862/Ow+IQPrTR5cnSwH5aY7fCS8iWVZTtEnI+RiXABRMZG2ukpF3EX9pJ+Ou/FaDYDr+Ku!VqfUHee69Zj8Wy4UNXml0CmcnndyGSwQVDphWby5oZy+
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: Eli Zaretskii (eliz@ - Mon, 15 Apr 2024 15:04 UTC

> Date: Sun, 14 Apr 2024 17:18:45 +0200
> From: Pali <pali@pali.im>
> Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
>
> What about this description? It is better?

Yes. But you haven't fixed the two earlier comments: about the
"address range" part and about @: after "e.g.".

Re: Error handling in __djgpp_set_page_attributes()

<86o7a7djom.fsf@gnu.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=509&group=comp.os.msdos.djgpp#509

  copy link   Newsgroups: comp.os.msdos.djgpp
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 18 Apr 2024 10:56:15 +0000
X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: dj@delorie.com
X-Recipient: djgpp@delorie.com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=zJnbw6e+rsmMbUzXuCg24ZTHeltXeOGu/v2Rm94GJJs=; b=O+05E12lRo+0
7vMKZiv7xRRkOoJoru97cb2KsNdiAew8vEjYKFzc/qsNF+sg+bFMrlMMclAjYhgb4ji6Z8+oo2cdP
ML362W4tWqWw8QmZzFtRObQMaWR3tB5VUmDmERKxps5KS7jyLHUygWwRmLAh1i1xixZUwCpVNZdWi
uAULXaz+Mz0d1aanRMP3z8Pe/gNre3MO/agH4SKTUoPs/++Pj8Wtr09ioTUfyT//J+KxFuhEky+sR
6Pdqo/P7lZkb0HngBEsN14PmTYRgetIAENyXas4cIHdE+XncOOK3Dh/t9koprPK6y8D3PpXISSNsr
Y40T58pQ9hCOjQo6oNK25w==;
Date: Thu, 18 Apr 2024 13:55:21 +0300
Message-Id: <86o7a7djom.fsf@gnu.org>
From: djg...@delorie.com (Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com])
To: djgpp@delorie.com
Cc: pali@pali.im, dj@delorie.com, sezeroz@gmail.com
In-Reply-To: <86zftuk6pm.fsf@gnu.org> (djgpp@delorie.com)
Subject: Re: Error handling in __djgpp_set_page_attributes()
References: <861q78nuk3.fsf@gnu.org>
<20240414100331.yv4eqcr2ruhfbslk@pali>
<86sezome63.fsf@gnu.org>
<20240414104251.bjvvmf2qzvhus3ug@pali>
<86r0f8makl.fsf@gnu.org>
<20240414121034.h34pjed3s3udathh@pali>
<86jzl0m5x8.fsf@gnu.org>
<20240414134915.k77cmfrcycetjsm5@pali>
<86il0km2y9.fsf@gnu.org>
<20240414150520.4zua5mzxjjmat67r@pali> <20240414151845.xaaqybjtxnzyup6h@pali>
<86zftuk6pm.fsf@gnu.org>
Reply-To: djgpp@delorie.com
Errors-To: nobody@delorie.com
X-Mailing-List: djgpp@delorie.com
X-Unsubscribes-To: listserv@delorie.com
Precedence: bulk
Newsgroups: comp.os.msdos.djgpp
Organization: None provided
DJ-Gateway: from mailing list djgpp@delorie.com
Lines: 16
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-LtsMJ46a+goHwJSV1WZw+6yaEmTEBIYyUfoXu4kuMpY9t75TMU7QV4fYXVy9i4oQM3Mftze9Wu1UJxm!iL0UkosrFWAmHsl8SW25XaNyE32/rK4iJ4XE5/Pg1AW0
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: Eli Zaretskii (eliz@ - Thu, 18 Apr 2024 10:55 UTC

> Date: Mon, 15 Apr 2024 18:04:37 +0300
> From: "Eli Zaretskii (eliz@gnu.org) [via djgpp@delorie.com]" <djgpp@delorie.com>
> Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
>
> > Date: Sun, 14 Apr 2024 17:18:45 +0200
> > From: Pali <pali@pali.im>
> > Cc: dj@delorie.com, sezeroz@gmail.com, djgpp@delorie.com
> >
> > What about this description? It is better?
>
> Yes. But you haven't fixed the two earlier comments: about the
> "address range" part and about @: after "e.g.".

Never mind, I fixed those myself and installed the changes.

Thanks.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor