Gregory Nutt
|
bc3ca25cc7
|
Cancellation points: Close up some logic to eliminte some race conditions.
|
2016-12-10 08:36:58 -06:00 |
|
Gregory Nutt
|
03a58b2ebc
|
write(): Fix a misplaced #endif
|
2016-12-09 18:12:42 -06:00 |
|
Gregory Nutt
|
05f61def6a
|
Fix warning and link error due to missing header file.
|
2016-12-09 17:02:27 -06:00 |
|
Gregory Nutt
|
3eba0acb1c
|
More cancellation points.
|
2016-12-09 13:49:36 -06:00 |
|
Gregory Nutt
|
c9ca97b4b5
|
cancellation points are basically function. More tested is needed and additional cancellation points must be implemented before this can be merged back to master.
|
2016-12-09 12:01:18 -06:00 |
|
Gregory Nutt
|
dbbe46a2bc
|
fs: Disable priority inheritance on all semaphores used for signaling
|
2016-11-03 12:23:31 -06:00 |
|
Alan Carvalho de Assis
|
8fa14b8fed
|
Fix poll-related compile issues introduced with recent PTY changes
|
2016-07-16 07:03:38 -06:00 |
|
Gregory Nutt
|
11fe9378df
|
Fix some warnings
|
2016-07-16 07:02:06 -06:00 |
|
Gregory Nutt
|
bcb6095f1f
|
Add an assertion
|
2016-07-15 17:47:00 -06:00 |
|
Gregory Nutt
|
6a75f2df89
|
PTY: Add some encode to reduce the likely of misinterpreting the return value of the file open() method
|
2016-07-15 17:13:21 -06:00 |
|
Gregory Nutt
|
4b1553d3ad
|
PTY: Fix some tricky issues. Now seems to be working. A lot more testing is needed
|
2016-07-15 14:29:32 -06:00 |
|
Gregory Nutt
|
9ecd558002
|
Add the correct implementation of the file_poll() function
|
2016-07-15 11:34:08 -06:00 |
|
Gregory Nutt
|
6e6c04f778
|
Rename file_poll as fdesc_poll. The file_ namespace is used for other things.
|
2016-07-15 11:21:11 -06:00 |
|
Gregory Nutt
|
2689645b97
|
VFS ioctl() again. Per comments from David Sidrane, file_ioctl() should not return success if the ioctl method is not supported. It probably should return ENOTTY in that case.
|
2016-07-09 07:23:12 -06:00 |
|
Sagitta Li
|
1925df8faa
|
Fix some recently introduced errors
|
2016-07-09 06:51:07 -06:00 |
|
Gregory Nutt
|
02b91d9880
|
Add a SYSLOG character device that can be used to re-direct output to the SYSLOG
|
2016-07-05 12:58:18 -06:00 |
|
Gregory Nutt
|
a39ce80add
|
SYSLOG logic should use existing file interfaces, not re-invent them.
|
2016-07-05 12:12:44 -06:00 |
|
Gregory Nutt
|
ad2f7b0119
|
fs/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
|
2016-06-11 17:14:02 -06:00 |
|
Gregory Nutt
|
a1469a3e95
|
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
|
2016-06-11 15:50:49 -06:00 |
|
Gregory Nutt
|
86b79b33cf
|
Reserver the name 'err' for other purposes
|
2016-06-11 14:40:07 -06:00 |
|
Gregory Nutt
|
fc3540cffe
|
Replace all occurrences of vdbg with vinfo
|
2016-06-11 11:59:51 -06:00 |
|
Gregory Nutt
|
001715d57b
|
FS: Add logic to detach a file structure from a file descriptor. This is for use only within the OS. It permits an open file or driver to be used across multiple threads.
|
2016-05-26 09:41:50 -06:00 |
|
Gregory Nutt
|
aa7a981674
|
Update some comments
|
2016-05-26 08:37:40 -06:00 |
|
Gregory Nutt
|
3f731241cb
|
fs/inode/, fs/vfs/, and sched/task/: File and socket descriptors are no longer allocated for kernel threads. They must use SYSLOG for output and the low-level psock interfaces for network I/O. This saves a little memory which might be important for small footprint configurations.
|
2016-04-14 10:14:38 -06:00 |
|
Gregory Nutt
|
9008308b64
|
Remove some block comments before empty code sections
|
2016-04-11 18:16:04 -06:00 |
|
Gregory Nutt
|
0fb035f76b
|
Standardize some naming in code section comments
|
2016-02-21 18:09:04 -06:00 |
|
Gregory Nutt
|
4a59ff34e9
|
Update submodules
|
2016-01-28 09:53:47 -06:00 |
|
Gregory Nutt
|
7d6c2d150d
|
fs/vfs/fs_poll.c: Fix handling of sem_tickwait() return value sem_tickwait() does not return an -1+errno, it returns a negated errno value. Noted by Freddie Chopin.
|
2016-01-27 13:42:39 -06:00 |
|
Gregory Nutt
|
f348e68069
|
Update to use 64-bit timer when available
|
2016-01-21 11:54:26 -06:00 |
|
Gregory Nutt
|
08213f830d
|
poll() and select() should not be built if poll() is disabled
|
2015-12-02 05:30:52 -06:00 |
|
Gregory Nutt
|
006528b144
|
Add support for freopen()
|
2015-11-22 08:39:17 -06:00 |
|
Gregory Nutt
|
84a5f846c9
|
open() has been extended. You can now open block drivers and access them just as you can character drivers. For example, you can hexdump a block device.
|
2015-11-21 11:24:55 -06:00 |
|
Gregory Nutt
|
c70987e551
|
nuttx/fs: Fix some spacing and alignment issues
|
2015-10-11 11:39:29 -06:00 |
|
Gregory Nutt
|
0b12dbf95d
|
Fix some spacing problems
|
2015-10-04 15:04:00 -06:00 |
|
Gregory Nutt
|
5b51a9fcdd
|
Standardize the width of all comment boxes in C files
|
2015-10-02 17:43:18 -06:00 |
|
Gregory Nutt
|
cb9e27c3b0
|
Standardize naming used for public data and function groupings
|
2015-10-02 16:30:35 -06:00 |
|
Gregory Nutt
|
cc7130b836
|
Correct a reference counting error in mq_open()
|
2015-09-23 10:34:08 -06:00 |
|
Anton D. Kachalov
|
8d57be2b6f
|
Eliminate compilation warnings
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
|
2015-08-26 00:14:50 +03:00 |
|
Gregory Nutt
|
dd7ffa481c
|
Fix a spelling error in a comment
|
2015-08-14 08:22:03 -06:00 |
|
Gregory Nutt
|
48107bf073
|
poll() now returns POLLERR for any file descriptor that returns a failure during the poll setup
|
2015-08-13 14:58:52 -06:00 |
|
- Max Neklyudov
|
3f8a084d01
|
fs/vfs/fs_poll.c: use sem_tickwait instead of sem_timedwait
|
2015-08-13 14:28:31 -06:00 |
|
Gregory Nutt
|
422ea4f673
|
Another epoll() change: Should not call printf from inside the OS
|
2015-08-10 10:41:58 -06:00 |
|
Gregory Nutt
|
c74dc5f83f
|
Changes from review epoll() implementation for consistency with NuttX naming and coding style
|
2015-08-10 10:38:41 -06:00 |
|
Anton D. Kachalov
|
fd07043180
|
Add simple epoll' wrapper around poll'
Signed-off-by: Anton D. Kachalov <mouse@yandex-team.ru>
|
2015-08-10 18:15:24 +03:00 |
|
Gregory Nutt
|
fca919f3d2
|
Networking: Fix some compilation issues noted with network is build with CONFIG_BUILD_KERNEL
|
2015-07-05 11:18:56 -06:00 |
|
Gregory Nutt
|
3c1af2feed
|
Local sockets: Add poll support for Unix stream sockets. From Jussi Kivilinna.
|
2015-05-12 07:41:12 -06:00 |
|
Gregory Nutt
|
157ac4fb59
|
vfs: poll: fix resource leak and memory corruption. From Jussi Kivilinna.
|
2015-05-04 09:09:09 -06:00 |
|
Gregory Nutt
|
127951e029
|
Fix places where the errno value was being overwritten by subsequent actions so that the returned errno value was incorrect. From Max Neklyudov.
|
2015-02-25 07:45:04 -06:00 |
|
Gregory Nutt
|
cded7ea682
|
Fix some time value changes; mostly changing greater than 1000000000 to greater than or equal to 1000000000. From Juha Niskanen
|
2015-02-20 07:07:36 -06:00 |
|
Gregory Nutt
|
f357897b6c
|
Some files that now include sys/time.h should no longer include timer.h
|
2015-02-15 16:38:18 -06:00 |
|
Gregory Nutt
|
d6704a1cd7
|
Suffer the consequences of moving struct timeval to its correct location
|
2015-02-15 15:18:35 -06:00 |
|
Gregory Nutt
|
38781d308e
|
VFS: New block driver unlink support is dependent on mountpoint support
|
2015-01-31 17:16:30 -06:00 |
|
Gregory Nutt
|
eb1aca3e46
|
Add an unlink method to block driver interface. Same motivataion as for the same modification to the character driver interface
|
2015-01-31 13:19:23 -06:00 |
|
Gregory Nutt
|
62e588a0a4
|
VFS: Add an unlink method to the character driver interface. This is important because if the character driver inode is unlinked and there are no open references to the driver, then the driver resources will be stranded. On the unlink call, the driver has the opportunity (1) check if there an any open references, and (2) if not free the driver resources
|
2015-01-31 11:31:34 -06:00 |
|
Gregory Nutt
|
936e4e529d
|
Don't build pread()/pwrite() if file system support is disabled
|
2014-12-28 15:20:41 -06:00 |
|
Gregory Nutt
|
58ce5653fb
|
Fix a typo in a recent commit
|
2014-12-08 08:28:50 -06:00 |
|
Gregory Nutt
|
8bd5556b47
|
Fix compilation errors if CONFIG_DISABLE_MOUNTPOINT is selected
|
2014-12-08 07:14:31 -06:00 |
|
Gregory Nutt
|
7ad7163bd3
|
Updated comments
|
2014-11-29 17:39:40 -06:00 |
|
Gregory Nutt
|
e31d5125ae
|
Add support for a variadic ioctl() function. The ioctl() interface is a non-standard, Unix interface. NuttX has always used the older, three-parameter version. Most contemporary systems now, however, use a variadic form of the ioctl() function. Added an option to insert a shim layer to adapt the three-parameter ioctl() to use the variadic interface form. Internally, the ioctl handling is the same three-parameter logic. The only real complexity to the shim is in how the system calls must be handled.
|
2014-11-29 10:53:22 -06:00 |
|
Gregory Nutt
|
71d27ec3da
|
apps/examples/bridge: Add host-side test driver
|
2014-11-21 08:20:25 -06:00 |
|
Gregory Nutt
|
6eee578317
|
vfs/poll: add proper handling for sem_timedwait errnos. From Jussi Kivilinna
|
2014-11-21 06:38:26 -06:00 |
|
Gregory Nutt
|
bee3640829
|
Simplifed semaphore wait logic in poll()
|
2014-11-19 09:49:11 -06:00 |
|
Gregory Nutt
|
4448cc43db
|
poll() was not waking up from signals (for example mq_notify() events).
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com>
|
2014-11-19 09:31:51 -06:00 |
|
Gregory Nutt
|
839d3f2204
|
Cosmetic. Fix some conditional logic in some conditioned out code
|
2014-11-02 17:26:38 -06:00 |
|
Gregory Nutt
|
d914f3ceec
|
Major structure of file system functions to better support asynchronous I/O. Respository should not be trusted until I have a chance to verify everything
|
2014-10-06 10:53:25 -06:00 |
|
Gregory Nutt
|
6d33cd329d
|
First pread/pwrite typo fixes
|
2014-10-04 07:39:30 -06:00 |
|
Gregory Nutt
|
948be542a1
|
Add pread() and pwrite()
|
2014-10-04 07:31:13 -06:00 |
|
Gregory Nutt
|
ae90309b36
|
Move fs/fs.h to fs/inode/inode.h and some to fs/driver/driver.h
|
2014-09-29 07:14:38 -06:00 |
|
Gregory Nutt
|
1b2729e35e
|
More testing, bugfixes and integration of VFS-based named semaphores
|
2014-09-28 17:30:42 -06:00 |
|
Gregory Nutt
|
650a0d0615
|
Completes VFS-based named semaphore implemetation. Still a little buggy
|
2014-09-28 15:58:56 -06:00 |
|
Gregory Nutt
|
8a6a202c6d
|
straighten out files in some Make.defs files
|
2014-09-28 12:26:22 -06:00 |
|
Gregory Nutt
|
ff73be870e
|
Move renaming files in fs/. to fs/vfs/. (Don't all belong there)
|
2014-09-28 11:46:11 -06:00 |
|