Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
WARNING: unknown limits
- X-seq: zsh-workers 22567
- From: "Matthias B." <msbREMOVE-THIS@xxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: WARNING: unknown limits
- Date: Mon, 31 Jul 2006 14:50:21 +0200
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Hi, I've just compiled zsh-4.3.2 and I've got the following message
WARNING: unknown limits: mail rlimits.h to developers
Well, I've attached the rlimits.h in question. Looks like the new glibc
(I'm using 2.4) has 2 limits "NICE" and "RTPRIO" that rlimits.awk doesn't
know yet.
Here are the relevant parts from resource.h
/* Maximum nice priority allowed to raise to.
Nice levels 19 .. -20 correspond to 0 .. 39
values of this resource limit. */
__RLIMIT_NICE = 13,
#define RLIMIT_NICE __RLIMIT_NICE
/* Maximum realtime priority allowed for non-priviledged
processes. */
__RLIMIT_RTPRIO = 14,
#define RLIMIT_RTPRIO __RLIMIT_RTPRIO
MSB
--
Ambition is a poor excuse for not having enough sense to be lazy.
/** rlimits.h **/
/** architecture-customized limits for zsh **/
#define ZSH_NLIMITS 15
static char const *recs[ZSH_NLIMITS] = {
"cputime",
"filesize",
"datasize",
"stacksize",
"coredumpsize",
"memoryuse",
"maxproc",
"descriptors",
"memorylocked",
"addressspace",
"maxfilelocks",
"sigpending",
"msgqueue",
"NICE",
"RTPRIO",
};
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_UNKNOWN,
ZLIMTYPE_UNKNOWN,
};
Messages sorted by:
Reverse Date,
Date,
Thread,
Author