Commit Graph

182 Commits

Author SHA1 Message Date
Michael Kerrisk 74da838c0d getrlimit.2: Fix example program and add _FILE_OFFSET_BITS requirement
Reported-by: Seonghun Lim <wariua@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk 4f96e450e1 getrlimit.2: Remove mention of kernel versions in discussion RLIMIT_CPU
Reported-by: Ryan Mullen <rmmullen@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Yuri Kozlov 10713b85bd getrlimit.2: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:45 +02:00
Michael Kerrisk c5662d5de0 Removed trailing white space at end of lines 2010-12-03 08:01:44 +01:00
Michael Kerrisk f8697edd6d getrlimit.2, sendfile.2, stat.2: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-12-03 07:43:09 +01:00
Denis Barbier 76d47700ff getrlimit.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-12-03 07:42:17 +01:00
Denis Barbier bbc6739899 getrlimit.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-16 06:21:01 +01:00
Denis Barbier 010eefd76a getrlimit.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-15 07:51:55 +01:00
Michael Kerrisk 37e59a61db getrlimit.2: Add example program for prlimit()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-15 07:48:31 +01:00
Michael Kerrisk 658ea3ee74 getrlimit.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-15 07:43:18 +01:00
Michael Kerrisk 11532b16db getrlimit.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-15 07:42:39 +01:00
Michael Kerrisk 2a052964f5 getrlimit.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-12 06:30:42 +01:00
Michael Kerrisk 9a4b3ecd5b getrlimit.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-12 06:27:21 +01:00
Michael Kerrisk 98b43b5737 Removed trailing white space at end of lines 2010-11-12 06:16:40 +01:00
Michael Kerrisk c805532e4e getrlimit.2: Remove unneeded text in DESCRIPTION
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-07 16:02:59 +01:00
Michael Kerrisk 0ef19275c7 getrlimit.2: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-07 16:02:59 +01:00
Michael Kerrisk 1546fe1968 getrlimit.2: Added documentation of prlimit()
prlimit() is new in kernel 2.6.36.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-07 16:02:59 +01:00
Michael Kerrisk e1695dec3d getrlimit.2: Add mention of the ancient vlimit() function
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-26 07:04:04 +02:00
Michael Kerrisk c43b0ac78c getrlimit.2: Document units for RLIMIT_RTTIME limit
This limit is in microseconds

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=596492

Reported-by: Tanaka Akira <akr@fsij.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-12 08:40:54 +02:00
Michael Kerrisk c7094399ad intro.1, time.1, adjtimex.2, capget.2, eventfd.2, fcntl.2, getrlimit.2, getsockopt.2, gettimeofday.2, intro.2, ioctl_list.2, ioperm.2, mlock.2, pivot_root.2, poll.2, prctl.2, ptrace.2, sched_setscheduler.2, select_tut.2, semget.2, sigaltstack.2, signalfd.2, sysctl.2, timer_settime.2, timerfd_create.2, wait.2, CPU_SET.3, argz_add.3, assert_perror.3, atexit.3, backtrace.3, bcmp.3, clearenv.3, ctime.3, dl_iterate_phdr.3, dlopen.3, ecvt.3, errno.3, error.3, ether_aton.3, exit.3, fenv.3, ferror.3, finite.3, flockfile.3, fnmatch.3, fpathconf.3, fpclassify.3, ftime.3, ftok.3, ftw.3, fwide.3, getaddrinfo.3, gethostbyname.3, getlogin.3, getnameinfo.3, getnetent.3, getopt.3, getprotoent.3, getrpcent.3, getservent.3, glob.3, hsearch.3, inet.3, isalpha.3, iswalnum.3, iswalpha.3, iswblank.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, longjmp.3, lsearch.3, malloc.3, matherr.3, mblen.3, mbsinit.3, mbtowc.3, on_exit.3, printf.3, pthread_attr_init.3, pthread_attr_setaffinity_np.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3, pthread_attr_setstack.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_equal.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_setaffinity_np.3, pthread_setcancelstate.3, pthread_setconcurrency.3, pthread_setschedparam.3, pthread_setschedprio.3, ptsname.3, putenv.3, putgrent.3, raise.3, rcmd.3, regex.3, rexec.3, rpc.3, rpmatch.3, rtnetlink.3, scandir.3, sem_init.3, setaliasent.3, setbuf.3, setenv.3, setjmp.3, signbit.3, stdio_ext.3, strtod.3, strtol.3, strtoul.3, system.3, termios.3, timeradd.3, tzset.3, ualarm.3, wctomb.3, xdr.3, st.4, tty_ioctl.4, core.5, elf.5, proc.5, bootparam.7, capabilities.7, icmp.7, ip.7, ipv6.7, math_error.7, mdoc.samples.7, mq_overview.7, pthreads.7, raw.7, regex.7, socket.7, tcp.7, tzselect.8: Global fix: s/non-zero/nonzero/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:40:55 +01:00
Michael Kerrisk c8f2dd479b accept.2, execve.2, futimesat.2, getresuid.2, getrlimit.2, madvise.2, mq_getsetattr.2, msgctl.2, nice.2, open.2, poll.2, setresuid.2, shmctl.2, sigaction.2, times.2, utimensat.2, __setfpucw.3, atoi.3, endian.3, err.3, euidaccess.3, fenv.3, fopencookie.3, fpurge.3, getgrouplist.3, getutmp.3, j0.3, lgamma.3, netlink.3, pthread_attr_init.3, pthread_attr_setaffinity_np.3, pthread_cleanup_push_defer_np.3, pthread_getattr_np.3, pthread_kill_other_threads_np.3, pthread_setaffinity_np.3, pthread_tryjoin_np.3, pthread_yield.3, random_r.3, readdir.3, rtnetlink.3, scanf.3, setenv.3, significand.3, sigsetops.3, strerror.3, strstr.3, sysv_signal.3, termios.3, timegm.3, unlocked_stdio.3, y0.3, locale.5, bootparam.7, feature_test_macros.7, ip.7, locale.7, pthreads.7, rtld-audit.7, nscd.8: Global fix: s/non-standard/nonstandard/
The tendency in English, as prescribed in style guides like
Chicago MoS, is towards removing hyphens after prefixes
like "non-" etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 17:40:20 +01:00
Michael Kerrisk 374af67a42 getrlimit.2: refer to execve(2) for RLIMIT_STACK's effect on ARG_MAX
Refer the reader to new text in execve(2) that describes how
(since Linux 2.6.23) RLIMIT_STACK determines the value of ARG_MAX.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-05 06:24:36 +02:00
Michael Kerrisk 00e8730f78 getrlimit.2: Reword/relocate discussion of BSD's historical RLIMIT_OFILE
The old sentence sat on its own in an odd place, and anyway the
modern BSDs use the name RLIMIT_NOFILE.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-10-05 05:42:32 +02:00
Michael Kerrisk 835363b211 NOTES: Add text mention the shell 'ulimit' (or 'limit')
built-in command for setting resource limits.
2008-08-26 04:19:07 +00:00
Michael Kerrisk 2c0cfe3ccc grfix 2008-08-26 04:11:43 +00:00
Michael Kerrisk 23ce0537cb Add description of RLIMIT_RTTIME limit, new in 2.6.25. 2008-06-11 22:04:51 +00:00
Michael Kerrisk 64d6219cf0 s/since kernel x.y.z/since Linux s.y.z/ 2008-05-07 13:33:52 +00:00
Michael Kerrisk ffd3fb5531 Added FIXME. 2008-04-09 15:24:39 +00:00
Michael Kerrisk eba722884d s/nonzero/non-zero/ 2008-03-19 13:16:39 +00:00
Michael Kerrisk c382a36592 hyphenation fixes 2007-12-25 22:02:19 +00:00
Michael Kerrisk 8382f16db1 grfix 2007-12-25 21:28:09 +00:00
Michael Kerrisk 34ccb744ec s/x86/i386/ 2007-12-24 17:31:35 +00:00
Michael Kerrisk 94e9d9febd Replace "-" by "\-" where a real dash is required. 2007-12-22 16:40:46 +00:00
Michael Kerrisk a08ea57c20 Make the standard indent for code samples, shell session
logs, etc. to be ".in +4n".
2007-12-19 05:53:30 +00:00
Michael Kerrisk 0daa9e92d0 Fix redundant formatting macros 2007-09-20 16:26:31 +00:00
Michael Kerrisk c11b1abf2e Change mtk's email address 2007-09-20 06:52:22 +00:00
Michael Kerrisk 2f0af33ba6 ffix 2007-06-22 19:42:52 +00:00
Michael Kerrisk 682edefb1b ffix 2007-06-22 17:16:20 +00:00
Michael Kerrisk 2e42dfb375 tfix 2007-06-15 21:44:10 +00:00
Michael Kerrisk d9bfdb9c21 Convert to American spelling conventions 2007-06-08 09:56:56 +00:00
Michael Kerrisk d9343c5c13 Removed version number from .TH line 2007-05-30 05:36:26 +00:00
Michael Kerrisk a1d5f77cc8 Reordered sections to be more consistent, in some cases renaming
sections or shifting paragraphs between sections.
2007-05-18 16:06:42 +00:00
Michael Kerrisk 60a90ecdae Convert function formatting of the form "\fBname\fP()" to ".BR name ()". 2007-05-12 09:06:04 +00:00
Michael Kerrisk 0bfa087b03 Add section numbers to references to other pages 2007-05-11 23:07:02 +00:00
Michael Kerrisk 1c44bd5b0b Wrap long lines; start sentences on new lines 2007-04-24 16:44:51 +00:00
Michael Kerrisk c13182efa3 Wrapped long lines, wrapped at sentence boundaries; stripped trailing
white space.
2007-04-12 22:42:49 +00:00
Michael Kerrisk ee930c498f Added a few words to note that RLIMIT_NPROC is really a limit on
threads.
2006-12-01 03:49:20 +00:00
Michael Kerrisk 97c1eac86f Updated CONFORMING TO section 2006-08-03 13:57:17 +00:00
Michael Kerrisk eb57f0f568 Noted effect of fork() and execve() on resource limits. 2006-07-22 14:37:54 +00:00
Michael Kerrisk a31272feff Updated FIXME 2006-07-11 04:19:49 +00:00
Michael Kerrisk 6883b3e731 Changed copyright commnents to add 'and' in some cases 2006-05-22 23:52:24 +00:00
Michael Kerrisk 6057e7a9fa Added BUGS text on 2.6.x handling of RLIMIT_CPU limit
of zero seconds.  See
http://marc.theaimsgroup.com/?l=linux-kernel&m=112256338703880&w=2
2006-04-04 04:12:36 +00:00
Michael Kerrisk e1a9bc1bc7 Added SEE ALSO entry referring to new core.5 page 2006-03-31 07:10:17 +00:00
Michael Kerrisk 92057f4dbc Updated FIXMEs 2006-02-08 09:44:13 +00:00
Michael Kerrisk 8478ee0279 Formatting fixes 2005-11-02 13:55:25 +00:00
Michael Kerrisk 4a04cd9a4d Fix typos 2005-10-28 13:32:01 +00:00
Michael Kerrisk b270eba946 Added EINVAL error for rlim_cur > rlim_max when calling setrlimit(). 2005-10-24 15:26:31 +00:00
Michael Kerrisk f87925c6bf Formatting fixes 2005-10-19 16:30:05 +00:00
Michael Kerrisk b5cc2ffbaa Formatting fixes 2005-10-19 14:48:35 +00:00
Michael Kerrisk e1d6264d9f Manual fixes for parentheses formatting 2005-10-19 07:29:28 +00:00
Michael Kerrisk 63aa9df02f Automated unformatting of parentheses using unformat_parens.sh 2005-10-19 07:07:02 +00:00
Michael Kerrisk 314df009da fix version in .TH 2005-09-21 06:28:33 +00:00
Michael Kerrisk cedd678ff7 Further reworking of discussion or RLIMIT_NICE and RLIMIT_RTPRIO 2005-09-20 17:43:58 +00:00
Michael Kerrisk 6151ea9a91 Noted 2.6.12 off-by-one error for RLIMIT_NICE. 2005-09-20 06:52:49 +00:00
Michael Kerrisk a23bf8a396 Uncommented description of RLIMIT_NICE that I wrote earlier 2005-09-19 14:57:05 +00:00
Michael Kerrisk 5e1f91cfd1 Commented out RLIMIT_NICE text, pending the fix to align
the 2.6.12 mismatch between [gs]etpriority() and RLIMIT_NICE.
See: http://marc.theaimsgroup.com/?l=linux-kernel&m=112256338703880&w=2
2005-07-29 11:44:53 +00:00
Michael Kerrisk 1bf844f164 Added RLIMIT_RTPRIO and RLIMIT_NICE 2005-07-28 14:38:36 +00:00
Michael Kerrisk b14d4aa5b8 Classical BSD versions are now always named x.yBSD (formerly
there was a mix of x.yBSD and BSD x.y).
2005-07-18 15:05:56 +00:00
Michael Kerrisk 9426c9ddbf RLIMIT_RSS ceased to have any effect in 2.4 in kernel 2.4.30.
(It already didn't have any effect in 2.2.x and 2.6.x.)
2005-07-13 13:05:56 +00:00
Michael Kerrisk 9d8b1d5f55 Documented RLIMIT_MSGQUEUE limit.
s/MADVISE_WILLNEED/MADV_WILLNEED/
2005-07-13 12:51:27 +00:00
Michael Kerrisk 4a3f7c5fbc formatting 2005-06-16 10:32:30 +00:00
Michael Kerrisk f59a3f1941 Global edit: s/nonzero/non-zero/ 2005-06-15 13:32:34 +00:00
Michael Kerrisk 2e0eee5451 RLIMIT_RSS only has affect "in 2.4.x", not "in 2.4 and later". 2005-06-15 11:35:49 +00:00
Michael Kerrisk 704a18f06d Fixed typos and spelling mistakes 2005-04-18 13:35:29 +00:00
Michael Kerrisk 9a8a1136fa typo fix 2004-12-13 06:58:38 +00:00
Michael Kerrisk 8b6aacb004 tweak RLIMIT_SIGPENDING details 2004-12-07 17:57:48 +00:00
Michael Kerrisk 4bdd9f775b tweak RLIMIT_SIGPENDING details 2004-12-07 17:30:27 +00:00
Michael Kerrisk e6c5832f19 Rewrote discussion on RLIMIT_MEMLOCK to incorporate kernel 2.6.9 changes.
Added note on RLIMIT_CPU error in older kernels.
Added RLIMIT_SIGPENDING
2004-12-03 16:06:22 +00:00
Michael Kerrisk b4c0e1cb44 Fixed headers listed in synopsis, after message from Vasya Pupkin 2004-12-01 15:19:22 +00:00
Michael Kerrisk 0fc46b5a65 split getrusage(2) into own page; other minor changes 2004-11-16 16:57:47 +00:00
Michael Kerrisk 305a0578bf Global change of email address for MTK (now: mtk-manpages@gmx.net) 2004-11-03 14:43:40 +00:00
Michael Kerrisk fea681dafb Import of man-pages 1.70 2004-11-03 13:51:07 +00:00