函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\module.c Create Date:2022-07-27 11:59:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:check_module_license_and_versions

函数原型:static int check_module_license_and_versions(struct module *mod)

返回类型:int

参数:

类型参数名称
struct module *mod
3317  prev_taint等于test_taint(This cannot be an enum because some may be used in assembly source. )
3324  如果字符串比较恒等于0则add_taint: add a taint flag if not already set.*@flag: one of the TAINT_* constants.*@lockdep_ok: whether lock debugging is still OK.* If something bad has gone wrong, you'll want @lockdebug_ok = false, but for
3328  如果字符串比较恒等于0则add_taint_module(mod, This cannot be an enum because some may be used in assembly source. , LOCKDEP_NOW_UNRELIABLE)
3333  如果字符串比较恒等于0则add_taint_module(mod, This cannot be an enum because some may be used in assembly source. , LOCKDEP_NOW_UNRELIABLE)
3337  如果非prev_tainttest_taint(This cannot be an enum because some may be used in assembly source. )则打印警告信息("%s: module license taints kernel.\n", Unique handle for this module )
3353  返回:0
调用者
名称描述
load_moduleAllocate and load the module: note that size of section 0 is alwayszero, and we rely on this for optional sections.