Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snapcore/snapcraft-preloads
https://github.com/snapcore/snapcraft-preloads
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/snapcore/snapcraft-preloads
- Owner: snapcore
- License: gpl-3.0
- Created: 2020-06-30T14:17:53.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-31T20:53:26.000Z (over 4 years ago)
- Last Synced: 2024-07-18T09:57:58.005Z (4 months ago)
- Language: C
- Size: 24.4 KB
- Stars: 1
- Watchers: 11
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# snapcraft-preloads
Individual libraries that can be preloaded in snaps to ensure behavior is
consistent with confinement rules.## Available Libraries
### semaphores
Rewrite paths for `sem_open` and `sem_unlink` for them to write in the
appropriate paths available to a given snap.### bindtextdomain
Searches for domainname in alternative paths relative to snaps or the *platform*
snap it may be using.These are the relative-to snap paths searched for are:
- `gnome-platform/usr/share/locale`
- `gnome-platform/usr/share/locale-langpack`
- `usr/share/locale`
- `usr/share/locale-langpack`## Building
To build all projects, just run `make` at the root of this project.Each subdirectory can be individually built using `make -C `.
A resulting `libpreload-.so` is the output of each `Makefile` which can be
install with `make install` to its default target of `$DESTDIR/libpreload-.so`## Using
In the given snap where it is to be used, add the library to the list of
`LD_PRELOAD` libraries (`:` separated list).