🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

21 total messages Started by Johann 'Myrkraverk' Oskarsson Tue, 03 Nov 2026 22:14
Re: VAX-11/780 up and running at LSSM
#1
Author: Johann 'Myrkraverk' Oskarsson
Date: Tue, 03 Nov 2026 22:14
21 lines
2050 bytes
On 9/23/2026 9:50 AM, David Donald Hooton wrote:
> In comp.sys.dec Scott Dorsey <kludge@panix.com> wrote:
>> David Donald Hooton  <ddh@shell02.theworld.com> wrote:
>>> That's great! Any plans to migrate it to BSD 4.2? :-)
>>
>> Don't do it!  Hold out for bug fixes in 4.3!
>> --scott
> 
> That's probably a good idea. Back in grad school (RPI), I once crashed the
> department VAX by exiting a C program without closing a socket. My Master's
> Project advisor had a positive attitude about it, saying it showed that I
> was learning something.
> 
>     - DDH

I would expect the kernel developers also learned something.  C:
-- 
Johann | email: invalid -> com | http://www.myrkraverk.com/blog/
I'm not from the Internet, I just work there. | via Easynews.com
https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:;
Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Re: VAX-11/780 up and running at LSSM
#3
Author: David Donald Hooton
Date: Sat, 07 Nov 2026 22:40
22 lines
1909 bytes
I would say so. I still trust Unix/Linux systems much more than anything
spawned by Microsoft.

   - DDH

In comp.sys.dec Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> wrote:
> On 9/23/2026 9:50 AM, David Donald Hooton wrote:
>> In comp.sys.dec Scott Dorsey <kludge@panix.com> wrote:
>>> David Donald Hooton  <ddh@shell02.theworld.com> wrote:
>>>> That's great! Any plans to migrate it to BSD 4.2? :-)
>>>
>>> Don't do it!  Hold out for bug fixes in 4.3!
>>> --scott
>> 
>> That's probably a good idea. Back in grad school (RPI), I once crashed the
>> department VAX by exiting a C program without closing a socket. My Master's
>> Project advisor had a positive attitude about it, saying it showed that I
>> was learning something.
>> 
>>     - DDH
> 
> I would expect the kernel developers also learned something.  C:
Re: VAX-11/780 up and running at LSSM
#2
Author: Lawrence D’Oliveiro
Date: Sat, 07 Nov 2026 22:44
8 lines
1700 bytes
On Sat, 7 Nov 2026 17:40:55 -0500 (EST), David Donald Hooton wrote:

> I still trust Unix/Linux systems much more than anything spawned by
> Microsoft.

Does that include Apple? Only it seems like Apple is no longer
bothering to license the “Unix” trademark any more
<https://www.opengroup.org//openbrand/register/xy.htm> ...
Re: VAX-11/780 up and running at LSSM
#5
Author: Lawrence D’Oliveiro
Date: Mon, 09 Nov 2026 22:29
10 lines
1837 bytes
On Mon, 9 Nov 2026 13:26:35 -0500 (EST), David Donald Hooton wrote:

> On my old MacBook, I open up a Darwin terminal and I'm home.

That’s what Brian Kernighan does
<https://thenewstack.io/unix-co-creator-brian-kernighan-on-rust-distros-and-nixos/>:
use his Mac as a terminal to a Linux system.

He doesn’t even know what kind of Linux system it is, bless his heart
...
Re: VAX-11/780 up and running at LSSM
#6
Author: Scott Dorsey
Date: Wed, 11 Nov 2026 13:59
17 lines
1457 bytes
David Donald Hooton  <ddh@shell02.theworld.com> wrote:
>
>After reading the article, I think that what Brian does and what I do are
>slightly different. As I read it, he opens a terminal from his Mac to a
>remote Unix system while I open a terminal to the Unix that is hidden within
>MacOs.

The harder you look, though, the more that you'll see the Unix hidden 
in MacOS isn't all that Unixlike down at the bottom.  It's good enough
to run a lot of Unix code even if most of the man pages are missing, but
there are all kinds of interesting restrictions that you can run into.

At least I keep hitting them.
--scott

-- 
"C'est un Nagra. C'est suisse, et tres, tres precis."
Re: VAX-11/780 up and running at LSSM
#7
Author: Andy Valencia
Date: Wed, 11 Nov 2026 15:10
18 lines
2052 bytes
kludge@panix.com (Scott Dorsey) writes:
> The harder you look, though, the more that you'll see the Unix hidden 
> in MacOS isn't all that Unixlike down at the bottom.

Credit where credit is due, while doing some regression testing of
CPython on the Mac, one of the tests bombed with an EXC_GUARD.  Turns
out they have "guarded" file descriptors, and if you touch them your
program dies.  The CPython test had a "sweep all the FD's and close
them" loop, and when it touched the protected one--boom.

This felt very UNIX-y to me, even though I hadn't encountered such
a thing before.  I felt like there must be some folks deep inside
Apple who still have a feel for such things.

Andy Valencia
Home page: https://www.vsta.org/andy/
To contact me: https://www.vsta.org/contact/andy.html
No AI was used in the composition of this message
Re: VAX-11/780 up and running at LSSM
#8
Author: Waldek Hebisch
Date: Wed, 11 Nov 2026 18:58
20 lines
1996 bytes
In comp.os.vms Andy Valencia <vandys@vsta.org> wrote:
> kludge@panix.com (Scott Dorsey) writes:
>> The harder you look, though, the more that you'll see the Unix hidden 
>> in MacOS isn't all that Unixlike down at the bottom.
> 
> Credit where credit is due, while doing some regression testing of
> CPython on the Mac, one of the tests bombed with an EXC_GUARD.  Turns
> out they have "guarded" file descriptors, and if you touch them your
> program dies.  The CPython test had a "sweep all the FD's and close
> them" loop, and when it touched the protected one--boom.
> 
> This felt very UNIX-y to me, even though I hadn't encountered such
> a thing before.  I felt like there must be some folks deep inside
> Apple who still have a feel for such things.

What felt UNIX-y?  Looping over FD-s and closing them or having
"guarded" ones and dying when you touch them?

-- 
                              Waldek Hebisch
Re: VAX-11/780 up and running at LSSM
#9
Author: Lawrence D’Oliveiro
Date: Wed, 11 Nov 2026 19:52
10 lines
2011 bytes
On Tue, 10 Nov 2026 14:14:03 -0500 (EST), David Donald Hooton wrote:

> After reading the article, I think that what Brian does and what I
> do are slightly different. As I read it, he opens a terminal from
> his Mac to a remote Unix system while I open a terminal to the Unix
> that is hidden within MacOs.

I’m not sure macOS counts as officially “Unix” any more. Apple’s
trademark licence seems to have lapsed
<https://www.opengroup.org//openbrand/register/xy.htm>.
Re: VAX-11/780 up and running at LSSM
#10
Author: Lawrence D’Oliveiro
Date: Wed, 11 Nov 2026 19:54
18 lines
2216 bytes
On Wed, 11 Nov 2026 07:10:49 -0800, Andy Valencia wrote:

> Credit where credit is due, while doing some regression testing of
> CPython on the Mac, one of the tests bombed with an EXC_GUARD. Turns
> out they have "guarded" file descriptors, and if you touch them your
> program dies. The CPython test had a "sweep all the FD's and close
> them" loop, and when it touched the protected one--boom.
>
> This felt very UNIX-y to me, even though I hadn't encountered such a
> thing before. I felt like there must be some folks deep inside Apple
> who still have a feel for such things.

Do you mean, the program crashed because it was trying to close an
invalid file descriptor?

On Linux, there is a way a process can tell which of its file
descriptors are valid or not (/proc/self/fd); is there not such a
mechanism on macOS?
Re: VAX-11/780 up and running at LSSM
#11
Author: Scott Lurndal
Date: Wed, 11 Nov 2026 20:49
25 lines
2082 bytes
Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid> writes:
>On Wed, 11 Nov 2026 07:10:49 -0800, Andy Valencia wrote:
>
>> Credit where credit is due, while doing some regression testing of
>> CPython on the Mac, one of the tests bombed with an EXC_GUARD. Turns
>> out they have "guarded" file descriptors, and if you touch them your
>> program dies. The CPython test had a "sweep all the FD's and close
>> them" loop, and when it touched the protected one--boom.
>>
>> This felt very UNIX-y to me, even though I hadn't encountered such a
>> thing before. I felt like there must be some folks deep inside Apple
>> who still have a feel for such things.
>
>Do you mean, the program crashed because it was trying to close an
>invalid file descriptor?
>
>On Linux, there is a way a process can tell which of its file
>descriptors are valid or not (/proc/self/fd); is there not such a
>mechanism on macOS?

Sure.  Just use fstat(2) to check each file
descriptor up to RLIMIT_NFILE.  Works on Unix, Mac, Linux.


Re: VAX-11/780 up and running at LSSM
#12
Author: Andy Valencia
Date: Thu, 12 Nov 2026 03:56
14 lines
1864 bytes
antispam@fricas.org (Waldek Hebisch) writes:
> What felt UNIX-y?  Looping over FD-s and closing them or having
> "guarded" ones and dying when you touch them?

The guarded FD's.  A few times in my professional life I'd had to
hunt down "what happened to my FD?", and Apple's creation (or
whoever created it, but I first encountered it on the Mac) addressed
it nicely.  Low overhead to use, and I imagine the kernel
implementation was also short and sweet.  So yes, UNIX-y.

Andy Valencia
Home page: https://www.vsta.org/andy/
To contact me: https://www.vsta.org/contact/andy.html
No AI was used in the composition of this message
Re: VAX-11/780 up and running at LSSM
#13
Author: Lawrence D’Oliveiro
Date: Thu, 12 Nov 2026 06:23
5 lines
1518 bytes
On Wed, 11 Nov 2026 19:56:07 -0800, Andy Valencia wrote:

> The guarded FD's.

What exactly was a “guarded” FD?
Re: VAX-11/780 up and running at LSSM
#14
Author: Alexander Schreiber
Date: Thu, 12 Nov 2026 09:06
20 lines
2043 bytes
Lawrence D’Oliveiro <ldo@nz.invalid> wrote:
> On Wed, 11 Nov 2026 19:56:07 -0800, Andy Valencia wrote:
>
>> The guarded FD's.
>
> What exactly was a “guarded” FD?

Those seem to be fd's that can only be accessed in combination with a
specific guard token, otherwise access fails. A short mention is here:
 https://hacktricks.wiki/en/macos-hardening/macos-security-and-privilege-escalation/macos-security-protections/macos-fs-tricks/index.html#macos-guarded-descriptors
and the header is here:
 https://github.com/apple/darwin-xnu/blob/main/bsd/sys/guarded.h

Interesting idea.

Kind regards,
           Alex.
-- 
"Opportunity is missed by most people because it is dressed in overalls and
 looks like work."                                      -- Thomas A. Edison
Re: VAX-11/780 up and running at LSSM
#15
Author: Lawrence D’Oliveiro
Date: Thu, 12 Nov 2026 20:06
22 lines
2515 bytes
On Thu, 12 Nov 2026 10:06:15 +0100, Alexander Schreiber wrote:

> Lawrence D’Oliveiro <ldo@nz.invalid> wrote:
>>
>> On Wed, 11 Nov 2026 19:56:07 -0800, Andy Valencia wrote:
>>
>>> The guarded FD's.
>>
>> What exactly was a “guarded” FD?
>
> Those seem to be fd's that can only be accessed in combination with a
> specific guard token, otherwise access fails. A short mention is here:
>  https://hacktricks.wiki/en/macos-hardening/macos-security-and-privilege-escalation/macos-security-protections/macos-fs-tricks/index.html#macos-guarded-descriptors
> and the header is here:
>  https://github.com/apple/darwin-xnu/blob/main/bsd/sys/guarded.h

So I had a look at that header file, and I still don’t quite
understand what it’s about. You can forbid writing and closing, but
not reading. So what do those guarded_close and guarded_write calls
do? Are they forbidden as well? Or does the prohibition only apply to
*unguarded* closes and writes? Seems you cannot forbid changing of the
guard anyway.
Re: VAX-11/780 up and running at LSSM
#17
Author: Andy Valencia
Date: Fri, 13 Nov 2026 17:10
9 lines
1514 bytes
Lawrence =?iso-8859-13?q?D=FFOliveiro?= <ldo@nz.invalid> writes:
> > The guarded FD's.
> What exactly was a "guarded" FD?

There are many resources, a quick search brought this one up:

https://danielcosenza.com/posts/mac-exc-guard-file-descriptor-diagnosis/

Andy
Re: VAX-11/780 up and running at LSSM
#18
Author: Arne Vajhøj
Date: Sat, 14 Nov 2026 15:21
44 lines
2817 bytes
On 11/11/2026 8:59 AM, Scott Dorsey wrote:
> David Donald Hooton  <ddh@shell02.theworld.com> wrote:
>> After reading the article, I think that what Brian does and what I do are
>> slightly different. As I read it, he opens a terminal from his Mac to a
>> remote Unix system while I open a terminal to the Unix that is hidden within
>> MacOs.
> 
> The harder you look, though, the more that you'll see the Unix hidden
> in MacOS isn't all that Unixlike down at the bottom.  It's good enough
> to run a lot of Unix code even if most of the man pages are missing, but
> there are all kinds of interesting restrictions that you can run into.
> 
> At least I keep hitting them.
X is Not Unix

:-)

macOS may have all the Unix libraries and utilities, but what
is under the hood is still different.

Sometimes what is under the hood impacts functionality
above.

I know nothing about macOS. But we all know VMS.

DEC/CPQ/HP/HPE/VSI has spent a lot of effort the
last 35 years to try and make *nix applications
build and run on VMS.

And in general it has become a lot easier. But
VMS is still fundamentally different than
a traditional Unix or Linux.

Applications designed based on assumption that
process creation is super fast will never perform well
on VMS.

Process-DCL-program works different on VMS than
process-shell-program on *nix.

No changes to C RTL can change that.

Arne
Re: VAX-11/780 up and running at LSSM
#19
Author: Craig A. Berry
Date: Sat, 14 Nov 2026 17:14
16 lines
2175 bytes
On 11/14/26 9:21 AM, Arne Vajhøj wrote:

> macOS may have all the Unix libraries and utilities, but what
> is under the hood is still different.
That's more or less backwards.  While there are enough Unix-derived
libraries and utilities that it could qualify for Unix 03 pretty recently:

https://www.osnews.com/story/140868/macos-15-0-now-unix-03-certified/

there are a ton of other libraries and utilities and of course the
pretty interface layered on top of the Unix-derived core.

And all of the unixen are different from each other as well. If Tru64
was Unix with its Mach kernel, then it's pretty hard to say macOS with
its Mach/BSD hybrid kernel is not Unix "under the hood."
Re: VAX-11/780 up and running at LSSM
#20
Author: Bill Gunshannon
Date: Sat, 14 Nov 2026 21:30
56 lines
3031 bytes
On 11/14/26 10:21, Arne Vajhøj wrote:
> On 11/11/2026 8:59 AM, Scott Dorsey wrote:
>> David Donald Hooton  <ddh@shell02.theworld.com> wrote:
>>> After reading the article, I think that what Brian does and what I do 
>>> are
>>> slightly different. As I read it, he opens a terminal from his Mac to a
>>> remote Unix system while I open a terminal to the Unix that is hidden 
>>> within
>>> MacOs.
>>
>> The harder you look, though, the more that you'll see the Unix hidden
>> in MacOS isn't all that Unixlike down at the bottom.  It's good enough
>> to run a lot of Unix code even if most of the man pages are missing, but
>> there are all kinds of interesting restrictions that you can run into.
>>
>> At least I keep hitting them.
> X is Not Unix
> 
> :-)
> 
> macOS may have all the Unix libraries and utilities, but what
> is under the hood is still different.
> 
> Sometimes what is under the hood impacts functionality
> above.
> 
> I know nothing about macOS. But we all know VMS.
> 
> DEC/CPQ/HP/HPE/VSI has spent a lot of effort the
> last 35 years to try and make *nix applications
> build and run on VMS.
> 
> And in general it has become a lot easier. But
> VMS is still fundamentally different than
> a traditional Unix or Linux.
> 
> Applications designed based on assumption that
> process creation is super fast will never perform well
> on VMS.
> 
> Process-DCL-program works different on VMS than
> process-shell-program on *nix.
> 
> No changes to C RTL can change that.
> 
> Arne

Speed of process creation is not the biggest difference between VMS
and Unix.  fork() is.  VMS can not do fork() and it was the basis for
innumerable  Unix  applications.  And not just client/server ones.
Until VMS can create a copy of a process that shares everything with
the original except actual memory space VMS will never be a reasonable 
target for Unix applications.

bill
Re: VAX-11/780 up and running at LSSM
#21
Author: Lawrence D’Oliveiro
Date: Sat, 14 Nov 2026 22:14
25 lines
2306 bytes
On Sat, 14 Nov 2026 11:14:43 -0600, Craig A. Berry wrote:

> On 11/14/26 9:21 AM, Arne Vajhøj wrote:
>
>> macOS may have all the Unix libraries and utilities, but what is
>> under the hood is still different.
>
> That's more or less backwards. While there are enough Unix-derived
> libraries and utilities that it could qualify for Unix 03 pretty
> recently:

Apple seems to have abandoned trying to keep new versions of macOS
licensed for the “UNIX®” trademark
<https://www.opengroup.org//openbrand/register/xy.htm>.

And why Unix 03, last updated over two decades ago? Why not the latest
spec, Unix V7?

> there are a ton of other libraries and utilities and of course the
> pretty interface layered on top of the Unix-derived core.

And some underlying limitations.

For instance, I just found out that macOS doesn’t even have a native
poll(2) call, it has to be emulated with select(2).
Re: VAX-11/780 up and running at LSSM
#22
Author: Craig A. Berry
Date: Sat, 14 Nov 2026 22:47
14 lines
2182 bytes
On 11/14/26 4:14 PM, Lawrence D’Oliveiro wrote:
> On Sat, 14 Nov 2026 11:14:43 -0600, Craig A. Berry wrote:

> Apple seems to have abandoned trying to keep new versions of macOS
> licensed for the “UNIX®” trademark
> <https://www.opengroup.org//openbrand/register/xy.htm>.
> 
> And why Unix 03, last updated over two decades ago? Why not the latest
> spec, Unix V7?
Apple probably noticed there is nothing on either list they want to be
in the company of.  It's now only HP-UX and AIX for 03 and AIX for V7.
So why pay for all the qualification testing if it just gets you onto a
very short list of one dead and one niche platform?
Re: VAX-11/780 up and running at LSSM
#23
Author: Lawrence D’Oliveiro
Date: Sat, 14 Nov 2026 22:50
22 lines
2297 bytes
On Sat, 14 Nov 2026 16:47:06 -0600, Craig A. Berry wrote:

> On 11/14/26 4:14 PM, Lawrence D’Oliveiro wrote:
>>
>> On Sat, 14 Nov 2026 11:14:43 -0600, Craig A. Berry wrote:
>
>> Apple seems to have abandoned trying to keep new versions of macOS
>> licensed for the “UNIX®” trademark
>> <https://www.opengroup.org//openbrand/register/xy.htm>.
>>
>> And why Unix 03, last updated over two decades ago? Why not the
>> latest spec, Unix V7?
>>
> Apple probably noticed there is nothing on either list they want to
> be in the company of.

And they would still get exactly the same “UNIX®” trademark in any
case. Because there’s no need to put a disclaimer in any of their
advertising that says “we only conform to an old version of the UNIX®
spec, not the latest one”.

And now they’ve given up on even that.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads