Gregory Nutt
|
e73e82a923
|
Move prototypes of mkfifo2() from sys/stat.h and pipe2() from unistd.h. They are non-standard and should not be in such a public place. They are not in include/nuttx/fs/fs.h (which isn't a great place either).
|
2016-07-20 11:57:18 -06:00 |
|
Gregory Nutt
|
d36da2b560
|
Fix bad dev[u]random_register() function return value.
|
2016-07-18 12:25:05 -06:00 |
|
Gregory Nutt
|
1660329d06
|
Rename up_rnginitialize to devrandom_register
|
2016-07-18 10:55:37 -06:00 |
|
David Alessio
|
6cefbc0c3f
|
This change provides an option to add /dev/urandom to all architectures. The pseudo-random algorithm I choose strikes an arguably-good balance between being "random" and small/fast enough for 8/16 bit MCUs. It’s the well-documented xorshift128 algorithm. It has an internal state of 128 bits that can be [re-]seeded with a write.
|
2016-07-17 06:42:26 -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
|
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
|
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
|
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
|
ed35eb0f8d
|
drivers/loop: Add a loop character device that can be used to setup and teardown loop devices
|
2015-11-25 17:13:56 -06:00 |
|
Gregory Nutt
|
cb9e27c3b0
|
Standardize naming used for public data and function groupings
|
2015-10-02 16:30: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
|
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
|
63ab39b274
|
VFS: The inode unlink method should not be support if operations on the root pseudo-filesystem are disabled.
|
2015-02-18 09:34:58 -06:00 |
|
Gregory Nutt
|
410fcaa0a1
|
Added a forward reference to struct inode to avoid warning about mismatching types in assignemnt
|
2015-02-10 13:41:49 -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
|
1bfec1a702
|
Fixes warning about block_operations not being defined. From David Sidrane.
|
2014-12-30 06:19:30 -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
|
e611859aed
|
Fix typo in confiditional compilation. From Alan Carvalho de Assis
|
2014-11-23 16:51:02 -06:00 |
|
Gregory Nutt
|
37cf4135c4
|
fs_initialize() is no longer weak
|
2014-10-06 11:45:35 -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
|
73afa66228
|
Cosmetic update to comments/README
|
2014-10-01 15:02:49 -06:00 |
|
Gregory Nutt
|
9e975a217d
|
Separate mqueue allocation logic from mq_open() and put it in sched/mqueue/mq_msgqalloc.c
|
2014-09-29 14:09:31 -06:00 |
|
Gregory Nutt
|
30694f064c
|
Add VFS-based sem_open() implementation
|
2014-09-28 14:35:17 -06:00 |
|
Gregory Nutt
|
aed3fe045e
|
Add a simple named semaphore test to the OS test
|
2014-09-28 13:02:36 -06:00 |
|
Gregory Nutt
|
39ff9d626e
|
Move inode and VFS utils from fs/. to fs/inode/.
|
2014-09-28 10:53:40 -06:00 |
|
Gregory Nutt
|
a41c1de32c
|
Add basic data structures that will allow us to move named semaphore support out of the OS and into the VFS (not complete).
|
2014-09-28 10:15:33 -06:00 |
|
Gregory Nutt
|
bb3dcccd98
|
Beginning of a crypto/ subsystem from Max Neklyudov
|
2014-07-03 07:42:44 -06:00 |
|
Gregory Nutt
|
c55ac71603
|
Nodes in the pseudo-filesystem can now be renamed or moved within the pseduo-filesystem
|
2014-02-19 13:14:39 -06:00 |
|
Gregory Nutt
|
417f67c132
|
Clean up some naming: fd vs. fildes vs. filedes and filep vs filp
|
2013-09-28 16:50:07 -06:00 |
|
Gregory Nutt
|
1f88a2907c
|
The last checkin replaced some impossible error handling with DEBUGASSERT. Except that one of the case is actually possible in one cornercase and had to be restored
|
2013-09-28 15:37:16 -06:00 |
|
Gregory Nutt
|
41f0c86cad
|
Optimized sendfile() from Max Holtzberg
|
2013-09-28 14:47:49 -06:00 |
|
patacongo
|
b48009644f
|
Rename _TCB to struct tcb_s
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5610 42af7a65-404d-4744-a932-0658087f49c3
|
2013-02-04 18:46:28 +00:00 |
|
patacongo
|
a71843ef91
|
Move stream data from TCB to task group structure.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5569 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-26 22:25:21 +00:00 |
|
patacongo
|
ff293217de
|
Move file data from TCB to task group
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5567 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-26 20:17:29 +00:00 |
|
patacongo
|
5a2eda210b
|
Finish dup logic for open files; fix bug in sigtimedwait(), would return wrong signo value if the signal was already pending
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5517 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-14 19:22:32 +00:00 |
|
patacongo
|
555e3fe1f5
|
Add support for dup2'ing files. Infrastructure and ROMFS done. Still need FAT, BINFS, NXFFS, and NFS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5516 42af7a65-404d-4744-a932-0658087f49c3
|
2013-01-14 15:42:03 +00:00 |
|
patacongo
|
5306523bce
|
Patches from Petteri Aimonen + stdbool and rand() changes for Freddie Chopin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5415 42af7a65-404d-4744-a932-0658087f49c3
|
2012-12-07 16:00:56 +00:00 |
|
patacongo
|
55265bfb4d
|
Add support for ferror(), feof(), and clearerr()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5290 42af7a65-404d-4744-a932-0658087f49c3
|
2012-11-01 15:00:26 +00:00 |
|
patacongo
|
a51cd50e88
|
I learned how to spell PSEUDO
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5010 42af7a65-404d-4744-a932-0658087f49c3
|
2012-08-05 17:44:11 +00:00 |
|
patacongo
|
1b46dae578
|
Extend the NSH mount command so that it will enumerate mountpoints if no arguments are provided
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5006 42af7a65-404d-4744-a932-0658087f49c3
|
2012-08-03 23:47:32 +00:00 |
|
patacongo
|
1e1e828a3d
|
Improve capability to traverse inodes in the NuttX psuedo-filesystem; now returns statfs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5005 42af7a65-404d-4744-a932-0658087f49c3
|
2012-08-03 22:04:14 +00:00 |
|
patacongo
|
d4c88180c3
|
Add capability to traverse inodes in the NuttX psuedo-filesystem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5004 42af7a65-404d-4744-a932-0658087f49c3
|
2012-08-03 19:11:11 +00:00 |
|
patacongo
|
44d31f7a80
|
Disable line buffering if the file is opened in binary mode; Also fix a couple of fopen/fdopen bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4630 42af7a65-404d-4744-a932-0658087f49c3
|
2012-04-18 15:57:45 +00:00 |
|
patacongo
|
2fe4ad52f8
|
Move file-system header files to include/nuttx/fs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4499 42af7a65-404d-4744-a932-0658087f49c3
|
2012-03-21 18:01:07 +00:00 |
|