Commit Graph

9141 Commits

Author SHA1 Message Date
Doug Goldstein ef4901931a open.2: Add EINVAL to errors list
EINVAL can be returned by open(2) when the underlying filesystem
doesn't support O_DIRECT. It is documented in the NOTES section
but this patch adds it to the list of possible errors.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:49:45 +02:00
Peng Haitao f7dbb1ea62 telldir.3: ATTRIBUTES: Note function that is thread-safe
The function telldir() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:47:38 +02:00
Peng Haitao c242417af4 rewinddir.3: ATTRIBUTES: Note function that is thread-safe
The function rewinddir() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:47:18 +02:00
Peng Haitao 0352da6374 nextafter.3: wfix
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:47:06 +02:00
Peng Haitao e132eea1ab nextafter.3: ATTRIBUTES: Note functions that are thread-safe
The functions nextafter(), nextafterf(), nextafterl(),
nexttoward(), nexttowardf() and nexttowardl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:46:21 +02:00
Zdenek Pavlas 7d082baba6 sigaction.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:40:27 +02:00
Peng Haitao 39ea02302b rint.3: wfix
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:37:36 +02:00
Peng Haitao 36981c13b9 rint.3: ATTRIBUTES: Note functions that are thread-safe
The functions nearbyint(), nearbyintf(), nearbyintl(), rint(),
rintf() and rintl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:36:43 +02:00
Peng Haitao ed0b5a7807 mbsinit.3: ATTRIBUTES: Note function that is thread-safe
The function mbsinit() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:36:13 +02:00
Peng Haitao df348165e1 lround.3: ATTRIBUTES: Note functions that are thread-safe
The functions lround(), lroundf(), lroundl(), llround(),
llroundf() and llroundl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-09-02 07:35:33 +02:00
Michael Kerrisk f04abae3cb feature_test_macros.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-24 22:12:21 +02:00
Peng Haitao 5399a562d3 lrint.3: ATTRIBUTES: Note functions that are thread-safe
The functions lrint(), lrintf(), lrintl(), llrint(), llrintf(),
and llrintl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-22 09:26:21 +02:00
Peng Haitao 0105e3716b lseek64.3: ATTRIBUTES: Note function that is thread-safe
The function lseek64() is thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-22 09:25:41 +02:00
Peng Haitao 742e368202 ldexp.3: ATTRIBUTES: Note functions that are thread-safe
The functions ldexp(), ldexpf() and ldexpl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-22 09:25:20 +02:00
Simon Paillard 40f7562094 fstatat.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-22 09:06:31 +02:00
Michael Kerrisk fa182455ed clock.3: clock() switched from using times(2) to clock_gettime() in glibc 2.18
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-19 12:46:30 +02:00
Michael Kerrisk 09d3c20c0d dir_colors.5: Add various synonyms
See http://bugs.debian.org/553477

Reported-by: Stas <stas.grumbler@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 12:07:21 +02:00
Simon Paillard 7f0c47f028 dir_colors.5: Add keywords SUID, SGID, STICKY, STICKY_OTHER_WRITABLE, OTHER_WRITABLE
See http://bugs.debian.org/553477
See ls.c and dircolors.c in coreutils

Reported-by: Stas <stas.grumbler@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 12:07:00 +02:00
Michael Kerrisk f122e7a1c3 dir_colors.5: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 11:39:39 +02:00
Simon Paillard 2f3365bd5d ip.7: IP_MULTICAST_IF setsockopt recognizes struct mreq (compatibility)
Kernel added compatibility only recently in
3a084ddb4bf299a6e898a9a07c89f3917f0713f7
See: http://bugs.debian.org/607979

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 10:16:47 +02:00
Johan Erlandsson aa60c0d2b2 syscall.2: Correct registers for arm/EABI
Registers was off by one.

Reference:
http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=3105/4

See also:
http://peterdn.com/post/e28098Hello-World!e28099-in-ARM-assembly.aspx
https://wiki.debian.org/ArmEabiPort
http://en.wikipedia.org/wiki/Calling_convention#ARM

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 10:13:22 +02:00
Robert Harris 2510e4e5a1 open.2: Add mmap(2) to list of calls that fail when given an O_PATH descriptor
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 09:49:22 +02:00
Johan Erlandsson 415f7e6317 syscall.2: Add missing argument in example
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 09:33:51 +02:00
Michael Kerrisk 6ace3248f2 setfsgid.2: Refer to setfsuid(2) for an explanation of why setfsgid() is obsolete
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 09:28:35 +02:00
Michael Kerrisk 4069bc44a6 setfsgid.2: Wording improvements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 09:28:35 +02:00
Michael Kerrisk 2ec26c2b30 setfsuid.2: Wording improvements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 09:28:35 +02:00
Michael Kerrisk 68f2e81eda setfsuid.2: Correct header file in SYNOPSIS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 09:28:35 +02:00
Michael Kerrisk 0070a62d0a setfsgid.2: Correct header file in SYNOPSIS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 09:28:35 +02:00
Michael Kerrisk 18cc659761 setfsuid.2: Clarify historical details and note that setfsuid() is obsolete
Reported-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 09:27:07 +02:00
Michael Kerrisk 9e3859ed2b kill.2: Small improvements to text on historical rules for permissions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-09 08:41:53 +02:00
Michael Kerrisk eda6a3fc1a Changes.old: Minor fiix to 3.53 changelog
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 16:33:08 +02:00
Michael Kerrisk ff4739ceab setfsgid.2: Clarify description of return value
More clearly describe the weirdness in the return value of this
system call, and ote the problems it creates in in BUGS

Reported-by: Oleg Nesterov <oleg@redhat.com>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 15:44:17 +02:00
Michael Kerrisk 06e4308972 setfsuid.2: Clarify description of return value
More clearly describe the weirdness in the return value of this
system call, and ote the problems it creates in in BUGS

Reported-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 15:42:28 +02:00
Michael Kerrisk fd524ab98b sched_setparam.2: Clarify that this system call applies to threads (not processes)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 15:19:00 +02:00
Michael Kerrisk 81bd66daf4 sched_setscheduler.2: Clarify that this system call applies to threads (not processes)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 15:02:24 +02:00
Michael Kerrisk 6a7fcf3ccf sched_setaffinity.2: Clarify that these system calls affect a per-thread attribute
Reported-by: Christos Tsopokis <christos@tsopokis.gr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 15:02:21 +02:00
Peng Haitao ea00bcb35a ilogb.3: ATTRIBUTES: Note functions that are thread-safe
The functions ilogb(), ilogbf() and ilogbl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 10:27:56 +02:00
Peng Haitao b5a788d5f2 fpclassify.3: ATTRIBUTES: Note functions that are thread-safe
The functions fpclassify(), isfinite(), isnormal(), isnan(), and
isinf() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 10:27:56 +02:00
Peng Haitao 7e9ee9a4c2 frexp.3: ATTRIBUTES: Note functions that are thread-safe
The functions frexp(), frexpf() and frexpl() are thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 10:27:56 +02:00
Michael Kerrisk 282c1a35d0 msgctl.2, semctl.2, shmctl.2, cciss.4: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 10:27:55 +02:00
Michael Kerrisk 9ee4a2b6ec intro.1, time.1, access.2, acct.2, alloc_hugepages.2, bind.2, chdir.2, chmod.2, chown.2, chroot.2, clone.2, close.2, execve.2, fallocate.2, fcntl.2, getdents.2, getrusage.2, getxattr.2, init_module.2, inotify_add_watch.2, ioprio_set.2, kcmp.2, link.2, listxattr.2, lseek.2, madvise.2, mkdir.2, mknod.2, mmap.2, mount.2, move_pages.2, msgctl.2, nfsservctl.2, open.2, pivot_root.2, quotactl.2, read.2, readlink.2, removexattr.2, rename.2, rmdir.2, semctl.2, setfsgid.2, setfsuid.2, setresuid.2, setuid.2, setup.2, setxattr.2, shmctl.2, splice.2, spu_create.2, stat.2, statfs.2, swapon.2, symlink.2, sync.2, sync_file_range.2, sysfs.2, truncate.2, umount.2, unlink.2, unshare.2, ustat.2, utime.2, utimensat.2, write.2, btree.3, errno.3, fexecve.3, ftw.3, futimes.3, get_nprocs_conf.3, getcwd.3, getdirentries.3, getmntent.3, glob.3, mkfifo.3, mq_open.3, readdir.3, realpath.3, recno.3, remove.3, sem_open.3, shm_open.3, statvfs.3, sysconf.3, telldir.3, tmpfile.3, cciss.4, initrd.4, pts.4, sk98lin.4, vcs.4, core.5, filesystems.5, proc.5, boot.7, bootparam.7, capabilities.7, cpuset.7, credentials.7, feature_test_macros.7, fifo.7, hier.7, inotify.7, intro.7, mq_overview.7, path_resolution.7, pipe.7, sem_overview.7, shm_overview.7, spufs.7, symlink.7, unix.7, uri.7, sync.8: Global fix: s/file system/filesystem/
Notwithstanding 24d01c530c,
"filesystem" is the form used by the great majority of man pages
outside the man-pages project and in a number of other sources,
so let's go with that.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 10:07:57 +02:00
Michael Kerrisk af02f8e60d sk98lin.4: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 10:00:05 +02:00
Michael Kerrisk 3ad8d7a2b7 nfsservctl.2: Note commands that were only in Linux 2.4.x and earlier
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 09:49:03 +02:00
Michael Kerrisk d59eaecdeb nfsservctl.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 09:48:13 +02:00
Michael Kerrisk 58d0a2034a nfsservctl.2: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 09:45:41 +02:00
Michael Kerrisk 8699159874 nfsservctl.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 09:43:32 +02:00
Michael Kerrisk e3fb076766 proc.5: Add rationale on drop_caches and note that it can hurt performance
See also http://lwn.net/Articles/562211/

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 09:32:02 +02:00
Michael Kerrisk cb41e2e1df proc.5: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 08:06:05 +02:00
Michael Kerrisk 41e1475c91 proc.5: Minor clarification
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 08:04:49 +02:00
Michael Kerrisk aeb7e78817 proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2013-08-08 08:04:26 +02:00