Gregory Nutt
4adda9d428
Fix numerous typos in configuration variable names. Tracked down by Alan Carvalho de Assis
2015-05-23 17:08:35 -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
3d6161a7aa
Update some comments
2015-04-13 07:39:56 -06:00
Gregory Nutt
1a3c6f7ec9
FAT: Fix misthink when CONFIG_ENDIAN_BIG=y. From Lwazi Dube
2015-04-12 14:24:05 -06:00
Gregory Nutt
ddb8073ad5
Update TODO list and some comments
2015-03-16 08:49:39 -06:00
Gregory Nutt
f60f22258a
Trivial update to FAT, comments, README
2015-03-15 15:06:17 -06:00
Gregory Nutt
b637a0cc3e
Costmetic changes name while debugging a filename issue
2015-03-15 12:22:12 -06:00
Gregory Nutt
7adc1b96c9
FAT cosmetic changes
2015-03-15 08:41:42 -06:00
Gregory Nutt
9f7f258728
Add support for umount2(target, MNT_FORCE) in the FAT file system.
2015-03-15 07:45:19 -06:00
Gregory Nutt
43936a6a69
Remove an UNSED that is no longer necessary
2015-03-14 18:41:26 -06:00
Gregory Nutt
e3bffdf92d
Fix a ommission in the last changes to the unbind() method prototype
2015-03-14 18:14:54 -06:00
Gregory Nutt
2be14d09a2
Fix a bug in the FAT unbind() logic. There were problems with the way certain internal list handling was implemented. The end result is that newly opened or cloned file structures were never being added to the list of open files. So when the unmount() happens, it always looked like there were not open files and a crash could ensue.
2015-03-14 17:33:48 -06:00
Gregory Nutt
8055ba4d03
Pass the umount2() flags to every unbind() implementation. That is where the the decision to umount or not will be made.
2015-03-14 17:22:02 -06:00
Gregory Nutt
f932b26db1
Add umount2(). umount() is now a macro that just calls umount2() with flags = 0.
2015-03-14 16:48:45 -06:00
Gregory Nutt
6792cb3e34
procfs: fs_procfsproc: Fix potential NULL pointer dereference of 'node'. From Juha Niskanen
2015-03-12 07:42:39 -06:00
Gregory Nutt
d36d7a959d
FAT: fat_unbind() was accessing 'fs->fs_sem' after freeing the 'fs' struct. From Juha Niskanen.
2015-03-11 13:11:50 -06:00
Gregory Nutt
404fef74d9
Fix two uses of DEBUG_COLORATION vs STACK_COLORATION (from David Sidrane). Also some corrected comments
2015-03-05 06:41:14 -06:00
Gregory Nutt
bcae42b653
Costmetic updates comments and style; Add NFS dependency on IPv4
2015-02-26 06:04:23 -06:00
Gregory Nutt
654788a8e0
Fix NFS compile problem with CONFIG_NFS_STATISTICS=y
2015-02-25 08:58:30 -06:00
Gregory Nutt
87794e494a
Add some Kconfig dependencies to reduce possibility of bad configurations. Suggested by OrbitalFox
2015-02-25 08:43:25 -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
9ab0d4c56f
fs/aio: Corrrect some backward tests in aio_read() and aio_write(): Socket descriptors have higher numbers than file descriptors. In aio_contain(), Copy u.ptr (void *) when initializing aioc and not the case specific u.aioc_filep. From Michal Ulianko.
2015-02-24 07:29:47 -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
60bdc27d25
Fix a couple of typos in recent commit. Found by David Sidrane
2015-02-17 19:21:07 -06:00
Gregory Nutt
b3dd424e10
mkfatfs: use DMA memory for mkfatfs when needed
...
this makes mkfatfs use fat_dma_alloc() when CONFIG_FAT_DMAMEMORY is
set. This is needed to ensure mkfatfs operates with boards that use
DMA for microSD
From Andrew Tridgell via the PX4/NuttX repository
2015-02-17 16:57:15 -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
e7470e0834
Update dates in all skeleton files
2015-02-13 06:13:34 -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
7e46e94546
Remove CONFIG_DEBUG_STACK. Adding CONFIG_STACK_COLORATION makes this configuration option pointless
2015-01-24 06:49:51 -06:00
Gregory Nutt
8f8259a0d6
Networking: UDP and TCP MSS depends on the IP header size (as well as the link layer header size) and cannot be represented with a single value.
2015-01-16 15:03:10 -06:00
Gregory Nutt
e9cec9057b
There were some changes which broke my NuttX-Build. With these two patches it builds again. From Manuel Stühn
2015-01-01 15:56:25 -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
68038211c1
FS: Add a check for a NULL pathname.
2014-12-13 13:05:54 -06:00
Gregory Nutt
cdc8fc52d1
SmartFS: Implements wear-leveling in the SmartFS. From Ken Pettit
2014-12-09 14:11:15 -06:00
Gregory Nutt
cb051a522d
Add procfs write support. From Ken Petit
2014-12-09 13:24:38 -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
ff87e2e02a
In message queue created return ENOSPC error if size exceeds the configured size of pre-allocatd messages; Use ENOSPC vs ENOMEM per OpenGroup.org. From Pierre-Noel Bouteville
2014-12-06 07:18:48 -06:00
Gregory Nutt
76906110b0
Correct spelling: MOUNTPOINT not MOUNTPOUNT. Numerous places. Some are problems. From Woohan Lee
2014-12-01 06:41:30 -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
1aa528a572
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
2014-11-25 14:10:35 -06:00
Gregory Nutt
9ac09db800
More fixes to problems noted by cppcheck. Some are kind of risky; some are real bugs.
2014-11-25 13:46:14 -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