nuttx/sched
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
..
clock clock: update clock_synchronize() to support with time 2022-01-18 22:48:15 +08:00
environ Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
group sched: Don't duplicate caller file handler when creating kernel thread 2022-02-01 08:22:45 +09:00
init idle: remove heap & stack check in idle thread 2022-01-29 00:53:47 +08:00
irq arch: Decouple up_critmon_[gettime|convert] from critmon 2022-01-25 14:43:34 +08:00
module sched/module: remove redundant unlock 2022-02-10 22:31:51 +08:00
mqueue sched/mqueue: remove unused leave_cancellation_point 2022-02-10 22:33:21 +08:00
paging Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
pthread pthread: Call cleanup callback while asyncrhonous cancel 2022-02-09 21:21:43 +08:00
sched sched: Implement sysinfo function 2022-02-08 10:27:38 +08:00
semaphore register_driver: fix driver modes accross the code 2022-02-16 16:15:29 +08:00
signal Revert "libc: Call pthread_exit in user-space by up_pthread_exit" 2022-02-09 21:21:43 +08:00
task Revert "libc: Call pthread_exit in user-space by up_pthread_exit" 2022-02-09 21:21:43 +08:00
timer Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
wdog Update sched/wdog/wd_start.c 2022-02-10 22:33:47 +08:00
wqueue arch: Decouple up_critmon_[gettime|convert] from critmon 2022-01-25 14:43:34 +08:00
Kconfig sched: Disable pthread by default when DEFAULT_SMALL is enabled 2022-02-07 12:04:03 +08:00
Makefile style/Makefile: remove unnecessary trailing whitespace 2020-11-28 12:20:30 +01:00