Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:19:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smack_syslog - Smack approval on syslog*@typefrom_file: unused* Returns 0 on success, error code otherwise.
Proto:static int smack_syslog(int typefrom_file)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | typefrom_file |
| 517 | rc = 0 |
| 520 | If smack_privileged( Override MAC access) Then Return 0 |
| 523 | If smack_syslog_label != NULL && smack_syslog_label != skp Then rc = -EACCES |
| 526 | Return rc |
| 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 |