[jira] [Updated] (MESOS-3551) Replace use of strerror with thread-safe alternatives strerror_r / strerror_l.
[ https://issues.apache.org/jira/browse/MESOS-3551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Bannier updated MESOS-3551: Sprint: Mesosphere Sprint 22 > Replace use of strerror with thread-safe alternatives strerror_r / strerror_l. > -- > > Key: MESOS-3551 > URL: https://issues.apache.org/jira/browse/MESOS-3551 > Project: Mesos > Issue Type: Bug > Components: libprocess, stout >Reporter: Benjamin Mahler >Assignee: Benjamin Bannier > Labels: mesosphere, newbie, tech-debt > > {{strerror()}} is not required to be thread safe by POSIX and is listed as > unsafe on Linux: > http://pubs.opengroup.org/onlinepubs/9699919799/ > http://man7.org/linux/man-pages/man3/strerror.3.html > I don't believe we've seen any issues reported due to this. We should replace > occurrences of strerror accordingly, possibly offering a wrapper in stout to > simplify callsites. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (MESOS-3551) Replace use of strerror with thread-safe alternatives strerror_r / strerror_l.
[ https://issues.apache.org/jira/browse/MESOS-3551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Rukletsov updated MESOS-3551: --- Labels: mesosphere newbie tech-debt (was: newbie tech-debt) > Replace use of strerror with thread-safe alternatives strerror_r / strerror_l. > -- > > Key: MESOS-3551 > URL: https://issues.apache.org/jira/browse/MESOS-3551 > Project: Mesos > Issue Type: Bug > Components: libprocess, stout >Reporter: Benjamin Mahler >Assignee: Benjamin Bannier > Labels: mesosphere, newbie, tech-debt > > {{strerror()}} is not required to be thread safe by POSIX and is listed as > unsafe on Linux: > http://pubs.opengroup.org/onlinepubs/9699919799/ > http://man7.org/linux/man-pages/man3/strerror.3.html > I don't believe we've seen any issues reported due to this. We should replace > occurrences of strerror accordingly, possibly offering a wrapper in stout to > simplify callsites. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (MESOS-3551) Replace use of strerror with thread-safe alternatives strerror_r / strerror_l.
[ https://issues.apache.org/jira/browse/MESOS-3551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Bannier updated MESOS-3551: Shepherd: Till Toenshoff > Replace use of strerror with thread-safe alternatives strerror_r / strerror_l. > -- > > Key: MESOS-3551 > URL: https://issues.apache.org/jira/browse/MESOS-3551 > Project: Mesos > Issue Type: Bug > Components: libprocess, stout >Reporter: Benjamin Mahler >Assignee: Benjamin Bannier > Labels: newbie, tech-debt > > {{strerror()}} is not required to be thread safe by POSIX and is listed as > unsafe on Linux: > http://pubs.opengroup.org/onlinepubs/9699919799/ > http://man7.org/linux/man-pages/man3/strerror.3.html > I don't believe we've seen any issues reported due to this. We should replace > occurrences of strerror accordingly, possibly offering a wrapper in stout to > simplify callsites. -- This message was sent by Atlassian JIRA (v6.3.4#6332)