]>
git.ipfire.org Git - thirdparty/man-pages.git/log
Michael Kerrisk [Fri, 16 Dec 2016 11:18:57 +0000 (12:18 +0100)]
getrlimit.2: Various minor wording fixes
Mainly: use complete sentence to introduce each limit.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 16 Dec 2016 10:30:16 +0000 (11:30 +0100)]
unix.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 16 Dec 2016 09:55:03 +0000 (10:55 +0100)]
recv.2: SEE ALSO: add ip(7), ipv6(7), tcp(7), udp(7), unix(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 16 Dec 2016 09:54:32 +0000 (10:54 +0100)]
send.2: SEE ALSO: add ipv6(7), socket(7), unix(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 16 Dec 2016 08:19:01 +0000 (09:19 +0100)]
capabilities.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 16 Dec 2016 08:10:40 +0000 (09:10 +0100)]
capabilities.7: Add another case for CAP_DAC_READ_SEARCH
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 16 Dec 2016 08:09:33 +0000 (09:09 +0100)]
link.2: When using linkat() AT_EMPTY_PATH, 'olddirfd' must not be a directory
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 19:53:50 +0000 (20:53 +0100)]
capabilities.7: Add some more operations governed by CAP_SYS_ADMIN
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 18:17:26 +0000 (19:17 +0100)]
capabilities.7: Add a few more operations covered by CAP_SYS_ADMIN
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 13:26:11 +0000 (14:26 +0100)]
scandir.3: Minor reworking of text for example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 13:24:03 +0000 (14:24 +0100)]
scandir.3: Improve logic of the example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 13:20:28 +0000 (14:20 +0100)]
scandir.3: Fix errors in example program
See http://bugs.debian.org/848231.
Reported-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 10:18:17 +0000 (11:18 +0100)]
prctl.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 10:17:46 +0000 (11:17 +0100)]
prctl.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 10:01:41 +0000 (11:01 +0100)]
prctl.2: Clarify that the ambient capability set is per-thread
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 09:02:59 +0000 (10:02 +0100)]
execve.2: File capabilities can be ignored for the same reasons as set-UID/set-GID
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 09:00:38 +0000 (10:00 +0100)]
execve.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 08:59:04 +0000 (09:59 +0100)]
capabilities.7: Refer to execve(2) for the reasons that file capabilities may be ignored
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 08:51:30 +0000 (09:51 +0100)]
capabilities.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 08:25:36 +0000 (09:25 +0100)]
execve.2: The 'no_new_privs' bit inhibits transformations of the effective IDs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 08:22:23 +0000 (09:22 +0100)]
execve.2: Rework text describing when effective IDs aren't transformed by execve()
Mainly in preparation for addition of information about
no_new_privs bit.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 08:06:05 +0000 (09:06 +0100)]
prctl.2: The no_new_privs setting is per-thread (not per-process)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 07:45:54 +0000 (08:45 +0100)]
prctl.2: Add reference to seccomp(2) on discussion of PR_SET_NO_NEW_PRIVS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 07:39:29 +0000 (08:39 +0100)]
prctl.2: Mention /proc/PID/status 'NoNewPrivs' field
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 15 Dec 2016 07:38:55 +0000 (08:38 +0100)]
proc.5: Document /proc/PID/status 'NoNewPrivs' filed
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Wed, 14 Dec 2016 10:52:55 +0000 (11:52 +0100)]
namespaces.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 13 Dec 2016 09:40:24 +0000 (10:40 +0100)]
filesystems.5: SEE ALSO: add btrfs(5), nfs(5), tmpfs(5)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 13 Dec 2016 09:26:45 +0000 (10:26 +0100)]
random.4: Note that entropY-avail will be a number in the range 0..4096
Reported-by: Jon Jensen <jon@endpoint.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 13 Dec 2016 08:59:32 +0000 (09:59 +0100)]
random.7: SEE ALSO: add getauxval(3)
A small hint to the reader that some random bytes arrive
in the auxiliary vector.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 13 Dec 2016 08:31:21 +0000 (09:31 +0100)]
sleep.3: Note that sleep() is implemented via nanosleep(2)
See https://bugzilla.kernel.org/show_bug.cgi?id=73371.
Reported-by: Mike Frysiner <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 13 Dec 2016 08:27:39 +0000 (09:27 +0100)]
sleep.3: Convert BUGS text to "Portability notes" subsection
The existing text is not a bug, as such.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 13 Dec 2016 08:18:29 +0000 (09:18 +0100)]
sleep.3: Note that sleep() sleeps for a real-time number of seconds
See https://bugzilla.kernel.org/show_bug.cgi?id=73371.
Reported-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 13 Dec 2016 08:15:16 +0000 (09:15 +0100)]
sleep.3: DESCRIPTION: minor reworking
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 13 Dec 2016 08:13:10 +0000 (09:13 +0100)]
sleep.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Tue, 13 Dec 2016 08:09:44 +0000 (09:09 +0100)]
clock_getres.2: Note POSIX.1 requirements re relative time services and CLOCK_REALTIME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Wed, 9 Nov 2016 13:16:56 +0000 (14:16 +0100)]
exec.3: execl() and execle() were not async-signal-safe before glibc 2.24
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Wed, 9 Nov 2016 13:13:12 +0000 (14:13 +0100)]
aio_suspend.3: Note that the glibc implementation is not async-signal-safe
See https://sourceware.org/bugzilla/show_bug.cgi?id=13172
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Wed, 9 Nov 2016 12:56:24 +0000 (13:56 +0100)]
sem_post.3, setjmp.3: SEE ALSO: add signal-safety(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Wed, 9 Nov 2016 12:54:46 +0000 (13:54 +0100)]
fork.2, sigaction.2, signal.2: Amend cross references to point to signal-safety(7)
The discussion of async-signal-safe functions has moved
to a new page.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Wed, 9 Nov 2016 12:43:14 +0000 (13:43 +0100)]
signal-safety.7: Note async-signal-safety problems caused by pthread_atfork()
See https://bugzilla.kernel.org/show_bug.cgi?id=25292
And there will likely be future changes as well.
Quoting http://www.opengroup.org/austin/aardvark/latest/xshbug3.txt:
COMMENT Enhancement Request Number 15
rajani.g.k:xxxxxx Defect in XSH 2.4.3 (rdvk# 6)
{GKRFORK012009} Thu, 8 Jan 2009 07:41:10 GMT
[...]
As per this section, XSH P1529, L49389-49402, it is possible
that multithreaded libraries could be used by single threaded
applications. In which case, atfork handlers are essential for
the libraries to protect their internal state during fork. As
explained further P1530, L49403-49404, pthread_atfork
functions are mainly required to acquire/release mutex locks,
for protecting the applications/libraries from fork() calls.
C-library needs to as well have an atfork handler which
acquires all the required locks to protect its memory state
across fork().
The acquire/release mutex calls themselves are aync-signal
unsafe operations. Use of them makes pthread_atfork handlers
async-signal unsafe which in turn makes fork() async-signal
unsafe when called by an application which is multi threaded,
or which is linked to a library which is multi threaded.
Action:
Need clarification with respect to
1. Is it correct to list fork as an async-signal safe
interface, in a multi threaded scenario?
2. Can the implementation be allowed to not call the atfor
handlers, when fork is called from a signal handler? If the
atfork handlers are not going to be called when fork is called
in the signal handler, then they can not be called, even if
fork is called in the newly created child before exec.
3. If only async-signal safe functions are to be called from
pthread_atfork handlers, then how will multi-threaded librarie
protect themselves by the fork calls, made by single threaded
applications linked to them?
Reported-by: KASAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Wed, 9 Nov 2016 12:42:37 +0000 (13:42 +0100)]
signal-safety.7: Note glibc deviations from POSIX requirements
See https://bugzilla.kernel.org/show_bug.cgi?id=25292
Reported-by: KASAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Wed, 9 Nov 2016 12:40:16 +0000 (13:40 +0100)]
signal-safety.7, signal.7: Migrate discussion of async-signal-safe functions to new page
Also:
* add more detail on changes across standards
* provide proper section cross references in function references
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 12 Dec 2016 11:26:05 +0000 (12:26 +0100)]
Changes.old: tfix in 4.09 changes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 12 Dec 2016 10:50:11 +0000 (11:50 +0100)]
Start of man-pages-4.10: updating Changes and Changes.old
Michael Kerrisk [Mon, 12 Dec 2016 10:50:11 +0000 (11:50 +0100)]
Start of man-pages-4.10: updating .Announce and .lsm files
Michael Kerrisk [Mon, 12 Dec 2016 10:50:11 +0000 (11:50 +0100)]
Start of man-pages-4.10: renaming .Announce and .lsm files
Michael Kerrisk [Mon, 12 Dec 2016 09:47:25 +0000 (10:47 +0100)]
Ready for 4.09
Michael Kerrisk [Mon, 12 Dec 2016 09:47:17 +0000 (10:47 +0100)]
Removed trailing white space at end of lines
Michael Kerrisk [Mon, 12 Dec 2016 09:47:17 +0000 (10:47 +0100)]
Changes: Expanded tabs
Michael Kerrisk [Mon, 12 Dec 2016 09:45:24 +0000 (10:45 +0100)]
bind.2, chmod.2, chown.2, chroot.2, clock_getres.2, clone.2, connect.2, dup.2, fallocate.2, get_mempolicy.2, getpeername.2, getpriority.2, getsockname.2, getsockopt.2, gettimeofday.2, ioctl_ficlonerange.2, ioctl_fideduperange.2, kill.2, mbind.2, mmap.2, mount.2, mprotect.2, nfsservctl.2, nice.2, open.2, perf_event_open.2, pipe.2, pkey_alloc.2, prctl.2, ptrace.2, quotactl.2, remap_file_pages.2, sched_setscheduler.2, set_mempolicy.2, signal.2, signalfd.2, swapon.2, sync_file_range.2, syscalls.2, timer_create.2, timerfd_create.2, utime.2, utimensat.2, wait.2, atof.3, ctime.3, errno.3, fclose.3, fflush.3, insque.3, malloc_get_state.3, mallopt.3, mbsnrtowcs.3, mq_close.3, mq_open.3, mq_receive.3, mq_send.3, printf.3, pthread_attr_init.3, pthread_create.3, pthread_setaffinity_np.3, ptsname.3, remainder.3, strtod.3, tgamma.3, timegm.3, tmpnam.3, ttyname.3, console_ioctl.4, elf.5, filesystems.5, proc.5, utmp.5, capabilities.7, cgroups.7, credentials.7, ddp.7, feature_test_macros.7, fifo.7, inotify.7, libc.7, mount_namespaces.7, namespaces.7, netlink.7, pid_namespaces.7, pkeys.7, shm_overview.7, standards.7, uri.7, user_namespaces.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 12 Dec 2016 08:14:34 +0000 (09:14 +0100)]
Changes: Ready for 4.09
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 18:40:43 +0000 (19:40 +0100)]
fuse.4: srcfix: FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 18:40:18 +0000 (19:40 +0100)]
fuse.4: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 09:30:42 +0000 (10:30 +0100)]
filesystems.5: SEE ALSO: add fuse(4)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 07:05:28 +0000 (08:05 +0100)]
fuse.4: Tweaks
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Keno Fischer [Sat, 10 Dec 2016 21:03:04 +0000 (16:03 -0500)]
fuse.4: Address FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 10 Dec 2016 14:26:03 +0000 (15:26 +0100)]
fuse.4: Remove FUSE_* constant values
No need to show the values of the FUSE_* constants, I believe.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 10 Dec 2016 14:02:49 +0000 (15:02 +0100)]
fuse.4: Add list of undocumented messages
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 10 Dec 2016 13:52:59 +0000 (14:52 +0100)]
fuse.4: Add list of FOPEN_* flags
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 10 Dec 2016 13:46:18 +0000 (14:46 +0100)]
fuse.4: srcfix: FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 10 Dec 2016 13:44:42 +0000 (14:44 +0100)]
fuse.4: Add SEE ALSO section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 10 Dec 2016 13:42:49 +0000 (14:42 +0100)]
fuse.4: Add CONFORMING TO section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 10 Dec 2016 13:37:48 +0000 (14:37 +0100)]
fuse.4: Repair ENODEV description
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 10 Dec 2016 13:36:39 +0000 (14:36 +0100)]
fuse.4: srcfix: FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 10 Dec 2016 13:35:41 +0000 (14:35 +0100)]
fuse.4: srcfix: FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 10 Dec 2016 13:32:18 +0000 (14:32 +0100)]
fuse.4: Small rewording in FUSE_INIT
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 10 Dec 2016 13:30:43 +0000 (14:30 +0100)]
fuse.4: Repair wording in EINVAL error text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 10 Dec 2016 13:29:44 +0000 (14:29 +0100)]
fuse.4: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 10 Dec 2016 13:28:50 +0000 (14:28 +0100)]
fuse.4: fuse_entry_out: rework discussion of uniqueness of nodeid + generation
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 10 Dec 2016 12:25:06 +0000 (13:25 +0100)]
fuse.4: Various minor edits to Keno Fischer's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 10 Dec 2016 12:16:36 +0000 (13:16 +0100)]
fuse.4: srcfix: rewrap source lines
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 10 Dec 2016 12:07:32 +0000 (13:07 +0100)]
fuse.4: Kill information about FUSE header license
I'd say this is fair use (many other man pages do the same).
So, no need to clutter the man page source with this information.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Keno Fischer [Sat, 10 Dec 2016 07:20:18 +0000 (02:20 -0500)]
fuse.4: New page describing /dev/fuse
This is my writeup of a basic description of /dev/fuse after
playing with it for a few hours today. It is of course woefully
incomplete, and since I neither have a use case nor am working
on this code, I will not be in a position to expand it in the
near future. However, I'm hoping this could still serve as a
handy reference for others looking at this interface.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 12 Dec 2016 06:11:41 +0000 (07:11 +0100)]
namespaces.7: Adjust example program to show device major and minor numbers
Reported-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 12 Dec 2016 06:01:44 +0000 (07:01 +0100)]
namespaces.7: Comparisons between fstat()ed files should be on st_dev+st_ino
The FDs returned by NS_GET_USERNS and NS_GET_PAREENT must be
tested by comparing to both the 'st_dev' and 'st_ino' fields
returned by fstat(2).
Reported-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 19:48:25 +0000 (20:48 +0100)]
namespaces.7: Add ENOTTY error() for ioctl namespace operations
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 18:26:21 +0000 (19:26 +0100)]
namespaces.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 18:23:50 +0000 (19:23 +0100)]
namespaces.7: Tweaks to text on ioctl() operations
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 15:16:36 +0000 (16:16 +0100)]
mount_namespaces.7: Minor clean-up (note a forward reference in the text)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 15:13:14 +0000 (16:13 +0100)]
mount_namespaces.7, user_namespaces.7: Migrate subsection on mount restrictions to mount_namespaces(7)
This section material in the user_namespaces(7) page was written
before the creation of the mount_namespaces(7) manual page.
Nowadays, this material properly belongs in the newer page.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 14:58:54 +0000 (15:58 +0100)]
mount_namespaces.7: SEE ALSO: add user_namespaces(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 14:56:08 +0000 (15:56 +0100)]
user_namespaces.7: Add reference to namespaces(7) for NS_GET_USERNS operation
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 14:52:06 +0000 (15:52 +0100)]
user_namespaces.7: Add reference to namespaces(7) for NS_GET_PARENT operation
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 14:49:29 +0000 (15:49 +0100)]
pid_namespaces.7: Refer to namespaces(7) for information about NS_GET_PARENT
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 11:59:04 +0000 (12:59 +0100)]
namespaces.7: Document the NS_GET_USERNS and NS_GET_PARENT ioctl() operations
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 12 Dec 2016 06:21:41 +0000 (07:21 +0100)]
prctl.2: Minor tweaks to Eugene Syromyatnikov's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Eugene Syromyatnikov [Mon, 12 Dec 2016 03:54:18 +0000 (06:54 +0300)]
prctl.2: Some additional details regarding PR_GET_UNALIGNED operation
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Mon, 12 Dec 2016 06:17:48 +0000 (07:17 +0100)]
prctl.2: Minor tweaks to Eugene Syromyatnikov's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Eugene Syromyatnikov [Mon, 12 Dec 2016 03:54:41 +0000 (06:54 +0300)]
prctl.2: Note the output buffer size for PR_GET_TID_ADDRESS operation on x32/n32
Add note regarding the size of the output user space buffer
for PR_GET_TID_ADDRESS operation on x32/n32.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 18:24:25 +0000 (19:24 +0100)]
execve.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 14:45:08 +0000 (15:45 +0100)]
pid_namespaces.7: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 10:07:19 +0000 (11:07 +0100)]
user_namespaces.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 10:06:24 +0000 (11:06 +0100)]
namespaces.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 07:29:19 +0000 (08:29 +0100)]
setjmp.3: _BSD_SOURCE must be *explicitly* defined to get BSD setjmp() semantics
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sun, 11 Dec 2016 07:27:24 +0000 (08:27 +0100)]
setjmp.3: Repair changes to description of pre-2.19 glibc default behavior
The changes in commit
2ae4c26dec0497 were a mistake.
The System V behavior was always the default for setjmp(3).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Sat, 10 Dec 2016 11:58:31 +0000 (12:58 +0100)]
feature_test_macros.7: Further tweaks to _REENTRANT description
Reviewed-by: Zack Weinberg <zackw@panix.com>
Reported-by: Zack Weinberg <zackw@panix.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 9 Dec 2016 12:34:05 +0000 (13:34 +0100)]
feature_test_macros.7: Note that "cc -pthread" defines _REENTRANT
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Fri, 9 Dec 2016 10:22:08 +0000 (11:22 +0100)]
feature_test_macros.7: Improve the text on _REENTRANT/_THREAD_SAFE deprecation
[mtk] I did a little code spelunking and found the following:
1. In glibc 1.09 (tagged 1995-03-02 in the git history),
__USE_REENTRANT, _THREAD_SAFE, and _REENTRANT do not appear.
2. In glibc-1.93 (tagged 1996-08-29 in the git history),
__USE_REENTRANT governs the exposure of some "_r()"
functions from about a dozen header files. However, it is
defined in <features.h> via
#if defined (__USE_GNU) || defined (__USE_MISC)
#define __USE_REENTRANT 1
#endif
_REENTRANT and _THREAD_SAFE solely govern declarations in
<stdio.h>, where they expose declarations of a few "unlocked"
stdio functions and use #define to redirect a few stdio
function names to "locked" versions.
3. THREAD_SAFE and _REENTRANT first appear in the git logs
1996-05-09.
4. About 9 months later, glibc 2.0.1 arrives on 1997-02-04
(timestamp and tarball taken from
https://ftp.gnu.org/gnu/libc/, since there is no tag in the
git history; casual inspection of the logs suggests the
glibc 2.0 release was about a week earlier.
By now we have the following in <features.h>:
#if defined _REENTRANT || defined _THREAD_SAFE
#define __USE_REENTRANT 1
#endif
And _THREAD_SAFE, and _REENTRANT do not appear appear in
other headers. However, by now, __USE_REENTRANT governs only
the declarations of tmpnam_r() and getlogin_r()
In other words, the window of time where _REENTRANT and
_THREAD_SAFE did anything much in glibc was quite short, IIUC.
Cowritten-by: Zack Weinberg <zackw@panix.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 8 Dec 2016 08:54:06 +0000 (09:54 +0100)]
getlogin.3: Remove deprecated _REENTRANT from FTM requirements for getlogin_r()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Michael Kerrisk [Thu, 8 Dec 2016 08:52:38 +0000 (09:52 +0100)]
feature_test_macros.7: Note that _REENTRANT and _THREAD_SAFE are now deprecated
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>