Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Experience has proved that some people indeed know everything." -- Russell Baker


computers / comp.os.vms / Re: RMS and SSIO (again)

SubjectAuthor
* RMS and SSIO (again)Greg Tinkler
`* Re: RMS and SSIO (again)Vitaly Pustovetov
 `* Re: RMS and SSIO (again)Greg Tinkler
  `* Re: RMS and SSIO (again)Vitaly Pustovetov
   `* Re: RMS and SSIO (again)Greg Tinkler
    +* Re: RMS and SSIO (again)Arne Vajhøj
    |`* Re: RMS and SSIO (again)Greg Tinkler
    | `* Re: RMS and SSIO (again)Arne Vajhøj
    |  `* Re: RMS and SSIO (again)Greg Tinkler
    |   +* Re: RMS and SSIO (again)John Reagan
    |   |`- Re: RMS and SSIO (again)Greg Tinkler
    |   `- Re: RMS and SSIO (again)Arne Vajhøj
    +* Re: RMS and SSIO (again)Hein RMS van den Heuvel
    |+- Re: RMS and SSIO (again)Greg Tinkler
    |+- Re: RMS and SSIO (again)Simon Clubley
    |`* Re: RMS and SSIO (again)VAXman-
    | +- Re: RMS and SSIO (again)Simon Clubley
    | `- Re: RMS and SSIO (again)VAXman-
    `* Re: RMS and SSIO (again)Vitaly Pustovetov
     `* Re: RMS and SSIO (again)Greg Tinkler
      +* Re: RMS and SSIO (again)Arne Vajhøj
      |`* Re: RMS and SSIO (again)Greg Tinkler
      | +- Re: RMS and SSIO (again)Greg Tinkler
      | `* Re: RMS and SSIO (again)Arne Vajhøj
      |  `* Re: RMS and SSIO (again)Greg Tinkler
      |   +* Re: RMS and SSIO (again)Simon Clubley
      |   |`* Re: RMS and SSIO (again)Simon Clubley
      |   | +* Re: RMS and SSIO (again)Arne Vajhøj
      |   | |`* Re: RMS and SSIO (again)Simon Clubley
      |   | | `* Re: RMS and SSIO (again)Arne Vajhøj
      |   | |  `- Re: RMS and SSIO (again)Arne Vajhøj
      |   | `* Re: RMS and SSIO (again)Simon Clubley
      |   |  `* Re: RMS and SSIO (again)John Reagan
      |   |   `- Re: RMS and SSIO (again)Robert A. Brooks
      |   `* Re: RMS and SSIO (again)Arne Vajhøj
      |    `- Re: RMS and SSIO (again)Greg Tinkler
      `* Re: RMS and SSIO (again)Vitaly Pustovetov
       `* Re: RMS and SSIO (again)Greg Tinkler
        +- Re: RMS and SSIO (again)Simon Clubley
        `* Re: RMS and SSIO (again)Hein RMS van den Heuvel
         `* Re: RMS and SSIO (again)Greg Tinkler
          `* Re: RMS and SSIO (again)Simon Clubley
           `* Re: RMS and SSIO (again)Greg Tinkler
            `- Re: RMS and SSIO (again)Simon Clubley

Pages:12
Re: RMS and SSIO (again)

<00B6EA66.93F44B9D@SendSpamHere.ORG>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20011&group=comp.os.vms#20011

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!pr9o9uw/KLhPSFYv2ok3sg.user.46.165.242.75.POSTED!not-for-mail
From: VAXm...@SendSpamHere.ORG
Newsgroups: comp.os.vms
Subject: Re: RMS and SSIO (again)
Date: Tue, 11 Jan 2022 16:26:45 GMT
Organization: c.2021 Brian Schenkenberger. Prior employers of copyright holder and their agents must first obtain written permission to copy this posting.
Message-ID: <00B6EA66.93F44B9D@SendSpamHere.ORG>
References: <bd6dd595-2126-443f-b6e5-ff6571fa0ed2n@googlegroups.com> <197bfb7f-9d05-4401-930e-156997da3d34n@googlegroups.com> <1fc75079-5ef7-4f9d-9cba-49d57771e11cn@googlegroups.com> <5b77404b-9e88-472a-b170-00c9b99dfd8dn@googlegroups.com> <6994c600-f1ab-495a-84fe-82efe8508016n@googlegroups.com> <38aacc74-522d-4038-ab19-f6b81cbf83f9n@googlegroups.com> <00B6EA47.797F1A37@SendSpamHere.ORG>
Reply-To: VAXman- @SendSpamHere.ORG
Injection-Info: gioia.aioe.org; logging-data="14604"; posting-host="pr9o9uw/KLhPSFYv2ok3sg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: VAXm...@SendSpamHere.ORG - Tue, 11 Jan 2022 16:26 UTC

In article <srk23s$nbg$2@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>On 2022-01-11, VAXman- @SendSpamHere.ORG <VAXman-@SendSpamHere.ORG> wrote:
>> In article <srhv8g$td8$5@dont-email.me>, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>>>
>>>Switching between Executive and User modes is not free, especially when
>>>you are emulating Executive mode. :-)
>>
>> Huh?
>>
>
>Mode transitions are not free Brian, especially when you are emulating
>Executive mode, as will be the case on x86-64 VMS.

Do they over-emphasis pedantry in the British schools or did you just have
a rough potty training period?

--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.

Re: RMS and SSIO (again)

<srkj4r$m7g$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20014&group=comp.os.vms#20014

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: RMS and SSIO (again)
Date: Tue, 11 Jan 2022 18:43:39 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <srkj4r$m7g$2@dont-email.me>
References: <srk2oj$nbg$3@dont-email.me> <memo.20220111154414.4948J@jgd.cix.co.uk>
Injection-Date: Tue, 11 Jan 2022 18:43:39 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="659c0f4c439a4e168a1983d4d24355ab";
logging-data="22768"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18TGj5tpQFGDxg5F6skxClZXkNqzBMAXcQ="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:7iomSt+oCJYB6hy2jNIDnfcTtFc=
 by: Simon Clubley - Tue, 11 Jan 2022 18:43 UTC

On 2022-01-11, John Dallman <jgd@cix.co.uk> wrote:
> In article <srk2oj$nbg$3@dont-email.me>,
> clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley) wrote:
>
>> Having all the ASLR/KASLR/mandatory access control security in
>> Linux is a very good thing and it should be present in VMS as well.
>
> VMS C 7.4-1, which is current for Alpha and Itanium, also appears to lack
> any form of stack canary system.
>

There was a discussion about this at the time of the DCL CVE and
it turned out there was nothing like this in the DEC compilers.

However, at that time, John was planning to add this to the LLVM
based compilers at some point. I don't know the current status of that.

> Is there a way to mark stacks as non-executable?
>

Do any of the DEC compilers generate code that executes on the stack
at runtime ?

BTW, am I the only one who thinks it's a pity that stacks don't grow
upwards towards higher addresses instead of downwards towards lower
addresses, and with a guard page at the top of the space allocated to
the stack ?

After all, when using virtual memory, the space allocated to the stack
isn't actually allocated from memory until its needed.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: RMS and SSIO (again)

<61ddd26c$0$703$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20015&group=comp.os.vms#20015

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 11 Jan 2022 13:54:29 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Subject: Re: RMS and SSIO (again)
Content-Language: en-US
Newsgroups: comp.os.vms
References: <srk2oj$nbg$3@dont-email.me>
<memo.20220111154414.4948J@jgd.cix.co.uk> <srkj4r$m7g$2@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <srkj4r$m7g$2@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 35
Message-ID: <61ddd26c$0$703$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: fe86227d.news.sunsite.dk
X-Trace: 1641927276 news.sunsite.dk 703 arne@vajhoej.dk/68.9.63.232:64055
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 11 Jan 2022 18:54 UTC

On 1/11/2022 1:43 PM, Simon Clubley wrote:
> BTW, am I the only one who thinks it's a pity that stacks don't grow
> upwards towards higher addresses instead of downwards towards lower
> addresses, and with a guard page at the top of the space allocated to
> the stack ?
>
> After all, when using virtual memory, the space allocated to the stack
> isn't actually allocated from memory until its needed.

I think:

K stack
E stack
S stack
U stack
unused
U heap

is more logical than:

stop
unused
U stack
S stack
E stack
K stack
unused
U heap

:-)

Arne

Re: RMS and SSIO (again)

<srkkj8$m7g$4@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20017&group=comp.os.vms#20017

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: RMS and SSIO (again)
Date: Tue, 11 Jan 2022 19:08:24 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <srkkj8$m7g$4@dont-email.me>
References: <srk2oj$nbg$3@dont-email.me> <memo.20220111154414.4948J@jgd.cix.co.uk> <srkj4r$m7g$2@dont-email.me> <61ddd26c$0$703$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 11 Jan 2022 19:08:24 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="659c0f4c439a4e168a1983d4d24355ab";
logging-data="22768"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182m4tP54/VMaRU3Sof+BZCUpK5QQGqc70="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:uEanPAnkq/t6cBAhyJryzAcXJYk=
 by: Simon Clubley - Tue, 11 Jan 2022 19:08 UTC

On 2022-01-11, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 1/11/2022 1:43 PM, Simon Clubley wrote:
>> BTW, am I the only one who thinks it's a pity that stacks don't grow
>> upwards towards higher addresses instead of downwards towards lower
>> addresses, and with a guard page at the top of the space allocated to
>> the stack ?
>>
>> After all, when using virtual memory, the space allocated to the stack
>> isn't actually allocated from memory until its needed.
>
> I think:
>
> K stack
> E stack
> S stack
> U stack
> unused
> U heap
>
> is more logical than:
>
> stop
> unused
> U stack
> S stack
> E stack
> K stack
> unused
> U heap
>
>:-)
>
> Arne
>

You appear to be thinking in the above diagram that they are all part of
one big stack.

That's not correct because the multiple stacks outside of user space
all have their own allocated address ranges with page protections to match.

Even if they were contiguous, one stack couldn't grow into another stack
and there's no reason why the other non-user stacks couldn't grow upwards
within their own allocated address ranges either.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: RMS and SSIO (again)

<61ddd9a6$0$698$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20018&group=comp.os.vms#20018

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 11 Jan 2022 14:25:19 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Subject: Re: RMS and SSIO (again)
Content-Language: en-US
Newsgroups: comp.os.vms
References: <srk2oj$nbg$3@dont-email.me>
<memo.20220111154414.4948J@jgd.cix.co.uk> <srkj4r$m7g$2@dont-email.me>
<61ddd26c$0$703$14726298@news.sunsite.dk> <srkkj8$m7g$4@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <srkkj8$m7g$4@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 58
Message-ID: <61ddd9a6$0$698$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: db20318f.news.sunsite.dk
X-Trace: 1641929126 news.sunsite.dk 698 arne@vajhoej.dk/68.9.63.232:65263
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 11 Jan 2022 19:25 UTC

On 1/11/2022 2:08 PM, Simon Clubley wrote:
> On 2022-01-11, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 1/11/2022 1:43 PM, Simon Clubley wrote:
>>> BTW, am I the only one who thinks it's a pity that stacks don't grow
>>> upwards towards higher addresses instead of downwards towards lower
>>> addresses, and with a guard page at the top of the space allocated to
>>> the stack ?
>>>
>>> After all, when using virtual memory, the space allocated to the stack
>>> isn't actually allocated from memory until its needed.
>>
>> I think:
>>
>> K stack
>> E stack
>> S stack
>> U stack
>> unused
>> U heap
>>
>> is more logical than:
>>
>> stop
>> unused
>> U stack
>> S stack
>> E stack
>> K stack
>> unused
>> U heap
>>
>> :-)
>
> You appear to be thinking in the above diagram that they are all part of
> one big stack.

No. 4 items called stack means 4 stacks.

But they are all in P1 space - together with a lot of other stuff
not shown - including DCL.

> That's not correct because the multiple stacks outside of user space
> all have their own allocated address ranges with page protections to match.

KES stacks do have fixed size - similar to MT U stacks.

But they are still in P1 space.

> Even if they were contiguous, one stack couldn't grow into another stack
> and there's no reason why the other non-user stacks couldn't grow upwards
> within their own allocated address ranges either.

The KES stacks could be filled up from the bottom instead of from the top.

But I still think it would look weird to have P1 filled up from 0x4000000.

Arne

Re: RMS and SSIO (again)

<61dddaf5$0$700$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20019&group=comp.os.vms#20019

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 11 Jan 2022 14:30:53 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Subject: Re: RMS and SSIO (again)
Content-Language: en-US
Newsgroups: comp.os.vms
References: <srk2oj$nbg$3@dont-email.me>
<memo.20220111154414.4948J@jgd.cix.co.uk> <srkj4r$m7g$2@dont-email.me>
<61ddd26c$0$703$14726298@news.sunsite.dk> <srkkj8$m7g$4@dont-email.me>
<61ddd9a6$0$698$14726298@news.sunsite.dk>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <61ddd9a6$0$698$14726298@news.sunsite.dk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 63
Message-ID: <61dddaf5$0$700$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: db20318f.news.sunsite.dk
X-Trace: 1641929462 news.sunsite.dk 700 arne@vajhoej.dk/68.9.63.232:65418
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 11 Jan 2022 19:30 UTC

On 1/11/2022 2:25 PM, Arne Vajhøj wrote:
> On 1/11/2022 2:08 PM, Simon Clubley wrote:
>> On 2022-01-11, Arne Vajhøj <arne@vajhoej.dk> wrote:
>>> On 1/11/2022 1:43 PM, Simon Clubley wrote:
>>>> BTW, am I the only one who thinks it's a pity that stacks don't grow
>>>> upwards towards higher addresses instead of downwards towards lower
>>>> addresses, and with a guard page at the top of the space allocated to
>>>> the stack ?
>>>>
>>>> After all, when using virtual memory, the space allocated to the stack
>>>> isn't actually allocated from memory until its needed.
>>>
>>> I think:
>>>
>>> K stack
>>> E stack
>>> S stack
>>> U stack
>>> unused
>>> U heap
>>>
>>> is more logical than:
>>>
>>> stop
>>> unused
>>> U stack
>>> S stack
>>> E stack
>>> K stack
>>> unused
>>> U heap
>>>
>>> :-)
>>
>> You appear to be thinking in the above diagram that they are all part of
>> one big stack.
>
> No. 4 items called stack means 4 stacks.
>
> But they are all in P1 space - together with a lot of other stuff
> not shown - including DCL.
>
>> That's not correct because the multiple stacks outside of user space
>> all have their own allocated address ranges with page protections to
>> match.
>
> KES stacks do have fixed size - similar to MT U stacks.
>
> But they are still in P1 space.
>
>> Even if they were contiguous, one stack couldn't grow into another stack
>> and there's no reason why the other non-user stacks couldn't grow upwards
>> within their own allocated address ranges either.
>
> The KES stacks could be filled up from the bottom instead of from the top.
>
> But I still think it would look weird to have P1 filled up from 0x4000000.

And there is the practical point of growing from the ends allowing the
division between P0 and P1 to adjust as needed.

Arne

Re: RMS and SSIO (again)

<61ddedc6$0$699$14726298@news.sunsite.dk>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20022&group=comp.os.vms#20022

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 11 Jan 2022 15:51:17 -0500
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Subject: Re: RMS and SSIO (again)
Content-Language: en-US
Newsgroups: comp.os.vms
References: <bd6dd595-2126-443f-b6e5-ff6571fa0ed2n@googlegroups.com>
<197bfb7f-9d05-4401-930e-156997da3d34n@googlegroups.com>
<1fc75079-5ef7-4f9d-9cba-49d57771e11cn@googlegroups.com>
<5b77404b-9e88-472a-b170-00c9b99dfd8dn@googlegroups.com>
<6994c600-f1ab-495a-84fe-82efe8508016n@googlegroups.com>
<19db90fd-a5f6-49ba-b143-21641ca070cbn@googlegroups.com>
<3682bea3-18bc-465e-a1fe-263646543f39n@googlegroups.com>
<61db9615$0$698$14726298@news.sunsite.dk>
<6ea58245-e1e5-4ff3-af42-6e36a0897040n@googlegroups.com>
<61dc8644$0$698$14726298@news.sunsite.dk>
<748e0d0e-9a7b-45b7-aa28-45a876d59123n@googlegroups.com>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <748e0d0e-9a7b-45b7-aa28-45a876d59123n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 12
Message-ID: <61ddedc6$0$699$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: f861c72a.news.sunsite.dk
X-Trace: 1641934278 news.sunsite.dk 699 arne@vajhoej.dk/68.9.63.232:52658
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Tue, 11 Jan 2022 20:51 UTC

On 1/10/2022 6:11 PM, Greg Tinkler wrote:
> What it does is fix the issue SSIO was built to solve, and it is
> cluster safe, i.e. the 2 programs accessing the same file can update
> close data without destroying each other updates.

No. It does not fix it.

It is quite trivial to create a program based on the presentation
from VMS engineering and show that the problem is seen with
normal setup, files created as UDF and files temporarily made UDF.

Arne

Re: RMS and SSIO (again)

<74ed8a6b-98ff-498c-9c6f-40258ecc8530n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20030&group=comp.os.vms#20030

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:db12:: with SMTP id e18mr5250650qki.14.1641952211760;
Tue, 11 Jan 2022 17:50:11 -0800 (PST)
X-Received: by 2002:a37:b142:: with SMTP id a63mr5069628qkf.704.1641952211619;
Tue, 11 Jan 2022 17:50:11 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 11 Jan 2022 17:50:11 -0800 (PST)
In-Reply-To: <61ddedc6$0$699$14726298@news.sunsite.dk>
Injection-Info: google-groups.googlegroups.com; posting-host=49.176.150.5; posting-account=N9Q8kAoAAACE4Wg6nhCkJI0wEBaOLnQX
NNTP-Posting-Host: 49.176.150.5
References: <bd6dd595-2126-443f-b6e5-ff6571fa0ed2n@googlegroups.com>
<197bfb7f-9d05-4401-930e-156997da3d34n@googlegroups.com> <1fc75079-5ef7-4f9d-9cba-49d57771e11cn@googlegroups.com>
<5b77404b-9e88-472a-b170-00c9b99dfd8dn@googlegroups.com> <6994c600-f1ab-495a-84fe-82efe8508016n@googlegroups.com>
<19db90fd-a5f6-49ba-b143-21641ca070cbn@googlegroups.com> <3682bea3-18bc-465e-a1fe-263646543f39n@googlegroups.com>
<61db9615$0$698$14726298@news.sunsite.dk> <6ea58245-e1e5-4ff3-af42-6e36a0897040n@googlegroups.com>
<61dc8644$0$698$14726298@news.sunsite.dk> <748e0d0e-9a7b-45b7-aa28-45a876d59123n@googlegroups.com>
<61ddedc6$0$699$14726298@news.sunsite.dk>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <74ed8a6b-98ff-498c-9c6f-40258ecc8530n@googlegroups.com>
Subject: Re: RMS and SSIO (again)
From: tinkl...@gmail.com (Greg Tinkler)
Injection-Date: Wed, 12 Jan 2022 01:50:11 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 119
 by: Greg Tinkler - Wed, 12 Jan 2022 01:50 UTC

Hi Arne

You seem quite emphatic that is does not work, well
[12:37:29,12:37:00]
[12:37:31,12:37:32]
[12:37:33,12:37:34]
[12:37:35,12:37:36]
[12:37:37,12:37:38]
[12:37:39,12:37:40]
[12:37:41,12:37:42]

This may not seem much but the first timestamp is from 1 process and the other from another process.
If you use CRTL, SAME CODE it does not work and shows the problem described.
[12:37:53,12:37:48]
[12:41:09,12:37:48]
[12:41:11,12:37:48]
[12:41:13,12:37:48]

As you can see the second process details are not being updated, even though this is what is being updated.
[12:37:48,]
[12:41:19,]
[12:41:21,]
[12:41:23,]
[12:41:25,]

However using my approach, and doing the correct coding, you get the results above.

IT BL**DLY WORKS!!!

If VSI want to approach me about the code, that is fine, but here is a short code snippet to help you understand it
TSS$SETRFA (fdptr->rab, offset);
fdptr->rab->rab$b_rac = RAB$C_RFA;
// get the data so RMS is happy, nb may only needs some at the start of the data
sts = sys$get (fdptr->rab);
fdptr->rab->rab$l_rbf = (void *) buf;
fdptr->rab->rab$w_rsz = buflen;
sts = sys$update (fdptr->rab);

Oh and the test code
/*
* File: rms_unixio_test1.c
* Author: greg
* copyright 2021, 2022 TS Solutions Pty Ltd
*
*/
#include <errno.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <time.h>

//#define TSS$UNIXIO_ENABLE
#include "rms_unixio.h"

#define MAX_REC_LEN 40

/*
*
*/
int main (int argc, char** argv)
{ char fn[] = "rms_unixio.bin";
char *recbuff1, *recbuff2;
time_t rawtime;
struct tm *tm0;
char inbuf[50], ts[20];
int i, fd, sts, rno;
long rec_len1, rec_len2;
long long rec_offset1, rec_offset2;
char *sptr;

recbuff1 = (char *)malloc (MAX_REC_LEN);
recbuff2 = (char *)malloc (MAX_REC_LEN);
rec_len1=20;
rec_len2=20;

fd = open(fn, O_RDWR, 0777); /*,"ctx=bin","rfm=udf"); */
if (fd < 0)
{
perror("*** Unable to open file");
exit (0);
}

rno = 1;
printf ("record number, 0 to finish: ");
sptr = fgets (inbuf, sizeof (inbuf), stdin);
rno = atoi (inbuf);
if(rno==0) exit(0);
rec_offset1=(rno-1) * rec_len1;
rec_offset2=(rno) * rec_len2;

while (rno > 0)
{
/* get record number to change */
if (rno > 0)
{
sts = pread(fd, recbuff1, rec_len1, rec_offset1);
sts = pread (fd, recbuff2, rec_len2, rec_offset2);
/* show what we got */
printf ("[%.8s,%.8s]\n", recbuff1, recbuff2);
/* get current time */
time (&rawtime);
tm0 = localtime (&rawtime);
strftime (ts, sizeof (ts), "%H:%M:%S", tm0);
/* format output */
snprintf (recbuff1, 9, "%.8s\0", ts);
sts = pwrite (fd, recbuff1, rec_len1, rec_offset1);
sleep(2); /* sleep for 2 seconds */
}
}
/* don't close until requested */
sts = close (fd);
return (EXIT_SUCCESS);
}

So drop SSIO, fix CRTL, and yes someone after 20 years has been able to easily and quickly solve the problem.

gt

Re: RMS and SSIO (again)

<srn9qo$ij0$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20035&group=comp.os.vms#20035

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: RMS and SSIO (again)
Date: Wed, 12 Jan 2022 19:23:04 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 50
Message-ID: <srn9qo$ij0$1@dont-email.me>
References: <srkj4r$m7g$2@dont-email.me> <memo.20220111225559.4948N@jgd.cix.co.uk>
Injection-Date: Wed, 12 Jan 2022 19:23:04 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="062ca6291d63fdbf32758eb9f38378a9";
logging-data="19040"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/YzCjZE9UG0U/HPFybfUD+bxbQVdC+TYw="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:uVFMpavo+Vy26PeK7eU4jUb5iSY=
 by: Simon Clubley - Wed, 12 Jan 2022 19:23 UTC

On 2022-01-11, John Dallman <jgd@cix.co.uk> wrote:
> In article <srkj4r$m7g$2@dont-email.me>,
> clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley) wrote:
>
>> However, at that time, John was planning to add this to the LLVM
>> based compilers at some point. I don't know the current status of
>> that.
>
> Most of that will come free with the LLVM compilers. The thing that will
> probably be different is the error generation when checks are failed. On
> OSes where I've used stack buffer overflow protection, failing a check
> generally terminates the process.
>

In addition to the usual suspects, John was also talking at the time
about seeing if this could be added into the Macro-32 and BLISS compilers
due to the amount of code in VMS which is written in those languages.

>> Do any of the DEC compilers generate code that executes on the stack
>> at runtime ?
>
> I doubt it.
>

Do any of the DEC compilers generate trampoline functions on the stack ?

> The point of making the stack non-executable is to make an attacker's job
> in exploiting security holes harder. If an attacker can upload exploit
> code (often called "shell code") into a stack buffer and run it there,
> that's easier than finding a way to upload the exploit code into heap
> memory.
>

VMS also has user-writable locations in a process whose contents survive
image rundown and which don't exist in other operating systems, for example,
the common area buffer and user logicals.

They were both executable on VAX and Alpha but at least the common
area buffer was apparently made non-executable on Itanium and above.
I would hope the user logicals were as well, but I don't know that
for sure.

Hopefully, anything else user-writable which survives image rundown
will also be non-executable these days.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: RMS and SSIO (again)

<c526a87d-9a5f-447f-99ce-e93c7e51be37n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20038&group=comp.os.vms#20038

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:5ce:: with SMTP id d14mr1332785qtb.412.1642022693752;
Wed, 12 Jan 2022 13:24:53 -0800 (PST)
X-Received: by 2002:ac8:5994:: with SMTP id e20mr1324796qte.75.1642022693587;
Wed, 12 Jan 2022 13:24:53 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 12 Jan 2022 13:24:53 -0800 (PST)
In-Reply-To: <3682bea3-18bc-465e-a1fe-263646543f39n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=188.242.128.41; posting-account=MdFUXgoAAAA4RFSe0GdwtymAGVxcBpnA
NNTP-Posting-Host: 188.242.128.41
References: <bd6dd595-2126-443f-b6e5-ff6571fa0ed2n@googlegroups.com>
<197bfb7f-9d05-4401-930e-156997da3d34n@googlegroups.com> <1fc75079-5ef7-4f9d-9cba-49d57771e11cn@googlegroups.com>
<5b77404b-9e88-472a-b170-00c9b99dfd8dn@googlegroups.com> <6994c600-f1ab-495a-84fe-82efe8508016n@googlegroups.com>
<19db90fd-a5f6-49ba-b143-21641ca070cbn@googlegroups.com> <3682bea3-18bc-465e-a1fe-263646543f39n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c526a87d-9a5f-447f-99ce-e93c7e51be37n@googlegroups.com>
Subject: Re: RMS and SSIO (again)
From: pustove...@gmail.com (Vitaly Pustovetov)
Injection-Date: Wed, 12 Jan 2022 21:24:53 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 10
 by: Vitaly Pustovetov - Wed, 12 Jan 2022 21:24 UTC

> no the authors of RMS did not invent SSIO, RMS was written for RSX/RSTS way back when...
> SSIO was developed by developers with a *nix background.

Do you know who the authors of RMS and SSIO are? ;)
One of the people who created SSIO now has been working on RMS since 1975 (member of the initial VMS design team :)
Another example is Ruth Goldenberg, she came up with part of the SSIO design.

> Also after 17 years and it still not working don't you think it is time to move on, and just fix CRTL. NB I have also stated that RMS should be fixed but until then the work around I have suggested to a good fit.

Current status - SSIO works well and is in the field test phase. It's simple, fast, and fixes the problem for everyone, not just CRTL users.
The options for fixing this problem in CRTL that I know are complex and slow. Maybe your hack is quick and easy, I haven't looked at it carefully yet.

Re: RMS and SSIO (again)

<138ac776-da55-4df6-ac23-36c1e0aff486n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20041&group=comp.os.vms#20041

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:111c:: with SMTP id o28mr1459902qkk.328.1642026692745;
Wed, 12 Jan 2022 14:31:32 -0800 (PST)
X-Received: by 2002:a05:6214:27c6:: with SMTP id ge6mr1607815qvb.47.1642026692611;
Wed, 12 Jan 2022 14:31:32 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 12 Jan 2022 14:31:32 -0800 (PST)
In-Reply-To: <c526a87d-9a5f-447f-99ce-e93c7e51be37n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=49.176.150.5; posting-account=N9Q8kAoAAACE4Wg6nhCkJI0wEBaOLnQX
NNTP-Posting-Host: 49.176.150.5
References: <bd6dd595-2126-443f-b6e5-ff6571fa0ed2n@googlegroups.com>
<197bfb7f-9d05-4401-930e-156997da3d34n@googlegroups.com> <1fc75079-5ef7-4f9d-9cba-49d57771e11cn@googlegroups.com>
<5b77404b-9e88-472a-b170-00c9b99dfd8dn@googlegroups.com> <6994c600-f1ab-495a-84fe-82efe8508016n@googlegroups.com>
<19db90fd-a5f6-49ba-b143-21641ca070cbn@googlegroups.com> <3682bea3-18bc-465e-a1fe-263646543f39n@googlegroups.com>
<c526a87d-9a5f-447f-99ce-e93c7e51be37n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <138ac776-da55-4df6-ac23-36c1e0aff486n@googlegroups.com>
Subject: Re: RMS and SSIO (again)
From: tinkl...@gmail.com (Greg Tinkler)
Injection-Date: Wed, 12 Jan 2022 22:31:32 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 20
 by: Greg Tinkler - Wed, 12 Jan 2022 22:31 UTC

> One of the people who created SSIO now has been working on RMS since 1975 (member of the initial VMS design team :)
> Another example is Ruth Goldenberg, she came up with part of the SSIO design.
Good to know, pity they did not see this solution. But to restate what I said before, byte to XFC is a good thing particularly if it integrated into RMS, i.e. have XFC do the buffering for RMS.

> > Also after 17 years and it still not working don't you think it is time to move on, and just fix CRTL. NB I have also stated that RMS should be fixed but until then the work around I have suggested to a good fit.
> Current status - SSIO works well and is in the field test phase. It's simple, fast, and fixes the problem for everyone, not just CRTL users.
Apparently so, but no one has refuted that SSIO is NOT cluster safe, whereas the CRTL/RMS change is.

> The options for fixing this problem in CRTL that I know are complex and slow. Maybe your hack is quick and easy, I haven't looked at it carefully yet.
This is where we disagree, complex no, actually will probably simplify the code. If the changes to RMS are also done then even less complexity for CRTL.

What changes would I like to RMS, particularly with regards tp XFC.
- change $READ/$WRITE to use the MBC/Bucket buffers that RMS has, which would be XFC
- change $READ/WRITE so they use byte offset. NB this is possible without change the RAB, just by adding a ROP (byteoffset) and using all the space available for RFA, i.e. RAB$Q_RFA.
- fix $FIND so it will work with UDF files, so that $UPDATE can work without having the read data
- use the $ SET RMS values to directly impact XFC, block size/buffer/...
- and the list goes on, and has been around for decades

So Vitaly, do you work in the VSI/RMS space?

gt

Re: RMS and SSIO (again)

<srnsh6$jru$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20044&group=comp.os.vms#20044

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: RMS and SSIO (again)
Date: Thu, 13 Jan 2022 00:42:14 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <srnsh6$jru$1@dont-email.me>
References: <bd6dd595-2126-443f-b6e5-ff6571fa0ed2n@googlegroups.com> <197bfb7f-9d05-4401-930e-156997da3d34n@googlegroups.com> <1fc75079-5ef7-4f9d-9cba-49d57771e11cn@googlegroups.com> <5b77404b-9e88-472a-b170-00c9b99dfd8dn@googlegroups.com> <6994c600-f1ab-495a-84fe-82efe8508016n@googlegroups.com> <19db90fd-a5f6-49ba-b143-21641ca070cbn@googlegroups.com> <3682bea3-18bc-465e-a1fe-263646543f39n@googlegroups.com> <c526a87d-9a5f-447f-99ce-e93c7e51be37n@googlegroups.com> <138ac776-da55-4df6-ac23-36c1e0aff486n@googlegroups.com>
Injection-Date: Thu, 13 Jan 2022 00:42:14 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="d598ea0588621c1288d9b0bb21fb99cc";
logging-data="20350"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19V+ZsEUYSx6gc0wJBxQXfC3/Hghxfu2bQ="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:rWvUF7YEYaakBjDCtDO12kd25o8=
 by: Simon Clubley - Thu, 13 Jan 2022 00:42 UTC

On 2022-01-12, Greg Tinkler <tinklerg@gmail.com> wrote:
>> One of the people who created SSIO now has been working on RMS since 1975 (member of the initial VMS design team :)
>> Another example is Ruth Goldenberg, she came up with part of the SSIO design.
> Good to know, pity they did not see this solution. But to restate what I said before, byte to XFC is a good thing particularly if it integrated into RMS, i.e. have XFC do the buffering for RMS.
>
>> > Also after 17 years and it still not working don't you think it is time to move on, and just fix CRTL. NB I have also stated that RMS should be fixed but until then the work around I have suggested to a good fit.
>> Current status - SSIO works well and is in the field test phase. It's simple, fast, and fixes the problem for everyone, not just CRTL users.
> Apparently so, but no one has refuted that SSIO is NOT cluster safe, whereas the CRTL/RMS change is.
>
>> The options for fixing this problem in CRTL that I know are complex and slow. Maybe your hack is quick and easy, I haven't looked at it carefully yet.
> This is where we disagree, complex no, actually will probably simplify the code. If the changes to RMS are also done then even less complexity for CRTL.
>
> What changes would I like to RMS, particularly with regards tp XFC.
> - change $READ/$WRITE to use the MBC/Bucket buffers that RMS has, which would be XFC
> - change $READ/WRITE so they use byte offset. NB this is possible without change the RAB, just by adding a ROP (byteoffset) and using all the space available for RFA, i.e. RAB$Q_RFA.
> - fix $FIND so it will work with UDF files, so that $UPDATE can work without having the read data
> - use the $ SET RMS values to directly impact XFC, block size/buffer/...
> - and the list goes on, and has been around for decades
>

Let's assume for one moment that you could magically find a viable
solution that everyone else had missed. (Which I don't really believe,
but let's assume it anyway).

Question: What would be the overhead of going through RMS using
your solution instead of just using SSIO ?

IOW, how much slower would it be to go through RMS instead of
going through SSIO ?

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: RMS and SSIO (again)

<23fd9150-a6a1-45ec-8652-43a45af9c3b8n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20048&group=comp.os.vms#20048

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:308:: with SMTP id q8mr2061038qtw.463.1642041738826;
Wed, 12 Jan 2022 18:42:18 -0800 (PST)
X-Received: by 2002:ac8:5d8b:: with SMTP id d11mr2120586qtx.60.1642041738615;
Wed, 12 Jan 2022 18:42:18 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 12 Jan 2022 18:42:18 -0800 (PST)
In-Reply-To: <srn9qo$ij0$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=73.60.222.222; posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 73.60.222.222
References: <srkj4r$m7g$2@dont-email.me> <memo.20220111225559.4948N@jgd.cix.co.uk>
<srn9qo$ij0$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <23fd9150-a6a1-45ec-8652-43a45af9c3b8n@googlegroups.com>
Subject: Re: RMS and SSIO (again)
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Thu, 13 Jan 2022 02:42:18 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 32
 by: John Reagan - Thu, 13 Jan 2022 02:42 UTC

On Wednesday, January 12, 2022 at 2:23:07 PM UTC-5, Simon Clubley wrote:
> On 2022-01-11, John Dallman <j...@cix.co.uk> wrote:
> > In article <srkj4r$m7g$2...@dont-email.me>,
> > clubley@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley) wrote:
> >
> >> However, at that time, John was planning to add this to the LLVM
> >> based compilers at some point. I don't know the current status of
> >> that.
> >
> > Most of that will come free with the LLVM compilers. The thing that will
> > probably be different is the error generation when checks are failed. On
> > OSes where I've used stack buffer overflow protection, failing a check
> > generally terminates the process.
> >
> In addition to the usual suspects, John was also talking at the time
> about seeing if this could be added into the Macro-32 and BLISS compilers
> due to the amount of code in VMS which is written in those languages.
> >> Do any of the DEC compilers generate code that executes on the stack
> >> at runtime ?
> >
> > I doubt it.
> >
> Do any of the DEC compilers generate trampoline functions on the stack ?

No code on the stack. The x86 stack is marked no-execute. The trampolines
are created by the linker with some image activator fix ups and then marked nowrite
before any code is executed.

For stack-smashing, it is still on the list. As we get native compilers in place, we'll
revisit it. Macro might be a touch harder with routines that branch between each
other.

Re: RMS and SSIO (again)

<sro8ij$j20$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20049&group=comp.os.vms#20049

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: FIRST.L...@vmssoftware.com (Robert A. Brooks)
Newsgroups: comp.os.vms
Subject: Re: RMS and SSIO (again)
Date: Wed, 12 Jan 2022 23:07:47 -0500
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <sro8ij$j20$1@dont-email.me>
References: <srkj4r$m7g$2@dont-email.me>
<memo.20220111225559.4948N@jgd.cix.co.uk> <srn9qo$ij0$1@dont-email.me>
<23fd9150-a6a1-45ec-8652-43a45af9c3b8n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 13 Jan 2022 04:07:47 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b9bb2a04736b5909bf3ba19e65ddf72a";
logging-data="19520"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/7wmnZPyxJ6EXaULtvGJhRe68e2917lQZfgU2OnqaJmw=="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Cancel-Lock: sha1:TItycjTGcKKHochlSyRlEH1zRxY=
In-Reply-To: <23fd9150-a6a1-45ec-8652-43a45af9c3b8n@googlegroups.com>
X-Antivirus-Status: Clean
Content-Language: en-US
X-Antivirus: Avast (VPS 220112-18, 1/12/2022), Outbound message
 by: Robert A. Brooks - Thu, 13 Jan 2022 04:07 UTC

On 1/12/2022 9:42 PM, John Reagan wrote:

> For stack-smashing, it is still on the list. As we get native compilers in place, we'll
> revisit it. Macro might be a touch harder with routines that branch between each
> other.

I offer up SYS$SHDRIVER as a test case . . .

--
-- Rob

Re: RMS and SSIO (again)

<094e8ec7-2259-4793-aee2-df1588500f4fn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20050&group=comp.os.vms#20050

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:10a:: with SMTP id u10mr2308862qtw.323.1642047239980;
Wed, 12 Jan 2022 20:13:59 -0800 (PST)
X-Received: by 2002:a05:6214:1c42:: with SMTP id if2mr2390984qvb.61.1642047239801;
Wed, 12 Jan 2022 20:13:59 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!2.us.feeder.erje.net!feeder.erje.net!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 12 Jan 2022 20:13:59 -0800 (PST)
In-Reply-To: <138ac776-da55-4df6-ac23-36c1e0aff486n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=24.147.72.155; posting-account=U1iMPAoAAAC9r8wm0KaW63EcF8sfjFeH
NNTP-Posting-Host: 24.147.72.155
References: <bd6dd595-2126-443f-b6e5-ff6571fa0ed2n@googlegroups.com>
<197bfb7f-9d05-4401-930e-156997da3d34n@googlegroups.com> <1fc75079-5ef7-4f9d-9cba-49d57771e11cn@googlegroups.com>
<5b77404b-9e88-472a-b170-00c9b99dfd8dn@googlegroups.com> <6994c600-f1ab-495a-84fe-82efe8508016n@googlegroups.com>
<19db90fd-a5f6-49ba-b143-21641ca070cbn@googlegroups.com> <3682bea3-18bc-465e-a1fe-263646543f39n@googlegroups.com>
<c526a87d-9a5f-447f-99ce-e93c7e51be37n@googlegroups.com> <138ac776-da55-4df6-ac23-36c1e0aff486n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <094e8ec7-2259-4793-aee2-df1588500f4fn@googlegroups.com>
Subject: Re: RMS and SSIO (again)
From: heinvand...@gmail.com (Hein RMS van den Heuvel)
Injection-Date: Thu, 13 Jan 2022 04:13:59 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 48
 by: Hein RMS van den Heu - Thu, 13 Jan 2022 04:13 UTC

On Wednesday, January 12, 2022 at 5:31:33 PM UTC-5, tink...@gmail.com wrote:
> > One of the people who created SSIO now has been working on RMS since 1975 (member of the initial VMS design team :)
> > Another example is Ruth Goldenberg, she came up with part of the SSIO design.
> Good to know, pity they did not see this solution. But to restate what I said before, byte to XFC is a good thing particularly if it integrated into RMS, i.e. have XFC do the buffering for RMS.

There needs to be a 'system' buffer, not a 'process' buffer.
For robustness that buffer is probably best on top of XFC, not inside.

You have been focussing on random updates. nice of database, irrelevant for typical usage today.
I think the more important problem to solve is shared appends and eof handling ( tail -f )

> What changes would I like to RMS, particularly with regards tp XFC.
> - change $READ/$WRITE to use the MBC/Bucket buffers that RMS has, which would be XFC

READ/WRITE does NOT use (RMS) buffers. The user provide record (UBF on read, RBF on write)

> - change $READ/WRITE so they use byte offset. NB this is possible without change the RAB, just by adding a ROP (byteoffset) and using all the space available for RFA, i.e. RAB$Q_RFA.

The current RFA already has a (32bit) block and (16 bit) byte offset.
I suppose you could add RAC=RFA and make $READ/$WRITE use the RFA fields, not the BKT.

> - fix $FIND so it will work with UDF files, so that $UPDATE can work without having the read data

$FIND has to read the data into the rms process buffer also.
It just does not move it to a user provided record buffer - a minor step in the scheme of things.
The biggest special thing about $FIND vs $GET is that $FIND only impacts the current record, not the next.
That is useful for updates. A program could be doing GET GET GET (all next 'blobs') then see some special data and decide to need a FIND and UPDATE for a random record before doing the next GET to continue reading a sequence. I find using two rabs for that more clear, more robust.

Hein.

Re: RMS and SSIO (again)

<6caec706-cb34-416c-ad33-59c6d0ea1b00n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20054&group=comp.os.vms#20054

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:21c8:: with SMTP id d8mr2993957qvh.87.1642127796754;
Thu, 13 Jan 2022 18:36:36 -0800 (PST)
X-Received: by 2002:ac8:5c03:: with SMTP id i3mr6306309qti.107.1642127796611;
Thu, 13 Jan 2022 18:36:36 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Thu, 13 Jan 2022 18:36:36 -0800 (PST)
In-Reply-To: <094e8ec7-2259-4793-aee2-df1588500f4fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=49.176.150.5; posting-account=N9Q8kAoAAACE4Wg6nhCkJI0wEBaOLnQX
NNTP-Posting-Host: 49.176.150.5
References: <bd6dd595-2126-443f-b6e5-ff6571fa0ed2n@googlegroups.com>
<197bfb7f-9d05-4401-930e-156997da3d34n@googlegroups.com> <1fc75079-5ef7-4f9d-9cba-49d57771e11cn@googlegroups.com>
<5b77404b-9e88-472a-b170-00c9b99dfd8dn@googlegroups.com> <6994c600-f1ab-495a-84fe-82efe8508016n@googlegroups.com>
<19db90fd-a5f6-49ba-b143-21641ca070cbn@googlegroups.com> <3682bea3-18bc-465e-a1fe-263646543f39n@googlegroups.com>
<c526a87d-9a5f-447f-99ce-e93c7e51be37n@googlegroups.com> <138ac776-da55-4df6-ac23-36c1e0aff486n@googlegroups.com>
<094e8ec7-2259-4793-aee2-df1588500f4fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6caec706-cb34-416c-ad33-59c6d0ea1b00n@googlegroups.com>
Subject: Re: RMS and SSIO (again)
From: tinkl...@gmail.com (Greg Tinkler)
Injection-Date: Fri, 14 Jan 2022 02:36:36 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 67
 by: Greg Tinkler - Fri, 14 Jan 2022 02:36 UTC

Hi Hein

Always good to read your posts.

> You have been focussing on random updates. nice of database, irrelevant for typical usage today.
My understanding it is to get Postgresql running well on VMS, hence the need to random access.

> I think the more important problem to solve is shared appends and eof handling ( tail -f )
I though this was fixed is the current VMS versions...
Do you have a good suggestion for checking/getting the estimated EOF for a file from a program? If it is shared then it will only be a guess. I have not tried but $PUT with a 0 len record, or refresh the FAB and use that info.

> > - change $READ/$WRITE to use the MBC/Bucket buffers that RMS has, which would be XFC
> READ/WRITE does NOT use (RMS) buffers. The user provide record (UBF on read, RBF on write)
I known, but wouldn't it be good it READ/WRITE used the bucket/MBC buffers.

> > - change $READ/WRITE so they use byte offset. NB this is possible without change the RAB, just by adding a ROP (byteoffset) and using all the space available for RFA, i.e. RAB$Q_RFA.
> The current RFA already has a (32bit) block and (16 bit) byte offset.
> I suppose you could add RAC=RFA and make $READ/$WRITE use the RFA fields, not the BKT.
That would be good, combined with using the existing buffers.
Also we could extend the idea, the current RAB has
union {
unsigned short int rab$w_rfa [3]; /* record's file address */
struct {
unsigned long int rab$l_rfa0;
unsigned short int rab$w_rfa4;
} ;
} ;
short int rabdef$$_fill_4; /* (reserved - rms release 1 optimizes stores */
Effectively making it a Quadword, so why not have RAB$Q_RFA or RAB$Q_BOFFSET
No change to the layout of the RAB. We would need to flag this to RMS possibly by using ROP2 RAB$M_BOFFSET.
At lease from an API point of view RMS could support VERY large files. And yes there would need to be other engineering changes but these could be rolled out in a phased way. FAB will need to be fixed once GFS2 is available, so maybe FAB64$ with fab$l_alq -> fab$q_alq.

> > - fix $FIND so it will work with UDF files, so that $UPDATE can work without having the read data
> $FIND has to read the data into the rms process buffer also.
> It just does not move it to a user provided record buffer - a minor step in the scheme of things.
> The biggest special thing about $FIND vs $GET is that $FIND only impacts the current record, not the next.
> That is useful for updates. A program could be doing GET GET GET (all next 'blobs') then see some special data and decide to need a FIND and UPDATE for a random record before doing the next GET to continue reading a sequence. I find using two rabs for that more clear, more robust.

Yup, understand all that and agree, however I expected that $FIND would allow me to position the current record using RFA on a UDF file. It does not. It also means that creating pseudo record locks using $FIND probably will not work for the same reason. But this would be very useful.

gt

Re: RMS and SSIO (again)

<srrvqj$dkv$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20059&group=comp.os.vms#20059

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: RMS and SSIO (again)
Date: Fri, 14 Jan 2022 14:03:00 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <srrvqj$dkv$2@dont-email.me>
References: <bd6dd595-2126-443f-b6e5-ff6571fa0ed2n@googlegroups.com> <197bfb7f-9d05-4401-930e-156997da3d34n@googlegroups.com> <1fc75079-5ef7-4f9d-9cba-49d57771e11cn@googlegroups.com> <5b77404b-9e88-472a-b170-00c9b99dfd8dn@googlegroups.com> <6994c600-f1ab-495a-84fe-82efe8508016n@googlegroups.com> <19db90fd-a5f6-49ba-b143-21641ca070cbn@googlegroups.com> <3682bea3-18bc-465e-a1fe-263646543f39n@googlegroups.com> <c526a87d-9a5f-447f-99ce-e93c7e51be37n@googlegroups.com> <138ac776-da55-4df6-ac23-36c1e0aff486n@googlegroups.com> <094e8ec7-2259-4793-aee2-df1588500f4fn@googlegroups.com> <6caec706-cb34-416c-ad33-59c6d0ea1b00n@googlegroups.com>
Injection-Date: Fri, 14 Jan 2022 14:03:00 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="3da16be480bb5d9880e2ec8e763d17e6";
logging-data="13983"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18hJops4Orp7uBSFMOfu6BXekuN/NkhHVk="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:WoDUihB3ww/NAv3W0mATtCT2bso=
 by: Simon Clubley - Fri, 14 Jan 2022 14:03 UTC

On 2022-01-13, Greg Tinkler <tinklerg@gmail.com> wrote:
> Effectively making it a Quadword, so why not have RAB$Q_RFA or RAB$Q_BOFFSET
> No change to the layout of the RAB. We would need to flag this to RMS possibly by using ROP2 RAB$M_BOFFSET.
> At lease from an API point of view RMS could support VERY large files. And yes there would need to be other engineering changes but these could be rolled out in a phased way. FAB will need to be fixed once GFS2 is available, so maybe FAB64$ with fab$l_alq -> fab$q_alq.
>

So you want to release an API claiming support for very large files _before_
actually performing the engineering work required ?

Do the DLM messages have the required extra 2 bytes going spare for your
expanded RFA ?

How would you implement this in a backwards compatible way at DLM level ?

When would you implement Prolog-4 for indexed files to support the required
larger internal pointers ?

Maybe I'm just old fashioned but I don't release an API for something
until _after_ I've done the engineering work. :-)

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: RMS and SSIO (again)

<cc52fd4f-6aa2-473a-b02c-5bdf3e870a41n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20066&group=comp.os.vms#20066

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:ca:: with SMTP id p10mr4152532qtw.386.1642301944143;
Sat, 15 Jan 2022 18:59:04 -0800 (PST)
X-Received: by 2002:a05:620a:17a5:: with SMTP id ay37mr2832416qkb.0.1642301943997;
Sat, 15 Jan 2022 18:59:03 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 15 Jan 2022 18:59:03 -0800 (PST)
In-Reply-To: <srrvqj$dkv$2@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=49.176.150.5; posting-account=N9Q8kAoAAACE4Wg6nhCkJI0wEBaOLnQX
NNTP-Posting-Host: 49.176.150.5
References: <bd6dd595-2126-443f-b6e5-ff6571fa0ed2n@googlegroups.com>
<197bfb7f-9d05-4401-930e-156997da3d34n@googlegroups.com> <1fc75079-5ef7-4f9d-9cba-49d57771e11cn@googlegroups.com>
<5b77404b-9e88-472a-b170-00c9b99dfd8dn@googlegroups.com> <6994c600-f1ab-495a-84fe-82efe8508016n@googlegroups.com>
<19db90fd-a5f6-49ba-b143-21641ca070cbn@googlegroups.com> <3682bea3-18bc-465e-a1fe-263646543f39n@googlegroups.com>
<c526a87d-9a5f-447f-99ce-e93c7e51be37n@googlegroups.com> <138ac776-da55-4df6-ac23-36c1e0aff486n@googlegroups.com>
<094e8ec7-2259-4793-aee2-df1588500f4fn@googlegroups.com> <6caec706-cb34-416c-ad33-59c6d0ea1b00n@googlegroups.com>
<srrvqj$dkv$2@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cc52fd4f-6aa2-473a-b02c-5bdf3e870a41n@googlegroups.com>
Subject: Re: RMS and SSIO (again)
From: tinkl...@gmail.com (Greg Tinkler)
Injection-Date: Sun, 16 Jan 2022 02:59:04 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 6
 by: Greg Tinkler - Sun, 16 Jan 2022 02:59 UTC

> So you want to release an API claiming support for very large files _before_
> actually performing the engineering work required ?
No, yes. First it is about changing the RMS API to use byte offset, if only to make it easier for CRTL to do the right things.
With GFS2 of the horizon there needs to do a lot of re-engineering of RMS anyway, and this would be the start.
The RMS lock resource names will probably have the be changed, but I don't have any formal documents as to the structure of those.

gt

Re: RMS and SSIO (again)

<ss4ek6$rqg$4@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=20087&group=comp.os.vms#20087

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: RMS and SSIO (again)
Date: Mon, 17 Jan 2022 19:04:38 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 11
Message-ID: <ss4ek6$rqg$4@dont-email.me>
References: <bd6dd595-2126-443f-b6e5-ff6571fa0ed2n@googlegroups.com> <197bfb7f-9d05-4401-930e-156997da3d34n@googlegroups.com> <1fc75079-5ef7-4f9d-9cba-49d57771e11cn@googlegroups.com> <5b77404b-9e88-472a-b170-00c9b99dfd8dn@googlegroups.com> <6994c600-f1ab-495a-84fe-82efe8508016n@googlegroups.com> <19db90fd-a5f6-49ba-b143-21641ca070cbn@googlegroups.com> <3682bea3-18bc-465e-a1fe-263646543f39n@googlegroups.com> <c526a87d-9a5f-447f-99ce-e93c7e51be37n@googlegroups.com> <138ac776-da55-4df6-ac23-36c1e0aff486n@googlegroups.com> <094e8ec7-2259-4793-aee2-df1588500f4fn@googlegroups.com> <6caec706-cb34-416c-ad33-59c6d0ea1b00n@googlegroups.com> <srrvqj$dkv$2@dont-email.me> <cc52fd4f-6aa2-473a-b02c-5bdf3e870a41n@googlegroups.com>
Injection-Date: Mon, 17 Jan 2022 19:04:38 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="9336842ae4c2ecb474787707120b908b";
logging-data="28496"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/rapY/ZkUBL/FEcnUXtOja3bfRrjKahQY="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:FdCNX/Ai8kAjhvVLz0M7MrOznTw=
 by: Simon Clubley - Mon, 17 Jan 2022 19:04 UTC

On 2022-01-15, Greg Tinkler <tinklerg@gmail.com> wrote:
> With GFS2 of the horizon there needs to do a lot of re-engineering of RMS anyway, and this would be the start.

GFS2, like VAFS before it, is currently on hold. No information has
been released about when (or if) future development of GFS2 will resume.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor