函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:set_license

函数原型:static void set_license(struct module *mod, const char *license)

返回类型:void

参数:

类型参数名称
struct module *mod
const char *license
2510  如果非licenselicense等于"unspecified"
2513  如果非license_is_gpl_compatible(license)则
2514  如果非test_taint(This cannot be an enum because some may be used in assembly source. )则打印警告信息("%s: module license '%s' taints kernel.\n", Unique handle for this module , license)
2517  add_taint_module(mod, This cannot be an enum because some may be used in assembly source. , LOCKDEP_NOW_UNRELIABLE)
调用者
名称描述
check_modinfo