Crinit -- Configurable Rootfs Init
Loading...
Searching...
No Matches
mock-syscall.c File Reference

(/usr/bin/git 2025-06-05, commit: 062e7740)

Implementation of a mock function for syscall(). More...

#include <sys/capability.h>
#include <sys/syscall.h>
#include "common.h"
#include "logio.h"
#include "unit_test.h"
Include dependency graph for mock-syscall.c:

Functions

int __wrap_syscall (long number,...)
 

Detailed Description

Implementation of a mock function for syscall().

Function Documentation

◆ __wrap_syscall()

int __wrap_syscall ( long  number,
  ... 
)

Mock function for syscall().