summaryrefslogtreecommitdiff
path: root/bpf_ext.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-04-21 16:50:23 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-04-21 16:50:23 +0200
commit7aebca65f569ceb5fd8a12bef5fa6b58f277683d (patch)
treed24596b0445d3a21ca5db4af480aa6e71bc74ae8 /bpf_ext.h
parentdce80974dcd2114ebb4a3ed3060d4d636cbb9d1d (diff)
mausezahn: Make sure '\0' is written after strncpy
Make sure params is always NULL-terminated as strncpy() doesn't guarantee this. Closes #134 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'bpf_ext.h')
0 files changed, 0 insertions, 0 deletions
s the 'pmu_bus_running' flag. The fix is to get the 'pmu_bus_running' flag state at the point the PMU is taken out of the PMU list and remove the device later only if it's set. Reported-by: CAI Qian <caiqian@redhat.com> Tested-by: CAI Qian <caiqian@redhat.com> Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Kan Liang <kan.liang@intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Rob Herring <robh@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/20161020111011.GA13361@krava Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation/DocBook/media')