1PROC_DOULONGVEC_MINM(9) The proc filesystem PROC_DOULONGVEC_MINM(9)
2
3
4
6 proc_doulongvec_minmax - read a vector of long integers with min/max
7 values
8
10 int proc_doulongvec_minmax(struct ctl_table * table, int write,
11 void __user * buffer, size_t * lenp,
12 loff_t * ppos);
13
15 table
16 the sysctl table
17
18 write
19 TRUE if this is a write to the sysctl file
20
21 buffer
22 the user buffer
23
24 lenp
25 the size of the user buffer
26
27 ppos
28 file position
29
31 Reads/writes up to table->maxlen/sizeof(unsigned long) unsigned long
32 values from/to the user buffer, treated as an ASCII string.
33
34 This routine will ensure the values are within the range specified by
35 table->extra1 (min) and table->extra2 (max).
36
37 Returns 0 on success.
38
40Kernel Hackers Manual 3.10 June 2019 PROC_DOULONGVEC_MINM(9)