Home
last modified time | relevance | path

Searched refs:table_copy (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/kernel/
Dpid_sysctl.h12 struct ctl_table table_copy; in pid_mfd_noexec_dointvec_minmax() local
18 table_copy = *table; in pid_mfd_noexec_dointvec_minmax()
25 table_copy.data = &scope; in pid_mfd_noexec_dointvec_minmax()
26 table_copy.extra1 = &parent_scope; in pid_mfd_noexec_dointvec_minmax()
28 err = proc_dointvec_minmax(&table_copy, write, buf, lenp, ppos); in pid_mfd_noexec_dointvec_minmax()
/linux-6.6.21/security/yama/
Dyama_lsm.c435 struct ctl_table table_copy; in yama_dointvec_minmax() local
441 table_copy = *table; in yama_dointvec_minmax()
442 if (*(int *)table_copy.data == *(int *)table_copy.extra2) in yama_dointvec_minmax()
443 table_copy.extra1 = table_copy.extra2; in yama_dointvec_minmax()
445 return proc_dointvec_minmax(&table_copy, write, buffer, lenp, ppos); in yama_dointvec_minmax()