Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\module.c Create Date:2022-07-28 10:58:32
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_license

Proto:static void set_license(struct module *mod, const char *license)

Type:void

Parameter:

TypeParameterName
struct module *mod
const char *license
2510  If Not license Then license = "unspecified"
2513  If Not license_is_gpl_compatible(license) Then
2514  If Not test_taint(This cannot be an enum because some may be used in assembly source. ) Then pr_warn("%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)
Caller
NameDescribe
check_modinfo