|
| #define | __USE_LOCAL_LIBC__ |
| |
| #define | __USE_LOCAL_STDIO__ |
| |
| #define | __SIMPLE_LIBC_SETJMP_VPLT_ONLY__ |
| |
| #define | exec_ret_t int |
| |
| #define | confstr VSF_LINUX_WRAPPER(confstr) |
| |
| #define | usleep VSF_LINUX_WRAPPER(usleep) |
| |
| #define | sleep VSF_LINUX_WRAPPER(sleep) |
| |
| #define | pause VSF_LINUX_WRAPPER(pause) |
| |
| #define | getlogin VSF_LINUX_WRAPPER(getlogin) |
| |
| #define | getlogin_r VSF_LINUX_WRAPPER(getlogin_r) |
| |
| #define | setgid VSF_LINUX_WRAPPER(setgid) |
| |
| #define | getgid VSF_LINUX_WRAPPER(getgid) |
| |
| #define | setegid VSF_LINUX_WRAPPER(setegid) |
| |
| #define | getegid VSF_LINUX_WRAPPER(getegid) |
| |
| #define | setuid VSF_LINUX_WRAPPER(setuid) |
| |
| #define | getuid VSF_LINUX_WRAPPER(getuid) |
| |
| #define | seteuid VSF_LINUX_WRAPPER(seteuid) |
| |
| #define | geteuid VSF_LINUX_WRAPPER(geteuid) |
| |
| #define | getpid VSF_LINUX_WRAPPER(getpid) |
| |
| #define | getppid VSF_LINUX_WRAPPER(getppid) |
| |
| #define | gettid VSF_LINUX_WRAPPER(gettid) |
| |
| #define | setsid VSF_LINUX_WRAPPER(setsid) |
| |
| #define | getsid VSF_LINUX_WRAPPER(getsid) |
| |
| #define | setpgid VSF_LINUX_WRAPPER(setpgid) |
| |
| #define | getpgid VSF_LINUX_WRAPPER(getpgid) |
| |
| #define | setpgrp VSF_LINUX_WRAPPER(setpgrp) |
| |
| #define | getpgrp VSF_LINUX_WRAPPER(getpgrp) |
| |
| #define | setresuid VSF_LINUX_WRAPPER(setresuid) |
| |
| #define | setresgid VSF_LINUX_WRAPPER(setresgid) |
| |
| #define | execl VSF_LINUX_WRAPPER(execl) |
| |
| #define | execlp VSF_LINUX_WRAPPER(execlp) |
| |
| #define | execv VSF_LINUX_WRAPPER(execv) |
| |
| #define | execve VSF_LINUX_WRAPPER(execve) |
| |
| #define | execvp VSF_LINUX_WRAPPER(execvp) |
| |
| #define | execvpe VSF_LINUX_WRAPPER(execvpe) |
| |
| #define | sysconf VSF_LINUX_WRAPPER(sysconf) |
| |
| #define | pathconf VSF_LINUX_WRAPPER(pathconf) |
| |
| #define | fpathconf VSF_LINUX_WRAPPER(fpathconf) |
| |
| #define | pipe VSF_LINUX_WRAPPER(pipe) |
| |
| #define | pipe2 VSF_LINUX_WRAPPER(pipe2) |
| |
| #define | alarm VSF_LINUX_WRAPPER(alarm) |
| |
| #define | ualarm VSF_LINUX_WRAPPER(ualarm) |
| |
| #define | fork VSF_LINUX_WRAPPER(fork) |
| |
| #define | _exit VSF_LINUX_WRAPPER(_exit) |
| |
| #define | acct VSF_LINUX_WRAPPER(acct) |
| |
| #define | isatty VSF_LINUX_WRAPPER(isatty) |
| |
| #define | symlink VSF_LINUX_WRAPPER(symlink) |
| |
| #define | getpagesize VSF_LINUX_WRAPPER(getpagesize) |
| |
| #define | ftruncate VSF_LINUX_WRAPPER(ftruncate) |
| |
| #define | truncate VSF_LINUX_WRAPPER(truncate) |
| |
| #define | ftruncate64 VSF_LINUX_WRAPPER(ftruncate64) |
| |
| #define | truncate64 VSF_LINUX_WRAPPER(truncate64) |
| |
| #define | readlink VSF_LINUX_WRAPPER(readlink) |
| |
| #define | tcgetpgrp VSF_LINUX_WRAPPER(tcgetpgrp) |
| |
| #define | tcsetpgrp VSF_LINUX_WRAPPER(tcsetpgrp) |
| |
| #define | getpass VSF_LINUX_WRAPPER(getpass) |
| |
| #define | gethostname VSF_LINUX_WRAPPER(gethostname) |
| |
| #define | sethostname VSF_LINUX_WRAPPER(sethostname) |
| |
| #define | getentropy VSF_LINUX_WRAPPER(getentropy) |
| |
| #define | gethostid VSF_LINUX_WRAPPER(gethostid) |
| |
| #define | sethostid VSF_LINUX_WRAPPER(sethostid) |
| |
| #define | access VSF_LINUX_WRAPPER(access) |
| |
| #define | unlink VSF_LINUX_WRAPPER(unlink) |
| |
| #define | unlinkat VSF_LINUX_WRAPPER(unlinkat) |
| |
| #define | link VSF_LINUX_WRAPPER(link) |
| |
| #define | mkdirat VSF_LINUX_WRAPPER(mkdirat) |
| |
| #define | rmdir VSF_LINUX_WRAPPER(rmdir) |
| |
| #define | close VSF_LINUX_WRAPPER(close) |
| |
| #define | lseek VSF_LINUX_WRAPPER(lseek) |
| |
| #define | read VSF_LINUX_WRAPPER(read) |
| |
| #define | write VSF_LINUX_WRAPPER(write) |
| |
| #define | readv VSF_LINUX_WRAPPER(readv) |
| |
| #define | writev VSF_LINUX_WRAPPER(writev) |
| |
| #define | pread VSF_LINUX_WRAPPER(pread) |
| |
| #define | pwrite VSF_LINUX_WRAPPER(pwrite) |
| |
| #define | preadv VSF_LINUX_WRAPPER(preadv) |
| |
| #define | pwritev VSF_LINUX_WRAPPER(pwritev) |
| |
| #define | chdir VSF_LINUX_WRAPPER(chdir) |
| |
| #define | fchdir VSF_LINUX_WRAPPER(fchdir) |
| |
| #define | getcwd VSF_LINUX_WRAPPER(getcwd) |
| |
| #define | fsync VSF_LINUX_WRAPPER(fsync) |
| |
| #define | fdatasync VSF_LINUX_WRAPPER(fdatasync) |
| |
| #define | __NR_close close |
| |
| #define | __NR_dup dup |
| |
| #define | __NR_dup2 dup2 |
| |
| #define | __NR_dup3 dup3 |
| |
| #define | __NR_access access |
| |
| #define | __NR_write write |
| |
| #define | __NR_writev writev |
| |
| #define | __NR_read read |
| |
| #define | __NR_readv readv |
| |
| #define | __NR_truncate truncate |
| |
| #define | __NR_rtruncate ftruncate |
| |
| #define | __NR_faccessat faccessat |
| |
| #define | __NR_unlink unlink |
| |
| #define | __NR_unlinkat unlinkat |
| |
| #define | __NR_sync sync |
| |
| #define | __NR_fsync fsync |
| |
| #define | __NR_chdir chdir |
| |
| #define | __NR_fchdir fchdir |
| |
| #define | __NR_chown chown |
| |
| #define | __NR_fchown fchown |
| |
| #define | __NR_fchownat fchownat |
| |
| #define | __NR_chroot chroot |
| |
| #define | __NR_pipe pipe |
| |
| #define | __NR_pipe2 pipe2 |
| |
| #define | __NR_alarm alarm |
| |
| #define | __NR_execve execve |
| |
| #define | __NR_wait4 wait4 |
| |
| #define | __NR_gettid gettid |
| |
| #define | SYS_gettid __NR_gettid |
| |
| #define | __NR_preadv(__fd, __vec, __vlen, __pos_l, __pos_h) preadv64((__fd), (__vec), (__vlen), ((off64_t)(__pos_l) << 32) + (__pos_h)) |
| |
| #define | __NR_pwritev(__fd, __vec, __vlen, __pos_l, __pos_h) pwritev64((__fd), (__vec), (__vlen), ((off64_t)(__pos_l) << 32) + (__pos_h)) |
| |
| #define | _POSIX_VERSION 200112L |
| |
| #define | STDIN_FILENO 0 |
| |
| #define | STDOUT_FILENO 1 |
| |
| #define | STDERR_FILENO 2 |
| |
| #define | environ (vsf_linux_get_cur_process()->__environ) |
| |
| #define | _CS_PATH _CS_PATH |
| |
| #define | _CS_GNU_LIBC_VERSION _CS_GNU_LIBC_VERSION |
| |
| #define | _CS_GNU_LIBPTHREAD_VERSION _CS_GNU_LIBPTHREAD_VERSION |
| |
| #define | iovec iovec |
| |
| #define | F_OK (1 << 0) |
| |
| #define | R_OK (1 << 1) |
| |
| #define | W_OK (1 << 2) |
| |
| #define | X_OK (1 << 3) |
| |
| #define | vfork() |
| |
|
| size_t | confstr (int name, char *buf, size_t len) |
| |
| int | usleep (int micro_seconds) |
| |
| unsigned | sleep (unsigned seconds) |
| |
| unsigned int | alarm (unsigned int seconds) |
| |
| useconds_t | ualarm (useconds_t usecs, useconds_t interval) |
| |
| int | getlogin_r (char *buf, size_t bufsize) |
| |
| int | setuid (uid_t uid) |
| |
| int | seteuid (uid_t euid) |
| |
| int | setegid (gid_t egid) |
| |
| int | setgid (gid_t git) |
| |
| pid_t | getsid (pid_t pid) |
| |
| int | setpgid (pid_t pid, pid_t pgid) |
| |
| pid_t | getpgid (pid_t pid) |
| |
| int | setresuid (uid_t ruid, uid_t euid, uid_t suid) |
| |
| int | setresgid (gid_t rgid, gid_t egid, gid_t sgid) |
| |
| exec_ret_t | execl (const char *pathname, const char *arg,...) |
| |
| exec_ret_t | execle (const char *pathname, const char *arg,...) |
| |
| exec_ret_t | execlp (const char *file, const char *arg,...) |
| |
| exec_ret_t | execv (const char *pathname, char *const *argv) |
| |
| exec_ret_t | execve (const char *pathname, char *const *argv, char *const *envp) |
| |
| exec_ret_t | execvp (const char *file, char *const *argv) |
| |
| exec_ret_t | execvpe (const char *file, char *const *argv, char *const *envp) |
| |
| int | daemon (int nochdir, int noclose) |
| |
| void | _exit (int status) |
| |
| long | sysconf (int name) |
| |
| long | pathconf (const char *path, int name) |
| |
| long | fpathconf (int fd, int name) |
| |
| int | pipe (int pipefd[2]) |
| |
| int | pipe2 (int pipefd[2], int flags) |
| |
| int | access (const char *pathname, int mode) |
| |
| int | unlink (const char *pathname) |
| |
| int | unlinkat (int dirfd, const char *pathname, int flags) |
| |
| int | link (const char *oldpath, const char *newpath) |
| |
| int | mkdirat (int dirfd, const char *pathname, mode_t mode) |
| |
| int | mkdirs (const char *pathname, mode_t mode) |
| |
| int | rmdir (const char *pathname) |
| |
| int | dup (int oldfd) |
| |
| int | dup2 (int oldfd, int newfd) |
| |
| int | dup3 (int oldfd, int newfd, int flags) |
| |
| int | chroot (const char *path) |
| |
| int | chdir (const char *pathname) |
| |
| int | fchdir (int fd) |
| |
| char * | getcwd (char *buffer, size_t maxlen) |
| |
| int | close (int fd) |
| |
| off_t | lseek (int fd, off_t offset, int whence) |
| |
| off64_t | lseek64 (int fd, off64_t offset, int whence) |
| |
| ssize_t | read (int fd, void *buf, size_t count) |
| |
| ssize_t | write (int fd, const void *buf, size_t count) |
| |
| ssize_t | readv (int fd, const struct iovec *iov, int iovcnt) |
| |
| ssize_t | writev (int fd, const struct iovec *iov, int iovcnt) |
| |
| ssize_t | pread (int fd, void *buf, size_t count, off_t offset) |
| |
| ssize_t | preadv (int fd, const struct iovec *iov, int iovcnt, off_t offset) |
| |
| ssize_t | preadv64 (int fd, const struct iovec *vector, int iovcnt, off64_t offset) |
| |
| ssize_t | pwrite (int fd, const void *buf, size_t count, off_t offset) |
| |
| ssize_t | pwritev (int fd, const struct iovec *iov, int iovcnt, off_t offset) |
| |
| ssize_t | pwritev64 (int fd, const struct iovec *vector, int iovcnt, off64_t offset) |
| |
| void | sync (void) |
| |
| int | syncfs (int fd) |
| |
| int | fsync (int fd) |
| |
| int | fdatasync (int fd) |
| |
| int | isatty (int fd) |
| |
| char * | ttyname (int fd) |
| |
| int | ttyname_r (int fd, char *buf, size_t buflen) |
| |
| int | symlink (const char *target, const char *linkpath) |
| |
| int | truncate (const char *pathname, off_t length) |
| |
| int | ftruncate (int fd, off_t length) |
| |
| int | truncate64 (const char *pathname, off64_t length) |
| |
| int | ftruncate64 (int fd, off64_t length) |
| |
| ssize_t | readlink (const char *pathname, char *buf, size_t bufsiz) |
| |
| pid_t | tcgetpgrp (int fd) |
| |
| int | tcsetpgrp (int fd, pid_t pgrp) |
| |
| char * | getpass (const char *prompt) |
| |
| int | gethostname (char *name, size_t len) |
| |
| int | sethostname (const char *name, size_t len) |
| |
| int | chown (const char *pathname, uid_t owner, gid_t group) |
| |
| int | fchown (int fd, uid_t owner, gid_t group) |
| |
| int | lchown (const char *pathname, uid_t owner, gid_t group) |
| |
| int | fchownat (int dirfd, const char *pathname, uid_t owner, gid_t group, int flags) |
| |
| int | getentropy (void *buffer, size_t length) |
| |
| int | sethostid (long hostid) |
| |
| int | getdtablesize (void) |
| |
| int | acct (const char *filename) |
| |
| pid_t | __vsf_linux_vfork_prepare (vsf_linux_process_t *parent_process) |
| |