]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
security: Change user keyring lookup algorithm
authorJoseph Richey <joerichey94@gmail.com>
Fri, 1 Sep 2017 07:53:07 +0000 (00:53 -0700)
committerJoseph Richey <joerichey94@gmail.com>
Fri, 1 Sep 2017 07:53:07 +0000 (00:53 -0700)
commit1ce72a7367967152948dbe332ea8d9834f194c27
treec70ca05d44bddf899258f47f172d2ade68ca36ea
parentd5f64c1ecd8f13f01681d0a18b8f3174ff9bd225
security: Change user keyring lookup algorithm

Now instead of spawning a seperate thread we alternate between changing
the euid and ruid to both find the keyring and link it to the process
keyring. Note that we also ensure that the user keyring is linked into
the root keyring whenever possible.
actions/policy.go
pam/pam.go
security/keyring.go