Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swtpm: Allow sched_setattr in seccomp profile for CUSE TPM #521

Merged
merged 1 commit into from
Aug 13, 2021

Conversation

stefanberger
Copy link
Owner

glib's (v2.68) g_thread_pool_new() calls the syscall sched_setattr(),
which we must allow to avoid termination of the CUSE TPM.

This patch resolves issue #520.

Signed-off-by: Stefan Berger stefanb@linux.ibm.com

glib's (v2.68) g_thread_pool_new() calls the syscall sched_setattr(),
which we must allow to avoid termination of the CUSE TPM.

This patch resolves issue #520.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
@coveralls
Copy link

Pull Request Test Coverage Report for Build 3368

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 150 unchanged lines in 4 files lost coverage.
  • Overall coverage increased (+0.03%) to 75.481%

Files with Coverage Reduction New Missed Lines %
src/swtpm/swtpm.c 23 81.22%
src/swtpm/swtpm_chardev.c 34 64.22%
src/swtpm/cuse_tpm.c 35 73.62%
src/swtpm/swtpm_nvstore.c 58 84.14%
Totals Coverage Status
Change from base Build 3361: 0.03%
Covered Lines: 5646
Relevant Lines: 7480

💛 - Coveralls

@stefanberger stefanberger merged commit e43946a into master Aug 13, 2021
@stefanberger stefanberger deleted the master.fix_cuse_tpm branch August 13, 2021 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants