Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

um: header debriding - os.h

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>

authored by

Al Viro and committed by
Richard Weinberger
021fdaef b31ef6d8

-13
-13
arch/um/include/shared/os.h
··· 159 159 extern int os_shutdown_socket(int fd, int r, int w); 160 160 extern void os_close_file(int fd); 161 161 extern int os_rcv_fd(int fd, int *helper_pid_out); 162 - extern int create_unix_socket(char *file, int len, int close_on_exec); 163 162 extern int os_connect_socket(const char *name); 164 163 extern int os_file_type(char *file); 165 164 extern int os_file_mode(const char *file, struct openflags *mode_out); 166 165 extern int os_lock_file(int fd, int excl); 167 166 extern void os_flush_stdout(void); 168 - extern int os_stat_filesystem(char *path, long *bsize_out, 169 - long long *blocks_out, long long *bfree_out, 170 - long long *bavail_out, long long *files_out, 171 - long long *ffree_out, void *fsid_out, 172 - int fsid_size, long *namelen_out, 173 - long *spare_out); 174 - extern int os_change_dir(char *dir); 175 - extern int os_fchange_dir(int fd); 176 167 extern unsigned os_major(unsigned long long dev); 177 168 extern unsigned os_minor(unsigned long long dev); 178 169 extern unsigned long long os_makedev(unsigned major, unsigned minor); ··· 223 232 /* signal.c */ 224 233 extern void timer_set_signal_handler(void); 225 234 extern void set_sigstack(void *sig_stack, int size); 226 - extern void remove_sigstack(void); 227 235 extern void set_handler(int sig); 228 236 extern void send_sigio_to_self(void); 229 237 extern int change_sig(int signal, int on); ··· 256 266 extern int os_timer_set_interval(unsigned long long nsecs); 257 267 extern int os_timer_one_shot(unsigned long long nsecs); 258 268 extern void os_timer_disable(void); 259 - extern void uml_idle_timer(void); 260 269 extern long long os_persistent_clock_emulation(void); 261 270 extern long long os_nsecs(void); 262 271 ··· 279 290 extern int start_userspace(unsigned long stub_stack); 280 291 extern int copy_context_skas0(unsigned long stack, int pid); 281 292 extern void userspace(struct uml_pt_regs *regs, unsigned long *aux_fp_regs); 282 - extern int map_stub_pages(int fd, unsigned long code, unsigned long data, 283 - unsigned long stack); 284 293 extern void new_thread(void *stack, jmp_buf *buf, void (*handler)(void)); 285 294 extern void switch_threads(jmp_buf *me, jmp_buf *you); 286 295 extern int start_idle_thread(void *stack, jmp_buf *switch_buf);