diff options
Diffstat (limited to 'arch/um/include/shared/os.h')
-rw-r--r-- | arch/um/include/shared/os.h | 5 |
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); | |||
176 | extern unsigned os_minor(unsigned long long dev); | 178 | extern unsigned os_minor(unsigned long long dev); |
177 | extern unsigned long long os_makedev(unsigned major, unsigned minor); | 179 | extern unsigned long long os_makedev(unsigned major, unsigned minor); |
178 | extern int os_falloc_punch(int fd, unsigned long long offset, int count); | 180 | extern int os_falloc_punch(int fd, unsigned long long offset, int count); |
181 | extern int os_eventfd(unsigned int initval, int flags); | ||
182 | extern 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 */ |
181 | extern void os_early_checks(void); | 186 | extern void os_early_checks(void); |