• 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 428 Last
Files 10
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: main
CHANGE BRANCH
x
Reset
Sync Branches
  • main
  • 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
  • flavour-order
  • image-build
  • json-efivars
  • 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
28181860016 main ci: Update workflow to use golang 1.24 and add ubuntu 26.04 push 25 Jun 2026 03:39PM UTC mkukri-canonical github
68.31
28181137891 main build(deps): bump actions/checkout from 6 to 7 Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/... push 25 Jun 2026 03:27PM UTC mkukri-canonical github
68.31
28181062310 main pre-commit: replace archived dnephin hook with golangci-lint dnephin/pre-commit-golang is archived (last push 2023). Switch to the maintained golangci/golangci-lint hook, which supersedes the old go-fmt, go-vet, go-build and go-mod-tidy hooks. push 25 Jun 2026 03:26PM UTC mkukri-canonical github
68.31
28180036591 main nullbootctl: Sync the ESP and improve comments Sync the ESP between copying in the kernels and adding them to the boot order so they are written to the backing storage before the boot order is updated. This also ensures that when kernels are rem... push 25 Jun 2026 03:10PM UTC mkukri-canonical github
70.21
23860974881 main build(deps): bump github.com/spf13/afero from 1.12.0 to 1.15.0 (#146) [//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any cha... Pull #152 01 Apr 2026 05:09PM UTC web-flow github
70.81
23059954275 main build(deps): bump github.com/spf13/afero from 1.12.0 to 1.15.0 (#146) [//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any cha... push 13 Mar 2026 04:18PM UTC web-flow github
70.81
23059907687 main build(deps): bump golang.org/x/text from 0.31.0 to 0.34.0 (#148) Bumps [golang.org/x/text](https://github.com/golang/text) from 0.31.0 to 0.34.0. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/golang/text/commit/817fba9... push 13 Mar 2026 04:17PM UTC web-flow github
70.81
23059834078 main Nullboot fallback mechanism (#144) Added a kernel fallback mechanism for new kernel installations such that new kernels boot via BootNext instead of being the first entry in the persistent BootOrder. BootNext is used and then automatically delete... push 13 Mar 2026 04:15PM UTC kukrimate github
70.81
See All Builds (362)

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