aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/shared/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/shared/os.h')
-rw-r--r--arch/um/include/shared/os.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/um/include/shared/os.h b/arch/um/include/shared/os.h
index fa1909365666..d542dadcf22e 100644
--- a/arch/um/include/shared/os.h
+++ b/arch/um/include/shared/os.h
@@ -36,6 +36,8 @@
36#define OS_LIB_PATH "/usr/lib/" 36#define OS_LIB_PATH "/usr/lib/"
37#endif 37#endif
38 38
39#define OS_SENDMSG_MAX_FDS 8
40
39/* 41/*
40 * types taken from stat_file() in hostfs_user.c 42 * types taken from stat_file() in hostfs_user.c
41 * (if they are wrong here, they are wrong there...). 43 * (if they are wrong here, they are wrong there...).
@@ -176,6 +178,9 @@ extern unsigned os_major(unsigned long long dev);
176extern unsigned os_minor(unsigned long long dev); 178extern unsigned os_minor(unsigned long long dev);
177extern unsigned long long os_makedev(unsigned major, unsigned minor); 179extern unsigned long long os_makedev(unsigned major, unsigned minor);
178extern int os_falloc_punch(int fd, unsigned long long offset, int count); 180extern int os_falloc_punch(int fd, unsigned long long offset, int count);
181extern int os_eventfd(unsigned int initval, int flags);
182extern int os_sendmsg_fds(int fd, const void *buf, unsigned int len,
183 const int *fds, unsigned int fds_num);
179 184
180/* start_up.c */ 185/* start_up.c */
181extern void os_early_checks(void); 186extern void os_early_checks(void);