revised proposal for posix conformance project, GSoC
Updated my proposal according to comments. Any comments welcome! https://docs.google.com/document/d/1iwgzx72TZ0aokNLww-y-IlyEkaRCovjGUhpdQXdP9mg/edit?pli=1 -- *"Free society* *Has, at its core, privacy* *You must act in trust." - *Salyzyn ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: GSOC proposal - new POSIX APIs 2024
Hi! Requesting comments on my proposal for GSOC 2024 - implementing new POSIX APIs: https://docs.google.com/document/d/1iwgzx72TZ0aokNLww-y-IlyEkaRCovjGUhpdQXdP9mg/edit?usp=sharing Abhinav. -- *"Free society* *Has, at its core, privacy* *You must act in trust." - *Salyzyn ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
[PATCH] mqopen: Add support for 'mode' argument in mq_open
Fixes #1977: Previously, the 'mode' argument in `mq_open` was accepted but not utilized. --- cpukit/posix/src/mqueueopen.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cpukit/posix/src/mqueueopen.c b/cpukit/posix/src/mqueueopen.c index d01421a0c1..8f8c1c8634 100644 --- a/cpukit/posix/src/mqueueopen.c +++ b/cpukit/posix/src/mqueueopen.c @@ -154,6 +154,7 @@ mqd_t mq_open( POSIX_Message_queue_Control *the_mq; size_t name_len; Objects_Get_by_name_errorerror; + mode_t mode; mqd_tstatus; _Objects_Allocator_lock(); @@ -185,6 +186,7 @@ mqd_t mq_open( va_start( ap, oflag ); va_arg( ap, mode_t ); attr = va_arg( ap, const struct mq_attr * ); +mode = va_arg( ap, mode_t ); va_end( ap ); if ( attr == NULL ) { @@ -196,7 +198,7 @@ mqd_t mq_open( * checked. We should go ahead and create a message queue. */ -status = _POSIX_Message_queue_Create( name, name_len, oflag, attr ); +status = _POSIX_Message_queue_Create( name, name_len, oflag, attr, mode ); } else { /* -- 2.34.1 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
[PATCH 0/1] This is the task for GSOC'24
Screenshot: https://i.ibb.co/NTxGCj6/Screenshot-2024-03-20-22-41-54.png - Modified the sample hello world to print the popular dialogue "Oh, Hi Mark" from the movie "The Room" by Tommy Wiseau. Abhinav Srivastava (1): Modify hello world sample for GSoC task testsuites/samples/hello/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.34.1 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
[PATCH 1/1] Modify hello world sample for GSoC task
--- testsuites/samples/hello/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testsuites/samples/hello/init.c b/testsuites/samples/hello/init.c index 83f6342ab3..f1c5983ad2 100644 --- a/testsuites/samples/hello/init.c +++ b/testsuites/samples/hello/init.c @@ -41,7 +41,7 @@ static rtems_task Init( { rtems_print_printer_fprintf_putc(_test_printer); TEST_BEGIN(); - printf( "Hello World\n" ); + printf( "Oh, Hi Mark.\n" ); TEST_END(); rtems_test_exit( 0 ); } -- 2.34.1 ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel