nuttx/sched/semaphore
Petro Karashchenko 41c95da594 register_driver: fix driver modes accross the code
State of problem:
 - Some drivers that do not support write operations (does not
   have write handler or ioctl do not perform any write actions)
   are registered with write permissions
 - Some drivers that do not support read operation (does not
   have read handler or ioctl do not perform any read actions)
   are registered with read permissions
 - Some drivers are registered with execute permissions

Solution:
 - Iterate code where register_driver() is used and change 'mode'
   parameter to reflect the actual read/write operations executed
   by a driver
 - Remove execute permissions from 'mode' parameter

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-02-16 16:15:29 +08:00
..
Make.defs sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sem_clockwait.c sched/semaphore: remove redundant goto case 2021-12-13 14:38:44 +09:00
sem_destroy.c sched: nxstyle fixes 2021-02-09 01:21:53 -08:00
sem_holder.c register_driver: fix driver modes accross the code 2022-02-16 16:15:29 +08:00
sem_initialize.c Make more OS internal names consistent 2020-05-10 22:47:07 +08:00
sem_post.c sched/: Make more naming consistent 2020-05-17 14:01:00 -03:00
sem_recover.c semphore: release all semphores' holder that the task held when exit 2022-02-13 03:20:51 +08:00
sem_reset.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sem_setprotocol.c pthread: restore pthread mutex default protocol POSIX compatibility 2022-01-11 01:55:12 +08:00
sem_tickwait.c sched/semaphore: remove redundant goto case 2021-12-13 14:38:44 +09:00
sem_timedwait.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
sem_timeout.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sem_trywait.c Revert "sem: remove limitation of irq context when do sem_trywait" 2022-01-29 00:53:47 +08:00
sem_wait.c Make more OS internal names consistent 2020-05-10 22:47:07 +08:00
sem_waitirq.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
semaphore.h semphore: release all semphores' holder that the task held when exit 2022-02-13 03:20:51 +08:00
spinlock.c sched/*/*spinlock.c: Fix some typos. 2021-07-24 09:00:41 -07:00