Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sysctl.c Create Date:2022-07-28 09:11:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:warn_sysctl_write

Proto:static void warn_sysctl_write(struct ctl_table *table)

Type:void

Parameter:

TypeParameterName
struct ctl_table *table
2069  pr_warn_once("%s wrote to %s when file position was not 0!\nThis will not be supported in the future. To silence this\nwarning, set kernel.sysctl_writes_strict = -1\n", comm, Text ID for /proc/sys, or zero )
Caller
NameDescribe
proc_first_pos_non_zero_ignoreproc_first_pos_non_zero_ignore - check if first position is allowed*@ppos: file position*@table: the sysctl table* Returns true if the first position is non-zero and the sysctl_writes_strict* mode indicates this is not allowed for numeric input types