Commit Graph

457 Commits

Author SHA1 Message Date
Michael Kerrisk 2174e8e353 mem.4: Minor wording and formatting fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-10 12:50:17 +02:00
Michael Kerrisk de347a67a8 null.4: Minor wording and formatting fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-10 12:47:06 +02:00
Michael Kerrisk dcc9ee3475 null.4: Note that reads from /dev/zero are interruptible since Linux 2.6.31
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-10 12:44:40 +02:00
Michael Kerrisk 6c22e3235a null.4: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-10 12:40:20 +02:00
Michael Kerrisk 5ffdc2fda9 Removed trailing white space at end of lines 2015-05-07 08:30:26 +02:00
Michael Kerrisk 721aebf904 loop.4: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-07 08:29:45 +02:00
Michael Kerrisk 3bc8a843fd loop.4: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-07 08:29:01 +02:00
Michael Kerrisk 67d2c6873c add_key.2, chown.2, epoll_ctl.2, epoll_wait.2, execve.2, fcntl.2, get_mempolicy.2, getxattr.2, ioctl.2, keyctl.2, listxattr.2, mkdir.2, mknod.2, mmap.2, msync.2, nfsservctl.2, open.2, prctl.2, removexattr.2, request_key.2, sendfile.2, set_mempolicy.2, setxattr.2, shmget.2, shutdown.2, sigaction.2, syslog.2, truncate.2, umask.2, CPU_SET.3, atexit.3, bsearch.3, cmsg.3, err.3, gethostid.3, getmntent.3, getopt.3, iconv_close.3, inet_ntop.3, longjmp.3, lsearch.3, mcheck.3, on_exit.3, putpwent.3, regex.3, resolver.3, setbuf.3, setjmp.3, setlocale.3, setlogmask.3, sleep.3, strsignal.3, sysconf.3, undocumented.3, tty_ioctl.4, proc.5, resolv.conf.5, tzfile.5, aio.7, bootparam.7, capabilities.7, fanotify.7, inotify.7, ip.7, packet.7, pthreads.7, raw.7, signal.7, socket.7, unix.7, ld.so.8, nscd.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-07 08:26:32 +02:00
Michael Kerrisk e757b91154 tty_ioctl.4: Document TIOCGPTLCK
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 23:11:58 +02:00
Michael Kerrisk bd020450f0 tty_ioctl.4: Document TIOCSPTLCK
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 23:11:58 +02:00
Michael Kerrisk 8b17edbeef tty_ioctl.4: Document TIOCGEXCL
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 23:11:58 +02:00
Michael Kerrisk a3bee85c40 tty_ioctl.4: Document TIOGCPKT
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 23:11:58 +02:00
Michael Kerrisk 415563825b tty_ioctl.4: Reorder text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 23:11:58 +02:00
Michael Kerrisk e1215bb9dd tty_ioctl.4: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 23:11:58 +02:00
Michael Kerrisk 452f300b87 tty_ioctl.4: Wording fixes for Frédéric Maria's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 23:11:58 +02:00
Frédéric Maria 1dcf15ddf4 tty_ioctl.4: Document TIOCMIWAIT and TIOCGICOUNT
Reported-by: Stephane Fillod <fillods@users.sf.net>
Reported-by: Andreas Heiduk <asheiduk@googlemail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 23:11:58 +02:00
Michael Kerrisk d398da7b87 tty_ioctl.4: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 23:11:58 +02:00
Michael Kerrisk 2096c4f38d tty_ioctl.4: tfix
Reported-by: Frédéric Maria <frederic.maria@free.fr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 23:11:58 +02:00
Michael Kerrisk e3f16cf723 tty_ioctl.4: Fix error in code example
Reported-by: Denis Du <denisdu@ruggedcom.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 23:11:58 +02:00
Michael Kerrisk 14ae756aa4 loop.4: Document LOOP_CHANGE_FD
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 23:11:57 +02:00
Michael Kerrisk 5210b7965f loop.4: Document LOOP_SET_CAPACITY
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 23:11:57 +02:00
Michael Kerrisk 1a7f33706f loop.4: Add an EXAMPLE program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 15:29:36 +02:00
Michael Kerrisk 44fdc52128 loop-control.4: New link to loop.4
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 15:29:36 +02:00
Michael Kerrisk 482ee36128 loop.4: Document the loop-control device
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 15:29:36 +02:00
Michael Kerrisk 56b4a66a39 loop.4: (Briefly) document 'lo_flags'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 13:59:59 +02:00
Michael Kerrisk 5cb4874ee8 loop.4: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 13:51:59 +02:00
Michael Kerrisk 8e85a9cc05 loop.4: srcfix: remove CR characters
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 13:47:02 +02:00
Michael Kerrisk dd340a435e loop.4: Add LO_CRYPT_CRYPTOAPI as an encryption type
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 13:17:20 +02:00
Michael Kerrisk 1e03a1532a loop.4: Edits to Urs Thuermann's page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 13:14:28 +02:00
Urs Thuermann 42404315aa loop.4: New page documenting the loop device
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-05-01 12:49:14 +02:00
Michael Kerrisk 1e64c86bbf intro.1, ldd.1, clone.2, getgroups.2, getpid.2, getsockopt.2, ioctl_list.2, msgop.2, open.2, seccomp.2, setgid.2, setresuid.2, setreuid.2, setuid.2, sigaction.2, sigpending.2, sigprocmask.2, sigreturn.2, sigsuspend.2, sigwaitinfo.2, socket.2, syscall.2, syscalls.2, umount.2, clock.3, dlopen.3, fmemopen.3, fpathconf.3, fputwc.3, fputws.3, fseek.3, fseeko.3, gcvt.3, getline.3, getwchar.3, hypot.3, if_nameindex.3, initgroups.3, popen.3, resolver.3, strcoll.3, strdup.3, tzset.3, ulimit.3, wcstombs.3, wctob.3, xdr.3, console_codes.4, random.4, filesystems.5, host.conf.5, hosts.5, proc.5, resolv.conf.5, securetty.5, credentials.7, feature_test_macros.7, hier.7, ipv6.7, packet.7, pthreads.7, raw.7, signal.7, tcp.7, user_namespaces.7, ld.so.8, ldconfig.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-29 22:30:09 +02:00
Scot Doyle 561578fc98 console_codes.4: Update timestamp
Actually a dummy commit to mark the fact that I mashed commit
e8db1b97eb to have the wrong
author. Come release time, I'll at least fix the Changelog
to note that the author was Scot Doyle.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-26 14:03:19 +01:00
Stéphane Aulery d282bb247b iconv.1, localedef.1, access.2, execveat.2, fanotify_init.2, futex.2, ioctl_fat.2, mount.2, ftw.3, sd.4, tty_ioctl.4, fanotify.7, futex.7, posixoptions.7, iconvconfig.8: srcfix: Remove useless quotes from .SS and .SH sections
Signed-off-by: Stéphane Aulery <saulery@free.fr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-08 08:55:03 +01:00
Michael Kerrisk f8db29e89c console_codes.4: Add kernel version number for CSI sequence 15
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-02 17:25:57 +01:00
Taisuke Yamada e8db1b97eb console_codes.4: Add Console Private CSI sequence 15
An undocumented escape sequence in drivers/tty/vt/vt.c brings the
previously accessed virtual terminal to the foreground.

Signed-off-by: Scot Doyle <lkml14@scotdoyle.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-02 17:25:57 +01:00
Michael Kerrisk 6f67e3e3fd random.4: Fix permissions shown for the devices
These days, the devices are RW for everyone.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-03-02 17:25:56 +01:00
Michael Kerrisk 44da0e2405 random.4: Note maximum number of bytes returned by read(2) on /dev/random
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk 866fa68185 random.4: Since Linux 3.16, reads from /dev/urandom return at most 32 MB
See https://bugs.debian.org/775328 and
https://bugzilla.kernel.org/show_bug.cgi?id=80981#c9

Reported-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk 792bb5ad59 random.4: Minor fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-21 07:58:28 +01:00
Michael Kerrisk 9dc53e71c2 kexec_load.2, personality.2, prctl.2, reboot.2, socket.2, fflush.3, getopt.3, random.3, termios.3, random.4, passwd.5, capabilities.7, signal.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-02-01 17:14:12 +01:00
Heinrich Schuchardt dcd72baa13 random.4: SEE ALSO: add getrandom(2)
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-29 09:02:40 +01:00
Michael Kerrisk cb3a997ee5 st.4: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-28 10:29:55 +01:00
Michael Kerrisk fdf5ab3820 rtc.4: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-28 10:28:41 +01:00
Michael Kerrisk 09a55e180e mem.4: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-28 10:27:05 +01:00
Michael Kerrisk 1ac80024c9 perf_event_open.2, seccomp.2, setns.2, shmget.2, memchr.3, pthread_tryjoin_np.3, strstr.3, random.4, epoll.7, netlink.7, pid_namespaces.7, tcp.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-10 16:05:01 +01:00
Michael Kerrisk e8cc3c090d random.4: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-10 14:55:57 +01:00
Heinrich Schuchardt 9949f5cb18 random.4: Mention PRNG used by urandom
/dev/urandom uses a pseudo-random number generator to replace
missing entropy.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-10 14:32:30 +01:00
Heinrich Schuchardt 1734469103 random.4: Describe handling of O_NONBLOCK
/dev/random and /dev/urandom treat O_NONBLOCK differently.
This should be described in the manpage.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-10 14:31:47 +01:00
Elie De Brauwer 639dfde82f mem.4: Add CONFIG_STRICT_DEVMEM
Since 2.6.26 the CONFIG_NONPROMISC_DEVMEM options limits the physical
addresses which can be accessed through /dev/mem.

Sources:
 - Changelog: http://kernelnewbies.org/Linux_2_6_26
 - Initial commit: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ae531c26c5c2a28ca1b35a75b39b3b256850f2c8
 - Rename of name: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d092633bff3b19faffc480fe9810805e7792a029

Signed-off-by: Elie De Brauwer <eliedebrauwer@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-06 11:45:31 +01:00
Elie De Brauwer 463f35e1c9 mem.4: Correct /dev/port group in example
mem.4 mentions that group for /dev/port should be set to 'mem'
However, all other files (/dev/mem and /dev/kmem) use the kmem
group in their examples and on my system /dev/port belongs to
kmem. Hence the 'mem' group was probably a typo:

    edb@lapelidb:~$ cat /etc/group | grep -i mem
    kmem15:
    edb@lapelidb:~$ ls -al /dev/port
    crw-r----- 1 root kmem 1, 4 Jan  2 10:00 /dev/port

Signed-off-by: Elie De Brauwer <eliedebrauwer@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-06 11:43:17 +01:00