capabilities-d 1.0.0

Linux capabilities in dlang


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

capabilities-d

A wrapper around the linux capabilitiy system and libcap in dlang.

License

The code in this repository is licensed under AGPL-3.0-or-later; for more details see the LICENSE file in the repository.

Usage

  • get_capid_byname(string) to lookup human readable names to capability id's.
  • setCurrentCapabilities(string[]) to set the current capabilities from a list of human readable names.
  • the Capabilities struct to control capabilities more fine-graded than setCurrentCapabilities.
Authors:
  • Mai Lapyst
Dependencies:
none
Versions:
1.0.0 2024-Nov-02
~master 2024-Nov-02
Show all 2 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 5 downloads this month

  • 7 downloads total

Score:
0.4
Short URL:
capabilities-d.dub.pm