Page MenuHomeFreeBSD

D1093.id2241.diff
No OneTemporary

D1093.id2241.diff

Index: sys/amd64/linux/linux.h
===================================================================
--- sys/amd64/linux/linux.h
+++ sys/amd64/linux/linux.h
@@ -82,6 +82,7 @@
typedef l_int l_timer_t;
typedef l_int l_mqd_t;
typedef l_size_t l_socklen_t;
+typedef l_ulong l_fd_mask;
typedef struct {
l_int val[2];
Index: sys/amd64/linux32/linux.h
===================================================================
--- sys/amd64/linux32/linux.h
+++ sys/amd64/linux32/linux.h
@@ -95,6 +95,7 @@
typedef l_ushort l_uid16_t;
typedef l_int l_timer_t;
typedef l_int l_mqd_t;
+typedef l_ulong l_fd_mask;
typedef struct {
l_int val[2];
Index: sys/compat/linux/linux_misc.c
===================================================================
--- sys/compat/linux/linux_misc.c
+++ sys/compat/linux/linux_misc.c
@@ -531,7 +531,7 @@
tvp = NULL;
error = kern_select(td, args->nfds, args->readfds, args->writefds,
- args->exceptfds, tvp, sizeof(l_int) * 8);
+ args->exceptfds, tvp, sizeof(l_fd_mask) * 8);
#ifdef DEBUG
if (ldebug(select))
Index: sys/i386/linux/linux.h
===================================================================
--- sys/i386/linux/linux.h
+++ sys/i386/linux/linux.h
@@ -89,6 +89,7 @@
typedef l_ushort l_uid16_t;
typedef l_int l_timer_t;
typedef l_int l_mqd_t;
+typedef l_ulong l_fd_mask;
typedef struct {
l_int val[2];

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 24, 1:23 AM (8 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26042387
Default Alt Text
D1093.id2241.diff (1 KB)

Event Timeline