Export NR_FILE_DESC_MAX to userspace (XCC)
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 20 Aug 2015 15:45:37 +0000 (11:45 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 28 Sep 2015 19:14:00 +0000 (15:14 -0400)
commitcdb9964332096f03f9c519800790562c0a82eff9
treee8a9148a367d7b93af5ba7daa74139d7690356a0
parentf476bc356c74a208f08b7303757e15ba3555ac15
Export NR_FILE_DESC_MAX to userspace (XCC)

Partitioning the FD space with NR_FILE_DESC_MAX will help userspace
emulate various Linux functions.  There's a class of facilities that we
can do in userspace, but expect to operate with the kernel via FDs.  For
instance, after an epoll_create(), you call close().  We'll need to
intercept that close() call in glibc and handle it accordingly.

Reinstall your kernel headers.
kern/include/ros/limits.h
kern/include/vfs.h