Michael Kerrisk
9eff286780
mount.2, prctl.2: s/task/thread/ for consistency with other pages
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-03 15:40:42 +02:00
Paul Pluzhnikov
cadcf1b16b
prctl.2: PR_SET_DUMPABLE makes process non-ptrace-attachable
...
We've recently discovered that GDB will fail to attach to any
process that sets itself non-dumpable. Tested on kernel 2.6.32,
with:
int main(int argc, char *argv[])
{
if (prctl(PR_SET_DUMPABLE, 0, 0, 0) != 0) {
perror("prctl");
}
printf("Run gdb %s %d\n", argv[0], getpid());
sleep(20);
abort();
}
./a.out
Run gdb ./a.out 30476
gdb -q ./a.out 30476
Reading symbols from /tmp/a.out...done.
Attaching to program: /tmp/a.out, process 30476
ptrace: Operation not permitted.
/tmp/30476: No such file or directory.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-17 06:10:54 +02:00
Paul Pluzhnikov
2e781e2082
prctl.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-17 06:08:35 +02:00
Seonghun Lim
7efbd729c4
prctl.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:45 +02:00
Michael Kerrisk
e929e68bf8
prctl.2, rtc.4, boot.7, netlink.7: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-15 07:48:02 +02:00
Michael Kerrisk
e14baeeb54
prctl.2: srcfix: Added FIXMEs
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-27 06:54:10 +02:00
Michael Kerrisk
b911dcb076
Removed trailing white space at end of lines
2010-06-20 06:43:23 +02:00
Andi Kleen
ed31c5727f
prctl.2: Document the hwpoison prctls in 2.6.32
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-12 13:47:27 +02:00
Michael Kerrisk
028cb0809b
prctl.2: Correct PR_SET_KEEPCAPS description
...
The "keep capabilities" flag only affects the treatment of
permitted capabilities, not effective capabilities.
Also: other improvements to make the PR_SET_KEEPCAPS text clearer.
Reported-by: Serge E. Hallyn <serge@hallyn.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-13 06:16:25 +02:00
Michael Kerrisk
623ba005ca
prctl.2: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-05-10 05:30:56 +02:00
Michael Kerrisk
bd74a87338
prctl.2, putgrent.3, strcat.3, strcpy.3, console_ioctl.4: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-01-16 18:56:17 +01:00
Michael Kerrisk
b28f6e5645
prctl.2, fmtmsg.3, gethostbyname.3, getnameinfo.3: Global fix: s/non-recoverable/nonrecoverable/
...
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 18:01:12 +01:00
Michael Kerrisk
2fda57bd09
_syscall.2, accept.2, epoll_create.2, inotify_add_watch.2, ioctl.2, msgget.2, msgop.2, open.2, prctl.2, sched_setscheduler.2, semctl.2, semget.2, swapon.2, addseverity.3, cacosh.3, csqrt.3, dirfd.3, drand48.3, fputws.3, mq_send.3, posix_openpt.3, puts.3, sched_getcpu.3, shm_open.3, sqrt.3, sysconf.3, tgamma.3, ulimit.3, credentials.7, svipc.7: Global fix: s/non-negative/nonnegative/
...
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:44:48 +01: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
Nicolas François
44e5793157
Typo and wording fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2008-09-29 11:00:36 +02:00
Michael Kerrisk
c45bd688fd
s/floating point/floating-point/ when used attributively.
2008-07-23 02:57:20 +00:00
Michael Kerrisk
88989295a8
Place options in some semblance of alphabetical order.
...
(No content or formatting changes were made.)
2008-07-16 14:01:02 +00:00
Michael Kerrisk
c4bb193f3c
s/parameter/argument/ when talking about the things given
...
to a function call, for consistency with majority usage.
2008-07-10 20:53:08 +00:00
Michael Kerrisk
2914a14d30
Removed trailing white space at end of lines
2008-07-09 13:55:24 +00:00
Michael Kerrisk
8ab8b43f0e
Document PR_CAPBSET_READ and PR_CAPBSET_DROP.
...
Document PR_GET_TSC and PR_SET_TSC.
Document PR_SET_SECCOMP and PR_GET_SECCOMP.
PR_SET_KEEPCAPS and PR_GET_KEEPCAPS operate on a per-thread
setting, not a per-process setting.
Clarify fork(2) details for PR_SET_PDEATHSIG.
Add description of PR_SET_SECUREBITS and PR_GET_SECUREBITS,
as well as pointer to further info in capabilities(7).
PR_GET_ENDIAN returns endianness info in location pointed to by
arg2 (not as function result, as was implied by previous text).
Expand description of PR_SET_NAME and PR_GET_NAME.
RETURN VALUE: bring up to date for various options.
Various improvements in ERRORS.
Note that PR_SET_TIMING setting of PR_TIMING_TIMESTAMP is not
currently implemented.
Minor changes:
* Clarify wording for PR_GET_UNALIGN, PR_GET_FPEMU, and PR_GET_FPEXC.
* Some reformatting of kernel version information.
* Reorder PR_GET_ENDIAN and PR_SET_ENDIAN entries.
2008-07-09 11:53:48 +00:00
Michael Kerrisk
2be221988c
Added FIXME
2008-05-20 08:09:35 +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
1a329b567a
ffix
2007-12-10 07:16:56 +00:00
Michael Kerrisk
eaf7a6918e
Linux 2.6.22 added support for PR_SET_UNALIGN.
2007-10-15 18:11:45 +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
bf1c0ede48
Remove trailing whitespace
2007-08-27 08:02:09 +00:00
Michael Kerrisk
a62944088a
Updated date in .TH line.
2007-07-08 19:21:38 +00:00
Michael Kerrisk
20f75f5fe2
Update arches/kernel versions for PR_SET_UNALAIGN / PR_GET_UNALIGN.
2007-07-08 17:17:32 +00:00
Michael Kerrisk
8bd58774dc
Formatted signal names
2007-06-21 05:38:48 +00:00
Michael Kerrisk
d9bfdb9c21
Convert to American spelling conventions
2007-06-08 09:56:56 +00:00
Michael Kerrisk
af5f950813
Update copyright notice
2007-06-02 08:19:44 +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
a759cc870f
Renamed .SH AVAILABILITY to .SH VERSIONS
2007-05-16 04:53:05 +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
521bf58405
ffix
2007-04-03 14:04:54 +00:00
Michael Kerrisk
75b48e9d74
Various fixes to CONFORMING TO
2006-12-17 01:34:44 +00:00
Michael Kerrisk
a4775da652
tfix
2006-10-02 04:48:28 +00:00
Michael Kerrisk
64536a1bf4
Document PR_GET_ENDIAND and PR_SET_ENDIAN.
2006-09-26 13:01:24 +00:00
Michael Kerrisk
e87fdd92fa
Updated Linux versions where the options where introduced.
...
Added PR_SET_TIMING, PR_GET_TIMING, PR_SET_NAME, PR_GET_NAME,
PR_SET_UNALIGN, PR_GET_UNALIGN, PR_SET_FPEMU, PR_GET_FPEMU,
PR_SET_FPEXC, PR_GET_FPEXC.
2006-09-26 12:03:11 +00:00
Michael Kerrisk
a3b7f00b4a
Since kernel 2.6.18, setting 2 for PR_SET_DUMPABLE is no longer possible.
2006-09-26 08:36:02 +00:00
Michael Kerrisk
cb1c9135d0
ffix
2006-08-03 03:02:31 +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
218e46f883
Small FIXME formatting fixes
2006-03-23 02:13:08 +00:00
Michael Kerrisk
b0c93735cd
Removed outdated FIXME
2006-03-05 20:34:30 +00:00