/usr/include/zsh/Builtins/rlimits.h is in zsh-dev 5.1.1-1ubuntu2.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | /** rlimits.h **/
/** architecture-customized limits for zsh **/
#define ZSH_NLIMITS 16
static char const *recs[ZSH_NLIMITS] = {
"cputime",
"filesize",
"datasize",
"stacksize",
"coredumpsize",
"memoryuse",
"maxproc",
"descriptors",
"memorylocked",
"addressspace",
"maxfilelocks",
"sigpending",
"msgqueue",
"nice",
"rt_priority",
"rt_time",
};
static int limtype[ZSH_NLIMITS] = {
ZLIMTYPE_TIME,
ZLIMTYPE_MEMORY,
ZLIMTYPE_MEMORY,
ZLIMTYPE_MEMORY,
ZLIMTYPE_MEMORY,
ZLIMTYPE_MEMORY,
ZLIMTYPE_NUMBER,
ZLIMTYPE_NUMBER,
ZLIMTYPE_MEMORY,
ZLIMTYPE_MEMORY,
ZLIMTYPE_NUMBER,
ZLIMTYPE_NUMBER,
ZLIMTYPE_NUMBER,
ZLIMTYPE_NUMBER,
ZLIMTYPE_NUMBER,
ZLIMTYPE_MICROSECONDS,
};
|