summaryrefslogtreecommitdiffstats
path: root/Documentation/dev-tools/kunit/start.rst
diff options
context:
space:
mode:
authorYann Droneaud <yann@droneaud.fr>2024-08-25 16:47:50 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2024-08-26 09:58:52 +0200
commit28f5df210d06beb5920cf80446f1c27456c14b92 (patch)
tree65fe8d080b492be9b1068f0af442848a0e459af5 /Documentation/dev-tools/kunit/start.rst
parentdc1c8034e31b14a2e5e212104ec508aec44ce1b9 (diff)
downloadlinux-stable-28f5df210d06beb5920cf80446f1c27456c14b92.tar.gz
linux-stable-28f5df210d06beb5920cf80446f1c27456c14b92.tar.bz2
linux-stable-28f5df210d06beb5920cf80446f1c27456c14b92.zip
random: vDSO: reject unknown getrandom() flags
Like the getrandom() syscall, vDSO getrandom() must also reject unknown flags. [1] It would be possible to return -EINVAL from vDSO itself, but in the possible case that a new flag is added to getrandom() syscall in the future, it would be easier to get the behavior from the syscall, instead of erroring until the vDSO is extended to support the new flag or explicitly falling back. [1] Designing the API: Planning for Extension https://docs.kernel.org/process/adding-syscalls.html#designing-the-api-planning-for-extension Signed-off-by: Yann Droneaud <yann@droneaud.fr> [Jason: reworded commit message] Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'Documentation/dev-tools/kunit/start.rst')
0 files changed, 0 insertions, 0 deletions