File: uwrap_fake_socket_wrapper.h

package info (click to toggle)
uid-wrapper 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 544 kB
  • sloc: ansic: 5,785; sh: 21; makefile: 8
file content (9 lines) | stat: -rw-r--r-- 385 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#include <stdbool.h>

/* simulate socket_wrapper hooks */
/* Use fake number higher than x32 architecture syscalls which
 * start at __X32_SYSCALL_BIT (0x40000000) */
#define __FAKE_SOCKET_WRAPPER_SYSCALL_NO 0x4f000000
#define __FAKE_SOCKET_WRAPPER_SYSCALL_RC 987654321
bool socket_wrapper_syscall_valid(long int sysno);
long int socket_wrapper_syscall_va(long int sysno, va_list va);