Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: Koen Kooi <koen@dominion.thruhere.net>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: Syscall backporting and linux-libc-headers
Date: Thu, 22 Mar 2012 11:44:50 -0400	[thread overview]
Message-ID: <4F6B48F2.8000107@windriver.com> (raw)
In-Reply-To: <7F144BE0-BBF4-4EE0-9A1E-A6842C846E00@dominion.thruhere.net>

On 12-03-22 11:12 AM, Koen Kooi wrote:
>
> Op 22 mrt. 2012, om 15:49 heeft Richard Purdie het volgende geschreven:
>
>> On Thu, 2012-03-22 at 13:22 +0100, Koen Kooi wrote:
>>> In my never ending quest to get consolekit/polkit/etc working properly
>>> I've found that CONFIG_AUDITSYSCALL is really usefull (it's usefull in
>>> other contexts as well, but that's outside the oe-core set of
>>> recipes). It has the following problem:
>>>
>>> config AUDITSYSCALL
>>>         bool "Enable system-call auditing support"
>>>         depends on AUDIT&&  (X86 || PPC || S390 || IA64 || UML ||
>>> SPARC64 || SUPERH)
>>>
>>> No MIPS or ARM support. There recently was a pull request from Al Viro
>>> to get at least ARM support into mainline, but I'm not sure what
>>> happened to that. Anyway, I backported the ARM patch to 3.0 and 3.2,
>>> but to make it usefull I'd need to patch linux-libc-headers and bump
>>> PR on virtual/libc.
>>>
>>> What's the OE-core position on backporting syscalls to
>>> linux-libc-headers?
>>
>> Why can't we just increase the linux-libc-headers version?

Sorry for the slow reply, I missed the original and was wrapped
up in some debugging.

>
> In this case that would be perfectly fine. And bump PR in virtual/libc of course :)

I was just about to do this. Just a day or so ago, I noticed that
the version had lagged (again) and needed to be bumped. I'm all
for this as well, as long as there's a graceful fallback of ENOSYS
there's no real harm to older kernels.

Richard: an to you on this one .. is it too late to do this for
the various stabilization points ?

>
>> Presumably
>> someone running a kernel without the patches won't see any issue, the
>> syscall just won't be present and software will fall back?
>
> Exactly

+1 (I read this after typing my response).

>
>> I think the big concern would be deviating from mainline as its not so
>> much a backport as a divergence at this point (and this is why we can't
>> just upgrade)?
>
> Speaking of divergence, what is the point of having linux-libc-headers-yocto_git.bb ?

Very little. It was originally used to export exactly the headers
as were present in the yocto kernel tree, but Richard and I since
agreed that tgz based libc-headers where faster and good enough.

We can move it to the yocto layers for use by anyone that really needs
this 1:1 mapping of kernel tree to headers in the system.

And a second: .. is it too late to do this for stabilization points ?

Cheers,

Bruce

>
> regards,
>
> Koen




  reply	other threads:[~2012-03-22 15:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-22 12:22 Syscall backporting and linux-libc-headers Koen Kooi
2012-03-22 14:49 ` Richard Purdie
2012-03-22 15:12   ` Koen Kooi
2012-03-22 15:44     ` Bruce Ashfield [this message]
2012-03-23 12:35       ` Richard Purdie
2012-03-23 12:40         ` Bruce Ashfield
2012-03-23 13:42         ` Bruce Ashfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F6B48F2.8000107@windriver.com \
    --to=bruce.ashfield@windriver.com \
    --cc=koen@dominion.thruhere.net \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox