Re: kern___getcwd() returns ENOTDIR

2004-06-28 Thread David Malone
On Mon, Jun 28, 2004 at 01:26:56AM -0700, David Schultz wrote: > It was discussed when phk merged it into kern___getcwd() last > year, and on at least one other occasion. However, I can't seem > to find the relevant thread in the mail archives. Perhaps phk or > dwmalone remember. The only proble

Re: kern___getcwd() returns ENOTDIR

2004-06-28 Thread David Schultz
On Mon, Jun 28, 2004, Pawel Jakub Dawidek wrote: > On Sun, Jun 27, 2004 at 11:12:20AM -0700, David Schultz wrote: > +> On Sun, Jun 27, 2004, Kentucky Mandeloid Mo. wrote: > +> > I'm writng a smal kernel module that catches file access syscalls. > +> > At every syscall I need a full name of file is

Re: kern___getcwd() returns ENOTDIR

2004-06-28 Thread Pawel Jakub Dawidek
On Sun, Jun 27, 2004 at 11:12:20AM -0700, David Schultz wrote: +> On Sun, Jun 27, 2004, Kentucky Mandeloid Mo. wrote: +> > I'm writng a smal kernel module that catches file access syscalls. +> > At every syscall I need a full name of file is being passed to a syscall. +> > I'm getting it with a pat

Re: kern___getcwd() returns ENOTDIR

2004-06-27 Thread David Schultz
On Sun, Jun 27, 2004, Kentucky Mandeloid Mo. wrote: > I'm writng a smal kernel module that catches file access syscalls. > At every syscall I need a full name of file is being passed to a syscall. > I'm getting it with a path passed to syscall and if path is not starting > with / I get current wor

kern___getcwd() returns ENOTDIR

2004-06-27 Thread Kentucky Mandeloid Mo.
I'm writng a smal kernel module that catches file access syscalls. At every syscall I need a full name of file is being passed to a syscall. I'm getting it with a path passed to syscall and if path is not starting with / I get current working directory of process using kern___getcwd(). In every sy