ntsec patch 10

Corinna Vinschen corinna@vinschen.de
Sat Aug 7 05:36:00 GMT 1999


Hi Chris,

I have attached a tiny patch to ntsec. Maybe, it's helpful in the case of
Earnies get_signal_mutex problem. When ntsec is on, the security attributes
of any started process now contain an access allowed ACE for the special
NT authority named `CREATOR OWNER'. It's only an idea, I don't know,
if this really helps, because I can't reproduce Earnies effect.

Unfortunately, with the 5-Aug snapshot, nothing has changed in the described
behaviour of `man' and `make'.

The output of man is as with 3-Aug snapshots:

  /usr/local/bin/groff: can't find `DESC' file
  /usr/local/bin/groff:fatal error: invalid device `ascii'
   0 0 [main] D:\bin\sh.exe 1034 sig_send: error sending signal(-3) to 
  pid 1034, Win32 error 6

regardless of the setting of ntsec.

It's always bash, which has this problem!
I have made tests with zsh and ksh as /bin/sh with funny results:

zsh:
	make runs without problems
	man results in no output but in no sig_send error, too.
ksh:
	make runs without problems
	man results in
	  /usr/local/bin/groff: can't find `DESC' file
	  /usr/local/bin/groff:fatal error: invalid device `ascii'
	but without the sig_send error message.

I would like to test it with ash as /bin/sh. Would you be so kind, to send
me a fresh binary?

Do you wish to receive more straces and if so, what kind of, which commands
and so on.

Corinna

ChangeLog:
==========

Sat Aug 7 14:30:00  Corinna Vinschen  <corinna@vinschen.de>

	* security.cc (get_creator_owner_sid): New function.
	* shared.cc (sec_user): calls `get_creator_owner_sid' in creation
	of the security attributes structure additionally.
ntsec-patch10.bz2



More information about the Cygwin-developers mailing list