Searched refs:license (Results 1 – 2 of 2) sorted by relevance
468 char license[128]; in bpf_prog_load() local475 if (strncpy_from_user(license, u64_to_ptr(attr->license), in bpf_prog_load()476 sizeof(license) - 1) < 0) in bpf_prog_load()478 license[sizeof(license) - 1] = 0; in bpf_prog_load()481 is_gpl = license_is_gpl_compatible(license); in bpf_prog_load()
2136 static void set_license(struct module *mod, const char *license) in set_license() argument2138 if (!license) in set_license()2139 license = "unspecified"; in set_license()2141 if (!license_is_gpl_compatible(license)) { in set_license()2144 mod->name, license); in set_license()