[Bug 2129] New: sync() implementation is dangerous

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Fri Jul 19 15:13:23 UTC 2013


https://www.rtems.org/bugzilla/show_bug.cgi?id=2129

             Bug #: 2129
           Summary: sync() implementation is dangerous
    Classification: Unclassified
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: sebastian.huber at embedded-brains.de


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.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list