• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/libselinux/0001-workaround-blackfin-issue.patch
Thomas PetazzoniThomas Petazzoni committed 5a9dcd09f6408 Feb 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
Do not make symbols hidden on Blackfin
2
​
3
The libselinux logic to hide internal symbols from the DSO doesn't
4
work properly on Blackfin due to the USER_LABEL_PREFIX not being
5
handled properly. A real fix is not that simple, so this patch simply
6
disables the internal symbol hiding mechanism. This means that those
7
symbols are visible in the final DSO, which is not a problem for
8
proper execution, it just isn't as clean.
9
​
10
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11
​
12
Index: b/src/dso.h
13
===================================================================
14
--- a/src/dso.h
15
+++ b/src/dso.h
16
@@ -1,7 +1,7 @@
17
 #ifndef _SELINUX_DSO_H
18
 #define _SELINUX_DSO_H 1
19
 
20
-#ifdef SHARED
21
+#if defined(SHARED) && !defined(__bfin__)
22
 # define hidden __attribute__ ((visibility ("hidden")))
23
 # define hidden_proto(fct) __hidden_proto (fct, fct##_internal)
24
 # define __hidden_proto(fct, internal) \
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.