summaryrefslogtreecommitdiff
path: root/tools/perf/ui/gtk/browser.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-02-03 13:20:19 -0500
committerDavid S. Miller <davem@davemloft.net>2017-02-06 16:53:29 -0500
commitc5d35cb32cffa6e4c2db1cbd9a544e10a8d6fda9 (patch)
treea63a457dfaa6d4196a7bce8dfaed28eb67b5af5e /tools/perf/ui/gtk/browser.c
parent9c26542685130ef3b55cdb4e04eec0ac33376b41 (diff)
net: dsa: change state setter scope
The scope of the functions inside net/dsa/slave.c must be the slave net_device pointer. Change to state setter helper accordingly to simplify callers. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/ui/gtk/browser.c')
0 files changed, 0 insertions, 0 deletions
, the plugin starts by inserting a local variable in every marked function. The plugin then adds logic so that the value of this variable is modified by randomly chosen operations (add, xor and rol) and random values (gcc generates separate static values for each location at compile time and also injects the stack pointer at runtime). The resulting value depends on the control flow path (e.g., loops and branches taken). Before the function returns, the plugin mixes this local variable into the latent_entropy global variable. The value of this global variable is added to the kernel entropy pool in do_one_initcall() and _do_fork(), though it does not credit any bytes of entropy to the pool; the contents of the global are just used to mix the pool. Additionally, the plugin can pre-initialize arrays with build-time random contents, so that two different kernel builds running on identical hardware will not have the same starting values. Signed-off-by: Emese Revfy <re.emese@gmail.com> [kees: expanded commit message and code comments] Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'include/xen')