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

canonical / nullboot
69%

Build:
DEFAULT BRANCH: main
Repo Added 26 Aug 2021 06:46PM UTC
Token MfNPkGjfvf5IfgLIfJ90xJpsKlR3IA6pu regen
Build 421 Last
Files 9
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • azure/fallback-mechanism
  • azure/fallback-systemd-service
  • azure/refactor
  • azure/refactor-testing
  • ci
  • codeql-analysis
  • coveralls
  • dependabot/github_actions/actions/checkout-3
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/actions/setup-go-3
  • dependabot/github_actions/actions/setup-go-4
  • dependabot/github_actions/actions/setup-go-5
  • dependabot/github_actions/github/codeql-action-3
  • dependabot/github_actions/github/codeql-action-4
  • dependabot/github_actions/github/codeql-action-4.37.3
  • dependabot/github_actions/github/codeql-action-4.37.4
  • dependabot/go_modules/github.com/canonical/go-efilib-1.8.0
  • dependabot/go_modules/github.com/canonical/go-tpm2-1.16.2
  • dependabot/go_modules/github.com/spf13/afero-1.10.0
  • dependabot/go_modules/github.com/spf13/afero-1.11.0
  • dependabot/go_modules/github.com/spf13/afero-1.12.0
  • dependabot/go_modules/github.com/spf13/afero-1.15.0
  • dependabot/go_modules/github.com/spf13/afero-1.8.2
  • dependabot/go_modules/github.com/spf13/afero-1.9.0
  • dependabot/go_modules/github.com/spf13/afero-1.9.2
  • dependabot/go_modules/github.com/spf13/afero-1.9.3
  • dependabot/go_modules/github.com/spf13/afero-1.9.4
  • dependabot/go_modules/github.com/spf13/afero-1.9.5
  • dependabot/go_modules/golang.org/x/crypto-0.17.0
  • dependabot/go_modules/golang.org/x/crypto-0.31.0
  • dependabot/go_modules/golang.org/x/crypto-0.45.0
  • dependabot/go_modules/golang.org/x/net-0.17.0
  • dependabot/go_modules/golang.org/x/net-0.23.0
  • dependabot/go_modules/golang.org/x/net-0.33.0
  • dependabot/go_modules/golang.org/x/net-0.7.0
  • dependabot/go_modules/golang.org/x/sys-0.10.0
  • dependabot/go_modules/golang.org/x/sys-0.11.0
  • dependabot/go_modules/golang.org/x/sys-0.12.0
  • dependabot/go_modules/golang.org/x/sys-0.13.0
  • dependabot/go_modules/golang.org/x/sys-0.14.0
  • dependabot/go_modules/golang.org/x/sys-0.15.0
  • dependabot/go_modules/golang.org/x/sys-0.16.0
  • dependabot/go_modules/golang.org/x/sys-0.17.0
  • dependabot/go_modules/golang.org/x/sys-0.18.0
  • dependabot/go_modules/golang.org/x/sys-0.19.0
  • dependabot/go_modules/golang.org/x/sys-0.20.0
  • dependabot/go_modules/golang.org/x/sys-0.21.0
  • dependabot/go_modules/golang.org/x/sys-0.22.0
  • dependabot/go_modules/golang.org/x/sys-0.23.0
  • dependabot/go_modules/golang.org/x/sys-0.24.0
  • dependabot/go_modules/golang.org/x/sys-0.25.0
  • dependabot/go_modules/golang.org/x/sys-0.26.0
  • dependabot/go_modules/golang.org/x/sys-0.30.0
  • dependabot/go_modules/golang.org/x/sys-0.34.0
  • dependabot/go_modules/golang.org/x/sys-0.35.0
  • dependabot/go_modules/golang.org/x/sys-0.36.0
  • dependabot/go_modules/golang.org/x/sys-0.37.0
  • dependabot/go_modules/golang.org/x/sys-0.9.0
  • dependabot/go_modules/golang.org/x/text-0.10.0
  • dependabot/go_modules/golang.org/x/text-0.11.0
  • dependabot/go_modules/golang.org/x/text-0.12.0
  • dependabot/go_modules/golang.org/x/text-0.13.0
  • dependabot/go_modules/golang.org/x/text-0.14.0
  • dependabot/go_modules/golang.org/x/text-0.15.0
  • dependabot/go_modules/golang.org/x/text-0.16.0
  • dependabot/go_modules/golang.org/x/text-0.17.0
  • dependabot/go_modules/golang.org/x/text-0.18.0
  • dependabot/go_modules/golang.org/x/text-0.19.0
  • dependabot/go_modules/golang.org/x/text-0.22.0
  • dependabot/go_modules/golang.org/x/text-0.26.0
  • dependabot/go_modules/golang.org/x/text-0.27.0
  • dependabot/go_modules/golang.org/x/text-0.28.0
  • dependabot/go_modules/golang.org/x/text-0.3.8
  • dependabot/go_modules/golang.org/x/text-0.4.0
  • dependabot/go_modules/golang.org/x/text-0.5.0
  • dependabot/go_modules/golang.org/x/text-0.6.0
  • dependabot/go_modules/golang.org/x/text-0.7.0
  • feature/subcommand-key-recovery
  • fix-invalid-EV_EFI_BOOT_SERVICES_APPLICATION
  • image-build
  • json-efivars
  • main
  • newapi
  • newapi-upgrade-secboot
  • print_binary_entry
  • refs/tags/debian/0.1.0-0ubuntu0.20.04_ppa1
  • refs/tags/debian/0.1.0-0ubuntu0.20.04_ppa2
  • refs/tags/debian/0.2.0-0ubuntu0.20.04_ppa1
  • refs/tags/debian/0.2.2-0ubuntu0.20.04.1
  • refs/tags/debian/0.2.2-0ubuntu1
  • refs/tags/debian/0.3.0-0ubuntu0.20.04.1
  • refs/tags/debian/0.3.0-0ubuntu1
  • refs/tags/debian/0.4.0-0ubuntu0.20.04.1
  • refs/tags/debian/0.4.0-0ubuntu0.22.04.1
  • refs/tags/debian/0.4.0-0ubuntu1
  • refs/tags/debian/0.5.0-0ubuntu1
  • refs/tags/debian/0.5.1-0ubuntu1
  • refs/tags/debian/0.5.2-0ubuntu1
  • refs/tags/debian/0.5.2-0ubuntu2
  • refs/tags/debian/0.5.3-0ubuntu0.22.04.1
  • refs/tags/debian/0.5.3-0ubuntu0.24.04.1
  • refs/tags/debian/0.5.3-0ubuntu1
  • refs/tags/debian/0.6.0-0ubuntu1
  • refs/tags/v0.0.1
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • refs/tags/v0.2.2
  • refs/tags/v0.3.0
  • refs/tags/v0.4.0
  • refs/tags/v0.5.0
  • refs/tags/v0.5.1
  • refs/tags/v0.5.2
  • refs/tags/v0.5.3
  • refs/tags/v0.6.0
  • renovate/configure
  • snapd-2.61
  • space-after-kernel
  • syncfs
  • ubuntu-fallback
  • ubuntu/focal
  • ubuntu/jammy
  • ubuntu/main
  • ubuntu/noble
  • update-other-deps

25 Aug 2026 10:06AM UTC coverage: 68.503% (+0.2%) from 68.315%
32835467124

push

github

julian-klode
Pin goroutine to OS thread when reading the primary key

The keyring links established by KEYCTL_LINK are per-thread, but Go
may reschedule the goroutine onto a different OS thread between the
link and the subsequent key read, making the read intermittently
fail with permission denied:
final reseal failed: cannot obtain auth key from kernel: cannot read key from kernel: cannot determine size of key payload: permission denied

Wrap the link and read in runtime.LockOSThread()/UnlockOSThread() so
both syscalls run on the same thread.

Signed-off-by: Gerald Yang <gerald.yang@canonical.com>

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

920 of 1343 relevant lines covered (68.5%)

2.35 hits per line

Relevant lines Covered
Build:
Build:
1343 RELEVANT LINES 920 COVERED LINES
2.35 HITS PER LINE
Source Files on main
  • Tree
  • List 9
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
32835467124 main Pin goroutine to OS thread when reading the primary key The keyring links established by KEYCTL_LINK are per-thread, but Go may reschedule the goroutine onto a different OS thread between the link and the subsequent key read, making the read inte... push 25 Aug 2026 10:07AM UTC julian-klode github
68.5
31558845256 main Pin goroutine to OS thread when reading the primary key The keyring links established by KEYCTL_LINK are per-thread, but Go may reschedule the goroutine onto a different OS thread between the link and the subsequent key read, making the read inte... Pull #165 12 Aug 2026 03:05AM UTC gerald-yang-tw github
68.5
30862662432 dependabot/github_actions/github/codeql-action-4.37.4 build(deps): bump github/codeql-action from 4 to 4.37.4 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4 to 4.37.4. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/g... Pull #164 03 Aug 2026 11:34PM UTC web-flow github
68.31
30590890672 dependabot/github_actions/github/codeql-action-4.37.3 build(deps): bump github/codeql-action from 4 to 4.37.3 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4 to 4.37.3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/g... Pull #163 30 Jul 2026 11:35PM UTC web-flow github
68.31
28207158318 dependabot/go_modules/github.com/canonical/go-efilib-1.8.0 build(deps): bump github.com/canonical/go-efilib Bumps [github.com/canonical/go-efilib](https://github.com/canonical/go-efilib) from 1.7.1-0.20260310185303-7166aa858b24 to 1.8.0. - [Commits](https://github.com/canonical/go-efilib/commits/v1.8.0) ... Pull #159 25 Jun 2026 11:34PM UTC web-flow github
68.31
28207151736 dependabot/go_modules/github.com/canonical/go-tpm2-1.16.2 build(deps): bump github.com/canonical/go-tpm2 from 1.15.0 to 1.16.2 Bumps [github.com/canonical/go-tpm2](https://github.com/canonical/go-tpm2) from 1.15.0 to 1.16.2. - [Commits](https://github.com/canonical/go-tpm2/compare/v1.15.0...v1.16.2) --... Pull #158 25 Jun 2026 11:34PM UTC web-flow github
68.31
28182576861 ubuntu/main releasing package nullboot version 0.6.0-0ubuntu1 push 25 Jun 2026 03:49PM UTC mkukri-canonical github
68.31
28182576713 refs/tags/debian/0.6.0-0ubuntu1 releasing package nullboot version 0.6.0-0ubuntu1 push 25 Jun 2026 03:49PM UTC mkukri-canonical github
68.31
28182426620 ubuntu/main feat: Systemd one-shot service for Kernel fallback mechanism Adds a systemd one-shot service to amend the bootloader on a successfully booted, new kernel entry using the -no-boot-next option. Should a newly installed kernel panic while booting, ... push 25 Jun 2026 03:47PM UTC mkukri-canonical github
68.31
28182401185 azure/fallback-systemd-service feat: Systemd one-shot service for Kernel fallback mechanism Adds a systemd one-shot service to amend the bootloader on a successfully booted, new kernel entry using the -no-boot-next option. Should a newly installed kernel panic while booting, ... Pull #153 25 Jun 2026 03:46PM UTC mkukri-canonical github
68.31
See All Builds (357)

Badge your Repo: nullboot

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc