Thread (6 messages) 6 messages, 4 authors, 2015-06-23

Re: UAPI headers including non-UAPI headers by accident?

flat view

From: Michael Kerrisk (man-pages) <hidden>
Date: 2015-06-18 07:53:06
Also in: lkml

[CC += David]

On 2 June 2015 at 18:36, Andy Lutomirski [off-list ref] wrote:
include/uapi/linux/signal.h starts with:

#ifndef _UAPI_LINUX_SIGNAL_H
#define _UAPI_LINUX_SIGNAL_H

#include <asm/signal.h>
#include <asm/siginfo.h>

This causes it to include <asm/signal.h>, which is not the same thing
as <uapi/asm/signal.h>.  Changing that will break userspace use of
this header, though, as the uapi/ won't get removed.

What's the correct fix?  This is causing trouble with a UML build for me.
Perhaps David has some insight, since he architected the original UAPI split.

Cheers,

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