psx: Integrate @libpsx@ with the GHC RTS

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

This library embeds libpsx in a GHC Haskell-compiled application.

Note libpsx performs some trickery with signal handling in a process. Furthermore, when using this library, sigfillset will be wrapped so SIGSYS is not set, in order for the GHC RTS ticker thread not to block the signal and work properly with libpsx.

Warning: libpsx on current Ubuntu and Debian systems (from libcap 2.44) is broken. Hence, this library contains a bundled version of libpsx by default. Disable the bundled-libpsx flag to use a system-provided version of the library, which must be from libcap version 2.46 or higher. The license of the bundled library can be found in cbits/psx/License.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.0, 0.1.1.0, 0.1.1.1
Change log CHANGELOG.md
Dependencies base (>=4.14.2.0 && <4.17) [details]
License BSD-3-Clause
Copyright (c) 2022 Nicolas Trangez
Author Nicolas Trangez
Maintainer ikke@nicolast.be
Category System
Home page https://github.com/NicolasT/landlock-hs
Bug tracker https://github.com/NicolasT/landlock-hs/issues
Source repo head: git clone https://github.com/NicolasT/landlock-hs.git -b main(psx)
Uploaded by NicolasTrangez at 2022-08-24T16:22:54Z

Modules

[Index] [Quick Jump]

Flags

Manual Flags

NameDescriptionDefault
bundled-libpsx

Use the bundled libpsx instead of a (potentially broken) system-provided version. See cbits/psx/License.

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for psx-0.1.0.0

[back to package description]

psx: Haskell bindings for libpsx

This library embeds libpsx in a GHC Haskell-compiled application.

Note libpsx performs some trickery with signal handling in a process. Furthermore, when using this library, sigfillset will be wrapped so SIGSYS is not set, in order for the GHC RTS ticker thread not to block the signal and work properly with libpsx.

See this GHC proposal for a potential future replacement of this library using functionality built into the GHC RTS.

Warning: libpsx on current Ubuntu and Debian systems (from libcap 2.44) is broken. Hence, this library contains a bundled version of libpsx by default. Disable the bundled-libpsx flag to use a system-provided version of the library, which must be from libcap version 2.46 or higher.