| Function report | 
| Source Code: security\smack\smack_lsm.c | Create Date:2022-07-28 19:24:27 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:smack_key_getsecurity - Smack label tagging the key*@key points to the key to be queried*@_buffer points to a pointer that should be set to point to the* resulting string (if no label or an error occurs)
Proto:static int smack_key_getsecurity(struct key *key, char **_buffer)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct key * | key | |
| char ** | _buffer | 
| 4301 | skp = security data for this key | 
| 4305 | If ( security data for this key == NULL) Then | 
| 4306 | * _buffer = NULL | 
| 4307 | Return 0 | 
| 4316 | Return length | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |