www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/08/07/08:38:39

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
List-Unsubscribe: <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <37AC2878.F2D7458D@vinschen.de>
Date: Sat, 07 Aug 1999 14:37:12 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
X-Mailer: Mozilla 4.6 [en] (WinNT; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: Chris Faylor <cgf AT cygnus DOT com>
CC: cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: ntsec patch 10

This is a multi-part message in MIME format.
--------------CFA1813AA05BA9249A1F317C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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 AT vinschen DOT 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.
--------------CFA1813AA05BA9249A1F317C
Content-Type: application/octet-stream;
 name="ntsec-patch10.bz2"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="ntsec-patch10.bz2"

QlpoOTFBWSZTWX5XS6wAAdF/gHA0wDBzf//6/+XfoL/n3/5gA589QlAoAHGjJkYRiAYTQYBN
BoGTJoyZDCAxxoyZGEYgGE0GATQaBkyaMmQwgMcaMmRhGIBhNBgE0GgZMmjJkMIDCU0UJNMT
IAB6mIaNANANGgNAaGgBxoyZGEYgGE0GATQaBkyaMmQwgMJIhNNASehNNU9NNqanpNPSPU0/
UI9EZqGmnqN6psUx6pBWJMgyXIe0PrN+kJsah4t9GT/f1VFSipwHsrhCRElLYQlXN2sDxPDn
d+grO8wEHpNIOkkXJxhIsOziGhxCFRL7d4zIPdvAhiBa9a9nZCMGKecO87S09B4EplA4Pg9/
o2zPKMpi5DUWKK/ozbx5GqWCVRosaawEjSktOevlxERM1ZVVzzFIoxTH4WvCJRW3bQEAFkkx
p6dl5BUE6+psJSJMRTDcSdPiRFCkVAYuFxlczQkJWExfybpYiIYq6+EqNWa05eV5PaKmmVRD
jhbENWG/dJJJJK2HWFElJicQ1eo58Bl1gUK59Qx5ziOmARCHWLEW2DNo8LNfTCMXuCp7WcYm
m1MxWp1whUDOziwERKB5D6FEXCS0F1TpklUq6RtgbwDhAWz4HENgLRukNngSOk9vzDTFfCpH
vDsLBywOr9SITSTjbRpZiRAke8oOf6UDuMp254VlZJLEUjcEdxYj4pkQzORoTkERu4YXEaKL
1BpExQ2iiRMsTTapLgPiqGNZ2jlxlpMi/lZBbrV6zjHAYFhcyHj3A2TMzQG1+ndfARXy4Hb2
0Jl4ZGzrE5mWm/InqB7xZBrgXk1oWwcoJy4XZywqIJ4cY1pAfwnKd6cO1XQ8yJfGReTukndy
ZjsZbTaxhsn3OxQoGoNKwiAEhihBfP9hHgAkGSrDm+VaPcW5mSCCGFnBwdGdjRcGXRI8pgYh
Mz79ArzAB0bwklVyCmFStDVUrA2i40K1ZDF5w/g0V9QMfmWHeBAkXkDkhX0wh/zP5mcmKgGS
HdeSAJhMJYkkYmBzHyI6yomRHsZGuIcKeGc5uPTyoqRsSzDcRQKFXSYhAqE0GC2kQgTNAp0K
gmH7lw5RQJA4MYmIsUbDOrjcV2oo6egqlayXPFODwBawgHjZQMh4sSNRQIG5LiKitFdxNILj
MyXuVZgeIVdQE06NBtN6ZMV2HCjTgrDsLQkYhoGCqKJorSvRn6PG4M/m/8XckU4UJB+V0usA

--------------CFA1813AA05BA9249A1F317C--


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019