文件操作 - license.h
返回文件管理
返回主菜单
删除本文件
文件: /usr/src/kernels/4.18.0-553.125.1.el8_10.x86_64/include/linux/license.h
编辑文件内容
#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
修改文件时间
将文件时间修改为当前时间的前一年
删除文件