search for: mac_free

Displaying 2 results from an estimated 2 matches for "mac_free".

Did you mean: xac_free
2007 May 29
0
LoMAC module: cannot get clearance level revoked
...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 != mac_prepare_process_label( &mylabel ) ) { fprintf( stderr, "printmylabel: failed to prepare label" ); exit( -1 ); } if ( 0 != mac_get_proc( mylabel ) ) { fprintf( stderr, "printmylabel...
2005 May 12
0
[PATCH] Trusted IRIX Support
...ring); + if(running_mac != NULL) { + if(mac_set_proc(running_mac) != 0) + fatal("Unable to set the process mac label " + "to %s!",mac_string); + mac_free(running_mac); + } + else + fatal("Unable to convert %s into a mac label!", + mac_string); + } + } + + #endif /* WITH_IRIX_MAC */ + diff -r -C3 openssh-4.0p1/session.c openssh-4.0p1.trix/session...