summaryrefslogtreecommitdiffstats
path: root/drivers/input/joystick/sidewinder.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-08-29 13:59:18 +1200
committerLinus Torvalds <torvalds@linux-foundation.org>2024-08-29 13:59:18 +1200
commitd5d547aa7b51467b15d9caa86b116f8c2507c72a (patch)
tree25d113e17cdc4cb6ae0ce061f02a22e3d834d3a8 /drivers/input/joystick/sidewinder.c
parent928f79a188aacc057ba36c85b36b6d1e99c8f595 (diff)
parent28f5df210d06beb5920cf80446f1c27456c14b92 (diff)
downloadlinux-master.tar.gz
linux-master.tar.bz2
linux-master.zip
Merge tag 'random-6.11-rc6-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/crng/randomHEADmaster
Pull random number generator fix from Jason Donenfeld: "Reject invalid flags passed to vgetrandom() in the same way that getrandom() does, so that the behavior is the same, from Yann. The flags argument to getrandom() only has a behavioral effect on the function if the RNG isn't initialized yet, so vgetrandom() falls back to the syscall in that case. But if the RNG is initialized, all of the flags behave the same way, so vgetrandom() didn't bother checking them, and just ignored them entirely. But that doesn't account for invalid flags passed in, which need to be rejected so we can use them later" * tag 'random-6.11-rc6-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/crng/random: random: vDSO: reject unknown getrandom() flags
Diffstat (limited to 'drivers/input/joystick/sidewinder.c')
0 files changed, 0 insertions, 0 deletions