diff options
author | dchagin <dchagin@FreeBSD.org> | 2015-05-24 16:47:13 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2015-05-24 16:47:13 +0000 |
commit | 2336f8bb01468e095d7e18808b634c522904953b (patch) | |
tree | b54d9174e6bfd512334b2c770d1d714d419f1d67 /sys/compat/linux/linux_misc.h | |
parent | 5e8bb6e371ff1b6f5798fe297384f704a3a9537d (diff) | |
download | FreeBSD-src-2336f8bb01468e095d7e18808b634c522904953b.zip FreeBSD-src-2336f8bb01468e095d7e18808b634c522904953b.tar.gz |
Put the correct value for the abi_nfdbits parameter of kern_select() for
all supported Linuxulators.
Differential Revision: https://reviews.freebsd.org/D1093
Reviewed by: trasz
Diffstat (limited to 'sys/compat/linux/linux_misc.h')
-rw-r--r-- | sys/compat/linux/linux_misc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_misc.h b/sys/compat/linux/linux_misc.h index 1fbbd48..2fef8e7 100644 --- a/sys/compat/linux/linux_misc.h +++ b/sys/compat/linux/linux_misc.h @@ -33,6 +33,9 @@ #include <sys/sysctl.h> + /* bits per mask */ +#define LINUX_NFDBITS sizeof(l_fd_mask) * 8 + /* * Miscellaneous */ |