Thu Feb 5 17:43:00 GMT 2004
On Feb 5 11:00, Pierre A. Humblet wrote:
> > > 2004-02-04 Pierre Humblet <firstname.lastname@example.org>
> > >
> > > * security.h (SID): New macro.
> > > (well_known_*_sid): Change type to cygpsid.
> > > (cygsid::init): Delete declaration.
> > > * sec_helper.cc (well_known_*_sid): Define as cygpsid and initialize.
> > > (cygsid::init): Delete.
> > > * dcrt0.cc (dll_crt0_0): Do not call cygsid::init.
> > > * security.cc (get_user_local_groups): Change the second argument type to
> > > cygpsid.
> > What about this definition of SID instead:
> I assume you will apply everything.
Done. I was a bit surprised that the below patch works as expected,
though. I want to give it a test first.
> 2004-02-05 Pierre Humblet <email@example.com>
> * uinfo.cc (cygheap_user::init): Use sec_user_nih to build a
> security descriptor. Set both the process and the default DACLs.
> * fork.cc (fork_parent): Use sec_none_nih security attributes.
> * spawn.cc (spawn_guts): Ditto.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:firstname.lastname@example.org
Red Hat, Inc.
More information about the Cygwin-patches