~mdw
/
fwd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release 1.3.6.
[fwd]
/
rlimits.h
diff --git
a/rlimits.h
b/rlimits.h
index
28f94ac
..
f3f2769
100644
(file)
--- a/
rlimits.h
+++ b/
rlimits.h
@@
-5,22
+5,22
@@
* (c) 1999 Straylight/Edgeware
*/
* (c) 1999 Straylight/Edgeware
*/
-/*----- Licensing notice --------------------------------------------------*
+/*----- Licensing notice --------------------------------------------------*
*
*
- * This file is part of the `fw' port forwarder.
+ * This file is part of the `fw
d
' port forwarder.
*
*
- * `fw' is free software; you can redistribute it and/or modify
+ * `fw
d
' is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
- * `fw' is distributed in the hope that it will be useful,
+ *
+ * `fw
d
' is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* You should have received a copy of the GNU General Public License
- * along with `fw'; if not, write to the Free Software Foundation,
+ * along with `fw
d
'; if not, write to the Free Software Foundation,
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
@@
-34,39
+34,54
@@
# define RLIMIT_NOFILE RLIMIT_OFILE
#endif
# define RLIMIT_NOFILE RLIMIT_OFILE
#endif
+#ifdef RLIMIT_AS
+ R(RLIMIT_AS, as)
+#endif
+#ifdef RLIMIT_CORE
+ R(RLIMIT_CORE, core)
+#endif
#ifdef RLIMIT_CPU
R(RLIMIT_CPU, cpu)
#endif
#ifdef RLIMIT_CPU
R(RLIMIT_CPU, cpu)
#endif
+#ifdef RLIMIT_DATA
+ R(RLIMIT_DATA, data)
+#endif
#ifdef RLIMIT_FSIZE
R(RLIMIT_FSIZE, fsize)
#endif
#ifdef RLIMIT_FSIZE
R(RLIMIT_FSIZE, fsize)
#endif
-#ifdef RLIMIT_
DATA
- R(RLIMIT_
DATA, data
)
+#ifdef RLIMIT_
LOCKS
+ R(RLIMIT_
LOCKS, locks
)
#endif
#endif
-#ifdef RLIMIT_
STA
CK
- R(RLIMIT_
STACK, sta
ck)
+#ifdef RLIMIT_
MEMLO
CK
+ R(RLIMIT_
MEMLOCK, memlo
ck)
#endif
#endif
-#ifdef RLIMIT_
COR
E
- R(RLIMIT_
CORE, cor
e)
+#ifdef RLIMIT_
MSGQUEU
E
+ R(RLIMIT_
MSGQUEUE, msgqueu
e)
#endif
#endif
-#ifdef RLIMIT_RSS
- R(RLIMIT_RSS, rss)
+#ifdef RLIMIT_NICE
+ R(RLIMIT_NICE, nice)
+#endif
+#ifdef RLIMIT_NOFILE
+ R(RLIMIT_NOFILE, nofile)
#endif
#ifdef RLIMIT_NPROC
R(RLIMIT_NPROC, nproc)
#endif
#endif
#ifdef RLIMIT_NPROC
R(RLIMIT_NPROC, nproc)
#endif
-#ifdef RLIMIT_
NOFILE
- R(RLIMIT_
NOFILE, nofile
)
+#ifdef RLIMIT_
RSS
+ R(RLIMIT_
RSS, rss
)
#endif
#endif
-#ifdef RLIMIT_MEMLOCK
- R(RLIMIT_MEMLOCK, memlock)
+#ifdef RLIMIT_RTPRIO
+ R(RLIMIT_RTPRIO, rtprio)
+#endif
+#ifdef RLIMIT_SIGPENDING
+ R(RLIMIT_SIGPENDING, sigpending)
+#endif
+#ifdef RLIMIT_STACK
+ R(RLIMIT_STACK, stack)
#endif
#ifdef RLIMIT_VMEM
R(RLIMIT_VMEM, vmem)
#endif
#endif
#ifdef RLIMIT_VMEM
R(RLIMIT_VMEM, vmem)
#endif
-#ifdef RLIMIT_AS
- R(RLIMIT_AS, as)
-#endif
#undef R
#undef R