Function report |
Source Code:kernel\kallsyms.c |
Create Date:2022-07-28 11:00:27 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:We show kallsyms information even to normal users if we've enabled* kernel profiling and are explicitly not paranoid (so kptr_restrict* is clear, and sysctl_perf_event_paranoid isn't set).* Otherwise, require CAP_SYSLOG (assuming kptr_restrict isn't set to
Proto:int kallsyms_show_value(void)
Type:int
Parameter:Nothing
| 651 | Case kptr_restrict == 0 |
| 652 | If kallsyms_for_perf() Then Return 1 |
| 655 | Case kptr_restrict == 1 |
| 656 | If has_capability_noaudit(current process, Allow configuring the kernel's syslog (printk behaviour) ) Then Return 1 |
| 659 | Default |
| 660 | Return 0 |
| Name | Describe |
|---|---|
| kallsyms_open |
| 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 |