In a C program, you can edit your capabilities with cap_set_proc
from libcap
. How can I achieve the same in a Perl program?
Asked
Active
Viewed 369 times
7
1 Answers
6
Linux::Prctl may meet your needs.
If not, you can use syscall() and try to do it the hard way.
If that's unpalatable, too (and I would find it so), I'm sure CPAN would welcome you to contribute Linux::CapNG bindings...

pilcrow
- 56,591
- 13
- 94
- 135
-
@pilcrow: heh. +1 on CapNG bindings ;) – tink May 16 '13 at 18:33