linux/include/trace/events
Mickaël Salaün e7e0a54300
landlock: Widen ruleset versions to 64 bits
Tracepoint consumers use a ruleset ID and version to identify the
successful landlock_add_rule(2) call prefix used to create a domain.
LANDLOCK_MAX_NUM_RULES bounds distinct stored rules, not successful
calls: re-adding already-present rights for an object or port succeeds
without increasing num_rules.  Because every successful call increments
the version, these calls can wrap the 32-bit counter and give different
prefixes the same trace identity.

Widen the counter and its trace fields to 64 bits so the counter cannot
wrap in practice, while preserving the successful-call semantics.
Saturating would alias all subsequent histories, while rejecting a call
at the limit would change otherwise valid syscall behavior solely for
trace metadata.

Cc: Günther Noack <gnoack@google.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Fixes: 63747c9477 ("landlock: Add landlock_add_rule_fs and landlock_add_rule_net tracepoints")
Reviewed-by: Günther Noack <gnoack@google.com>
Link: https://patch.msgid.link/20260922132615.1025945-1-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
2026-09-22 20:52:13 +02:00
..
9p.h 9p: prevent read overrun in protocol dump tracepoint 2023-12-05 21:18:44 +09:00
afs.h afs: Add support for RENAME_NOREPLACE and RENAME_EXCHANGE 2025-09-25 09:19:07 +02:00
alarmtimer.h alarmtimer: Hide alarmtimer_suspend event when RTC_CLASS is not configured 2025-07-21 16:40:56 -04:00
amdxdna.h accel/amdxdna: Improve tracing for job lifecycle and mailbox RX worker 2026-04-22 08:35:21 -07:00
asoc.h ASoC: asoc.h: convert to snd_soc_dapm_xxx() 2025-11-17 00:14:25 +00:00
avc.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
bcache.h
block.h blk-mq: add tracepoint block_rq_tag_wait 2026-05-26 11:01:54 -06:00
bpf_test_run.h bpf: add bpf_modify_return_test_tp() kfunc triggering tracepoint 2024-03-28 18:31:40 -07:00
bridge.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
btrfs.h btrfs: use simple booleans for log_commit field in struct btrfs_root 2026-08-07 19:17:18 +02:00
cachefiles.h cachefiles: Fix potential UAF/KASAN warning 2026-08-31 09:54:38 +02:00
capability.h security: add trace event for cap_capable 2024-12-04 20:59:21 -06:00
ceph.h ceph: add manual reset debugfs control and tracepoints 2026-06-22 22:45:05 +02:00
cgroup.h cgroup: increase maximum subsystem count from 16 to 32 2026-02-01 06:34:15 -10:00
clk.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
cma.h mm/cma: add 'available count' and 'total count' to trace_cma_alloc_start 2025-09-13 16:55:15 -07:00
compaction.h mm: compaction: update the cc->nr_migratepages when allocating or freeing the freepages 2024-02-22 10:24:50 -08:00
context_tracking.h
coredump.h coredump: add tracepoint for coredump events 2026-03-23 13:15:52 +01:00
cpuhp.h
csd.h smp: Change function signatures to use call_single_data_t 2023-09-13 14:59:24 +02:00
damon.h mm/damon/core: use damon_nr_accesses_mvsum() for damos region tracing 2026-07-30 19:40:33 -07:00
devfreq.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
devlink.h devlink: add devlink_dev_driver_name() helper and use it in trace events 2026-03-14 13:08:49 -07:00
dlm.h dlm: remove lkb from callback tracepoints 2024-04-01 13:31:12 -05:00
dma_buf.h dma-buf: add some tracepoints to debug. 2026-01-21 13:27:54 +01:00
dma_fence.h dma-fence: Fix potential tracepoint null pointer dereferences 2026-04-15 11:52:23 +01:00
dma.h dma-mapping: Add internal shared allocation attribute 2026-07-31 08:40:58 +02:00
erofs.h erofs: add folio order to trace_erofs_read_folio 2026-06-18 16:19:33 +08:00
error_report.h
exceptions.h x86/tracing, x86/mm: Move page fault tracepoints to generic 2025-05-16 10:13:59 +02:00
ext4.h ext4: fast commit: add lock_updates tracepoint 2026-06-03 10:26:36 -04:00
f2fs.h f2fs: use f2fs_{down, up}_(read, write}_trace() for nat_tree_lock 2026-08-21 23:42:31 +00:00
fib.h ipv4: Convert ->flowi4_tos to dscp_t. 2025-08-26 17:34:31 -07:00
fib6.h tracing: ipv6: Add flow label to fib6_table_lookup tracepoint 2024-12-19 16:02:22 +01:00
filelock.h vfs-7.2-rc1.directory.delegations 2026-06-15 02:50:44 +05:30
filemap.h vfs: widen trace event i_ino fields to u64 2026-03-06 14:31:26 +01:00
firewire_ohci.h firewire: ohci: add tracepoints event for data of Self-ID DMA 2024-07-04 09:07:14 +09:00
firewire.h firewire: core: rename cause flag of tracepoints event 2024-09-12 22:30:38 +09:00
fs_dax.h vfs: widen trace event i_ino fields to u64 2026-03-06 14:31:26 +01:00
fscache.h cachefiles: fix slab-use-after-free in fscache_withdraw_volume() 2024-07-03 10:36:14 +02:00
fsi_master_aspeed.h
fsi_master_ast_cf.h
fsi_master_gpio.h
fsi_master_i2cr.h fsi: Add IBM I2C Responder virtual FSI master 2023-08-11 13:32:14 +09:30
fsi.h fsi: core: Add trace events for scan and unregister 2023-08-09 15:43:28 +09:30
fsnotify.h fsnotify: new tracepoint in fsnotify() 2026-05-15 19:24:33 +02:00
fsverity.h vfs: widen trace event i_ino fields to u64 2026-03-06 14:31:26 +01:00
gpio.h
gpu_mem.h
habanalabs.h accel/habanalabs: fix typo in trace output (cms -> cmd) 2025-09-25 09:09:28 +03:00
handshake.h net/handshake: Trace events for TLS Alert helpers 2023-07-28 14:07:59 -07:00
host1x.h gpu: host1x: trace: fix string fields in host1x traces 2026-05-28 17:19:28 +02:00
huge_memory.h mm: rename uffd-wp PTE accessors to uffd 2026-08-04 19:18:36 -07:00
hugetlbfs.h hugetlbfs: widen trace event i_ino fields to u64 2026-03-06 14:31:27 +01:00
hw_pressure.h sched/cpufreq: Rename arch_update_thermal_pressure() => arch_update_hw_pressure() 2024-04-24 12:08:01 +02:00
hwmon.h hwmon: Introduce 64-bit energy attribute support 2025-09-07 16:33:48 -07:00
i2c_slave.h
i2c.h
ib_mad.h
ib_umad.h
icmp.h net: icmp: avoid invalid transport header access in icmp_send tracepoint 2026-08-28 14:58:16 -07:00
initcall.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
intel_ifs.h trace: platform/x86/intel/ifs: Add SBAF trace support 2024-08-12 16:36:11 +02:00
intel_ish.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
intel-sst.h
io_uring.h io_uring/trace: rename io_uring_queue_async_work event "rw" field 2025-12-04 07:18:02 -07:00
iocost.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
iommu.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
ipi.h tracing: Report ipi_raise target CPUs as cpumask 2026-04-08 16:26:22 -04:00
irq_matrix.h genirq/matrix: Remove unused irq_matrix_alloc_reserved tracepoint 2025-06-02 13:12:26 -04:00
irq.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
iscsi.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
jbd2.h jbd2: remove journal_clean_one_cp_list() 2023-07-10 23:09:21 -04:00
kmem.h mm/tracing: rss_stat: ensure curr is false from kthread context 2026-02-24 11:13:27 -08:00
ksm.h mm/ksm: add tracepoint for ksm advisor 2023-12-29 11:58:27 -08:00
kvm.h LoongArch: KVM: Move kvm_iocsr tracepoint out of generic code 2025-09-23 23:37:26 +08:00
kyber.h kyber: Replace strlcpy with strscpy 2023-07-17 08:18:17 -06:00
landlock.h landlock: Widen ruleset versions to 64 bits 2026-09-22 20:52:13 +02:00
libata.h
lock.h tracing/lock: Use TRACE_EVENT_FN() for contended_release 2026-08-07 17:58:10 +02:00
maple_tree.h
mce.h x86/MCE/AMD: Add support for new MCA_SYND{1,2} registers 2024-10-31 10:36:07 +01:00
mctp.h
mdio.h trace: events: cleanup deprecated strncpy uses 2024-04-05 22:10:25 -07:00
memcg.h mm: memcontrol: change val type to long in __mod_memcg_{lruvec_}state() 2026-04-18 00:10:48 -07:00
memory-failure.h mm/memory-failure: trace: change memory_failure_event to ras subsystem 2026-07-09 15:48:56 -07:00
migrate.h mm: use enum migrate_reason instead of int for migration reason parameters 2026-07-28 21:11:50 -07:00
mlxsw.h
mmap_lock.h mm: mmap_lock: optimize mmap_lock tracepoints 2025-01-13 22:40:34 -08:00
mmap.h mm: remove unused mmap tracepoints 2025-07-09 22:41:55 -07:00
mmc.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
mmflags.h mm: add VM_UFFD_RWP VMA flag 2026-08-04 19:18:37 -07:00
module.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
mptcp.h mptcp: remove unused data_ack from struct mptcp_ext 2026-08-17 17:25:49 -07:00
napi.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
nbd.h nbd: Use NULL to represent a pointer 2024-05-14 07:22:35 -06:00
neigh.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
net_probe_common.h trace: adjust TP_STORE_ADDR_PORTS_SKB() parameters 2024-04-03 19:26:14 -07:00
net.h net: validate skb->napi_id in RX tracepoints 2026-04-22 20:15:50 -07:00
netfs.h netfs: Fix read progress reporting 2026-08-31 09:54:38 +02:00
netlink.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
nilfs2.h nilfs2: widen trace event i_ino fields to u64 2026-03-06 14:31:28 +01:00
nmi.h
notifier.h
objagg.h
oom.h mm: improve code consistency with zonelist_* helper functions 2024-09-01 20:25:55 -07:00
osnoise.h trace/osnoise: Add trace events for samples 2025-02-26 19:44:30 -05:00
page_isolation.h
page_pool.h page_pool: devmem support 2024-09-11 20:44:31 -07:00
page_ref.h mm: introduce memdesc_flags_t 2025-09-13 16:55:07 -07:00
pagemap.h mm/lruvec: trace LRU add drains and drain-all requests 2026-07-28 21:11:45 -07:00
pci_controller.h PCI: trace: Add PCI controller tracepoint feature 2026-04-07 20:12:16 +05:30
pci.h PCI: trace: Add RAS tracepoint to monitor link speed changes 2025-12-23 16:06:00 -06:00
percpu.h
power_cpu_migrate.h
power.h PM: Introduce new PMSG_POWEROFF event 2025-11-14 17:05:53 +01:00
preemptirq.h tracing: Remove definition of trace_*_rcuidle() 2024-10-08 21:17:39 -04:00
printk.h
pwc.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
pwm.h pwm: Add tracing for waveform callbacks 2024-09-28 15:13:56 +02:00
qcom_geni_i2c.h i2c: qcom-geni: trace: Add trace events for Qualcomm GENI I2C 2026-07-28 23:49:43 +02:00
qcom_geni_se.h soc: qcom: geni-se: trace: Add trace event support for GENI SE registers dump 2026-07-29 21:41:30 +01:00
qcom_geni_serial.h serial: qcom-geni: trace: Drop redundant len field from geni_serial_data 2026-07-10 14:41:04 +02:00
qcom_geni_spi.h spi: qcom-geni: trace: Add trace events for Qualcomm GENI SPI 2026-05-19 14:12:55 +01:00
qdisc.h net: sched: introduce qdisc-specific drop reason tracing 2026-02-28 15:31:34 -08:00
qla.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
qrtr.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
rcu.h slab changes for 7.3 2026-08-24 10:58:57 -07:00
rdma_core.h
readahead.h vfs: widen trace event i_ino fields to u64 2026-03-06 14:31:26 +01:00
regulator.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
rpcgss.h sunrpc: implement rfc2203 rpcsec_gss seqnum cache 2025-05-19 10:14:29 -04:00
rpcrdma.h xprtrdma: Replace rpcrdma_mr_seg with xdr_buf cursor 2026-04-13 12:04:58 -07:00
rpm.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
rseq.h rseq: Cache CPU ID and MM CID values 2025-11-04 08:32:14 +01:00
rtc.h
rust_sample.h rust: samples: add tracepoint to Rust sample 2024-11-04 16:21:44 -05:00
rwmmio.h
rxrpc.h crypto/krb5, rxrpc: Fix lack of pre-decrypt/pre-verify length checks 2026-05-20 16:36:45 -07:00
sched_ext.h sched_ext: Add tracepoint for scheduler exit 2026-07-10 06:25:24 -10:00
sched.h sched: Add deadline tracepoints 2026-03-31 16:47:17 +02:00
scmi.h include: trace: Add tracepoint support for inflight xfer count 2025-07-03 16:18:09 +01:00
scsi.h scsi: trace: Show rtn in string for scsi_dispatch_cmd_error() 2025-06-09 21:59:07 -04:00
sctp.h
signal.h
siox.h
skb.h net: constify sk_skb_reason_drop() sock parameter 2026-05-12 18:31:11 -07:00
smbus.h
sock.h net: Retire DCCP socket. 2025-04-11 18:58:10 -07:00
sof_intel.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
sof.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
spi-mem.h spi: spi-mem: Trace exec_op 2025-10-27 11:10:50 +00:00
spi.h spi: Fix spelling typos and acronyms capitalization 2023-07-11 14:14:32 +01:00
spmi.h
sunrpc.h sunrpc: Add XPT flags missing from SVC_XPRT_FLAG_LIST 2026-03-29 21:25:09 -04:00
sunvnet.h
swiotlb.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
syscalls.h tracing: Declare system call tracepoints with TRACE_EVENT_SYSCALL 2024-10-09 17:05:54 -04:00
target.h scsi: usb: Rename the RESERVE and RELEASE constants 2025-02-12 22:20:55 -05:00
task.h tracing: Revert "tracing: Remove pid in task_rename tracing output" 2026-03-21 16:41:18 -04:00
tcp.h tcp: preserve const qualifier in tcp_rsk() and inet_rsk() 2026-01-21 19:20:04 -08:00
tegra_apb_dma.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
thp.h powerpc/thp: tracing: Hide hugepage events under CONFIG_PPC_BOOK3S_64 2025-07-25 08:58:07 -04:00
timer_migration.h timers/migration: Handle capacity in connect tracepoints 2026-05-06 08:33:07 +02:00
timer.h tracing: Fix typo "preceeded" in comment 2026-09-11 13:54:32 -04:00
timestamp.h vfs: widen trace event i_ino fields to u64 2026-03-06 14:31:26 +01:00
tlb.h x86/mm/tlb/trace: Export the TLB_REMOTE_WRONG_CPU enum in <trace/events/tlb.h> 2025-12-13 11:01:16 +01:00
tsm_mr.h tsm-mr: Add TVM Measurement Register support 2025-05-08 19:17:33 -07:00
udp.h trace: adjust TP_STORE_ADDR_PORTS_SKB() parameters 2024-04-03 19:26:14 -07:00
v4l2.h
vb2.h
vmalloc.h
vmscan.h mm/vmscan: add balance_pgdat begin/end tracepoints 2026-05-28 21:04:40 -07:00
vsock_virtio_transport_common.h vsock/virtio: MSG_ZEROCOPY flag support 2023-09-21 12:34:00 +02:00
watchdog.h
wbt.h blk-wbt: Replace strlcpy with strscpy 2023-07-17 08:18:17 -06:00
workqueue.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
writeback.h mm: kick writeback flusher for IOCB_DONTCACHE with targeted dirty tracking 2026-06-04 10:16:51 +02:00
xdp.h xdp: tracing: Hide some xdp events under CONFIG_BPF_SYSCALL 2025-06-12 19:36:53 -07:00
xen.h x86/xen: Drop lazy mode from trace entries 2026-06-08 09:21:06 +02:00