Michael Kerrisk
8baa481508
keyctl.2: Improve KEYCTL_READ details
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
4f5a5b13ac
keyctl.2: Improve KEYCTL_SEARCH details
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
9d7346eb5d
keyctl.2: Note kernel version for all operations added in 2.6.11 (initial release)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
2981a43ffc
keyctl.2: Improve KEYCTL_UNLINK details
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
c336c20799
keyctl.2: Improve KEYCTL_LINK details
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
c97582e5d9
keyctl.2: Improve KEYCTL_CLEAR details
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
015c82d521
keyctl.2: Improve KEYCTL_DESCRIBE details
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
3d20acc9bc
keyctl.2: Improve KEYCTL_SETPERM details
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
14694cb5b2
keyctl.2: Improve KEYCTL_CHOWN details
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
f8aead6a94
keyctl.2: Tweak description of ENOTDIR error
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
fd2d68f9af
keyctl.2: wfix: various fixes in discussion of casting types
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
efd4c0cdd1
keyctl.2: Note libkeyutils equivalents of various operations
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
cbf0e35e65
keyctl.2: Improve KEYCTL_REVOKE details
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
581f820339
keyctl.2: Improve KEYCTL_UPDATE details
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
f9fa5a664f
keyctl.2: Improve KEYCTL_JOIN_SESSION_KEYRING description
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
d6c7244f84
keyctl.2: Improve KEYCTL_GET_KEYRING_ID details
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
740fecc271
keyctl.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
a5987bfd77
keyctl.2: Add VERSIONS and CONFORMING TO sections
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
bfc2322825
keyctl.2: Add reference to kernel documentation file
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
d374e8506d
keyctl.2: srcfix: FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
60fc9e9564
keyctl.2: Various wording fixes
...
No technical content (intentionally) changed.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
d1d5839dbb
keyctl.2: Rework KEYCTL_SET_REQKEY_KEYRING values as a list
...
We don't (IIUC) need the numeric values, just the constant
names. Reformatting as a list make things more readable.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
461a8ce535
keyctl.2: srcfix: rewrap source lines
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Michael Kerrisk
9a9febc854
keyctl.2: Minor fix: reformat call signature in SYNOPSIS
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 09:36:12 +01:00
Eugene Syromyatnikov
fa76da808e
keyctl.2: Updates regarding command usage, return values and error codes
...
I've drafted some updates to the keyctl.2 man page while
preparing test for strace syscall decoder. It is focused
mostly on description of argument format used in various
commands and return values/error codes. Information is based
on Documentation/security/keys.txt, include/uapi/linux/keyctl.h,
and source code and comments in security/keys/ (mostly comments
from security/keys/keyctl.c).
2016-12-27 09:36:12 +01:00
Michael Kerrisk
bc32c62633
getrlimit.2: Minor fix to example program
...
See https://answers.launchpad.net/ubuntu/+source/manpages/+question/412735
Reported-by: Reverend Homer <mk.43.ecko@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-27 08:53:16 +01:00
Michael Kerrisk
51dbffc566
stat.2: EXAMPLE: extend program to also show ID of the containing device
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-23 09:36:49 +01:00
Michael Kerrisk
3c5253a5b9
kcmp.2: Mention the clone(2) flags relating to various kcmp() 'type' values
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-22 12:11:10 +01:00
Michael Kerrisk
a579a5ab16
kcmp.2: KCMP_FILE: note reasons why FDs may refer to same open file description
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-22 12:04:30 +01:00
Michael Kerrisk
def3177057
kcmp.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-22 11:59:40 +01:00
Michael Kerrisk
6eb4d411d7
chroot.2: SEE ALSO: add switch_root(8)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-17 14:50:36 +01:00
Michael Kerrisk
120fe21676
readv.2: wfix
...
Reported-by: Alex <psybin@riseup.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-17 14:22:11 +01:00
Michael Kerrisk
ececfc7320
getrlimit.2: Document role of RLIMIT_NOFILE for FD passing over UNIX sockets
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-17 10:33:55 +01:00
Michael Kerrisk
7df57849a5
close.2: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-17 10:33:55 +01:00
Michael Kerrisk
dba0e4dab0
link.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-17 10:33:54 +01:00
Michael Kerrisk
154319173c
adjtimex.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-17 10:33:54 +01:00
Michael Kerrisk
490f876a64
open.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-16 15:28:20 +01:00
Michael Kerrisk
3804d39d06
mmap.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-16 15:27:58 +01:00
Michael Kerrisk
9187f1a366
mlock.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-16 15:27:28 +01:00
Michael Kerrisk
4956bbd3fd
mknod.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-16 15:27:02 +01:00
Michael Kerrisk
5d5985b8c6
stat.2: NOTES: mention fstatat() AT_NO_AUTOMOUNT in discussion of automounting
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-16 15:26:01 +01:00
Michael Kerrisk
9f102936dd
access.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-16 15:24:18 +01:00
Michael Kerrisk
fc986cdd7e
execve.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-16 15:23:22 +01:00
Michael Kerrisk
e470433f2c
clock_getres.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-16 15:23:02 +01:00
Michael Kerrisk
17f022f2a6
send.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-16 15:18:59 +01:00
Michael Kerrisk
dc5186fe54
getrlimit.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-16 15:18:35 +01:00
Michael Kerrisk
4a8449e127
mlock.2: Note pre-4.9 bug in RLIMIT_MEMLOCK accounting for overlapping locks
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-16 13:34:47 +01:00
Michael Kerrisk
ee3d7b3b46
getrlimit.2: Various minor wording fixes
...
Mainly: use complete sentence to introduce each limit.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-16 12:18:57 +01:00
Michael Kerrisk
ece9c9e301
recv.2: SEE ALSO: add ip(7), ipv6(7), tcp(7), udp(7), unix(7)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-16 10:55:03 +01:00
Michael Kerrisk
b9cde4611c
send.2: SEE ALSO: add ipv6(7), socket(7), unix(7)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-16 10:54:32 +01:00
Michael Kerrisk
217d573862
link.2: When using linkat() AT_EMPTY_PATH, 'olddirfd' must not be a directory
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-16 09:09:33 +01:00
Michael Kerrisk
eb359b3e8f
prctl.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-15 12:47:59 +01:00
Michael Kerrisk
224d55c497
prctl.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-15 12:47:59 +01:00
Michael Kerrisk
1a52f4f6e2
prctl.2: Clarify that the ambient capability set is per-thread
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-15 12:47:59 +01:00
Michael Kerrisk
3b21b29e5c
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>
2016-12-15 12:47:59 +01:00
Michael Kerrisk
9faff76894
execve.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-15 12:47:59 +01:00
Michael Kerrisk
fca269a950
execve.2: The 'no_new_privs' bit inhibits transformations of the effective IDs
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-15 12:47:59 +01:00
Michael Kerrisk
29294c4237
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>
2016-12-15 12:47:39 +01:00
Michael Kerrisk
40dfb5bafb
prctl.2: The no_new_privs setting is per-thread (not per-process)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-15 09:08:10 +01:00
Michael Kerrisk
4d850396e8
prctl.2: Add reference to seccomp(2) on discussion of PR_SET_NO_NEW_PRIVS
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-15 09:07:17 +01:00
Michael Kerrisk
c70fea6e4f
prctl.2: Mention /proc/PID/status 'NoNewPrivs' field
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-15 09:07:17 +01:00
Michael Kerrisk
f086b6aad1
clock_getres.2: Note POSIX.1 requirements re relative time services and CLOCK_REALTIME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-13 09:09:44 +01:00
Michael Kerrisk
d077802826
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>
2016-12-12 12:53:05 +01:00
Michael Kerrisk
1b9d581944
Removed trailing white space at end of lines
2016-12-12 10:47:17 +01:00
Michael Kerrisk
35deeb8703
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>
2016-12-12 10:45:24 +01:00
Michael Kerrisk
2da72a435c
prctl.2: Minor tweaks to Eugene Syromyatnikov's patch
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-12 07:21:41 +01:00
Eugene Syromyatnikov
0e2c6b8c1b
prctl.2: Some additional details regarding PR_GET_UNALIGNED operation
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-12 07:18:46 +01:00
Michael Kerrisk
c7f2f9ed16
prctl.2: Minor tweaks to Eugene Syromyatnikov's patch
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-12 07:17:48 +01:00
Eugene Syromyatnikov
c49be32cd9
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>
2016-12-12 07:13:56 +01:00
Michael Kerrisk
86c91a79a5
execve.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-11 19:24:25 +01:00
Michael Kerrisk
16109ab354
sched_setscheduler.2: Mention SCHED_DEADLINE
...
Give the reader a clue that there is another policy()
available that can't be set via sched_setscheduler(2).
See https://bugzilla.redhat.com/show_bug.cgi?id=1390546
Reported-by: Daniel Berrange <berrange@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-10 15:18:29 +01:00
Michael Kerrisk
698b2f349f
syscall.2: Minor fix in example program
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-10 12:22:35 +01:00
Michael Kerrisk
2101b953ac
signal.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-10 12:22:22 +01:00
Michael Kerrisk
d823c56d06
syscalls.2: Add ppc_swapcontext(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-10 12:21:39 +01:00
Michael Kerrisk
e6f3afdb62
write.2: wfix
...
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574041
Reported-by: Daniel Baluta <daniel.baluta@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-10 11:33:46 +01:00
Michael Kerrisk
60c3c265ea
stat.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-10 11:28:09 +01:00
Michael Kerrisk
966d59d524
fsync.2: SEE ALSO: add fflush(3)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-10 10:58:51 +01:00
Michael Kerrisk
bf4c35a873
fsync.2: SEE ALSO: add fileno(3)
...
fileno(3) is useful if one is combining fflush(3)/fclose(3)
and fsync(2).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-10 10:57:02 +01:00
Michael Kerrisk
92b722248a
clone.2: Remove ancient libc5 details
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-09 13:21:56 +01:00
Michael Kerrisk
ae18c8cd32
reboot.2: Remove mention of ancient libc4 and lib5
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-09 13:21:56 +01:00
Michael Kerrisk
61d75c37b3
reboot.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-09 13:21:55 +01:00
Michael Kerrisk
a05774c442
accept.2: Simplify the discussion of 'socklen_t'
...
We don't really need to list the old OSes in this discussion.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-09 13:21:55 +01:00
Michael Kerrisk
ec5df7afea
bind.2, connect.2, getpeername.2, getsockname.2, getsockopt.2: Replace discussion of 'socklen_t' with reference to accept(2)
...
The discussion of 'socklen_t' editorializes and is repeated
across several pages. Replace it with a reference to accept(2),
where some details about this type are provided.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-09 13:21:55 +01:00
Michael Kerrisk
049c89bdc0
close.2: Place discussion of error handling under a subheading in NOTES
...
No content changes.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-08 10:15:00 +01:00
Michael Kerrisk
d24623ee57
close.2: Note that future POSIX plans to require that the FD is closed on error
...
See http://austingroupbugs.net/view.php?id=529#c1200 .
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-07 08:28:29 +01:00
Michael Kerrisk
e8730f0ee7
close.2: Further reworking of discussion of error return from close()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-07 08:26:44 +01:00
Michael Kerrisk
ca734d5b67
close.2: srcfix: FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-06 16:52:43 +01:00
Michael Kerrisk
1cab7c163d
close.2: Further clarify how to treat an error return
...
Further clarify that an error return should be used only
for diagnostic or remedial purposes.
Lifting Linus's words freely from
http://lkml.iu.edu/hypermail/linux/kernel/0207.2/0409.html
Re: close return value (was Re: [ANNOUNCE] Ext3 vs Reiserfs benchmarks)
Date: Wed Jul 17 2002 - 12:43:57 EST
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-06 16:52:43 +01:00
Michael Kerrisk
7fe8ca51a3
close.2: Other UNIX implementations also close the FD, even if reporting an error
...
Looking at some historical source code (mostly from [1]) suggests
that the "close() always closes regardless of error return"
behavior has a long history, predating even POSIX.1-1990.
For example, in SVR4 for x86 (from the file sysvr4.tar.bz2 at
[1]), we see the following:
int
close(uap, rvp)
register struct closea *uap;
rval_t *rvp;
{
file_t *fp;
register int error;
if (error = getf(uap->fdes, &fp))
return error;
error = closef(fp);
setf(uap->fdes, NULLFP);
return error;
}
In the above, getf() can return EBADF. The other errors are
returned by closef(), but the file descriptor is deallocated
regardless of errors by setf().
A similar pattern seems to have been preserved into at least late
OpenSolaris days (verified from looking at the initial commit of
the illumos source code). There we find the following in
closeandsetf() (called by close()):
error = closef(fp);
setf(fd, newfp);
return (error);
Looking at the code of closef() in AIX 4.1.3 suggests that, as on
on Linux and FreeBSD, the open file is always released, regardless
of errors.
For Irix, 6.5.5, I'm not sure (the code is not so easy to quickly
read); it may be that it does return errors while leaving the FD
open.
[1] https://archive.org/download/various_operating_system_source_code
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-06 16:52:16 +01:00
Michael Kerrisk
7155aa7750
close.2: Minor text reworking
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-06 16:16:31 +01:00
Michael Kerrisk
73c922eac8
close.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-06 16:16:31 +01:00
Michael Kerrisk
35e0ce1c58
close.2: Minor text relocation
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-06 16:16:31 +01:00
Michael Kerrisk
b36a3b92b6
close.2: Clarify the variation in EINTR behavior per POSIX and other systems
...
See also https://news.ycombinator.com/item?id=3363819
and http://www.daemonology.net/blog/2011-12-17-POSIX-close-is-broken.html
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-06 16:16:28 +01:00
Michael Kerrisk
eb74a52bb5
close.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-06 15:13:57 +01:00
Michael Kerrisk
b61a87d567
close.2: Rework initial paragraph in NOTES on checking close() errors
...
As Daniel Wagner noted, saying on the one hand that failing
to check the return value of close() is a "serious error"
seems contradicted by the next paragraph that notes that
the return value should be used for "just diagnostics".
Rework the text to resolve the apparent contradiction.
Reported-by: Daniel Wagner <wagi@monom.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-06 15:13:57 +01:00
Michael Kerrisk
f65f00b085
close.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-06 15:00:59 +01:00
Michael Kerrisk
f5f4165105
mmap.2: srcfix: FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 16:07:12 +01:00
Michael Kerrisk
00d82ce875
open.2: srcfix: FIXME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 16:02:06 +01:00
Michael Kerrisk
2904e19a2b
close.2: Further clarify that close() should not be retried after an error
...
See Linus ancient comments re EINTR in
https://lkml.org/lkml/headers/2005/9/10/129
Date Sat, 10 Sep 2005 12:00:01 -0700 (PDT)
From Linus Torvalds <>
Subject Re: [patch 7/7] uml: retry host close() on EINTR
The FreeBSD 11.0 close() man page says similar:
In case of any error except EBADF, the supplied file
descriptor is deallocated and therefore is no longer valid.
For AIX:
http://publib16.boulder.ibm.com/doc_link/en_US/a_doc_lib/libs/basetrf1/close.htm
If the FileDescriptor parameter refers to a device and the
close subroutine actually results in a device close, and the
device close routine returns an error, the error is returned
to the application. However, the FileDescriptor parameter is
considered closed and it may not be used in any subsequent
calls.
See also:
http://austingroupbugs.net/view.php?id=529
and in particular:
http://austingroupbugs.net/view.php?id=529#c1200
Reported-by: Daniel Wagner <wagi@monom.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 16:02:06 +01:00
Michael Kerrisk
540038a17d
nice.2: Move discussion of handling the -1 success return to RETURN VALUE
...
This detail was rather hidden in NOTES. Also, rework the text
a little.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 12:13:33 +01:00
Michael Kerrisk
226f6909f0
nice.2: CONFORMING TO: Remove an ancient SVr4 detail on errno values
...
At this stage, vague details (when does EINVAL get returned?) of
ancient implementations are little more than noise in the page.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 12:13:33 +01:00
Michael Kerrisk
32ff480294
nice.2: Rework discussion of nice() return value and standards conformance
...
Make the text a little clearer. In particular, clarify that the
raw system call (still) returns 0 on success.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 12:13:33 +01:00
Michael Kerrisk
52694f0979
nice.2: Add mention of RLIMIT_NICE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 12:13:33 +01:00
Michael Kerrisk
384c705b19
getrlimit.2: Refer to sched(7) in discussion of RLIMIT_RTPRIO and RLIMIT_RTTIME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 12:13:33 +01:00
Michael Kerrisk
a67b298f5c
getrlimit.2: SEE ALSO: add credentials(7)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 12:13:33 +01:00
Michael Kerrisk
dfc3c7dedc
getrlimit.2: refer to sched(7) in the discussion of RLIMIT_NICE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 12:13:33 +01:00
Michael Kerrisk
bbc069dd5b
getrlimit.2: Minor wording fix for RLIMIT_NICE
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 12:13:33 +01:00
Michael Kerrisk
d17de8336c
getrlimit.2: Describe the range of the RLIMIT_NICE limit
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 12:13:33 +01:00
Michael Kerrisk
b5bde13cbc
setsid.2: SEE ALSO: add sched(7)
...
List sched(7), because setsid(2) is part of the machinery
of autogrouping.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 12:13:33 +01:00
Kees Cook
998f951bf8
bpf.2: tfix
...
Changed to "will" instead of "with".
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 12:13:33 +01:00
Michael Kerrisk
1af83f4a7a
nice.2: Warn that autogrouping voids the effect of 'nice' in many cases
...
Refer the reader to sched(7) for the details.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 12:13:33 +01:00
Michael Kerrisk
ccc127001c
getpriority.2: Warn that autogrouping voids the effect of 'nice' in many cases
...
Refer the reader to sched(7) for the details.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-12-05 12:13:33 +01:00
Michael Kerrisk
40fcb004f0
getpriority.2: The nice value supplied to setpriority() is clamped
...
Note that the nice value supplied to setpriority() is clamped
to the permitted range.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-29 21:50:15 +01:00
Michael Kerrisk
57865ad728
nice.2: Clarify that nice() changes the nice value of the calling *thread*
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-28 06:58:54 +01:00
Michael Kerrisk
268c281777
getpriority.2: Expand discussion of getpriority() return value
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-28 06:56:18 +01:00
Michael Kerrisk
a6bdf7ee8d
getpriority.2: Improve description of setpriority() return value
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-28 06:53:50 +01:00
Jakub Wilk
0d5b85ca7b
ptrace.2: tfix
...
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
2016-11-27 18:58:18 +01:00
Michael Kerrisk
40cbb640dd
getrlimit.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-27 18:57:53 +01:00
Michael Kerrisk
9b7b2ea558
sched_setattr.2: Fix cross reference for further info on the nice value
...
The information moved from getpriority(2) to sched(7).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-27 18:57:48 +01:00
Michael Kerrisk
dde57ed45a
nice.2: add reference to sched(7) for further details on the nice value
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-27 18:57:48 +01:00
Michael Kerrisk
45fcd0e27f
getpriority.2, sched.7: Move nice value details from getpriority(2) to sched(7)
...
Centralizing these details in sched(7) is more logical.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-27 18:57:48 +01:00
Michael Kerrisk
4107e5698f
getpriority.2: Minor wording change
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-27 18:57:48 +01:00
Michael Kerrisk
881c0928b9
getpriority.2: Minor wording fix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-27 18:57:48 +01:00
Michael Kerrisk
b0930f98e3
nice.2: Add "C library/kernel differences" subsection heading
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-27 18:57:48 +01:00
Michael Kerrisk
4d9db1bd57
nice.2: Clarify the range of the nice value, and note that it is clamped
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-27 18:57:41 +01:00
Michael Kerrisk
26ea000d10
getpriority.2: The nice value supplied to setpriority() is clamped
...
Note that the nice value supplied to setpriority() is clamped
to the permitted range.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-27 18:57:41 +01:00
Michael Kerrisk
33e2220924
setsid.2: Improve wording of text on calling setsid() after fork()+_exit()
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-27 10:56:34 +01:00
Darrick J. Wong
c835f0e088
fideduperange.2: Fix the discussion of maximum sizes
...
Fix the discussion of the limitations on the dest_count and
src_length parameters to the fideduperange ioctl() to reflect
what's actually in the kernel.
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
2016-11-26 14:31:26 +01:00
Michael Kerrisk
5ddb62b287
reboot.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-22 10:02:47 +01:00
Wang Long
90e072b633
reboot.2: Note errors for invalid commands inside a PID namespace
...
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-11-22 09:53:14 +01:00
Michael Kerrisk
e9477548b0
timerfd_create.2: Document TFD_TIMER_CANCEL_ON_SET
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 23:34:38 +01:00
Michael Kerrisk
510625764c
timerfd_create.2: Rework discussion on relative and absolute timers
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 23:34:38 +01:00
Michael Kerrisk
4c7471193b
timerfd_create.2: Document CLOCK_BOOTTIME, CLOCK_REALTIME_ALARM, and CLOCK_BOOTTIME_ALARM
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 23:34:38 +01:00
Michael Kerrisk
1bf5cb75dd
timer_create.2: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 23:34:38 +01:00
Michael Kerrisk
4b76fffb6a
timerfd_create.2: Rework description of clocks as a hanging list
...
Done in part as preparation for following patches.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 23:34:22 +01:00
Michael Kerrisk
cc83f4d1bb
clock_getres.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 14:59:43 +01:00
Michael Kerrisk
0bbe872f38
clock_getres.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 14:57:04 +01:00
Michael Kerrisk
8b047fe272
timer_create.2: Document CLOCK_REALTIME_ALARM and CLOCK_BOOTTIME_ALARM
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 14:53:44 +01:00
Michael Kerrisk
39c97bde31
timer_create.2: Document CLOCK_BOOTTIME
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 14:41:59 +01:00
Michael Kerrisk
5fe5d581c6
signalfd.2: Document ssi_addr_lsb field of signalfd_siginfo
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 14:31:06 +01:00
Michael Kerrisk
17be9ac5ad
signalfd.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 14:29:11 +01:00
Michael Kerrisk
176b1a7665
mmap.2: Add (much) more detail on MAP_GROWSDOWN
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 11:06:41 +01:00
Michael Kerrisk
86f12eb091
mmap.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 11:06:35 +01:00
Michael Kerrisk
3a06e3f7a8
mprotect.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 11:01:46 +01:00
Michael Kerrisk
93d210fd5a
mprotect.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 11:01:46 +01:00
Michael Kerrisk
d88d01c6b8
mprotect.2: Various fixes to Eugene Syromyatnikov's text
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 11:01:46 +01:00
Michael Kerrisk
be232513a2
mprotect.2: srcfix: rewrap source lines
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 10:58:57 +01:00
Eugene Syromyatnikov
a9799e8a86
mprotect.2: Document PROT_SEM, PROT_SAO, PROT_GROWSUP, and PROT_GROWSDOWN
2016-11-21 10:58:11 +01:00
Michael Kerrisk
50efeef8ca
mmap.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 10:54:55 +01:00
Michael Kerrisk
0805a3dd37
close.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-21 10:54:55 +01:00
Michael Kerrisk
41a926bfa6
prctl.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-20 19:02:23 +01:00
Michael Kerrisk
ffb0dafce7
prctl.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-20 18:28:02 +01:00
Michael Kerrisk
07d6076e59
prctl.2: Tweaks after comments from Eugene Syromyatnikov
...
Reported-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-20 18:25:34 +01:00
Michael Kerrisk
fb90e0c7ca
prctl.2: Remove numeric definitions of PR_FP_MODE_FR and PR_FP_MODE_FRE bits
...
There's no obvious reason to supply the numeric values
for these bit-mask constants.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-20 12:25:12 +01:00
Michael Kerrisk
8950730593
prctl.2: Minor wording fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-20 12:21:56 +01:00
Michael Kerrisk
b3073df8f9
prctl.2: srcfix: rewrap lines
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-20 11:32:37 +01:00
Eugene Syromyatnikov
64a53a6768
prctl.2: Document PR_SET_FP_MODE and PR_GET_FP_MODE
...
Based on description provided in commit 9791554b and information in
https://dmz-portal.mips.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking
2016-11-20 11:24:04 +01:00
Michael Kerrisk
ebfe2108cc
accept.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-18 10:25:27 +01:00
Michael Kerrisk
9d66d927da
accept.2: Minor wording fix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-18 10:24:26 +01:00
Michael Kerrisk
065f9d8a77
accept.2: Remove editorializing comments about 'socklen_t'
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-18 10:22:40 +01:00
Michael Kerrisk
ff20e9ca6b
ptrace.2: Tweaks to Keno Fischer's patches
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-17 08:21:01 +01:00
Keno Fischer
5419141e28
ptrace.2: Expand documentation PTRACE_EVENT_SECCOMP traps
...
In Linux 4.8 (through a series of commits, 93e35efb8de45393c
being the actual reordering on x86), the order of
PTRACE_EVENT_SECCOMP and syscall-entry-stops was reversed.
Document both behaviors and their interaction with the
various forms of restart.
Signed-off-by: Keno Fischer <keno@juliacomputing.com>
2016-11-17 08:07:37 +01:00
Keno Fischer
131bcd7aaa
ptrace.2: Document the behavior of PTRACE_SYSEMU stops
...
Signed-off-by: Keno Fischer <keno@juliacomputing.com>
2016-11-17 08:02:48 +01:00
Andrew Clayton
c1bda2c87d
getgroups.2: FTM requirements fix for setgroups(2)
...
This fixes commit 51c612f
(... Update FTM requirements
(_DEFAULT_SOURCE))
This commit updated numerous pages for the _SVID_SOURCE and
_BSD_SOURCE deprecations and the new use of _DEFAULT_SOURCE.
However during this conversion for setgroups(2), _BSD_SOURCE got
replaced by _SVID_SOURCE under the 'Glibc 2.19 and earlier:'
heading.
Put it back to _BSD_SOURCE. This was confirmed by building under
a Glibc 2.17 system and using _SVID_SOURCE resulted in a
warning: implicit declaration of function ‘setgroups’
[-Wimplicit-function-declaration]
message. Using _BSD_SOURCE gives a clean compile.
Signed-off-by: Andrew Clayton <andrew@digital-domain.net>
2016-11-15 21:35:57 +01:00
Michael Kerrisk
5991f44e6a
remap_file_pages.2, statfs.2, sync.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 21:50:30 +01:00
Michael Kerrisk
dce6b79650
getrandom.2, random.7: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
9eaf75006c
getrandom.2: Remove material incorporated into random(7)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
9609814712
getrandom.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
e196d31917
getrandom.2: Clarify that getrandom() is not "reading" from /dev/{random,urandom}
...
The existing text is a little confusing, since it somewhat
suggests that getrandom() "reads" from the /dev/random and
/dev/urandom devices. Rather, it is drawing from the same
pools as those devices. Reword the text to clarify that.
Plus a few other wording improvements.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
b4a9630f4b
getrandom.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
724d21bbb8
random.4: Minor wording fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
311edc011a
getrandom.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
c35966b125
getrandom.2: Note advantages of fact that getrandom() doesn't use file descriptors
...
Inspired by Nikos Mavrogiannopoulos's post at
http://nmav.gnutls.org/2016/10/random-generator-linux.html
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
2e1f8bfa17
getrandom.2, random.4: Consolidate and improve discussion on usage of randomness
...
Currently, recommendations on how to consume randomness are
spread across both getrandom(2) and random(4) and the general
opinion seems to be that the text in getrandom(2) does a
somewhat better job. Consolidate the discussion to a single
page (getrandom(2)) and address some of the concerns
expressed about the existing text in random(4).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-12 12:22:10 +01:00
Michael Kerrisk
b50a708ba6
wait.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-11 09:20:27 +01:00
Michael Kerrisk
68246229ba
send.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-11 09:09:30 +01:00
Michael Kerrisk
fcc4f4f456
perf_event_open.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-11 09:08:56 +01:00
Michael Kerrisk
3f06ade3af
mmap.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-11 09:08:31 +01:00
Eugene Syromyatnikov
721381be5b
quotactl.2: tfix
2016-11-10 20:28:38 +01:00
Michael Kerrisk
2e3cf491f1
utime.2, utimensat.2: SEE ALSO: add touch(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-10 11:23:38 +01:00
Michael Kerrisk
e20370e4c2
unlink.2: SEE ALSO: add unlink(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-10 11:16:27 +01:00
Michael Kerrisk
792f20ea4a
gethostname.2: SEE ALSO: add hostname(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-10 11:13:12 +01:00
Michael Kerrisk
0c28210ecb
kill.2: SEE ALSO: add kill(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-10 11:13:12 +01:00
Michael Kerrisk
9bab77a4a4
chroot.2: SEE ALSO: add chroot(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-10 11:13:12 +01:00
Michael Kerrisk
1bf54566e6
chown.2: SEE ALSO: add chgrp(1) and chown(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-10 11:13:12 +01:00
Michael Kerrisk
3dd7a7eeea
chmod.2: SEE ALSO: add chmod(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-10 11:05:49 +01:00
Michael Kerrisk
34e922812e
mount.2: SEE ALSO: add mountpoint(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-10 09:11:01 +01:00
Michael Kerrisk
1ce611a3c2
adjtimex.2, clock_getres.2, gettimeofday.2: SEE ALSO: add hwclock(8)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-10 09:07:48 +01:00
Michael Kerrisk
d097377b9d
symlink.2: SEE ALSO: add namei(1)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-10 08:50:40 +01:00
Michael Kerrisk
d38be90da1
quotactl.2: Minor tweaks to Eugene Syromyatnikov's patch
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-10 08:17:09 +01:00
Eugene Syromyatnikov
942627c949
quotactl.2: Describe Q_XQUOTASYNC, which is present but no-op in recent kernels
2016-11-10 08:13:50 +01:00
Heinrich Schuchardt
5d730f864a
fanotify_mark.2: Mention FAN_Q_OVERFLOW
...
To receive overflow events it is necessary to set this bit
in fanotify_mark().
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2016-11-09 08:40:57 +01:00
Michael Kerrisk
c73916154d
ptrace.2: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-09 01:49:25 +01:00
Michael Kerrisk
88f02af602
seccomp.2: NOTES: mention ptrace(PTRACE_SECCOMP_GET_FILTER) to dump seccomp filters
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-08 14:07:56 +01:00
Michael Kerrisk
baf11d5c1d
ptrace.2: Document PTRACE_SECCOMP_GET_FILTER
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-08 14:07:56 +01:00
Michael Kerrisk
b8854baedb
ptrace.2: ffix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-08 14:07:56 +01:00
Michael Kerrisk
5db5b78c7c
bind.2: grfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-08 09:05:45 +01:00
Michael Kerrisk
4e07c70f90
fallocate.2, fcntl.2, lseek.2, madvise.2, memfd_create.2, mmap.2, remap_file_pages.2, swapon.2, proc.5, cgroups.7, shm_overview.7, user_namespaces.7: Fix cross references to new tmpfs(5) page
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-07 16:21:41 +01:00
Michael Kerrisk
78907e9eb9
madvise.2: wfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-07 14:29:44 +01:00
Michael Kerrisk
9871c08c1f
mprotect.2: tfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2016-11-07 03:12:09 -07:00