Rev |
Age |
Author |
Path |
Log message |
Diff |
4680 |
5624 d 10 h |
svoboda |
/trunk/uspace/ |
Fix some warnings. |
|
4587 |
5659 d 7 h |
jermar |
/trunk/uspace/ |
Implement stat() and VFS_IN_STAT.
Modify bdsh() to use stat() during ls.
In devfs, allow lookups that don't
specify one of L_FILE and L_DIRECTORY. |
|
4585 |
5659 d 9 h |
jermar |
/trunk/uspace/ |
Introduce VFS_IN_FSTAT and VFS_OUT_STAT.
Provide libc fstat() and devfs_stat().
This functionality replaces VFS_IN_NODE
and VFS_IN/OUT_DEVICE. FAT and TMPFS
still do not implement this and VFS_IN_STAT
and stat() need implementation as well. |
|
4584 |
5659 d 15 h |
jermar |
/trunk/uspace/ |
Separate the VFS input and output protocols. |
|
4508 |
5679 d 16 h |
decky |
/trunk/uspace/lib/libc/ |
keep a list of open files to support proper cleanup |
|
4492 |
5683 d 18 h |
jermar |
/trunk/uspace/ |
inode_t -> fdi_node_t |
|
4491 |
5684 d 6 h |
decky |
/trunk/uspace/ |
rename libc's fs_node_t to inode_t to avoid type conflict with VFS |
|
4482 |
5684 d 9 h |
decky |
/trunk/uspace/lib/libc/ |
I/O subsystem overhaul:
- add more POSIX-like file and stream functions (with real functionality of stdin, stdout, stderr)
- cleanup console access methods (now generic to any console-like device)
- remove unsafe stream functions
- add special open_node(), fd_node(), fd_phone() (file) and fopen_node(), fnode(), fphone() (stream) functions for HelenOS-specific I/O operations |
|
4401 |
5700 d 9 h |
svoboda |
/trunk/uspace/ |
C binding for devmap. Gets rid of duplicate code. |
|
4305 |
5730 d 13 h |
jermar |
/trunk/uspace/ |
Support mount options.
Let tmpfs decide whether to start empty or restored a TMPFS dump based on the mount option. |
|
4302 |
5730 d 15 h |
jermar |
/trunk/uspace/ |
Make IPC_M_PING part of the VFS_MOUNT protocol again. |
|
4280 |
5734 d 9 h |
svoboda |
/trunk/uspace/lib/libc/ |
strcat() -> str_append(). |
|
4268 |
5738 d 21 h |
svoboda |
/trunk/uspace/ |
str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy(). |
|
4266 |
5739 d 6 h |
svoboda |
/trunk/uspace/ |
strdup() -> str_dup() |
|
4257 |
5740 d 10 h |
svoboda |
/trunk/uspace/ |
More replacements. |
|
4256 |
5740 d 10 h |
svoboda |
/trunk/uspace/lib/libc/generic/ |
Replace some uses of old string functions in C library. |
|
4002 |
5777 d 11 h |
decky |
/trunk/uspace/lib/libc/ |
add IPC_FLAG_BLOCKING for generic IPC blocking operations
add ipc_connect_me_to_blocking() for blocking connections
mount() has new flags argument
get_cons_phone() -> get_console_phone()
add common console_wait()
simplify vfs_connect() using blocking connection
add blocking support for device_get_handle()
swap VFS_MOUNT arguments, and blocking mount support |
|
3747 |
5843 d 9 h |
svoboda |
/trunk/uspace/ |
Put console IPC method numbers under libc. |
|
3488 |
5921 d 9 h |
svoboda |
/trunk/uspace/ |
Fix assorted warnings. |
|
3464 |
5940 d 13 h |
jermar |
/trunk/uspace/lib/libc/generic/vfs/ |
chdir() must always return a value. |
|
3328 |
5975 d 18 h |
jermar |
/trunk/uspace/lib/libc/generic/vfs/ |
Fix off-by-one bug in absolutize(). |
|
3313 |
5977 d 9 h |
jermar |
/trunk/uspace/lib/libc/generic/vfs/ |
When read() fails, return the actual error. |
|
3306 |
5979 d 17 h |
jermar |
/trunk/uspace/lib/libc/ |
Fix handling of relative paths in task_spawn(). |
|
3292 |
5980 d 12 h |
jermar |
/trunk/uspace/lib/libc/generic/vfs/ |
Fix absolutize() wrt. to relative paths. |
|
3255 |
5982 d 19 h |
jermar |
/trunk/uspace/ |
Fix the VFS protocol so that the client can determine that VFS_MOUNT failed due
to a request to mount an unregistered file system. |
|
3246 |
5985 d 10 h |
jermar |
/trunk/ |
cstyle |
|
3214 |
6015 d 16 h |
svoboda |
/trunk/uspace/lib/libc/generic/vfs/ |
Fix missing rc check in libc _open() |
|
3077 |
6049 d 13 h |
decky |
/trunk/uspace/lib/libc/generic/vfs/ |
mount: resolve device using devmap |
|
2771 |
6133 d 7 h |
jermar |
/trunk/uspace/lib/libc/generic/vfs/ |
Simplify the libc procedure needed to convert a user-supplied path to an
absolute canonical path. |
|
2763 |
6135 d 11 h |
jermar |
/trunk/uspace/ |
Support for rename(). |
|
2761 |
6136 d 17 h |
jermar |
/trunk/uspace/lib/libc/generic/vfs/ |
mkdir() and _unlink() should return the real return code. |
|
2755 |
6142 d 4 h |
jermar |
/trunk/uspace/ |
Add support for relative paths: chdir() and getcwd(). |
|
2753 |
6142 d 7 h |
jermar |
/trunk/uspace/ |
Move canonify() to libc so that it can be used also on the libc side. |
|
2741 |
6152 d 7 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
Prevent read() and write() from returning an uninitialized error return value. |
|
2735 |
6156 d 12 h |
jermar |
/trunk/uspace/ |
Support for rmdir(), unlink() and the respective VFS operations. |
|
2734 |
6156 d 14 h |
jermar |
/trunk/uspace/ |
Support for close(). |
|
2710 |
6177 d 10 h |
jermar |
/trunk/uspace/ |
VFS_WRITE and tmpfs_write fixes. |
|
2707 |
6177 d 13 h |
jermar |
/trunk/uspace/ |
Support for mkdir(). |
|
2700 |
6185 d 15 h |
jermar |
/trunk/uspace/ |
Introduce the notion of lflag (i.e. lookup flags) to support the ability to
limit the scope of VFS node types that can be opened by open() and opendir(). In
the future, lflag will also specify actions for VFS_LOOKUP handlers that will be
carried out in situations such as the VFS node is not found (e.g. implementation
of mkdir() and open() with O_CREAT in oflag). |
|
2699 |
6186 d 5 h |
jermar |
/trunk/uspace/ |
Finish implementation of readdir(). Functions from this family are implemented
via using file descriptors for directories. For example, readdir() is
implemented as read() from an open directory. Of course, FS implementations
must understand that they are asked to read a directory and behave accordingly. |
|