I need to get the 'raw' context associated with a given selinuxsecuritycontext for a file or pid. You don't need to know what that means except that the only way I can find to get that info is via the system lib 'context_range_get'.
See "
How do I access that in Perl. I have found examples of doing it in C and C++, but, I cannot use those approaches. Must stay in Perl.
Or, is there another way to get the regular and raw contexts for a given file, user, or PID that more readily available?
'hope this helps
If you are new to Tek-Tips, please use descriptive titles, check the FAQs, and beware the evil typo.
See "
How do I access that in Perl. I have found examples of doing it in C and C++, but, I cannot use those approaches. Must stay in Perl.
Or, is there another way to get the regular and raw contexts for a given file, user, or PID that more readily available?
'hope this helps
If you are new to Tek-Tips, please use descriptive titles, check the FAQs, and beware the evil typo.