Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\license.h Create Date:2022-07-28 10:57:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:license_is_gpl_compatible

Proto:static inline int license_is_gpl_compatible(const char *license)

Type:int

Parameter:

TypeParameterName
const char *license
7  Return strcmp(license, "GPL") == 0 || strcmp(license, "GPL v2") == 0 || strcmp(license, "GPL and additional rights") == 0 || strcmp(license, "Dual BSD/GPL") == 0 || strcmp(license, "Dual MIT/GPL") == 0 || strcmp(license, "Dual MPL/GPL") == 0
Caller
NameDescribe
set_license
bpf_prog_load