time.2: Where time() is provided by vDSO, an invalid address may give SIGSEGV

Reported-by: H.J. Lu <hjl.tools@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-12-16 14:35:16 +01:00
parent 17e9724a2e
commit 1ccb57efbc
1 changed files with 9 additions and 0 deletions

View File

@ -52,6 +52,15 @@ appropriately.
.B EFAULT
.I t
points outside your accessible address space.
On systems where the C library
.BR time ()
wrapper function invokes an implementation provided by the
.BR vdso (7)
(so that there is no trap into the kernel),
an invalid address may instead trigger a
.B SIGSEGV
signal.
.SH CONFORMING TO
SVr4, 4.3BSD, C89, C99, POSIX.1-2001.
.\" .br