Re: curproc question

2000-10-31 Thread Mike Smith
> Mike Smith wrote: > > > During a system call inside the kernel, can I safely assume that curproc > > > points to the process that issued the call? For example, will looking at > > > curproc in ip_output() tell me which process is responsible for generating > > > the packet? > > > > No. > > Too

Re: curproc question

2000-10-31 Thread Lars Eggert
Mike Smith wrote: > > During a system call inside the kernel, can I safely assume that curproc > > points to the process that issued the call? For example, will looking at > > curproc in ip_output() tell me which process is responsible for generating > > the packet? > > No. Too bad. In which cas

Re: curproc question

2000-10-31 Thread Mike Smith
> Quick question: > > During a system call inside the kernel, can I safely assume that curproc > points to the process that issued the call? For example, will looking at > curproc in ip_output() tell me which process is responsible for generating > the packet? No. -- ... every activity meets w

curproc question

2000-10-31 Thread Lars Eggert
Quick question: During a system call inside the kernel, can I safely assume that curproc points to the process that issued the call? For example, will looking at curproc in ip_output() tell me which process is responsible for generating the packet? Thanks, Lars -- Lars Eggert <[EMAIL PROTECTED]