Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137394006
D1093.id2241.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D1093.id2241.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D1093: Put the correct value for the abi_nfdbits parameter of kern_select() for all supported Linuxulators.
Attached
Detach File
Event Timeline
Log In to Comment