Skip to content
Commit 0b345d72 authored by NeilBrown's avatar NeilBrown Committed by Jonathan Corbet
Browse files

Documentation: security/credentials.rst: explain need to sort group_list

This patch updates the documentation with the observations that led
to commit bdcf0a42

 ("kernel: make groups_sort calling a
responsibility group_info allocators") and the new behaviour required.
Specifically that groups_sort() should be called on a new group_list
before set_groups() or set_current_groups() is called.

Signed-off-by: default avatarNeilBrown <neilb@suse.com>
[jc: use proper :c:func: references]
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 536ec304
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment