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

Feature check CPI up front #11652

Merged
merged 1 commit into from
Aug 17, 2020
Merged

Conversation

jackcmay
Copy link
Contributor

Problem

Cross-program invocation is feature checked in the runtime but we can check it much earlier and not expose the syscall at all

Summary of Changes

Check during syscall registration

Fixes #

@codecov
Copy link

codecov bot commented Aug 16, 2020

Codecov Report

Merging #11652 into master will increase coverage by 0.0%.
The diff coverage is 88.2%.

@@           Coverage Diff           @@
##           master   #11652   +/-   ##
=======================================
  Coverage    82.0%    82.1%           
=======================================
  Files         330      330           
  Lines       76059    76107   +48     
=======================================
+ Hits        62428    62512   +84     
+ Misses      13631    13595   -36     

@jackcmay jackcmay merged commit 4196686 into solana-labs:master Aug 17, 2020
@jackcmay jackcmay deleted the group-cpi-features branch August 17, 2020 06:12
mergify bot pushed a commit that referenced this pull request Aug 21, 2020
(cherry picked from commit 4196686)

# Conflicts:
#	programs/bpf_loader/src/syscalls.rs
mergify bot pushed a commit that referenced this pull request Aug 21, 2020
(cherry picked from commit 4196686)
mergify bot added a commit that referenced this pull request Aug 22, 2020
(cherry picked from commit 4196686)

Co-authored-by: Jack May <[email protected]>
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.

1 participant