函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sysctl_binary.c Create Date:2022-07-27 10:12:05
Last Modify:2020-03-17 13:22:06 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:deprecated_sysctl_warning

函数原型:static void deprecated_sysctl_warning(const int *name, int nlen)

返回类型:void

参数:

类型参数名称
const int *name
intnlen
35  如果nlen大于等于2且name[0]恒等于CTL_KERNname[1]恒等于KERN_VERSION则返回
38  如果printk_ratelimit()则
39  printk(formational "warning: process `%s' used the deprecated sysctl system call with ", comm)
42 i小于nlen循环printk(Annotation for a "continued" line of log printout (only done after a* line that had no enclosing \n). Only to be used by core/arch code* during early bootup (a continued line is not SMP-safe otherwise)."%d.", name[i])
44  printk(Annotation for a "continued" line of log printout (only done after a* line that had no enclosing \n). Only to be used by core/arch code* during early bootup (a continued line is not SMP-safe otherwise)."\n")
46  返回
调用者
名称描述
warn_on_bintablePrint each legacy sysctl (approximately) only once.* To avoid making the tables non-const use a external* hash-table instead.* Worst case hash collision: 6, but very rarely.* NOTE! We don't use the SMP-safe bit tests. We simply* don't care enough.