Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sysctl_binary.c Create Date:2022-07-28 09:12:12
Last Modify:2020-03-17 13:22:06 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:deprecated_sysctl_warning

Proto:static void deprecated_sysctl_warning(const int *name, int nlen)

Type:void

Parameter:

TypeParameterName
const int *name
intnlen
35  If nlen >= 2 && name[0] == CTL_KERN && name[1] == KERN_VERSION Then Return
38  If printk_ratelimit() Then
39  printk(formational "warning: process `%s' used the deprecated sysctl system call with ", comm)
42  When i < nlen cycle 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  Return
Caller
NameDescribe
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.