2

Split mirrord-layer LayerError based on criteria · Issue #247 · metalbear-co/mi...

 2 years ago
source link: https://github.com/metalbear-co/mirrord/issues/247
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Member

aviramha commented 5 days ago

Right now every LayerError variant we add needs to have a matching libc return value, while not all errors are even possible from the hooks, so adding the libc return value is futile.
I think we can solve this in two ways:

  1. Have two kinds of LayerErrors, one that can occur from hooks and one that can occur from the regular runtime.
  2. Add a tag for specific LayerErrors to require adding match, so when we create an error we mark it.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK