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

Fix runc-dmz error printing #4172

Merged
merged 2 commits into from
Jan 22, 2024
Merged

Commits on Jan 21, 2024

  1. libct/dmz: Print execve() errors

    This error code is using functions that are present in nolibc too.
    
    When using nolibc, the error is printed like:
    
    	exec /runc.armel: errno=8
    
    When using libc, as its perror() implementation translates the errno to
    a message, it is printed like:
    
    	exec /runc.armel: exec format error
    
    Note that when using libc, the error is printed in the same way as
    before.
    
    Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
    rata committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    8afeccc View commit details
    Browse the repository at this point in the history
  2. tests/integration: Test exec failures

    Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
    rata committed Jan 21, 2024
    Configuration menu
    Copy the full SHA
    fe95a2a View commit details
    Browse the repository at this point in the history