Re: [RTEMS Project] #2859: Implement POSIX Shared Memory Objects

2017-09-13 Thread RTEMS trac
#2859: Implement POSIX Shared Memory Objects
--+-
 Reporter:  Gedare|   Owner:  Gedare
 Type:  defect|  Status:  closed
 Priority:  normal|   Milestone:  4.12.0
Component:  cpukit| Version:  4.12
 Severity:  normal|  Resolution:  fixed
 Keywords:  POSIX-Compliance  |
--+-

Comment (by Sebastian Huber ):

 In [changeset:"694e946dbd64c94343aeb289edd80a60759f7b26/rtems"
 694e946/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="694e946dbd64c94343aeb289edd80a60759f7b26"
 libio: Remove special-case reference count

 The top-level IO library structures should contain no special-case data.

 Update #2859.
 }}}

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #2859: Implement POSIX Shared Memory Objects

2017-07-28 Thread RTEMS trac
#2859: Implement POSIX Shared Memory Objects
--+-
 Reporter:  Gedare|   Owner:  Gedare
 Type:  defect|  Status:  new
 Priority:  normal|   Milestone:  4.12.0
Component:  cpukit| Version:  4.12
 Severity:  normal|  Resolution:
 Keywords:  POSIX-Compliance  |
--+-

Comment (by Sebastian Huber ):

 In [changeset:"77cbb2a4442aa9a1d0e175ed4f690f57930eaa70/rtems"
 77cbb2a/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="77cbb2a4442aa9a1d0e175ed4f690f57930eaa70"
 psxtests/psxmmap01: Fix warning

 Update #2859.
 }}}

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #2859: Implement POSIX Shared Memory Objects

2017-07-24 Thread RTEMS trac
#2859: Implement POSIX Shared Memory Objects
--+-
 Reporter:  Gedare|   Owner:  Gedare
 Type:  defect|  Status:  new
 Priority:  normal|   Milestone:  4.12.0
Component:  cpukit| Version:  4.12
 Severity:  normal|  Resolution:
 Keywords:  POSIX-Compliance  |
--+-

Comment (by Gedare Bloom ):

 In [changeset:"c6d897e54489e061b25bdb08583b696421799cc2/rtems"
 c6d897e5/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="c6d897e54489e061b25bdb08583b696421799cc2"
 posix: fix warnings with mmap from heap/wkspace

 Avoid void pointer arithmetic.

 Updates #2859.
 }}}

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #2859: Implement POSIX Shared Memory Objects

2017-07-24 Thread RTEMS trac
#2859: Implement POSIX Shared Memory Objects
--+-
 Reporter:  Gedare|   Owner:  Gedare
 Type:  defect|  Status:  new
 Priority:  normal|   Milestone:  4.12.0
Component:  cpukit| Version:  4.12
 Severity:  normal|  Resolution:
 Keywords:  POSIX-Compliance  |
--+-

Comment (by Gedare Bloom ):

 In [changeset:"b264998fa9ef2b048950ba81f3d1615c8f9a182d/rtems"
 b264998/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="b264998fa9ef2b048950ba81f3d1615c8f9a182d"
 posix: replace mmap mappings lock with libio lock

 Use the libio mutex lock instead of the mmap mappings lock.

 Updates #2859.
 }}}

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #2859: Implement POSIX Shared Memory Objects

2017-07-19 Thread RTEMS trac
#2859: Implement POSIX Shared Memory Objects
--+-
 Reporter:  Gedare|   Owner:  Gedare
 Type:  defect|  Status:  new
 Priority:  normal|   Milestone:  4.12.0
Component:  cpukit| Version:  4.12
 Severity:  normal|  Resolution:
 Keywords:  POSIX-Compliance  |
--+-

Comment (by Sebastian Huber):

 The mmap_mappings_lock attributes don't create a mutex:

 #define RTEMS_MUTEX_ATTRIBS \
   (RTEMS_PRIORITY | RTEMS_SIMPLE_BINARY_SEMAPHORE | \
RTEMS_NO_INHERIT_PRIORITY | RTEMS_NO_PRIORITY_CEILING | RTEMS_LOCAL)

 I suggest to use the libio mutex and keep the specialized lock/unlock
 functions.  Mutex lock/unlock should not return a status code to simplify
 the error handling.

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #2859: Implement POSIX Shared Memory Objects

2017-07-19 Thread RTEMS trac
#2859: Implement POSIX Shared Memory Objects
--+-
 Reporter:  Gedare|   Owner:  Gedare
 Type:  defect|  Status:  new
 Priority:  normal|   Milestone:  4.12.0
Component:  cpukit| Version:  4.12
 Severity:  normal|  Resolution:
 Keywords:  POSIX-Compliance  |
--+-

Comment (by Sebastian Huber ):

 In [changeset:"b965f461a8d2627fafb0166ed4ef0351ad597551/rtems"
 b965f461/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="b965f461a8d2627fafb0166ed4ef0351ad597551"
 posix: Use unprotected chain operations

 Operarations are already protected by mmap_mappings_lock.

 Updates #2859.
 }}}

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #2859: Implement POSIX Shared Memory Objects

2017-07-19 Thread RTEMS trac
#2859: Implement POSIX Shared Memory Objects
--+-
 Reporter:  Gedare|   Owner:  Gedare
 Type:  defect|  Status:  new
 Priority:  normal|   Milestone:  4.12.0
Component:  cpukit| Version:  4.12
 Severity:  normal|  Resolution:
 Keywords:  POSIX-Compliance  |
--+-

Comment (by Kevin Kirspel ):

 In [changeset:"bb01a36dfb59d3cdccd33178d2b6be7f479e3d87/rtems"
 bb01a36/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="bb01a36dfb59d3cdccd33178d2b6be7f479e3d87"
 Fixed issue with searching mapped addresses

 The loop that checks if the current address is already mapped uses
 the same local variable for the chanin node as the newly allocated
 chain node so the allocated chain node gets over written.

 Added a new local variable for the loop that checks the address

 Updates #2859.
 }}}

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #2859: Implement POSIX Shared Memory Objects

2017-05-05 Thread RTEMS trac
#2859: Implement POSIX Shared Memory Objects
--+-
 Reporter:  Gedare|   Owner:  Gedare
 Type:  defect|  Status:  new
 Priority:  normal|   Milestone:  4.12
Component:  cpukit| Version:  4.12
 Severity:  normal|  Resolution:
 Keywords:  POSIX-Compliance  |
--+-

Comment (by Gedare Bloom ):

 In [changeset:"87de70a2984cece87db94f4b445589c4e24e5c77/rtems"
 87de70a2/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="87de70a2984cece87db94f4b445589c4e24e5c77"
 posix/mman: add mmap support for shm objects

 Update #2859.
 }}}

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #2859: Implement POSIX Shared Memory Objects

2017-04-03 Thread RTEMS trac
#2859: Implement POSIX Shared Memory Objects
--+-
 Reporter:  Gedare|   Owner:  Gedare
 Type:  defect|  Status:  new
 Priority:  normal|   Milestone:  4.12
Component:  cpukit| Version:  4.12
 Severity:  normal|  Resolution:
 Keywords:  POSIX-Compliance  |
--+-
Changes (by Joel Sherrill):

 * keywords:  posix => POSIX-Compliance


--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Re: [RTEMS Project] #2859: Implement POSIX Shared Memory Objects

2017-01-13 Thread RTEMS trac
#2859: Implement POSIX Shared Memory Objects
+-
 Reporter:  gedare  |   Owner:  gedare
 Type:  defect  |  Status:  new
 Priority:  normal  |   Milestone:  4.12
Component:  cpukit  | Version:  4.12
 Severity:  normal  |  Resolution:
 Keywords:  posix   |
+-

Comment (by gedare):

 ba77628250ae7158db363fc0d7886ebd43e9cb69

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs


[RTEMS Project] #2859: Implement POSIX Shared Memory Objects

2017-01-13 Thread RTEMS trac
#2859: Implement POSIX Shared Memory Objects
+
 Reporter:  gedare  |  Owner:  gedare
 Type:  defect  | Status:  new
 Priority:  normal  |  Milestone:  4.12
Component:  cpukit  |Version:  4.12
 Severity:  normal  |   Keywords:  posix
+
 POSIX Shared Memory is a widely used API for inter-process communication.
 The functions in the API include:
 * [http://pubs.opengroup.org/onlinepubs/9699919799/functions/shm_open.html
 shm_open]
 *
 [http://pubs.opengroup.org/onlinepubs/9699919799/functions/ftruncate.html
 ftruncate]
 * [http://pubs.opengroup.org/onlinepubs/9699919799/functions/mmap.html
 mmap]
 * [http://pubs.opengroup.org/onlinepubs/9699919799/functions/munmap.html
 munmap]
 *
 [http://pubs.opengroup.org/onlinepubs/9699919799/functions/shm_unlink.html
 shm_unlink]
 * [http://pubs.opengroup.org/onlinepubs/9699919799/functions/close.html
 close]
 * [http://pubs.opengroup.org/onlinepubs/9699919799/functions/fstat.html
 fstat]
 * [http://pubs.opengroup.org/onlinepubs/9699919799/functions/fchown.html
 fchown]
 * [http://pubs.opengroup.org/onlinepubs/9699919799/functions/fchmod.html
 fchmod]

--
Ticket URL: 
RTEMS Project 
RTEMS Project
___
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs