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: Remove unnecessary #include <seccomp.h> (fixes SuSE build) #239

Merged
merged 1 commit into from
Apr 20, 2020

Conversation

stefanberger
Copy link
Owner

It's not necessary anymore to #include <seccomp.h> from the main programs.
Once removed, it also fixes the build on SuSE where seccomp.h is in
seccomp/seccomp.h and we didn't use the LIBSECCOMP_CFLAGS for swtpm.c etc.

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

It's not necessary anymore to #include <seccomp.h> from the main programs.
Once removed, it also fixes the build on SuSE where seccomp.h is in
seccomp/seccomp.h and we didn't use the LIBSECCOMP_CFLAGS for swtpm.c etc.

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

Pull Request Test Coverage Report for Build 2005

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 4 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.02%) to 72.897%

Files with Coverage Reduction New Missed Lines %
src/swtpm/common.c 4 62.63%
Totals Coverage Status
Change from base Build 2001: -0.02%
Covered Lines: 3717
Relevant Lines: 5099

💛 - Coveralls

@stefanberger stefanberger merged commit 548eb68 into master Apr 20, 2020
@stefanberger stefanberger deleted the seccomp_cleanup branch April 22, 2020 20:57
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