[RTEMS Project] #2129: sync() implementation is dangerous

RTEMS trac trac at rtems.org
Wed Feb 18 14:38:35 UTC 2015


#2129: sync() implementation is dangerous
-----------------------------+-------------------
 Reporter:  sebastian.huber  |       Owner:
     Type:  defect           |      Status:  new
 Priority:  normal           |   Milestone:  5.0
Component:  cpukit           |     Version:  4.11
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+-------------------
Changes (by sebastian.huber):

 * owner:  sebastian.huber =>
 * status:  assigned => new


Old description:

> The sync() implementation has some weaknesses.
>
> 1. No protection of concurrent sync() operations.
> 2. Since we have no Newlib locks, other threads must not use file
> operations during the sync() period.
> 3. Deletion of threads during the sync() may lead to all sorts of things.

New description:

 The sync() implementation has some weaknesses.

 1. No protection of concurrent sync() operations.
 2. Since we have no Newlib locks, other threads must not use file
 operations during the sync() period.
 3. Deletion of threads during the sync() may lead to all sorts of things.

--

--
Ticket URL: <http://devel.rtems.org/ticket/2129#comment:5>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list