• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

google / fscrypt / 449
34%

Build:
DEFAULT BRANCH: master
Ran 16 Dec 2019 03:14AM UTC
Jobs 1
Files 35
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Dec 2019 03:10AM UTC coverage: 33.107% (+0.2%) from 32.863%
449

push

travis-ci

josephlr
keyring: fix permission denied accessing user keyring (#177)

When userKeyringIDLookup() looks up a user keyring, it links it into the
process keyring to ensure that the process retains the "possessor
privileges" over the user keyring, then caches the user keyring's ID.

Unfortunately, this use of the process keyring randomly fails because Go
creates threads before even init() and main() are run, and then can run
code on them later.  Since the kernel doesn't create the process keyring
until userspace requests it and the process keyring is actually a
per-thread property that's only inherited by new threads, different
threads in a Go process may see different process keyrings.

Fix this by removing the user keyring cache, switching from the process
keyring to the thread keyring, and using LockOSThread() to pin the
goroutine to an OS thread while needed to perform a keyring operation.

Resolves https://github.com/google/fscrypt/issues/176

14 of 14 new or added lines in 1 file covered. (100.0%)

1367 of 4129 relevant lines covered (33.11%)

1235.45 hits per line

Jobs
ID Job ID Ran Files Coverage
6 449.6 16 Dec 2019 03:14AM UTC 0
33.11
Travis Job 449.6
Source Files on build 449
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #449
  • 55f71606 on github
  • Prev Build on master (#446)
  • Next Build on master (#453)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc