team:kang:code
=>  Releases

Current version
Git/Latestdiff: 1.5.6

Latest Snapshots
Produced after each commit or rebase to new upstream version

GIT
RSBAC source code, can be unstable sometimes

=>  Events

No events planned

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
team:kang:code [2005/10/07 11:01] – created kangteam:kang:code [2005/10/07 11:02] kang
Line 1: Line 1:
-  * //Function to show RSBAC's UM hashes...// +
-<code c> +
-int rsbac_show_hash(char *type, char *hash) +
-{      +
-        char *p; +
-        int x, len = 0; +
-        p = rsbac_kmalloc(100); +
-        for(x=0; x<RSBAC_UM_PASS_LEN;x++) +
-                len += sprintf(p+len, "0x%x", hash[x]); +
-        rsbac_printk(KERN_INFO "hash %s: %s\n", type, p); +
-        rsbac_kfree(p); +
-        return 0; +
-+
-</code>+
//
team/kang/code.txt · Last modified: 2006/05/02 13:40 by 127.0.0.1

team/kang/code.txt · Last modified: 2006/05/02 13:40 by 127.0.0.1
This website is kindly hosted by m-privacy