Re: patch 3: sshd

2002-11-12 Thread Corinna Vinschen
On Wed, 06 Nov 2002 11:36:31 -0500, Pierre A. Humblet wrote: Currently setuid on Win95/98/ME always returns success but does not change the uid. That confuses some programs that verify if the setuid has really succeeded. It is literally a two line change in Cygwin to fix that, but

Re: ntsec patch 1: uid==gid, chmod, alloc_sd, is_grp_member

2002-11-12 Thread Pierre A. Humblet
Corinna Vinschen wrote: Hi Pierre, On Wed, 06 Nov 2002 11:28:30 -0500, Pierre A. Humblet wrote: Note that is_grp_member is expensive: a passwd scan + getting the token groups in a malloc'ed structure. I am wondering if the effort is justified, considering that it is useless when the

Re: patch 3: sshd

2002-11-12 Thread Pierre A. Humblet
Corinna Vinschen wrote: On Wed, 06 Nov 2002 11:36:31 -0500, Pierre A. Humblet wrote: Currently setuid on Win95/98/ME always returns success but does not change the uid. That confuses some programs that verify if the setuid has really succeeded. It is literally a two line change in