psx: Integrate libpsx with the GHC RTS

[ bsd3, library, system ] [ Propose Tags ]

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]

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
werror

Turn compiler warnings into errors.

Disabled

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

Candidates

Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.1.1
Change log CHANGELOG.md
Dependencies base (>=4.14.2.0 && <4.18) [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 2023-02-28T22:49:21Z
Distributions
Downloads 149 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for psx-0.1.1.1

[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.