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 thansetCurrentCapabilities
.
- Registered by Mai Lapyst
- 1.0.0 released a month ago
- Bithero-Agency/capabilities-d
- AGPL-3.0-only
- Copyright © 2024, Mai Lapyst
- Authors:
- Dependencies:
- none
- Versions:
-
1.0.0 2024-Nov-02 ~master 2024-Nov-02 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
7 downloads total
-
- Score:
- 0.3
- Short URL:
- capabilities-d.dub.pm