[ECOS] struct proc

Andrew Lunn andrew.lunn@ascom.ch
Thu Aug 30 08:56:00 GMT 2001


On Thu, Aug 30, 2001 at 05:47:05PM +0200, David.Karlberg@combitechsystems.com wrote:
> 
> I am working on porting the openBSD PPP to eCos.
> 
> And some of the functions use the struct proc. 
> Is there somthing I could use instead of struct proc, or should I just try 
> to remove it? 

It will depend on what its trying to use within the proc structure. If
its just wanting to test is the user is a super user, disable the
code. If its trying to work out which tty the process has etc, you
have a bigger problem.

You will have to do a case by case evaluation.

        Andrew        



More information about the Ecos-discuss mailing list