aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/os.h')
-rw-r--r--arch/um/include/os.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/um/include/os.h b/arch/um/include/os.h
index 53dee8d3cdcc..d3d1bc6074ef 100644
--- a/arch/um/include/os.h
+++ b/arch/um/include/os.h
@@ -122,6 +122,7 @@ static inline struct openflags of_cloexec(struct openflags flags)
122 return(flags); 122 return(flags);
123} 123}
124 124
125/* file.c */
125extern int os_stat_file(const char *file_name, struct uml_stat *buf); 126extern int os_stat_file(const char *file_name, struct uml_stat *buf);
126extern int os_stat_fd(const int fd, struct uml_stat *buf); 127extern int os_stat_fd(const int fd, struct uml_stat *buf);
127extern int os_access(const char *file, int mode); 128extern int os_access(const char *file, int mode);
@@ -157,6 +158,15 @@ extern int os_connect_socket(char *name);
157extern int os_file_type(char *file); 158extern int os_file_type(char *file);
158extern int os_file_mode(char *file, struct openflags *mode_out); 159extern int os_file_mode(char *file, struct openflags *mode_out);
159extern int os_lock_file(int fd, int excl); 160extern int os_lock_file(int fd, int excl);
161extern void os_flush_stdout(void);
162extern int os_stat_filesystem(char *path, long *bsize_out,
163 long long *blocks_out, long long *bfree_out,
164 long long *bavail_out, long long *files_out,
165 long long *ffree_out, void *fsid_out,
166 int fsid_size, long *namelen_out,
167 long *spare_out);
168extern int os_change_dir(char *dir);
169extern int os_fchange_dir(int fd);
160 170
161/* start_up.c */ 171/* start_up.c */
162extern void os_early_checks(void); 172extern void os_early_checks(void);
@@ -316,4 +326,8 @@ extern void write_sigio_workaround(void);
316extern int add_sigio_fd(int fd, int read); 326extern int add_sigio_fd(int fd, int read);
317extern int ignore_sigio_fd(int fd); 327extern int ignore_sigio_fd(int fd);
318 328
329/* skas/trap */
330extern void sig_handler_common_skas(int sig, void *sc_ptr);
331extern void user_signal(int sig, union uml_pt_regs *regs, int pid);
332
319#endif 333#endif