Getting all pathname accesses

What is the most secure way of guaranteeing that my I/O manager
will:
a) always get all requests for all pathname accesses
b) prevent anyone from bypassing it

Is it sufficient to simply be the very first process running
that has expressed an interest in “/”, and to be _PPF_IMMORTAL?

Cheers,
-RK

[If replying via email, you’ll need to click on the URL that’s emailed to you
afterwards to forward the email to me – spam filters and all that]
Robert Krten, PDP minicomputer collector http://www.parse.com/~pdp8/

Robert Krten <rk@parse.com> wrote:

What is the most secure way of guaranteeing that my I/O manager
will:
a) always get all requests for all pathname accesses
b) prevent anyone from bypassing it

Is it sufficient to simply be the very first process running
that has expressed an interest in “/”, and to be _PPF_IMMORTAL?

I don’t think / catches //x/ references that go off node.

Otherwise, being first & immortal should work.

Of course, nothing else can register as / once you’ve done so.
(QNX4 doesn’t allow union mounts the way QNX6 does.)

-David

Please follow-up to newsgroup, rather than personal email.
David Gibbs
QNX Training Services
dagibbs@qnx.com

David Gibbs <dagibbs@qnx.com> wrote:

Robert Krten <> rk@parse.com> > wrote:
What is the most secure way of guaranteeing that my I/O manager
will:
a) always get all requests for all pathname accesses
b) prevent anyone from bypassing it

Is it sufficient to simply be the very first process running
that has expressed an interest in “/”, and to be _PPF_IMMORTAL?

I don’t think / catches //x/ references that go off node.

That’s fine; that will be up to other nodes to handle if they care…

Otherwise, being first & immortal should work.

Of course, nothing else can register as / once you’ve done so.
(QNX4 doesn’t allow union mounts the way QNX6 does.)

Are you aware of anything that currently registers as “/”,
except perhaps the CSC? I can’t think of anything off hand…

Or are you saying that the filesystem won’t be able to register
either? If so – yuck; I’ll need to mount it elsewhere and
redirect all requests… :frowning:

Cheers,
-RK

-David

Please follow-up to newsgroup, rather than personal email.
David Gibbs
QNX Training Services
dagibbs@qnx.com


[If replying via email, you’ll need to click on the URL that’s emailed to you
afterwards to forward the email to me – spam filters and all that]
Robert Krten, PDP minicomputer collector http://www.parse.com/~pdp8/

Robert Krten <rk@parse.com> wrote:

David Gibbs <> dagibbs@qnx.com> > wrote:

Of course, nothing else can register as / once you’ve done so.
(QNX4 doesn’t allow union mounts the way QNX6 does.)

Are you aware of anything that currently registers as “/”,
except perhaps the CSC? I can’t think of anything off hand…

Actually Csc doesn’t register /, it usually takes sub-parts
of the tree, like /bin.

Or are you saying that the filesystem won’t be able to register
either? If so – yuck; I’ll need to mount it elsewhere and
redirect all requests… > :frowning:

That’s what I’m saying. Fsys doesn’t have some special magic,
and QNX4 only allowed a pathname to be registered once.

-David

Please follow-up to newsgroup, rather than personal email.
David Gibbs
QNX Training Services
dagibbs@qnx.com