Gregory Nutt
|
b758176963
|
stat(): Add logic to avoid infinite recursive in circular paths containing soft links.
|
2017-02-07 12:32:45 -06:00 |
|
Gregory Nutt
|
1b32cb67cb
|
Soft link: Change how a value is returned so that _inode_linktarget will function in all of its use contexts.
|
2017-02-06 10:06:46 -06:00 |
|
Gregory Nutt
|
94e4d58fd2
|
Soft links: Fix a error in follow a link to a link to a mountpoint.
|
2017-02-06 08:46:43 -06:00 |
|
Gregory Nutt
|
aefe32d33f
|
soft links: Fix a memory leak by correcting a reference counting problem.
|
2017-02-05 15:14:16 -06:00 |
|
Gregory Nutt
|
47ddfa346d
|
Soft links: Eliminate in-stack allocation of path working buffer needed for traversal fo paths with soft links.
|
2017-02-05 14:57:38 -06:00 |
|
Gregory Nutt
|
45fd98da88
|
Add macros support that will eventually allow dynamic allocation of strings need to support soft links.
|
2017-02-05 14:25:45 -06:00 |
|
Gregory Nutt
|
8f2c7198ed
|
inode_find: Now takes struct inode_desc_s type as input. This was necessary before that structure includes some data storage. It was used within inode_find(), but that means that the life of the data was the life of inode_find(). That data must persist longer. It is now provided by the caller so that the life of the data persists for the entire life of the caller.
|
2017-02-05 09:51:42 -06:00 |
|
Gregory Nutt
|
990bed903e
|
Soft link: First cut fix for some soft link issues. The fix still has some issues of its own.
|
2017-02-04 16:35:49 -06:00 |
|
Gregory Nutt
|
4c68324d82
|
FS: Remove inode_search_nofollow(). That logic is no handled with a new field in the input argument structure.
|
2017-02-04 12:51:14 -06:00 |
|
Gregory Nutt
|
0c9935f8ac
|
FS: Remove inode_find_nofollow. Instead provide a bool nofollow argument to inode_find.
|
2017-02-04 11:46:54 -06:00 |
|
Gregory Nutt
|
36704b7d9c
|
FS: Argument is now a structure describing the search.
|
2017-02-04 11:21:44 -06:00 |
|
Gregory Nutt
|
8437650fc2
|
Soft links: Another fix to tree traveral logic
|
2017-02-03 16:34:50 -06:00 |
|
Gregory Nutt
|
982cfea490
|
Remove some unnecessary (and inappropriate) soft link logic
|
2017-02-03 15:50:41 -06:00 |
|
Gregory Nutt
|
70dcec7df7
|
readlink: Fix bugs from initial testing
|
2017-02-03 14:12:24 -06:00 |
|
Gregory Nutt
|
4417e74977
|
Soft links: Add an (untested) implementation of readlink()
|
2017-02-03 13:57:12 -06:00 |
|
Gregory Nutt
|
60ba5a5261
|
Soft links: Fix logic and remove kludge of last commit. Rename inode_dereference() as inode_linktarget() and make global.
|
2017-02-03 13:22:33 -06:00 |
|
Gregory Nutt
|
7c59e05305
|
FS: Separate inode_search() and inode_free() from fs_inode.c and put in separate files. Flesh out symbolic link logic in stat() and readdir(). There are still some issues with stat().
|
2017-02-03 11:23:57 -06:00 |
|
Gregory Nutt
|
741a221fdb
|
Soft link: make SOFTLINK configuration EXPERIMENTAL. There are still issues.
|
2017-02-03 09:24:43 -06:00 |
|
Gregory Nutt
|
372e399bbc
|
Fix a typo
|
2017-02-03 07:36:25 -06:00 |
|
Gregory Nutt
|
d833144869
|
Soft Links: Fix several issues in initial testing
|
2017-02-02 19:37:58 -06:00 |
|
Gregory Nutt
|
b39d962021
|
Soft links: Update Documentation, rename file, add system calls
|
2017-02-02 17:11:08 -06:00 |
|
Gregory Nutt
|
35d738d85f
|
Soft links: Fix compile problems on first build with soft links enabled.
|
2017-02-02 15:24:39 -06:00 |
|
Gregory Nutt
|
bdc002fadc
|
Finish implementation of soft links.
|
2017-02-02 13:01:21 -06:00 |
|
Gregory Nutt
|
92305e400a
|
Soft links: Initial, incompete implementation
|
2017-02-02 10:39:41 -06:00 |
|
Gregory Nutt
|
8b5af8bf50
|
FS: Fix typo. Latent bug but innocuous in its current usage
|
2017-01-27 08:50:01 -06:00 |
|
Gregory Nutt
|
a6fd776b1d
|
mq_open: Fix wrong type of slash used in quoated character constant.
|
2017-01-10 07:07:17 -06:00 |
|
Gregory Nutt
|
7035d232f8
|
NX server: Correct message queue names. Should not be at /dev, but rather relative to /var/mqueue.
|
2017-01-08 09:14:11 -06:00 |
|
Gregory Nutt
|
feacfeae25
|
procfs: Correct to snprintf-related errors in fs_procfsproc.c. Resolves issue #24
|
2017-01-07 07:13:04 -06:00 |
|
Gregory Nutt
|
57d8a437ef
|
Fix procfs status for SMP case.
|
2016-12-20 11:51:39 -06:00 |
|
Gregory Nutt
|
b52e4e5ecd
|
Move cancellation point definitions to their own header file.
|
2016-12-10 09:08:26 -06:00 |
|
Gregory Nutt
|
bc3ca25cc7
|
Cancellation points: Close up some logic to eliminte some race conditions.
|
2016-12-10 08:36:58 -06:00 |
|
Gregory Nutt
|
a0f567f4a3
|
Update TODO, cosmetic changes, spelling -- US English spells it canceled and canceling vs cancelled and cancelling. No idea why.
|
2016-12-09 18:39:40 -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
|
b0dffdc2ca
|
Fix a number of header files with mismatched 'extern C {' and '}'
|
2016-11-05 07:25:05 -06:00 |
|
Gregory Nutt
|
dbbe46a2bc
|
fs: Disable priority inheritance on all semaphores used for signaling
|
2016-11-03 12:23:31 -06:00 |
|
Gregory Nutt
|
0908a6c6b9
|
Fix calculations using MSEC_PER_TICK. If USEC_PER_TICK is less than 1000, then MSEC_PER_TICK will be zero. It will be inaccurate in any case.
|
2016-09-25 08:17:33 -06:00 |
|
Petteri Aimonen
|
69577eb0b7
|
libnx/nxglib: Fix handling of near-horizontal lines of width 1 in nxgl_splitline(). Missing handling for degenerate condition caused width 1 lines such as (0, 0) - (100, 10) to have gaps in the drawing.
|
2016-09-22 11:09:06 -06:00 |
|
Gregory Nutt
|
93b48ea70f
|
Fix a logic error introduced with last commit
|
2016-09-22 08:50:47 -06:00 |
|
Gregory Nutt
|
8221c2da64
|
Corrects a bad assertion noted by Pierre-noel Bouteville. Also fixes a reference counting problem in an error condition: When the mountpoint inode is found but is not an appropriate mountpoint, the reference count on the inode was not being decremented.
|
2016-09-22 08:22:28 -06:00 |
|
Sagitta Li
|
9fa1024eef
|
vector table should have dimension NR_IRQS, not NR_IRQS+1
|
2016-09-22 07:56:12 -06:00 |
|
Mateusz Szafoni
|
0bc154863e
|
sched/: Define 'group' even if HAVE_GROUPID is not set
|
2016-09-22 10:44:06 +02:00 |
|
Gregory Nutt
|
05aa586aa6
|
sched/: Move fields related to parent/child task relationship out of TCB into group structure.
|
2016-09-06 08:28:31 -06:00 |
|
Gregory Nutt
|
986c568d34
|
Correct file header comments
|
2016-08-07 10:04:02 -06:00 |
|
Gregory Nutt
|
610afe9cd9
|
FAT performance improvement. In large files, seeking to a position fromt he beginning of the file can be very time consuming. ftell does lssek(fd, 0, SET_CURR). In that case, that is wasted time since we are going to seek to the same position. This fix short-circutes fat_seek() in all cases where we attempt to seek to curren position. Suggested by Nate Weibley
|
2016-08-03 13:32:52 -06:00 |
|
Gregory Nutt
|
72a45c82b7
|
Move include/nuttx/regex.h to include/nuttx/lib/regex.h
|
2016-07-21 13:42:18 -06:00 |
|
Gregory Nutt
|
4b4dbc79a2
|
Move driver related prototypes out of include/nuttx/fs/fs.h and into new include/drivers/drivers.h
|
2016-07-20 13:15:37 -06:00 |
|
Gregory Nutt
|
006f4a5818
|
HOSTFS: Fix some errors in first cut at repartitioning
|
2016-07-17 16:31:14 -06:00 |
|
Gregory Nutt
|
2b28a1f3e5
|
SIM HOSTFS: First cut at changes to get it working on Cygwin.
|
2016-07-17 15:59:45 -06:00 |
|
Gregory Nutt
|
69637bf825
|
Costmetic changes to better match coding style
|
2016-07-17 13:39:21 -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 |
|
Ken Pettit
|
b616918e0f
|
SmartFS: Fix a 32-byte memory leak
|
2016-07-12 17:28:06 -06:00 |
|
Gregory Nutt
|
67a9549355
|
TMPFS: Eliminate some warnings
|
2016-07-11 11:19:58 -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
|
82c890db23
|
syslog_dev_flush() needs to check if the inode is a mountpoint before calling the flush() method. Noted by David Sidrane.
|
2016-06-22 05:58:33 -06:00 |
|
Gregory Nutt
|
485aa6b231
|
SIM: Comment out skip scheduler debug output that can hang the simulation.
|
2016-06-21 08:59:01 -06:00 |
|
Gregory Nutt
|
43eb04bb8f
|
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
|
2016-06-20 11:59:15 -06:00 |
|
Gregory Nutt
|
e27491f5be
|
Move fs/drivers/fs_devsyslog.c to drivers/syslog/syslog_device.c
|
2016-06-19 08:46:46 -06:00 |
|
Gregory Nutt
|
d5275e48d0
|
Eliminate some warnings
|
2016-06-13 13:16:03 -06:00 |
|
Gregory Nutt
|
eac916c907
|
Fix some warnings
|
2016-06-13 11:48:20 -06:00 |
|
Gregory Nutt
|
c0142b618d
|
Missing left parenthesis on one of the modified debug statements.
|
2016-06-11 17:31:11 -06:00 |
|
Gregory Nutt
|
1acafa813b
|
Missing open quotation mark on one of the modified debug statements.
|
2016-06-11 17:29:32 -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
|
1cdc746726
|
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
|
2016-06-11 14:14:08 -06:00 |
|
Gregory Nutt
|
fc3540cffe
|
Replace all occurrences of vdbg with vinfo
|
2016-06-11 11:59:51 -06:00 |
|
Gregory Nutt
|
a18dbfda6e
|
Remove drivers/mtd/flash_eraseall.c. It is not used in the OS and is just a dumb wrapper around the MDIOC_BULKERASE IOCTL call.
|
2016-06-02 10:44:13 -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
|
c00e3e55dc
|
Fix several places in DMA logic where a spurious semicolon causes bad conditional logic
|
2016-05-11 17:42:59 -06:00 |
|
Gregory Nutt
|
d5be40be5f
|
Remove CONFIG_FS_READABLE/WRITABLE logic from tools/mkconfig.c. This logic has been replaced with proper logic in the Kconfig files, it is out of date and an ongoing maintenance problem, and it shoulw not be necessary.
|
2016-05-11 10:01:43 -06:00 |
|
Gregory Nutt
|
a2a6c0b9a5
|
Improve some Kconfig help comments
|
2016-05-11 09:54:33 -06:00 |
|
Gregory Nutt
|
60382e7dcf
|
fs/Kconfig: Allow CONFIG_FS_WRITABLE to be manually selected
|
2016-05-11 09:52:32 -06:00 |
|
Sebastien Lorquet
|
3c594b5ba1
|
Allows the use of tmpfs when no block driver is available. This is correctly done to define NONBDFS but below the structure is not where it should be.
|
2016-05-11 06:48:30 -06:00 |
|
Gregory Nutt
|
e523c93391
|
Several Makefiles: Add .PHONY definitions to prevent 'clean up to date' message weirdness.
|
2016-05-10 15:44:06 -06:00 |
|
Gregory Nutt
|
972181697a
|
fs_mount.c edited online with Bitbucket. Fix problem noted by David Sidrane.
|
2016-04-29 07:11:42 +00:00 |
|
Gregory Nutt
|
ecba6ad0db
|
fs_procfsproc.c edited online with Bitbucket. Fix problem introduced in last patch
|
2016-04-28 08:04:38 +00:00 |
|
David Sidrane
|
6a6a089af4
|
Fix a warning
|
2016-04-27 00:19:00 -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
|
3fba968bb0
|
Fix an error when a task with open message queue descriptors is killed via task_delete(). Noted by Anton Gropyanov.
|
2016-04-11 11:14:18 -06:00 |
|
Gregory Nutt
|
ccbf514233
|
Add task state to information recorded when a task is suspended
|
2016-03-21 15:24:15 -06:00 |
|
Gregory Nutt
|
b6f5ffa9a8
|
CDC/AC: too man right parentheses if IFLOW_CONTROL enabled
|
2016-02-24 11:54:02 -06:00 |
|
Gregory Nutt
|
0682671ffe
|
Update Kconfig help comments
|
2016-02-23 06:38:51 -06:00 |
|
Gregory Nutt
|
c620b321b1
|
FAT: Add a new configuration option to decouple the logic that retries the direct transfer from the logic that enables DMA memory allocators.
|
2016-02-22 18:25:58 -06:00 |
|
Gregory Nutt
|
7c44444883
|
FAT: Add an option to force all transfers to be performed indirectly through the FAT file system's internal sector buffers
|
2016-02-22 16:26:04 -06:00 |
|
Gregory Nutt
|
0fb035f76b
|
Standardize some naming in code section comments
|
2016-02-21 18:09:04 -06:00 |
|
Gregory Nutt
|
050b3ee06a
|
profcs task status will now show CPU is SMP is enabled
|
2016-02-19 15:34:36 -06:00 |
|