Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:proc_taint

Proto:static int proc_taint(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)

Type:int

Parameter:

TypeParameterName
struct ctl_table *table
intwrite
void __user *buffer
size_t *lenp
loff_t *ppos
2612  tmptaint = get_taint()
2615  If write && Not Check operation authority Then Return -EPERM
2618  t = table
2619  data = tmptaint
2620  err = read a vector of long integers with min/max values
2621  If err < 0 Then Return err
2624  If write Then
2630  When i < BITS_PER_LONG && tmptaint >> i cycle
2636  Return err