File: swrap_fake_uid_wrapper.h

package info (click to toggle)
socket-wrapper 1.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 768 kB
  • sloc: ansic: 12,855; sh: 65; makefile: 13
file content (7 lines) | stat: -rw-r--r-- 263 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#include <stdbool.h>

/* simulate socket_wrapper hooks */
#define __FAKE_UID_WRAPPER_SYSCALL_NO 123456789
#define __FAKE_UID_WRAPPER_SYSCALL_RC 987654321
bool uid_wrapper_syscall_valid(long int sysno);
long int uid_wrapper_syscall_va(long int sysno, va_list va);