Function report |
Source Code:kernel\module.c |
Create Date:2022-07-28 10:58:58 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:check_module_license_and_versions
Proto:static int check_module_license_and_versions(struct module *mod)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct module * | mod |
3328 | If strcmp( Unique handle for this module , "driverloader") == 0 Then add_taint_module(mod, This cannot be an enum because some may be used in assembly source. , LOCKDEP_NOW_UNRELIABLE) |
3333 | If strcmp( Unique handle for this module , "lve") == 0 Then add_taint_module(mod, This cannot be an enum because some may be used in assembly source. , LOCKDEP_NOW_UNRELIABLE) |
3337 | If Not prev_taint && test_taint(This cannot be an enum because some may be used in assembly source. ) Then pr_warn("%s: module license taints kernel.\n", Unique handle for this module ) |
3353 | Return 0 |
Name | Describe |
---|---|
load_module | Allocate and load the module: note that size of section 0 is alwayszero, and we rely on this for optional sections. |
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 |