Commit Graph

1077 Commits

Author SHA1 Message Date
Michael Kerrisk cf71273de1 proc.5: Add reference to ptrace(2) for /proc/sys/kernel/yama/ptrace_scope
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-10-08 13:01:33 +01:00
Michael Kerrisk e8aa7100f5 proc.5: wfix + tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-09-11 13:35:36 +02:00
Heinrich Schuchardt 84ff8c1e2d proc.5: /proc/sys: Describe whitespace characters
Suggested patch
https://lkml.org/lkml/2015/8/24/171
indicates missing documentation.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-09-11 13:32:26 +02:00
Michael Kerrisk 2e2b236434 proc.5: wfix + ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-09-11 13:30:05 +02:00
Michael Kerrisk 004b062d87 proc.5: Note kernel version that introduced threads-max range checks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-09-11 13:27:41 +02:00
Heinrich Schuchardt 6fb0f56f98 proc.5: Add details for threads-max
Add detail information for threads-max.
The checks for minimum and maximum values exist since kernel 4.1.
https://lkml.org/lkml/2015/3/15/96

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-09-11 13:16:01 +02:00
Michael Kerrisk 54d5fd1e44 elf.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-08 17:35:44 +02:00
Michael Kerrisk a547929c7f elf.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-08-08 17:35:44 +02:00
Michael Kerrisk 8cc4d07100 Removed trailing white space at end of lines 2015-07-23 16:15:22 +02:00
Michael Kerrisk 5722c835ab intro.1, locale.1, _exit.2, access.2, bpf.2, brk.2, capget.2, chmod.2, chroot.2, clock_getres.2, clone.2, eventfd.2, fallocate.2, fork.2, getgroups.2, gethostname.2, getpid.2, getpriority.2, getrlimit.2, getrusage.2, gettid.2, iopl.2, ioprio_set.2, killpg.2, mlock.2, mprotect.2, perf_event_open.2, poll.2, posix_fadvise.2, pread.2, ptrace.2, read.2, readv.2, recv.2, rename.2, sched_setaffinity.2, sched_setattr.2, seccomp.2, select.2, send.2, seteuid.2, setgid.2, setresuid.2, setreuid.2, setuid.2, sigaltstack.2, signalfd.2, sigpending.2, sigprocmask.2, sigreturn.2, sigsuspend.2, sigwaitinfo.2, socket.2, stat.2, timer_create.2, uname.2, utimensat.2, wait.2, wait4.2, write.2, MB_LEN_MAX.3, __ppc_get_timebase.3, clearenv.3, dl_iterate_phdr.3, error.3, fexecve.3, fpurge.3, fread.3, fts.3, getaddrinfo.3, getaddrinfo_a.3, getauxval.3, getgrent_r.3, gethostbyname.3, getifaddrs.3, getnameinfo.3, getnetent_r.3, getprotoent.3, getprotoent_r.3, getpw.3, getpwent_r.3, getrpcent.3, getrpcent_r.3, getrpcport.3, getservent.3, getservent_r.3, gsignal.3, key_setsecret.3, malloc_get_state.3, malloc_info.3, malloc_stats.3, malloc_trim.3, memcpy.3, mq_notify.3, mq_open.3, perror.3, profil.3, psignal.3, pthread_attr_init.3, pthread_attr_setaffinity_np.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_create.3, pthread_detach.3, pthread_getattr_np.3, pthread_join.3, pthread_setname_np.3, pthread_tryjoin_np.3, putgrent.3, rcmd.3, rpc.3, rpmatch.3, sem_close.3, sem_open.3, setaliasent.3, shm_open.3, sigqueue.3, strfmon.3, xcrypt.3, xdr.3, console_codes.4, null.4, core.5, host.conf.5, hosts.equiv.5, locale.5, repertoiremap.5, locale.7, man-pages.7, pty.7, rtld-audit.7, sched.7, vdso.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-23 16:12:28 +02:00
Michael Kerrisk 618f699492 proc.5: Refer to bpf(2) for explanation of /proc/sys/net/core/bpf_jit_enable
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-23 16:08:33 +02:00
Michael Kerrisk eb5367ada7 hosts.equiv.5: Minor improvement to text
As discussed with Carlos O'Donell.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-21 16:02:53 +02:00
Michael Kerrisk 087dd22bfd locale.5: Remove BUGS section saying man page is not complete
To some degree, this is true of many pages. And anyway, this
page is much better after recent work by Marko.

Reported-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-16 19:29:35 +02:00
Marko Myllynen 5ca8b4fa32 locale.5: document era keywords
This patch completes the LC_TIME section - since these era
keywords are so tightly coupled, I'm providing them as a
single patch.

Based on
http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap07.html
http://www.open-std.org/jtc1/SC22/WG20/docs/n972-14652ft.pdf

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-07-16 19:29:35 +02:00
Michael Kerrisk 7b28cf6636 core.5: Mention 'coredump_filter' boot option
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-06-26 11:07:43 +02:00
Michael Kerrisk 7065339f71 hosts.equiv.5: Improve explanation in EXAMPLE
Reported-by: Carlos O'Donell <carlos@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-06-18 21:19:38 +02:00
Michael Kerrisk 62184395b3 proc.5: Document /proc/sys/kernel/sysctl_writes_strict
Based on text in Documentation/sysctl/kernel.txt.

Cowritten-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-06-18 08:34:16 +02:00
Michael Kerrisk ba5ed753c5 hosts.equiv.5: Improve explanation in EXAMPLE
Reported-by: Arjun Shankar <arjun@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-06-18 08:34:15 +02:00
Michael Kerrisk e7fd5cc233 hosts.equiv.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-06-18 08:34:15 +02:00
Michael Kerrisk 9e7cff750b hosts.equiv.5: Tweak's to Carlos's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-06-17 10:46:06 +02:00
Carlos O'Donell 427cee53f0 hosts.equiv.5: Fix format, clarify IdM needs, and provide examples.
In some recent work with a Red Hat customer I had the opportunity
to discuss the fine nuances of the ruserok() function and related
API which are used to implement rlogin and rsh.

It came to my attention after working with QE on some automated
internal testing that there were no good examples in the hosts.equiv
manual page showing how the format was supposed to work for this
file and for ~/.rhosts, worse the "format" line showed that there
should be spaces between arguments when that would clearly lead
to incorrect behaviour. In addition some things that the format
allows you to write are just wrong like "-host -user" which makes
no sense since the host is already rejected, and should be written
as "host -user" instead. I added notes in the example to make it
clear that "-host -user" is invalid.

I fixed three things:

(a) The format line.
- Either +, or [-]hostname, or +@netgrp or -@netgrp.
- Either +, or [-]username, or +@netgrp or -@netgrp.
- You must specify something in the hostname portion so remove
  optional brackets.

(b) Clarify language around credentials
- If the host is not trusted you must provide credentials to
  the login system and that could be anything really and it
  depends on your configuration e.g. PAM or whatever IdM you have.

(c) Provide real-world examples
- Provide several real world examples and some corner case
  examples for how you would write something. Hopefully others
  can add examples as they see fit.

Signed-off-by: Carlos O'Donell <carlos@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-06-17 08:34:18 +02:00
Michael Kerrisk 6e9c8c174f host.conf.5: Wording fix: s/resolv+/the resolver library/
The term "resolv+" seems to be historical cruft.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-06-16 13:20:54 +02:00
Michael Kerrisk 4839256aff locale.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-06-12 18:45:53 +02:00
Michael Kerrisk 7bc58733c5 locale.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-06-12 18:45:53 +02:00
Marko Myllynen 861c753ae3 locale.5: tfix / minor clarification
The subject says it all, for reference see e.g. ja_JP.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-06-12 18:45:53 +02:00
Marko Myllynen b3834a454f locale.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-06-12 18:45:50 +02:00
Marko Myllynen e4bcd97145 locale.5: Sort according to the standard
Sort the options so that those defined in POSIX are listed first,
then followed by those defined in ISO/IEC TR 14652 in the order
of common convention in many widely used glibc locales.

Actual descriptions are unchanged.

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap07.html

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-06-12 18:31:19 +02:00
Marko Myllynen cc7279ff2e locale.5: Remove the FIXME for timezone
The timezone of LC_TIME is not in POSIX, only 6 (out of ~300)
glibc locales define it, the glibc code comment below from
glibc.git/programs/ld-time.c seems to suggest it's not a good
idea, and there's been a proposal in upstream [1] to remove the
existing timezone definitions from glibc locales so I think
it's actually better to leave this one undocumented:

/* XXX We don't perform any tests on the timezone value since this is
   simply useless, stupid $&$!@...  */

1) https://sourceware.org/ml/libc-alpha/2015-06/msg00098.html

Move the remaining LC_COLLATE FIXMEs together while at it.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-06-12 18:30:09 +02:00
Marko Myllynen ea7208a6aa locale.5: Refer to strftime(3) where appropriate
The relationship between the locale time format syntax
and strftime() cannot be considered as obvious.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-06-12 18:27:55 +02:00
Marko Myllynen ab601e67b9 locale.5: Refer to locale(7) more prominently
It's probably a good idea to refer to locale(7) so that a reader
can check what a category is about before describing them in
detail.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-06-12 18:27:14 +02:00
Michael Kerrisk a41c3eccb2 elf.5: wfix
Reported-by: Hack NDo <hackndo@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-29 20:31:41 +02:00
Marko Myllynen d850c7e08f repertoiremap.5: Symbolic names AKA mnemonics
A long time ago in glibc, repertoire maps were used (but they
were removed already in 2000), those mapping files were named
as mnemonics, so "mnemonic" is a term that would almost
certainly come up if somebody studies glibc side (perhaps even
the related standards like ISO 9945 [which I don't have access
to]) so I thought it's worth to mention to term in the man page
to make sure we're talking about the same thing, otherwise
someone might wonder is that something different or not.

IOW, symbolic names and mnemonics are often used interchangeably,
let's mention the other often used term in the page, too.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-15 16:20:37 +02:00
Michael Kerrisk 6aeda2ec3f locale.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-15 16:03:26 +02:00
Marko Myllynen 89fca3422e charmap.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-15 15:49:55 +02:00
Michael Kerrisk 577c0e20bb proc.5: Add /proc/crypto entry with a pointer to further information
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-15 15:42:07 +02:00
Michael Kerrisk 3434fb0b46 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-15 11:27:58 +02:00
Michael Kerrisk b1aad373f2 proc.5: Move misordered /proc/[pid]/timers entry
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-15 09:28:05 +02:00
Michael Kerrisk 40e259bc36 proc.5: Tweak /proc/vmstat text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-15 09:24:18 +02:00
Michael Kerrisk 1693f1368a proc.5: List /proc/vmstat fields
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-14 23:21:27 +02:00
Marko Myllynen 3dc4e84019 locale.5: Add iconv(1) reference
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-13 17:11:36 +02:00
Michael Kerrisk b8a2e38e00 locale.5: ffix
Reported-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-13 16:55:27 +02:00
Michael Kerrisk f18d16a9c5 repertoiremap.5: ffix
Reported-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-13 16:52:07 +02:00
Marko Myllynen 979494409a proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-13 14:05:40 +02:00
Michael Kerrisk 35a2f8868e locale.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:32:27 +02:00
Marko Myllynen d8826256c6 locale.5: Fix country_isbn format
Both plain numbers and Unicode code points are used in glibc locales but checking the code reveals that country_isbn is handled like the rest of its category expect for country_num which was clarified earlier.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:42 +02:00
Marko Myllynen 1f4f51b5b3 locale.5: Document class in LC_CTYPE
See e.g. the locale zh_CN and

http://en.cppreference.com/w/cpp/string/wide/towctrans
http://en.cppreference.com/w/cpp/string/wide/wctrans

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:42 +02:00
Marko Myllynen 6077885a06 locale.5: Document default_missing
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:42 +02:00
Marko Myllynen 4e3b0c16e1 locale.5: Document character transliteration
See e.g. da_DK for reference.

(Not sure should we actually provide an example here?)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:42 +02:00
Marko Myllynen f863ce4f60 locale.5: Document map "totitle"
See e.g. locales/i18n for reference.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:38 +02:00
Marko Myllynen af7ad104e1 locale.5: Copy is not exclusive in LC_CTYPE and LC_COLLATE
See e.g. da_DK for reference.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-12 16:24:10 +02:00