Receive a slot_id from chaps when loading tokens.
This is relevant to supporting multiple simultaneous users and PKCS #11
tokens. Also fixed up chaps directory permissions checking.
BUG=chromium:205206, chromium:215462
TEST=unit, manual
CQ-DEPEND=CL:49960
Change-Id: I61d91dd2cfda00b20f868a8e001ba6b713e0eaa8
Reviewed-on: https://gerrit.chromium.org/gerrit/49962
Reviewed-by: Darren Krahn <dkrahn@chromium.org>
Tested-by: Darren Krahn <dkrahn@chromium.org>
Commit-Queue: David James <davidjames@chromium.org>
1 file changed