[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: poslib port for Win32 platforms?
- From: "Henrique Manela" <heman@...>
- Date: Wed, 24 Apr 2002 14:52:45 -0300
I don't tink you need to know the kernel from the inside
to implement ppid.
What you need is the "Platform SDK",
Take a look at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/perfmon/too
lhelp_6tev.asp
----- Original Message -----
From: "Dirk Ringe" <dirk.ringe@gmx.net>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Wednesday, April 24, 2002 11:43 AM
Subject: RE: poslib port for Win32 platforms?
> The sysinternals guys are famous for knowing the windows nt kernel from
the
> inside out (without ever having seen the source!). Many of their tools
> install device drivers to get all the needed information.
> But that doesn't mean that there in not a valid call in user mode to get
> this information.
>
> Dirk
>
> -----Original Message-----
> From: owner-lua-l@tecgraf.puc-rio.br
> [mailto:owner-lua-l@tecgraf.puc-rio.br]On Behalf Of Henrique Manela
> Sent: Wednesday, April 24, 2002 4:33 PM
> To: Multiple recipients of list
> Subject: Re: poslib port for Win32 platforms?
>
>
>
> ----- Original Message -----
> From: "David Burgess" <david@spinifex.net>
> To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
> Sent: Wednesday, April 24, 2002 10:31 AM
> Subject: Re: poslib port for Win32 platforms?
>
>
> > A few are not possible, I know of no way of getting a
> > parent pid. Most of the PROCAUTH functions become
> > simple stubs , the FILE functions I have except for link.
>
> But, there must be some way to do it, since there are
> programs tha list the hole process hierachy available from
> microsoft and other sources (Sysinternals, www.sysinternals.com)
>
>
> > ----- Original Message -----
> > From: "Antonio E. Scuri" <scuri@tecgraf.puc-rio.br>
> > To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
> > Sent: Wednesday, April 24, 2002 10:22 PM
> > Subject: Re: poslib port for Win32 platforms?
> >
> >
> > >
> > > Last time I tried I stop on the following functions:
> > >
> > > TIME
> > > times
> > >
> > > SYSCONF
> > > uname
> > > sysconf
> > >
> > > PROCAUTH
> > > setuid
> > > setgid
> > > getpwnam
> > > getpwuid
> > > getgrnam
> > > getgrgid
> > > geteid
> > > getgid
> > > getuid
> > > getpgrp
> > > getppid
> > > getpid
> > >
> > > FILE
> > > opendir
> > > readir
> > > closedir
> > > pathconf
> > > fpathconf
> > > link
> > > chown
> > >
> > > Because they do not have a direct map to Win32 functions, including
> > > MSVCRT.LIB.
> > >
> > > I suggest to use Cygwin, or at least to copy their implementation
and
> > to
> > > keep poslib code intact as possible.
> > >
> > > Regards,
> > > scuri
> > >
> > >
> >
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.350 / Virus Database: 196 - Release Date: 17/4/2002
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.350 / Virus Database: 196 - Release Date: 17/4/2002