selabel_get_digests_all_partial_matches - Online Linux Manual PageSection : 3
Updated : 14 April 2019
Source : SELinux API documentation
NAMEselabel_get_digests_all_partial_matches − retrieve the partial matches digest and the xattr digest that applies to the supplied path − Only supported on file backend.
SYNOPSIS#include <stdbool.h>
#include <selinux/selinux.h>
#include <selinux/label.h> bool selabel_get_digests_all_partial_matches( struct selabel_handle *hnd,
const char *key,
uint8_t **calculated_digest,
uint8_t **xattr_digest,
size_t *digest_len);
DESCRIPTIONselabel_get_digests_all_partial_matches() retrieves the file_contexts partial matches digest and the xattr digest that applies to the supplied path on the handle hnd.
The key parameter is the path to retrieve the digests.
The calculated_digest is a pointer to the key calculated file_contexts digest of all applicable partial matches, or NULL if none exist. The caller must free(3) the buffer.
The xattr_digest is a pointer to the key xattr(7) stored digest, or NULL if it does not exist. The caller must free(3) the buffer.
The digest_len is the length of the digests that will always be returned (even if both are NULL). Note that if both digests are returned, they will always be the same length.
RETURN VALUETRUE if the digests match or FALSE if they do not or either or both are missing.
SEE ALSOselinux_restorecon(3), selabel_partial_match(3), selabel_open(3), selinux(8), selabel_file(5) 0
Johanes Gumabo
Data Size : 5,146 byte
man-selabel_get_digests_all_partial_matches.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 185,143
Visitor ID : :
Visitor IP : 3.141.47.139 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.