Re: Re: [UnixOS2] libc
Ilya Zakharevich <[email protected]> Mon, 23 Jun 2003 09:43:14 -0700
| Newsgroups | gmane.comp.ide.emx.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jun 23, 2003 at 06:22:02PM +0200, Sebastian Wittmeier (ShadoW) wrote: > On Mon, 23 Jun 2003 07:46:21 -0700, Ilya Zakharevich wrote: > > >> There are some multi-user additions being developped, so setuid might well > >> be able to get a uid != 0 in the not so distant future. > > >??? We were discussing *existing* programs, did not we? > > If we want to make "old programs work better without recompile" and > OS/2 gets multi-user capable, setuid won't be a dummy function any > longer, and will return the real uid. Some existing ports can't handle > that added functionality. [You mean getuid(), right?] So one will need to use EMXOPT=-!=0x40000 (or whatever it would be chosen) with these programs. That's all. Even with *broken* ports. Hope this helps, Ilya