Peng Haitao | 31 Oct 09:31 2014

[PATCH] fenv.3: tfix in thread-safety information

fegetexceptflag() should be modified to feraiseexcept().

Signed-off-by: Peng Haitao <penght@...>
---
 man3/fenv.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man3/fenv.3 b/man3/fenv.3
index 6db7c86..bea73f9 100644
--- a/man3/fenv.3
+++ b/man3/fenv.3
 <at>  <at>  -270,12 +270,12  <at>  <at>  For an explanation of the terms used in this section, see
 .TS
 allbox;
 lb lb lb
-lw37 l l.
+lw35 l l.
 Interface	Attribute	Value
 T{
 .BR feclearexcept (),
 .BR fegetexceptflag (),
-.BR fegetexceptflag (),
+.BR feraiseexcept (),
 .BR fesetexceptflag (),
 .BR fetestexcept (),
 .BR fegetround (),
--

-- 
1.9.3

--
(Continue reading)

Will Newton | 29 Oct 13:18 2014

ilogb manpage

Hi,

The ilogb manpage currently claims that errno is not set on error:

       Domain error: x is 0 or a NaN
              An invalid floating-point exception (FE_INVALID) is raised.

              These functions do not set errno for this case.

       Domain error: x is an infinity

              These functions do not set errno or raise an exception
for this case.

However this is at odds with the ISO C standard an the most recent glibc code:

int
__ilogb (double x)
{
  int r = __ieee754_ilogb (x);
  if (__builtin_expect (r == FP_ILOGB0, 0)
      || __builtin_expect (r == FP_ILOGBNAN, 0)
      || __builtin_expect (r == INT_MAX, 0))
    {
      __set_errno (EDOM);
      feraiseexcept (FE_INVALID);
    }
  return r;
}

(Continue reading)

Mike Frysinger | 27 Oct 21:42 2014
Picon

[PATCH] pid_namespaces(7): minor grammar tweaks

---
 man7/pid_namespaces.7 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/man7/pid_namespaces.7 b/man7/pid_namespaces.7
index db6618a..2090101 100644
--- a/man7/pid_namespaces.7
+++ b/man7/pid_namespaces.7
 <at>  <at>  -128,7 +128,7  <at>  <at>  and so will result in the usual actions associated with those signals

 Starting with Linux 3.4, the
 .BR reboot (2)
-system causes a signal to be sent to the namespace "init" process.
+system call causes a signal to be sent to the namespace "init" process.
 See
 .BR reboot (2)
 for more details.
 <at>  <at>  -154,7 +154,7  <at>  <at>  In this context, "visible" means that one process
 can be the target of operations by another process using
 system calls that specify a process ID.
 Conversely, the processes in a child PID namespace can't see
-processes in the parent and further removed ancestor namespace.
+processes in the parent and further removed ancestor namespaces.
 More succinctly: a process can see (e.g., send signals with
 .BR kill (2),
 set nice values with
 <at>  <at>  -243,7 +243,7  <at>  <at>  will defeat that.
 .BR CLONE_VM
 requires all of the threads to be in the same PID namespace,
 because, from the point of view of a core dump,
(Continue reading)

Peng Haitao | 27 Oct 07:25 2014

[PATCH] makecontext.3: Reformat thread-safety information

Signed-off-by: Peng Haitao <penght@...>
---
 man3/makecontext.3 | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/man3/makecontext.3 b/man3/makecontext.3
index 5c801d4..2c83f0e 100644
--- a/man3/makecontext.3
+++ b/man3/makecontext.3
 <at>  <at>  -103,12 +103,18  <at>  <at>  and
 .BR swapcontext ()
 are provided in glibc since version 2.1.
 .SH ATTRIBUTES
-.SS Multithreading (see pthreads(7))
-The
-.BR makecontext ()
-and
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw28 lb lb
+l l l.
+Interface	Attribute	Value
+T{
+.BR makecontext (),
 .BR swapcontext ()
-functions are thread-safe.
+T}	Thread safety	MT-Safe
+.TE
(Continue reading)

Peng Haitao | 27 Oct 04:24 2014

[PATCH] localeconv.3: Reformat and Modify thread-safety information

Signed-off-by: Peng Haitao <penght@...>
---
 man3/localeconv.3 | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/man3/localeconv.3 b/man3/localeconv.3
index 707de11..0af0610 100644
--- a/man3/localeconv.3
+++ b/man3/localeconv.3
 <at>  <at>  -63,11 +63,17  <at>  <at>  The
 .BR localeconv ()
 function always succeeds.
 .SH ATTRIBUTES
-.SS Multithreading (see pthreads(7))
-The
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface	Attribute	Value
+T{
 .BR localeconv ()
-function is not thread-safe, since it returns a pointer to a structure which
-might be overwritten by subsequent calls.
+T}	Thread safety	MT-Unsafe race:localeconv locale
+.TE
 .SH CONFORMING TO
 C89, C99.
(Continue reading)

Peng Haitao | 27 Oct 03:29 2014

[PATCH] logb.3: Reformat thread-safety information

Signed-off-by: Peng Haitao <penght@...>
---
 man3/logb.3 | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/man3/logb.3 b/man3/logb.3
index 4943bf4..5167ec0 100644
--- a/man3/logb.3
+++ b/man3/logb.3
 <at>  <at>  -141,13 +141,19  <at>  <at>  These functions do not set
 .\" function occurs in 4.3BSD.
 .\" see IEEE.3 in the 4.3BSD manual
 .SH ATTRIBUTES
-.SS Multithreading (see pthreads(7))
-The
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw24 lb lb
+l l l.
+Interface	Attribute	Value
+T{
 .BR logb (),
 .BR logbf (),
-and
 .BR logbl ()
-functions are thread-safe.
+T}	Thread safety	MT-Safe
+.TE
(Continue reading)

Peng Haitao | 27 Oct 03:24 2014

[PATCH] lrint.3: Reformat thread-safety information

Signed-off-by: Peng Haitao <penght@...>
---
 man3/lrint.3 | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/man3/lrint.3 b/man3/lrint.3
index ae6e460..8ec9993 100644
--- a/man3/lrint.3
+++ b/man3/lrint.3
 <at>  <at>  -108,16 +108,23  <at>  <at>  These functions do not set
 .SH VERSIONS
 These functions first appeared in glibc in version 2.1.
 .SH ATTRIBUTES
-.SS Multithreading (see pthreads(7))
-The
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw30 lb lb
+l l l.
+Interface	Attribute	Value
+T{
 .BR lrint (),
 .BR lrintf (),
 .BR lrintl (),
+.br
 .BR llrint (),
 .BR llrintf (),
-and
(Continue reading)

Peng Haitao | 27 Oct 03:20 2014

[PATCH] lround.3: Reformat thread-safety information

Signed-off-by: Peng Haitao <penght@...>
---
 man3/lround.3 | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/man3/lround.3 b/man3/lround.3
index 9460537..67d3c1b 100644
--- a/man3/lround.3
+++ b/man3/lround.3
 <at>  <at>  -111,16 +111,23  <at>  <at>  These functions do not set
 .SH VERSIONS
 These functions first appeared in glibc in version 2.1.
 .SH ATTRIBUTES
-.SS Multithreading (see pthreads(7))
-The
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw33 lb lb
+l l l.
+Interface	Attribute	Value
+T{
 .BR lround (),
 .BR lroundf (),
 .BR lroundl (),
+.br
 .BR llround (),
 .BR llroundf (),
-and
(Continue reading)

Peng Haitao | 27 Oct 03:14 2014

[PATCH] lseek64.3: Reformat thread-safety information

Signed-off-by: Peng Haitao <penght@...>
---
 man3/lseek64.3 | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/man3/lseek64.3 b/man3/lseek64.3
index 01e8e0d..75ef7d9 100644
--- a/man3/lseek64.3
+++ b/man3/lseek64.3
 <at>  <at>  -157,10 +157,17  <at>  <at>  The prototype is:
 For more details, see
 .BR llseek (2).
 .SH ATTRIBUTES
-.SS Multithreading (see pthreads(7))
-The
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface	Attribute	Value
+T{
 .BR lseek64 ()
-function is thread-safe.
+T}	Thread safety	MT-Safe
+.TE
 .SH SEE ALSO
 .BR llseek (2),
 .BR lseek (2)
(Continue reading)

Heinrich Schuchardt | 23 Oct 22:09 2014
Picon
Picon

[PATCH 1/1] fanotify.7: double mounted paths

Unfortunately fanotify does not inform listeners for all paths
under which a touched file system object is visible
but only the listener using the same path as the process
touching the file system object.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@...>
---
 man7/fanotify.7 | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/man7/fanotify.7 b/man7/fanotify.7
index bc5a11c..7f915c2 100644
--- a/man7/fanotify.7
+++ b/man7/fanotify.7
 <at>  <at>  -488,6 +488,14  <at>  <at>  In this case, events are lost.
 As of Linux 3.17,
 the following bugs exist:
 .IP * 3
+On Linux a file system object may be accessible through multiple paths,
+e.g. a part of the file system may be remounted using
+.B mount (8)
+--bind.
+A listener that marked a mount will only be notified of events that were
+triggered for a file system object using the same mount.
+Any other event will pass unnoticed.
+.IP *
 .\" FIXME . A patch was proposed.
 When an event is generated,
 no check is made to see whether the user ID of the
--

-- 
(Continue reading)

Heinrich Schuchardt | 23 Oct 22:06 2014
Picon
Picon

[PATCH 1/1] fanotify.7: kernel version in BUGS section

Change kernel version in BUGS section to 3.17

Signed-off-by: Heinrich Schuchardt <xypron.glpk@...>
---
 man7/fanotify.7 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man7/fanotify.7 b/man7/fanotify.7
index b6456d5..bc5a11c 100644
--- a/man7/fanotify.7
+++ b/man7/fanotify.7
 <at>  <at>  -485,7 +485,7  <at>  <at>  Monitoring mounts offers the capability to monitor a whole directory tree.
 The event queue can overflow.
 In this case, events are lost.
 .SH BUGS
-As of Linux 3.15,
+As of Linux 3.17,
 the following bugs exist:
 .IP * 3
 .\" FIXME . A patch was proposed.
--

-- 
2.1.1

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane