]> git.baikalelectronics.ru Git - kernel.git/commit
Documentation: security/credentials.rst: explain need to sort group_list
authorNeilBrown <neilb@suse.com>
Tue, 2 Jan 2018 21:01:15 +0000 (08:01 +1100)
committerJonathan Corbet <corbet@lwn.net>
Mon, 8 Jan 2018 21:20:31 +0000 (14:20 -0700)
commit0b345d722e07d77866edffcf350449a4607026b6
tree3fa4dca4b1d05ecaf7257a5cec4b6bd0340032e0
parent536ec30477fe66d0564aff8f3595c8ce603f1411
Documentation: security/credentials.rst: explain need to sort group_list

This patch updates the documentation with the observations that led
to commit bdcf0a423ea1 ("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: NeilBrown <neilb@suse.com>
[jc: use proper :c:func: references]
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/security/credentials.rst