mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
![]() sched_core_share_pid() copies the cookie to userspace with
put_user(id, (u64 __user *)uaddr), expecting 64 bits of space.
The "unsigned long" datatype that is documented in core-scheduling.rst
however is only 32 bits large on 32 bit architectures.
Document "unsigned long long" as the correct data type that is always
64bits large.
This matches what the selftest cs_prctl_test.c has been doing all along.
Fixes:
|
||
---|---|---|
.. | ||
core-scheduling.rst | ||
cross-thread-rsb.rst | ||
gather_data_sampling.rst | ||
index.rst | ||
l1d_flush.rst | ||
l1tf.rst | ||
mds.rst | ||
multihit.rst | ||
processor_mmio_stale_data.rst | ||
reg-file-data-sampling.rst | ||
special-register-buffer-data-sampling.rst | ||
spectre.rst | ||
srso.rst | ||
tsx_async_abort.rst |