Constant nc::types::INR_OPEN_CUR[][src]

pub const INR_OPEN_CUR: i32 = 1024;
Expand description

This file has definitions for some important file table structures and constants and structures used by various generic file system ioctl’s. Please do not make any changes in this file before sending patches for review to linux-fsdevel@vger.kernel.org and linux-api@vger.kernel.org. Use of MS_* flags within the kernel is restricted to core mount(2) code. It’s silly to have NR_OPEN bigger than NR_FILE, but you can change the file limit at runtime and only root can increase the per-process nr_file rlimit, so it’s safe to set up a ridiculously high absolute upper limit on files-per-process.

Some programs (notably those using select()) may have to be ecompiled to take full advantage of the new limits..
Fixed constants first: Initial setting for nfile rlimits