Re: [patch] F_GETPATH implementation

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Davide Libenzi <davidel@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, Andrew Morton <akpm@...>, Arnd Bergmann <arnd@...>, Al Viro <viro@...>, Michael Kerrisk <mtk.manpages@...>, Christoph Hellwig <hch@...>
Date: Monday, April 14, 2008 - 6:48 pm

On Mon, 14 Apr 2008, Davide Libenzi wrote:

This won't work.

Different architectures have different F_xyzzy numbers, and 12 is already 
used by various ones (it's F_SETOWN in asm-parisc/fcntl.h, for example).

I think you'd have to do it in terms of F_LINUX_SPECIFIC_BASE, like 
F_NOTIFY is done, for example. That way you avoid these issues.

		Linus
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch] F_GETPATH implementation, Davide Libenzi, (Mon Apr 14, 3:40 pm)
Re: [patch] F_GETPATH implementation, Linus Torvalds, (Mon Apr 14, 6:48 pm)
Re: [patch] F_GETPATH implementation, Davide Libenzi, (Mon Apr 14, 7:09 pm)