Commit Graph

6803 Commits

Author SHA1 Message Date
Michael Kerrisk 08ba37e851 arrm_fadvise.2: New link to posix_fadvise.2
Reported-by: Stephan Mueller <stephan.mueller@atsec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-10 07:56:52 +02:00
Michael Kerrisk 0cf2caa41e unix.7: Document the autobind feature
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-10 07:47:14 +02:00
Michael Kerrisk 6ed236d51a unix.7: Fix description of "pathname" sockets
As reported by Lennart Poettering:

   The part about "pathname" sockets suggests usage of
   sizeof(sa_family_t) + strlen(sun_path) + 1
   for calculating the sockaddr size. Due to alignment/padding
   this is probably not a good idea. Instead, one should use
   offsetof(struct sockaddr_un, sun_path) + strlen() + 1
   or something like that.

See https://bugzilla.kernel.org/show_bug.cgi?id=19812

Reported-by: Lennart Poettering <mzxreary@0pointer.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-10 07:25:45 +02:00
Michael Kerrisk 156a0e0d7e unix.7: Fix description of abstract socket names
As reported by Lennart Poettering:

    The part about "abstract" sockets is misleading as it suggests
    that the sockaddr returned by getsockname() would necessarily
    have the size of sizeof(struct sockaddr), which however is not
    the case: getsockname() returns exactly the sockaddr size that
    was passed in on bind(). In particular, two sockets that are
    bound to the same sockaddr but different sizes are completely
    independent.

See https://bugzilla.kernel.org/show_bug.cgi?id=19812

Reported-by: Lennart Poettering <mzxreary@0pointer.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-10 07:25:39 +02:00
Michael Kerrisk 6074c3e6f8 unix.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-10 06:13:59 +02:00
David Prevot 95406ae00b aio.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 16:46:12 +02:00
Simon Paillard af15dfabca getaddrinfo_a.3: ffix: format fix for consistency
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 16:29:19 +02:00
Michael Kerrisk 8a686975a9 subpage_prot.2: New page documenting the PowerPC-specific subpage_prot(2)
Reported-by: Stephan Mueller <stephan.mueller@atsec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 08:32:11 +02:00
Michael Kerrisk 4606dbb039 syscalls.2: Add the PowerPC-specific subpage_prot() system call
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 08:28:11 +02:00
Michael Kerrisk ecf13c3319 arm_fadvise64_64.2: New link to posix_fadvise.2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 08:10:47 +02:00
Michael Kerrisk dc30fdc64e posix_fadvise.2: Document the architecture-specific arm_fadvise64_64() system call
This ARM-specific system call fixes the argument ordering
for that architecture. Since Linux 2.6.14.

Reported-by: Stephan Mueller <stephan.mueller@atsec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 06:51:40 +02:00
Michael Kerrisk e049eee85f posix_fadvise.2: Rewrite VERSIONS, noting that the system call is fadvise64()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 06:45:26 +02:00
Michael Kerrisk 83225c1f4d syscalls.2: Add sync_file_range2() to syscalls list
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 05:56:14 +02:00
Michael Kerrisk 68eb386f72 arm_sync_file_range.2, sync_file_range2.2: New links to sync_file_range.2
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 05:47:50 +02:00
Michael Kerrisk cd95b6a6ab sync_file_range.2: Document the architecture-specific sync_file_range2() system call
As described in commit edd5cd4a9424f22b0fa08bef5e299d41befd5622,
the sync_file_range() argument order is broken for some
architectures (PowerPC, ARM, tile). The remedy was a different
system call using the right argument order on those architectures.

Reported-by: Stephan Mueller <stephan.mueller@atsec.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-09 05:34:26 +02:00
Michael Kerrisk 6d80e8c747 gethostbyname.3: tfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-06 07:54:00 +02:00
Michael Kerrisk c18150c27e truncate.2: Fix feature test macros
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-06 07:51:38 +02:00
Michael Kerrisk 28e7ac241f chmod.2: tfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-06 07:43:57 +02:00
Michael Kerrisk 1f2a5c641f getaddrinfo_a.3: ffix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-06 07:43:10 +02:00
Michael Kerrisk cf97e6eff5 gai_cancel.3, gai_error.3, gai_suspend.3: Make these into links
In the previous release, these files were accidentally made copies
of getaddrinfo_a.3, instead of being made as link files.

Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-06 07:40:58 +02:00
Thomas Jarosch ebd05fecfe getifaddrs.3: Prevent possible NULL pointer access in example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-06 07:34:09 +02:00
Michael Kerrisk 9d7a9f90c7 aio_init.3: New page documenting aio_init(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-06 07:16:10 +02:00
Michael Kerrisk 9f6bc3e0ee select_tut.2: tfix
Reported-by: Denis Barbier <bouzim@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-06 07:13:25 +02:00
Michael Kerrisk d46da242bb aio.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-06 07:07:55 +02:00
Michael Kerrisk cd587df646 aio_cancel.3, aio_error.3, aio_fsync.3, aio_read.3, aio_return.3, aio_suspend.3, aio_write.3: SEE ALSO: Add lio_listio(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-04 06:23:09 +02:00
Michael Kerrisk a9ba82d5b2 sigevent.7: SEE ALSO: Add aio_read(3), aio_write(3), and lio_listio(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-04 06:20:22 +02:00
Michael Kerrisk 6888422f4d sigstack.3, vlimit.3, vtimes.3: srcfix: Place comments after .so line
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-04 05:31:24 +02:00
Michael Kerrisk c04efb3af7 Start of man-pages-3.29: updating Changes and Changes.old 2010-10-04 05:08:49 +02:00
Michael Kerrisk a5f0b77d70 Start of man-pages-3.29: updating .Announce and .lsm files 2010-10-04 05:08:49 +02:00
Michael Kerrisk 3df3f2d96f Start of man-pages-3.29: renaming .Announce and .lsm files 2010-10-04 05:08:49 +02:00
Michael Kerrisk e39fc6d9e8 Ready for 3.28 2010-10-04 05:04:30 +02:00
Michael Kerrisk 59e9285d75 Removed trailing white space at end of lines 2010-10-04 05:04:21 +02:00
Michael Kerrisk ee644b657b sched_setscheduler.2, gethostbyname.3, mq_notify.3, posix_openpt.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-04 04:56:58 +02:00
Michael Kerrisk 8bba388245 Changes: Update for changes in 3.28
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-04 04:56:58 +02:00
Michael Kerrisk 9889b88b02 sigevent.7: Add SEE ALSO referring to new aio(7) page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-04 04:28:50 +02:00
Michael Kerrisk 64be80cfef aio.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-04 04:14:50 +02:00
Michael Haardt 7b93714089 nl_langinfo.3: Make it clear that nl_langinfo() interacts with setlocale()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 18:03:31 +02:00
Michael Haardt 7f3e079fb0 nl_langinfo.3: Add an example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 18:02:21 +02:00
Michael Kerrisk 7f4dc8ae05 ttyslot.3: tfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 17:55:15 +02:00
Michael Kerrisk 3e0a4e009e dprintf.3: srcfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 17:51:29 +02:00
Michael Kerrisk b83d6fd23f unshare.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 17:44:31 +02:00
Michael Kerrisk 0491cc6948 j0.3: tfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 17:41:00 +02:00
Michael Kerrisk 8434463d6a gethostbyname.3: Fox formatting of feature test macros
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 17:39:37 +02:00
Michael Kerrisk ed8f1a2721 gethostid.3: tfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 17:36:47 +02:00
Michael Kerrisk 6fe4500939 getgrent.3: tfix
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 17:34:50 +02:00
Landijk 710f846a1e malloc.3: Remove editorializing comments on memory overcommitting
See https://bugzilla.kernel.org/show_bug.cgi?id=19332

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 17:28:17 +02:00
Michael Kerrisk b44bee1679 aio_cancel.3, aio_error.3, aio_read.3, aio_return.3: Add pointer to aio(7) for example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 17:12:29 +02:00
Michael Kerrisk ff0c327836 io_cancel.2, io_destroy.2, io_getevents.2, io_setup.2, io_submit.2: SEE ALSO: add aio(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 17:12:29 +02:00
Michael Kerrisk 6719e3c71f aio_fsync.3: srcfix: remove unneeded FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 17:12:29 +02:00
Michael Kerrisk 46e723d4c4 aio_fsync.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-03 17:12:29 +02:00