summaryrefslogtreecommitdiffstats
path: root/afb-client/bower_components/foundation-icon-fonts/svgs/fi-social-lastfm.svg
blob: e9ac380dc0baff4ebfb56df712317d6362877335 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 17.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 width="100px" height="100px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve">
<g>
	<path d="M78.404,46.408l-5.97-1.306c-4.104-0.932-5.316-2.611-5.316-5.41c0-3.171,2.518-5.037,6.622-5.037
		c4.478,0,6.903,1.68,7.276,5.69l9.328-1.119c-0.746-8.396-6.529-11.848-16.044-11.848c-8.395,0-16.604,3.172-16.604,13.34
		c0,6.344,3.078,10.354,10.82,12.22l6.344,1.492c4.757,1.12,6.342,3.079,6.342,5.784c0,3.451-3.357,4.85-9.701,4.85
		c-9.421,0-13.338-4.943-15.578-11.753l-3.078-9.327c-3.917-12.127-10.167-16.606-22.575-16.606
		c-13.712,0-20.988,8.676-20.988,23.414c0,14.18,7.276,21.828,20.336,21.828c10.541,0,15.578-4.944,15.578-4.944l-2.985-8.115
		c0,0-4.851,5.411-12.126,5.411c-6.437,0-11.008-5.598-11.008-14.553c0-11.474,5.783-15.578,11.474-15.578
		c8.208,0,10.82,5.317,13.059,12.127l2.985,9.328c2.984,9.048,8.581,16.324,24.719,16.324c11.568,0,19.403-3.545,19.403-12.873
		C90.718,52.192,86.426,48.274,78.404,46.408z"/>
</g>
</svg>
llow sharing of files? Then passing the vreated file descriptor to the client application fails with EPERM. To allow file descriptors to be tagged with a security label that allows clients to receive and use it, that patch introduce the use of the environment variable XDG_RUNTIMESHARE_DIR that takes precedence over XDG_RUNTIME_DIR whe, creating anonymous file is needed. A correct setting of the shared directory using Smack's transmute mechanism allows set up file tag for sharing. This patch was submitted upstream for discussion but was rejected with the following reason (IIRC): "the function 'os_create_anonymous_file' and the sharing are obsolete and should not be used anymore. IVI was requiring it but newer version don't use it". Halas, even aligned with latest versions of IVI-shell and weston, the patch is needed. Because of its simplicity, it can remain maintained locally out of mainstream in the wait of further investigations. Signed-off-by: José Bollo <jose.bollo@iot.bzh> diff --git a/shared/os-compatibility.c b/shared/os-compatibility.c index e19fb61b..826e48b8 100644 --- a/shared/os-compatibility.c +++ b/shared/os-compatibility.c @@ -157,7 +157,9 @@ os_create_anonymous_file(off_t size) int fd; int ret; - path = getenv("XDG_RUNTIME_DIR"); + path = getenv("XDG_RUNTIMESHARE_DIR"); + if (!path) + path = getenv("XDG_RUNTIME_DIR"); if (!path) { errno = ENOENT; return -1;