lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0804141034220.20665@alien.or.mcafeemobile.com>
Date:	Mon, 14 Apr 2008 10:42:04 -0700 (PDT)
From:	Davide Libenzi <davidel@...ilserver.org>
To:	Michael Kerrisk <mtk.manpages@...il.com>
cc:	Arnd Bergmann <arnd@...db.de>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Al Viro <viro@....linux.org.uk>
Subject: Re: [patch] F_GETPATH for linux

On Mon, 14 Apr 2008, Michael Kerrisk wrote:

> On 4/14/08, Davide Libenzi <davidel@...ilserver.org> wrote:
> > On Mon, 14 Apr 2008, Arnd Bergmann wrote:
> >
> >  > On Monday 14 April 2008, Davide Libenzi wrote:
> >  > > I was working on some bsd/linux compatibility code, and I noticed that we
> >  > > do not have F_GETPATH. I know we can readlink /proc/PID/fd/FD (that is
> >  > > what I'm doing now, under #ifdef), but I gave a patch a shot anyway.
> >  > > Here it is, building but untested ...
> >  >
> >  > I reviewed the code path for compat_sys_fcntl{,64} for this patch, looks
> >  > good in that respect.
> >  >
> >  > > +error:
> >  > > +   free_page((unsigned long) buf);
> >  > > +   return size;
> >  > > +}
> >  > > +EXPORT_SYMBOL(fcntl_getpath);
> >  > > +
> >  >
> >  > Procfs cannot be a module, and there are no other users of this function,
> >  > so why do you export it?
> >
> >
> > Springtime export fever? :)
> >  I dropped the export. I'll repost as soon as I've five minutes to reboot
> >  my box (to test the thing a little).
> 
> Davide,
> 
> Please CC me on all kernel-userland API changes, so that I can watch
> for changes that may be needed for man-pages.

Michael, I will.



- Davide


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ