diff options
author | José Bollo <jose.bollo@iot.bzh> | 2016-11-03 11:26:17 +0100 |
---|---|---|
committer | Stephane Desneux <stephane.desneux@iot.bzh> | 2017-03-27 15:33:39 +0200 |
commit | 827d7c1c4819737ca5442330c24588a83b72b87b (patch) | |
tree | 4b1401d98ad99d08dedd8dc58b4279fe227bd15f /meta-netboot/recipes-kernel/linux/linux-yocto_%.bbappend | |
parent | 532f6ad992ae7631dd44a74d0a0bd43126ce3bdf (diff) |
Smack: fixup of bluetooth socket labelling
The sockets created by kernel thread will now be
tagged @ instead of _.
This problem was occuring during creation of AF_BLUETOOTH (but is
also latent AF_ALG, AF_IUCV, AF_SCTP, AF_TIPC as they don't go
through the normal socket creation process within linux).
Having the tag @ allows read/write to sockets without special
rules and tus solve the problem.
This solution from upstream linux patches backported and from
a patch made by Samsung for Tizen and that is currently
discussed within kernel lists.
Also add some improvements of the LSM Smack (valid caching and signal 0).
These improvements are backports of patches already available for
linux 4.9-rc3.
AGL-bug: SPEC-293 (https://jira.automotivelinux.org/browse/SPEC-293)
Change-Id: I5999a951a4bbeba7947ebfe5df091de07d59e57e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Diffstat (limited to 'meta-netboot/recipes-kernel/linux/linux-yocto_%.bbappend')
0 files changed, 0 insertions, 0 deletions