Edit linux capabilities in Perl
Asked Answered
B

1

7

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?

Blend answered 16/5, 2013 at 16:17 Comment(0)
A
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...

Adenaadenauer answered 16/5, 2013 at 16:29 Comment(1)
@pilcrow: heh. +1 on CapNG bindings ;)Wheaten

© 2022 - 2024 — McMap. All rights reserved.