|
| int | os_stat_file (const char *file_name, struct uml_stat *buf) |
| |
| int | os_stat_fd (const int fd, struct uml_stat *buf) |
| |
| int | os_access (const char *file, int mode) |
| |
| int | os_set_exec_close (int fd) |
| |
| int | os_ioctl_generic (int fd, unsigned int cmd, unsigned long arg) |
| |
| int | os_get_ifname (int fd, char *namebuf) |
| |
| int | os_set_slip (int fd) |
| |
| int | os_mode_fd (int fd, int mode) |
| |
| int | os_seek_file (int fd, unsigned long long offset) |
| |
| int | os_open_file (const char *file, struct openflags flags, int mode) |
| |
| int | os_read_file (int fd, void *buf, int len) |
| |
| int | os_write_file (int fd, const void *buf, int count) |
| |
| int | os_file_size (const char *file, unsigned long long *size_out) |
| |
| int | os_file_modtime (const char *file, unsigned long *modtime) |
| |
| int | os_pipe (int *fd, int stream, int close_on_exec) |
| |
| int | os_set_fd_async (int fd) |
| |
| int | os_clear_fd_async (int fd) |
| |
| int | os_set_fd_block (int fd, int blocking) |
| |
| int | os_accept_connection (int fd) |
| |
| int | os_create_unix_socket (const char *file, int len, int close_on_exec) |
| |
| int | os_shutdown_socket (int fd, int r, int w) |
| |
| void | os_close_file (int fd) |
| |
| int | os_rcv_fd (int fd, int *helper_pid_out) |
| |
| int | create_unix_socket (char *file, int len, int close_on_exec) |
| |
| int | os_connect_socket (const char *name) |
| |
| int | os_file_type (char *file) |
| |
| int | os_file_mode (const char *file, struct openflags *mode_out) |
| |
| int | os_lock_file (int fd, int excl) |
| |
| void | os_flush_stdout (void) |
| |
| int | os_stat_filesystem (char *path, long *bsize_out, long long *blocks_out, long long *bfree_out, long long *bavail_out, long long *files_out, long long *ffree_out, void *fsid_out, int fsid_size, long *namelen_out, long *spare_out) |
| |
| int | os_change_dir (char *dir) |
| |
| int | os_fchange_dir (int fd) |
| |
| unsigned | os_major (unsigned long long dev) |
| |
| unsigned | os_minor (unsigned long long dev) |
| |
| unsigned long long | os_makedev (unsigned major, unsigned minor) |
| |
| void | os_early_checks (void) |
| |
| void | can_do_skas (void) |
| |
| void | os_check_bugs (void) |
| |
| void | check_host_supports_tls (int *supports_tls, int *tls_min) |
| |
| int | create_mem_file (unsigned long long len) |
| |
| unsigned long | os_process_pc (int pid) |
| |
| int | os_process_parent (int pid) |
| |
| void | os_stop_process (int pid) |
| |
| void | os_kill_process (int pid, int reap_child) |
| |
| void | os_kill_ptraced_process (int pid, int reap_child) |
| |
| long | os_ptrace_ldt (long pid, long addr, long data) |
| |
| int | os_getpid (void) |
| |
| int | os_getpgrp (void) |
| |
| void | init_new_thread_signals (void) |
| |
| int | os_map_memory (void *virt, int fd, unsigned long long off, unsigned long len, int r, int w, int x) |
| |
| int | os_protect_memory (void *addr, unsigned long len, int r, int w, int x) |
| |
| int | os_unmap_memory (void *addr, int len) |
| |
| int | os_drop_memory (void *addr, int length) |
| |
| int | can_drop_memory (void) |
| |
| int | execvp_noalloc (char *buf, const char *file, char *const argv[]) |
| |
| int | run_helper (void(*pre_exec)(void *), void *pre_data, char **argv) |
| |
| int | run_helper_thread (int(*proc)(void *), void *arg, unsigned int flags, unsigned long *stack_out) |
| |
| int | helper_wait (int pid) |
| |
| int | umid_file_name (char *name, char *buf, int len) |
| |
| int | set_umid (char *name) |
| |
| char * | get_umid (void) |
| |
| void | timer_init (void) |
| |
| void | set_sigstack (void *sig_stack, int size) |
| |
| void | remove_sigstack (void) |
| |
| void | set_handler (int sig) |
| |
| int | change_sig (int signal, int on) |
| |
| void | block_signals (void) |
| |
| void | unblock_signals (void) |
| |
| int | get_signals (void) |
| |
| int | set_signals (int enable) |
| |
| void | stack_protections (unsigned long address) |
| |
| int | raw (int fd) |
| |
| void | setup_machinename (char *machine_out) |
| |
| void | setup_hostinfo (char *buf, int len) |
| |
| void | os_dump_core (void) __attribute__((noreturn)) |
| |
| void | um_early_printk (const char *s, unsigned int n) |
| |
| void | idle_sleep (unsigned long long nsecs) |
| |
| int | set_interval (void) |
| |
| int | timer_one_shot (int ticks) |
| |
| long long | disable_timer (void) |
| |
| void | uml_idle_timer (void) |
| |
| long long | os_nsecs (void) |
| |
| long | run_syscall_stub (struct mm_id *mm_idp, int syscall, unsigned long *args, long expected, void **addr, int done) |
| |
| long | syscall_stub_data (struct mm_id *mm_idp, unsigned long *data, int data_count, void **addr, void **stub_addr) |
| |
| int | map (struct mm_id *mm_idp, unsigned long virt, unsigned long len, int prot, int phys_fd, unsigned long long offset, int done, void **data) |
| |
| int | unmap (struct mm_id *mm_idp, unsigned long addr, unsigned long len, int done, void **data) |
| |
| int | protect (struct mm_id *mm_idp, unsigned long addr, unsigned long len, unsigned int prot, int done, void **data) |
| |
| int | is_skas_winch (int pid, int fd, void *data) |
| |
| int | start_userspace (unsigned long stub_stack) |
| |
| int | copy_context_skas0 (unsigned long stack, int pid) |
| |
| void | userspace (struct uml_pt_regs *regs) |
| |
| int | map_stub_pages (int fd, unsigned long code, unsigned long data, unsigned long stack) |
| |
| void | new_thread (void *stack, jmp_buf *buf, void(*handler)(void)) |
| |
| void | switch_threads (jmp_buf *me, jmp_buf *you) |
| |
| int | start_idle_thread (void *stack, jmp_buf *switch_buf) |
| |
| void | initial_thread_cb_skas (void(*proc)(void *), void *arg) |
| |
| void | halt_skas (void) |
| |
| void | reboot_skas (void) |
| |
| int | os_waiting_for_events (struct irq_fd *active_fds) |
| |
| int | os_create_pollfd (int fd, int events, void *tmp_pfd, int size_tmpfds) |
| |
| void | os_free_irq_by_cb (int(*test)(struct irq_fd *, void *), void *arg, struct irq_fd *active_fds, struct irq_fd ***last_irq_ptr2) |
| |
| void | os_free_irq_later (struct irq_fd *active_fds, int irq, void *dev_id) |
| |
| int | os_get_pollfd (int i) |
| |
| void | os_set_pollfd (int i, int fd) |
| |
| void | os_set_ioignore (void) |
| |
| int | add_sigio_fd (int fd) |
| |
| int | ignore_sigio_fd (int fd) |
| |
| void | maybe_sigio_broken (int fd, int read) |
| |
| void | sigio_broken (int fd, int read) |
| |
| int | os_arch_prctl (int pid, int code, unsigned long *addr) |
| |
| int | get_pty (void) |
| |
| unsigned long | os_get_top_address (void) |
| |