Thread (7 messages) 7 messages, 3 authors, 2009-11-14

Re: F_SETOWN_EX and F_GETLK64 conflict

flat view

From: Stephen Rothwell <hidden>
Date: 2009-10-30 05:13:29
Also in: lkml

Possibly related (same subject, not in this thread)

Hi Peter,

On Sun, 04 Oct 2009 23:30:22 +0200 Peter Zijlstra [off-list ref] wrote:
On Sun, 2009-10-04 at 12:35 +0000, Joseph S. Myers wrote:
quoted
In asm-generic/fcntl.h, F_SETOWN_EX and F_GETLK64 both have value 12, and 
F_GETOWN_EX and F_SETLK64 both have value 13.  I don't see how this is 
going to work correctly.  See 
<http://sourceware.org/ml/libc-ports/2009-10/msg00013.html>.

Ugh,.. yeah, non obvious collision that.
This is why we have F_LINUX_SPECIFIC_BASE and use it in
include/linux/fcntl.h ... it should be used as a base for any new fcntl
types since they don't require backward compatibility.

-- 
Cheers,
Stephen Rothwell                    sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org
http://www.canb.auug.org.au/~sfr/

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help