user_access_{save,restore}() semantics

From: Christoph Hellwig
Date: Fri Jul 10 2020 - 12:15:39 EST


Hi Peter,

can you explain (and maybe document while we're at it) what the
exact semantics of the user_access_{save,restore} helpers are?

Reverse engineering from the commit text they seem to be about
saving the current uaccess state. But do they also enable/disable
anything?