handle protection - please comment

egor duda deo@logos-m.ru
Wed Apr 18 23:33:00 GMT 2001


Thursday, 19 April, 2001 Robert Collins robert.collins@itdomain.com.au wrote:

>> yes. or via trusted server process running under administrator
>> account. i suppose PSTORES.EXE (MS' "Protected storage service" is
>> used for somthing like this).

RC> Hmm.. could we use pstores?

no, unless someone provides us with the documentation of it's
interface. Moreover, i'm not even sure that it can be used, i was just

>> CV> Wouldn't that problem (which originally was related to ttys) be resolved
>> CV> if the master cares for the duplication?
>> but slave may also care to not allow master to get into its address
>> space or read/write its files. yeah, it's slave, but that doesn't mean
>> it have no natural human (err, i mean process :-) ) rights.

RC> Well actually :}As the parent can't launch a process in a higher context
RC> that it is in..?

master/slave != parent/child

master and slave can be absolutely unrelated processes, one of which
is reading /dev/tty0 and other is writing to /dev/tty0. one of them,
which opens /dev/tty0 first is master, other is slave. this has
absolutely nothing to do with parent/child relationship.

Egor.            mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19

More information about the Cygwin-developers mailing list