capabilities-d ~master
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
- ~master released 5 days 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
-
2 downloads this week
-
2 downloads this month
-
2 downloads total
-
- Score:
- 0.3
- Short URL:
- capabilities-d.dub.pm