[yocto] Issues with yocto and kernel option CONFIG_MULTIUSER

2015-09-11 Thread Robert Calhoun
A new kernel feature, CONFIG_MULTIUSER, was added to the linux kernel in 4.1: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2813893f8b197a14f1e1ddb04d99bce46817c84a This advanced kernel option defaults to “y", see:

[yocto] [prelink-cross] New version available

2015-09-11 Thread Mark Hatle
I've pushed a new set of changes to the prelink_cross branch. The change most likely to affect YP users will be the arch-arm fix contributed by Andrew Stubbs (Mentor). This resolves a problem where the prelinker would not work on modern binutils due to a change in the BFD library. For more

[yocto] How can i modify the dropbear.service file in ssh-server-dropbear IMAGE_FEATURE

2015-09-11 Thread Vivek Per
Hi, I want to modify changes to the dropbear.service and dropbearkey.service files before yocto creating the final image (This resides in /lib/systemd/system/***.services). This dropbear is added through *IMAGE_FEATURES =+ "ssh-server-dropbear" *in image recipe*.* Can i able to change

[yocto] [PATCH][meta-selinux] audit/auvirt: get inline functions work with C99

2015-09-11 Thread wenzong.fan
From: Wenzong Fan This fixes link errors: auvirt.c:484: undefined reference to `copy_str' auvirt.c:667: undefined reference to `is_resource' As gcc5 doc about "Different semantics for inline functions": > C99 extern inline: An externally visible function is

[linux-yocto] [PATCH] Bluetooth: Delay check for conn->smp in smp_conn_security()

2015-09-11 Thread wu . zheng
From: Wu Zheng There are several actions that smp_conn_security() might make that do not require a valid SMP context (conn->smp pointer). One of these actions is to encrypt the link with an existing LTK. If the SMP context wasn't initialized properly we should still allow the

[linux-yocto] [PATCH] Bluetooth: Delay check for conn->smp in smp_conn_security()

2015-09-11 Thread Wu Zheng
There are several actions that smp_conn_security() might make that do not require a valid SMP context (conn->smp pointer). One of these actions is to encrypt the link with an existing LTK. If the SMP context wasn't initialized properly we should still allow the independent actions to be done, i.e.

[yocto] [meta-raspberrypi] rootfs fails

2015-09-11 Thread Edward Vidal
Hello All, My rootfs is failing when adding liba52, libmad, libav. x264, and libav. This is for a raspberrypi2. I updated the meta data on 09/10/15. meta-yocto-bsp    = "fido:d4585fa23d56a58c583ee33db067a23177a936b1" meta-raspberrypi  = "fido:17dad9328b100beda1cf870c9075e509b5cbfa90" meta-oe

[yocto] [yocto-docs][PATCH] ref-manual: Clarify PACKAGECONFIG in combination with inherit cmake

2015-09-11 Thread Pascal Bach
Signed-off-by: Pascal Bach --- documentation/ref-manual/ref-variables.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 4c4fc22..122b31d 100644 ---

[yocto] [yocto-docs][PATCH] adt-manual: Change mentioning of YOCTOADT_IPKG_REPO to YOCTOADT_REPO

2015-09-11 Thread Pascal Bach
Signed-off-by: Pascal Bach --- documentation/adt-manual/adt-prepare.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/adt-manual/adt-prepare.xml b/documentation/adt-manual/adt-prepare.xml index 01f569f..c69966e 100644 ---

Re: [yocto] [EDT][PATCH][prelink-cross] dso validation check fix

2015-09-11 Thread Mark Hatle
Merged to the staging branch. On 5/6/15 12:16 AM, Maninder Singh wrote: > EP-F6AA0618C49C4AEDA73BFF1B39950BAB > Hi Mark, > > dso null pointer check is wrongly placed. > > > Signed-off-by: Maninder Singh > Signed-off-by: Vaneet Narang >

Re: [yocto] [EDT][prelink-cross][PATCH] cleanup code

2015-09-11 Thread Mark Hatle
Merged to the staging branch. On 5/6/15 12:51 AM, Maninder Singh wrote: > EP-F6AA0618C49C4AEDA73BFF1B39950BAB > Hi, > > Remove dso NULL check because before calling this API > already checking for dso NULL and also dso pointer is used before this check. > > Signed-off-by: Akhilesh Kumar

Re: [yocto] [EDT][prelink-cross] LD_PRELOAD Implementation in Prelink

2015-09-11 Thread Mark Hatle
Merged to the staging branch. On 5/18/15 12:17 AM, Maninder Singh wrote: > EP-F6AA0618C49C4AEDA73BFF1B39950BAB > Hi, > > Subject: [PATCH 1/1] LD_PRELOAD Implementation in Prelink > > prelink fails if there are ld_preload libs present at target with below > error. > expect libsX.so.1,

Re: [yocto] [EDT][prelink-cross][PATCH 1/1] bugifx for soname mismatch

2015-09-11 Thread Mark Hatle
I believe the change is incorrect. The soname must match the required soname. So if I am understanding this properly: 1. Create a library (libB.so) with an SONAME of 'libB.so'. 2. Link app to libB.so 3. Create a library (libA.so) with an SONAME of 'libA.so'. 4. remove libB.so ; ln -sf libA.so

Re: [yocto] [EDT] [PATCH] [prelink-cross] realloc fix memory leak

2015-09-11 Thread Mark Hatle
Merged to the staging branch. On 5/6/15 12:07 AM, Maninder Singh wrote: > EP-F6AA0618C49C4AEDA73BFF1B39950BAB > > Hi Mark, > > Free previously allocated memory if realloc fails. > > Signed-off-by: Maninder Singh > Signed-off-by: Vaneet narang >

Re: [yocto] [prelink-cross][PATCH 1/1] rtld: remove if check before free

2015-09-11 Thread Mark Hatle
I did not merge this patch. While it's not strictly necessary to get for allocation before free. It's also not a bad practice to do so. --Mark On 6/23/15 7:28 AM, Maninder Singh wrote: > No need of explicit NULL check before free > > Signed-off-by: Maninder Singh >

[yocto] [PATCH][meta-selinux 1/8] Add common files for 20150202 SELinux userspace release.

2015-09-11 Thread Philip Tricca
Note the change in the URL from the last release. We were pulling source tarballs generated by GitHub as part of its reponse to the addition of tags. The SELinux project maintains their own releases on the wiki at: https://github.com/SELinuxProject/selinux/wiki/Releases Signed-off-by: Philip

[yocto] [PATCH][meta-selinux 0/8] Update toolstack to 2.4 release dated 2015-02-02.

2015-09-11 Thread Philip Tricca
Update toolstack to 2.4 release dated 2015-02-02. Backport patches to setools for compatibility with new toolstack. Update refpolicy recipe to cope with new policy CIL. Philip Tricca (8): Add common files for 20150202 SELinux userspace release. libsepol: Bump version to 2.4. libselinux:

Re: [yocto] [PATCH][meta-selinux] net-tools: Rename net-tools bbappend with wildcard for minor version.

2015-09-11 Thread Philip Tricca
Woops, duplicate. Please disregard. On 09/10/2015 09:36 PM, Philip Tricca wrote: > Signed-off-by: Philip Tricca > --- > recipes-extended/net-tools/net-tools_1.%.bbappend | 11 +++ > recipes-extended/net-tools/net-tools_1.60-25.bbappend | 11 --- > 2 files

[yocto] [PATCH][meta-selinux 7/8] setools: Add patch to support 2.4 toolstack.

2015-09-11 Thread Philip Tricca
Signed-off-by: Philip Tricca --- ...s-Update-for-2015-02-02-Userspace-release.patch | 114 + ...rect-invalid-prototype-for-lsetfilecon_ra.patch | 34 -- recipes-security/setools/setools_3.3.8.bb | 2 +- 3 files changed, 115 insertions(+), 35

[yocto] [PATCH][meta-selinux 8/8] refpolicy: Update policy install and bootstrap process for CIL.

2015-09-11 Thread Philip Tricca
The policy modules are now installed into /var/lib/selinux instead of /etc/selinux. Policies now have priorities. This is represented as part of the path under /var/lib/selinux. The new intermediate policy representation requires that we install the policy package as 3 files (hll, cil & lang_ext)

Re: [yocto] [prelink-cross] LD_PRELOAD Implementation in Prelink

2015-09-11 Thread Maninder Singh
Hi Mark, Thanks for checking, There is one bug in this patch , we will share the fix after testing probably on monday. Thanks Maninder Singh >>Merged to the staging branch. >On 5/18/15 12:17 AM, Maninder Singh wrote: >> EP-F6AA0618C49C4AEDA73BFF1B39950BAB >> Hi, >> >> Subject: [PATCH 1/1]

[yocto] [PATCH][meta-selinux 6/8] policycoreutuils: Bump version to 2.4.

2015-09-11 Thread Philip Tricca
This integrates the new hll tool for compiling pp files into cil. The hack to stage pp into the sysroot is a bit weird but the libexec dir seems to be something bitbake doesn't account for. Had to pull one patch from upstream to build the MLS policy. This fixes an error where the auditadm_r and

[yocto] [PATCH][meta-selinux 4/8] checkpolicy: Bump version to 2.4.

2015-09-11 Thread Philip Tricca
Signed-off-by: Philip Tricca --- recipes-security/selinux/checkpolicy_2.3.bb | 7 --- recipes-security/selinux/checkpolicy_2.4.bb | 7 +++ 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 recipes-security/selinux/checkpolicy_2.3.bb create mode 100644

[yocto] [PATCH][meta-selinux 5/8] libsemanage: Bump version to 2.4.

2015-09-11 Thread Philip Tricca
Signed-off-by: Philip Tricca --- ...emanage-disable-expand-check-on-policy-load.patch | 20 +--- recipes-security/selinux/libsemanage_2.3.bb | 17 - recipes-security/selinux/libsemanage_2.4.bb | 18 ++ 3 files

[yocto] [PATCH][meta-selinux 3/8] libselinux: Bump version to 2.4.

2015-09-11 Thread Philip Tricca
Signed-off-by: Philip Tricca --- recipes-security/selinux/libselinux_2.3.bb | 15 --- recipes-security/selinux/libselinux_2.4.bb | 15 +++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 recipes-security/selinux/libselinux_2.3.bb

[yocto] [PATCH][meta-selinux 2/8] libsepol: Bump version to 2.4.

2015-09-11 Thread Philip Tricca
Signed-off-by: Philip Tricca --- recipes-security/selinux/libsepol_2.3.bb | 7 --- recipes-security/selinux/libsepol_2.4.bb | 7 +++ 2 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 recipes-security/selinux/libsepol_2.3.bb create mode 100644

[yocto] meta-selinux minimum policy

2015-09-11 Thread Divya Vyas
Hi, I have mls and targeted policy installed on my system. I want to have a minimum policy with all user unconfined and nothing restricted. I took a minimum policy from selinux-policy-minium noarch rpm and kept in /etc/selinux folder and edit SELINUXTYPE=minimum. Is this enough to load a new

Re: [yocto] [meta-raspberrypi] rootfs fails

2015-09-11 Thread Trevor Woerner
Ah good, someone else is seeing the problems I've been seeing :-) In my case it has nothing to do with anything that I'm adding to my image, it just happens (apparently) randomly. Try building again, it might succeed this time. In my case I'm just building plain old "core-image-minimal" with

[linux-yocto] [PATCH 1/1] cc2520: set the default fifo pin value from platform data

2015-09-11 Thread Yong Li
When the device tree support is disabled, the fifo_pin is uninitialized, this patch will set the fifo_pin value based on platform data Signed-off-by: Yong Li Acked-by: Varka Bhadram Signed-off-by: Marcel Holtmann (cherry picked

Re: [yocto] How can i modify the dropbear.service file in ssh-server-dropbear IMAGE_FEATURE

2015-09-11 Thread Anders Darander
* Vivek Per [150911 11:18]: > I want to modify changes to the dropbear.service and > dropbearkey.service files before yocto creating the final image (This > resides in /lib/systemd/system/***.services). This dropbear is added > through *IMAGE_FEATURES =+

[linux-yocto] [PATCH 0/1] cc2520: set the default fifo pin value from platform data

2015-09-11 Thread Yong Li
Dear Maintainers, This patch fixes a bug in the CC2520 device driver. Please merge in standard/base branch for linux-yocto-4.1 if this looks okay. Thanks Yong Li (1): cc2520: set the default fifo pin value from platform data drivers/net/ieee802154/cc2520.c | 1 + 1 file changed, 1

Re: [linux-yocto] [PATCH 0/1] cc2520: set the default fifo pin value from platform data

2015-09-11 Thread Bruce Ashfield
On 15-09-11 03:56 AM, Yong Li wrote: Dear Maintainers, This patch fixes a bug in the CC2520 device driver. Please merge in standard/base branch for linux-yocto-4.1 if this looks okay. I've staged the change, and once build/boot tests have passed, I'll push the changes. Bruce Thanks Yong

[yocto-announce] [ANNOUNCEMENT] Intel(R) Valley Island BSP for Yocto Project 1.7.2 (Dizzy)

2015-09-11 Thread Flanagan, Elizabeth
Hi all, We are pleased to announce the updated release of the Intel® Valley Island BSP for the Yocto Project "dizzy" 1.7.2 release. https://www.yoctoproject.org/downloads/bsps/dizzy172/valley-island Supported Platforms: - Bayley Bay CRB - Bakersport CRB - Valley Island

[yocto-announce] [ANNOUNCEMENT] Intel(R) Haswell-Walnut Canyon BSP for Yocto Project 1.7.2 (Dizzy)

2015-09-11 Thread Flanagan, Elizabeth
Hi all, We are pleased to announce the updated release of the Intel® Haswell-Walnut Canyon BSP for the Yocto Project "dizzy" 1.7.2 release. https://www.yoctoproject.org/downloads/bsps/dizzy172/haswell-walnut-canyon Features Supported in this Release: • Linux kernel version 3.10 • Support

[yocto] Yocto Project Status WW37

2015-09-11 Thread Jolley, Stephen K
Current Dev Position: 1.9 Milestone 3 (M3) Next Deadline: M3 cut off of August 24th at noon GMT (On hold until most likely next week) SWAT team rotation: Beth -> Saul https://wiki.yoctoproject.org/wiki/Yocto_Build_Failure_Swat_Team Key Status/Updates: * M3/Feature freeze is still