Displaying 1 result from an estimated 1 matches for "mac_to_text".
Did you mean:
cap_to_text
2007 May 29
0
LoMAC module: cannot get clearance level revoked
...el( &filelabel ) ) {
fprintf( stderr, "printfilelabel(%s): failed to prepare label\n", fname
);
exit( -1 );
}
if ( 0 != mac_get_file( fname, filelabel ) ) {
fprintf( stderr, "printfilelabel(%s): failed to get label\n", fname );
exit( -1 );
}
if ( 0 != mac_to_text( filelabel, &buf ) ) {
fprintf( stderr, "printfilelabel(%s): failed to convert label\n", fname
);
exit( -1 );
}
printf( "\tfilelabel(%s) is %s\n", fname, buf );
free( buf );
mac_free( filelabel );
}
void printmylabel() {
mac_t mylabel;
char *buf;
if ( 0...