summaryrefslogtreecommitdiffstats
path: root/kernel/profile.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2014-12-23 15:05:36 +1030
committerRusty Russell <rusty@rustcorp.com.au>2014-12-23 15:07:41 +1030
commit574732c73d155320f9358d9ee5d84beb0f4ecee2 (patch)
tree7ec0855efcbc207f6e226ab97f5da0bdaa2adb4c /kernel/profile.c
parentaa39477b5692611b91ac9455ae588738852b3f60 (diff)
downloadop-kernel-dev-574732c73d155320f9358d9ee5d84beb0f4ecee2.zip
op-kernel-dev-574732c73d155320f9358d9ee5d84beb0f4ecee2.tar.gz
param: initialize store function to NULL if not available.
I rebased Kees' 'param: do not set store func without write perm' on top of my 'params: cleanup sysfs allocation'. However, my patch uses krealloc which doesn't zero memory, leaving .store unset. Reported-by: Sasha Levin <sasha.levin@oracle.com> Cc: Kees Cook <keescook@chromium.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud