]> Savannah Git Hosting - gnulib.git/commit
selinux-h: add stubs and wrappers for raw counterparts
authorChristian Göttsche <cgzones@googlemail.com>
Tue, 19 Dec 2023 14:54:37 +0000 (15:54 +0100)
committerPádraig Brady <P@draigBrady.com>
Tue, 19 Dec 2023 17:11:41 +0000 (17:11 +0000)
commite9943f52df74d2659f18e06803591b2384dba171
tree31045c8c96c4c10252b361f3ef9ab2e7a01c19b0
parent44f6086116dedcc55633f249cbdd00770c88de60
selinux-h: add stubs and wrappers for raw counterparts

Add stubs and wrappers of already covered libselinux interfaces for
their `raw` counterparts.  These counterparts perform the same
operation expect for context translation.  Context translation is used
to convert SELinux MCS/MLS labels into human readable form, see
mcstransd(8).

* lib/se-selinux.in.h: Add declarations for raw variants.
* lib/se-label.in.h: Likewise.
* lib/getfilecon.c: Add wrappers for problematic raw variants.
* m4/selinux-selinux-h.m4: Use wrappers for problematic raw variants.
ChangeLog
lib/getfilecon.c
lib/se-label.in.h
lib/se-selinux.in.h
m4/selinux-selinux-h.m4