文件操作 - license.h
返回文件管理
返回主菜单
删除本文件
文件: /usr/src/linux-headers-5.15.0-186/include/linux/license.h
编辑文件内容
/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __LICENSE_H #define __LICENSE_H static inline int license_is_gpl_compatible(const char *license) { 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); } #endif
修改文件时间
将文件时间修改为当前时间的前一年
删除文件