aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2020-10-29 17:36:19 +0000
committerJakub Kicinski <kuba@kernel.org>2020-11-02 18:01:34 -0800
commit6370cc3bbd8a0f9bf975b013781243ab147876c6 (patch)
tree1d800ae66d7a5b639dd86a99532436150af97528 /tools/perf/scripts/python/mem-phys-addr.py
parentkernel: make kcov_common_handle consider the current context (diff)
downloadlinux-6370cc3bbd8a0f9bf975b013781243ab147876c6.tar.gz
linux-6370cc3bbd8a0f9bf975b013781243ab147876c6.zip
net: add kcov handle to skb extensions
Remote KCOV coverage collection enables coverage-guided fuzzing of the code that is not reachable during normal system call execution. It is especially helpful for fuzzing networking subsystems, where it is common to perform packet handling in separate work queues even for the packets that originated directly from the user space. Enable coverage-guided frame injection by adding kcov remote handle to skb extensions. Default initialization in __alloc_skb and __build_skb_around ensures that no socket buffer that was generated during a system call will be missed. Code that is of interest and that performs packet processing should be annotated with kcov_remote_start()/kcov_remote_stop(). An alternative approach is to determine kcov_handle solely on the basis of the device/interface that received the specific socket buffer. However, in this case it would be impossible to distinguish between packets that originated during normal background network processes or were intentionally injected from the user space. Signed-off-by: Aleksandr Nogikh <nogikh@google.com> Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
450adb86cb4b20b24dd8c4e0cc2d8f&follow=1'>mlxsw: spectrum: Implement common FID coreIdo Schimmel8-761/+1278 2017-05-26mlxsw: spectrum_router: Determine VR first when creating RIFIdo Schimmel1-16/+22 2017-05-26mlxsw: spectrum_router: Flood packets to router after RIF creationIdo Schimmel1-8/+8 2017-05-26mlxsw: spectrum_router: Destroy RIF only based on its structIdo Schimmel1-6/+6 2017-05-26mlxsw: spectrum_router: Configure RIFs based on RIF structIdo Schimmel1-33/+23 2017-05-26mlxsw: spectrum_router: Extend the RIF structIdo Schimmel1-4/+27 2017-05-26mlxsw: spectrum_router: Allocate RIF prior to its configurationIdo Schimmel1-21/+19 2017-05-26mlxsw: spectrum_router: Allocate FID prior to RIF configurationIdo Schimmel1-13/+12 2017-05-26mlxsw: spectrum: Replace vPorts with Port-VLANIdo Schimmel4-1243/+1421 2017-05-26mlxsw: spectrum: Don't create FIDs upon creation of VLAN uppersIdo Schimmel2-98/+13 2017-05-26mlxsw: spectrum: Don't lose bridge port device during enslavementIdo Schimmel1-23/+44 2017-05-26mlxsw: spectrum_router: Replace vPorts with Port-VLANIdo Schimmel2-74/+67 2017-05-26mlxsw: spectrum: Change signature of FID leave functionIdo Schimmel3-21/+47 2017-05-26mlxsw: spectrum: Introduce Port-VLAN structureIdo Schimmel2-3/+68 2017-05-26mlxsw: spectrum: Set port's mode according to FID mappingsIdo Schimmel4-28/+63 2017-05-26bridge: Export multicast enabled stateIdo Schimmel2-0/+13 2017-05-26bridge: Export VLAN filtering stateIdo Schimmel6-13/+21 2017-05-26dsa: mv88e6xxx: Enable/Disable SERDES on port enable/disableAndrew Lunn1-8/+42 2017-05-26net: dsa: mv88e6xxx: mv88e6390X SERDES supportAndrew Lunn3-0/+184 2017-05-26net: dsa: mv88e6xxx: Remove SERDES flagAndrew Lunn2-24/+2 2017-05-26net: dsa: mv88e6xxx: Refactor mv88e6352 SERDES code into an opAndrew Lunn5-48/+122 2017-05-26net: dsa: mv88e6xxx: Move phy functions into phy.[ch]Andrew Lunn5-232/+287 2017-05-26ipv4: add reference counting to metricsEric Dumazet5-23/+45 2017-05-26net: ethernet: ax88796: support generating a random mac addressUwe Kleine-König1-0/+6 2017-05-26net: ethernet: ax88796: don't call free_irq without request_irq firstUwe Kleine-König1-5/+2 2017-05-26ip6_tunnel, ip6_gre: fix setting of DSCP on encapsulated packetsPeter Dawson2-14/+20 2017-05-26net: phy: marvell: Uniform page namesAndrew Lunn1-48/+46 2017-05-26net: phy: marvell: helper to get and set pageAndrew Lunn1-44/+31 2017-05-26net: phy: marvell: More hidden page changes refactoredAndrew Lunn1-16/+46 2017-05-26net: phy: marvell: #defines for copper and fibre pagesAndrew Lunn1-11/+11 2017-05-26liquidio: fix inaccurate count of napi-processed rx packets reported to OcteonPrasad Kanneganti2-3/+5 2017-05-26liquidio: fix rare pci_driver.probe failure of VF driverPrasad Kanneganti2-7/+10 2017-05-26sctp: fix ICMP processing if skb is non-linearDavide Caratti1-7/+9