HelenOS
HelenOS-doc
HelenOS-historic
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
HelenOS
(root)
/
trunk
/
uspace
/
lib
/
libc
/
generic
/
vfs/
@ 3726
– Rev 4680
Rev
Hide changed files
|
Directory listing
|
RSS feed
Filtering Options
From rev
To rev
Max revs
Search history for
Show All
Clear current filter
Rev
Age
Author
Path
Log message
Diff
Changes
4680
5574 d 2 h
svoboda
/trunk/uspace/
Fix some warnings.
/trunk/uspace/app/tester/thread/thread1.c
/trunk/uspace/app/tetris/shapes.c
/trunk/uspace/app/tetris/tetris.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/devmap/devmap.c
/trunk/uspace/srv/fs/fat/fat_ops.c
4587
5608 d 23 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.
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.h
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/sys/stat.h
/trunk/uspace/srv/fs/devfs/devfs_ops.c
/trunk/uspace/srv/vfs/vfs_ops.c
4585
5609 d 2 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.
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/ipc/vfs.h
/trunk/uspace/lib/libc/include/sys/stat.h
/trunk/uspace/srv/fs/devfs/devfs.c
/trunk/uspace/srv/fs/devfs/devfs_ops.c
/trunk/uspace/srv/fs/devfs/devfs_ops.h
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_ops.c
4584
5609 d 7 h
jermar
/trunk/uspace/
Separate the VFS input and output protocols.
/trunk/uspace/app/trace/trace.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/ipc/console.h
/trunk/uspace/lib/libc/include/ipc/vfs.h
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/fs/devfs/devfs.c
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.c
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs_lookup.c
/trunk/uspace/srv/vfs/vfs_node.c
/trunk/uspace/srv/vfs/vfs_ops.c
4508
5629 d 9 h
decky
/trunk/uspace/lib/libc/
keep a list of open files to support proper cleanup
/trunk/uspace/lib/libc/generic/io/io.c
/trunk/uspace/lib/libc/generic/libc.c
/trunk/uspace/lib/libc/generic/task.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/stdio.h
/trunk/uspace/lib/libc/include/vfs/vfs.h
4492
5633 d 11 h
jermar
/trunk/uspace/
inode_t -> fdi_node_t
/trunk/uspace/lib/libc/generic/io/io.c
/trunk/uspace/lib/libc/generic/loader.c
/trunk/uspace/lib/libc/generic/task.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/loader/loader.h
/trunk/uspace/lib/libc/include/loader/pcb.h
/trunk/uspace/lib/libc/include/vfs/vfs.h
/trunk/uspace/srv/loader/main.c
4491
5633 d 22 h
decky
/trunk/uspace/
rename libc's fs_node_t to inode_t to avoid type conflict with VFS
/trunk/uspace/lib/libc/generic/io/io.c
/trunk/uspace/lib/libc/generic/loader.c
/trunk/uspace/lib/libc/generic/task.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/loader/loader.h
/trunk/uspace/lib/libc/include/loader/pcb.h
/trunk/uspace/lib/libc/include/vfs/vfs.h
/trunk/uspace/srv/loader/main.c
4482
5634 d 2 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
/trunk/uspace/lib/libc/generic/io/console.c
/trunk/uspace/lib/libc/generic/io/klog.c
/trunk/uspace/lib/libc/include/io/color.h
/trunk/uspace/lib/libc/include/io/console.h
/trunk/uspace/lib/libc/include/io/keycode.h
/trunk/uspace/lib/libc/include/io/klog.h
/trunk/uspace/lib/libc/include/io/style.h
/trunk/uspace/lib/libc/generic/console.c
/trunk/uspace/lib/libc/generic/io/fprintf.c
/trunk/uspace/lib/libc/generic/io/sprintf.c
/trunk/uspace/lib/libc/generic/io/stdio.c
/trunk/uspace/lib/libc/generic/io/stream.c
/trunk/uspace/lib/libc/generic/io/vsprintf.c
/trunk/uspace/lib/libc/generic/kbd.c
/trunk/uspace/lib/libc/include/console
/trunk/uspace/lib/libc/include/console.h
/trunk/uspace/lib/libc/include/io/io.h
/trunk/uspace/lib/libc/include/io/stream.h
/trunk/uspace/lib/libc/include/kbd
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/lib/libc/generic/io/asprintf.c
/trunk/uspace/lib/libc/generic/io/io.c
/trunk/uspace/lib/libc/generic/io/printf.c
/trunk/uspace/lib/libc/generic/io/printf_core.c
/trunk/uspace/lib/libc/generic/io/snprintf.c
/trunk/uspace/lib/libc/generic/io/vprintf.c
/trunk/uspace/lib/libc/generic/io/vsnprintf.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/dirent.h
/trunk/uspace/lib/libc/include/fcntl.h
/trunk/uspace/lib/libc/include/fibril.h
/trunk/uspace/lib/libc/include/io/printf_core.h
/trunk/uspace/lib/libc/include/stdio.h
/trunk/uspace/lib/libc/include/unistd.h
/trunk/uspace/lib/libc/include/vfs/vfs.h
4401
5650 d 1 h
svoboda
/trunk/uspace/
C binding for devmap. Gets rid of duplicate code.
/trunk/uspace/lib/libc/generic/devmap.c
/trunk/uspace/lib/libc/include/devmap.h
/trunk/uspace/app/tester/devmap/devmap1.c
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/ipc/devmap.h
/trunk/uspace/lib/libc/include/vfs/vfs.h
/trunk/uspace/srv/rd/rd.c
/trunk/uspace/srv/vfs/vfs.h
4305
5680 d 6 h
jermar
/trunk/uspace/
Support mount options.
Let tmpfs decide whether to start empty or restored a TMPFS dump based on the mount option.
/trunk/uspace/app/init/init.c
/trunk/uspace/app/tester/vfs/vfs1.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/vfs/vfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_ops.c
4302
5680 d 8 h
jermar
/trunk/uspace/
Make IPC_M_PING part of the VFS_MOUNT protocol again.
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs_ops.c
4280
5684 d 2 h
svoboda
/trunk/uspace/lib/libc/
strcat() -> str_append().
/trunk/uspace/lib/libc/generic/string.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/string.h
4268
5688 d 13 h
svoboda
/trunk/uspace/
str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy().
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c
/trunk/uspace/app/tetris/scores.c
/trunk/uspace/app/tetris/tetris.c
/trunk/uspace/lib/libc/generic/loader.c
/trunk/uspace/lib/libc/generic/string.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/string.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
4266
5688 d 23 h
svoboda
/trunk/uspace/
strdup() -> str_dup()
/trunk/uspace/app/bdsh/cmds/modules/ls/ls.c
/trunk/uspace/app/bdsh/cmds/modules/mkdir/mkdir.c
/trunk/uspace/app/bdsh/cmds/modules/touch/touch.c
/trunk/uspace/app/bdsh/exec.c
/trunk/uspace/app/bdsh/input.c
/trunk/uspace/app/tetris/scores.c
/trunk/uspace/app/tetris/tetris.c
/trunk/uspace/lib/libc/generic/string.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/string.h
4257
5690 d 2 h
svoboda
/trunk/uspace/
More replacements.
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/srv/devmap/devmap.c
4256
5690 d 2 h
svoboda
/trunk/uspace/lib/libc/generic/
Replace some uses of old string functions in C library.
/trunk/uspace/lib/libc/generic/loader.c
/trunk/uspace/lib/libc/generic/sysinfo.c
/trunk/uspace/lib/libc/generic/task.c
/trunk/uspace/lib/libc/generic/thread.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
4002
5727 d 4 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
/trunk/uspace/lib/libc/generic/console.c
/trunk/uspace/lib/libc/generic/io/stream.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/generic/kbd.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/async.h
/trunk/uspace/lib/libc/include/io/stream.h
/trunk/uspace/lib/libc/include/ipc/ipc.h
/trunk/uspace/lib/libc/include/ipc/services.h
/trunk/uspace/lib/libc/include/vfs/vfs.h
3747
5793 d 2 h
svoboda
/trunk/uspace/
Put console IPC method numbers under libc.
/trunk/uspace/lib/libc/include/ipc/console.h
/trunk/uspace/app/tester/console/console1.c
/trunk/uspace/app/tetris/input.c
/trunk/uspace/app/tetris/screen.c
/trunk/uspace/app/trace/trace.c
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/lib/libc/generic/io/stream.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/console/console.h
3488
5871 d 2 h
svoboda
/trunk/uspace/
Fix assorted warnings.
/trunk/uspace/app/tester/ipc/send_sync.c
/trunk/uspace/app/tester/tester.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/generic/smc.c
/trunk/uspace/lib/libc/generic/time.c
/trunk/uspace/lib/libc/generic/tls.c
/trunk/uspace/lib/libc/generic/vfs/canonify.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/ipc/ipc.h
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs_ops.c
3464
5890 d 5 h
jermar
/trunk/uspace/lib/libc/generic/vfs/
chdir() must always return a value.
/trunk/uspace/lib/libc/generic/vfs/vfs.c
3331
5925 d 8 h
jermar
/trunk/uspace/lib/libc/generic/vfs/
Fix canonify() to set correct length even for paths that have no components.
/trunk/uspace/lib/libc/generic/vfs/canonify.c
3328
5925 d 10 h
jermar
/trunk/uspace/lib/libc/generic/vfs/
Fix off-by-one bug in absolutize().
/trunk/uspace/lib/libc/generic/vfs/vfs.c
3313
5927 d 2 h
jermar
/trunk/uspace/lib/libc/generic/vfs/
When read() fails, return the actual error.
/trunk/uspace/lib/libc/generic/vfs/vfs.c
3306
5929 d 10 h
jermar
/trunk/uspace/lib/libc/
Fix handling of relative paths in task_spawn().
/trunk/uspace/lib/libc/generic/task.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/vfs/vfs.h
3292
5930 d 5 h
jermar
/trunk/uspace/lib/libc/generic/vfs/
Fix absolutize() wrt. to relative paths.
/trunk/uspace/lib/libc/generic/vfs/vfs.c
3255
5932 d 11 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.
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs_ops.c
3246
5935 d 3 h
jermar
/trunk/
cstyle
/trunk/kernel/generic/src/lib/rd.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
3214
5965 d 9 h
svoboda
/trunk/uspace/lib/libc/generic/vfs/
Fix missing rc check in libc _open()
/trunk/uspace/lib/libc/generic/vfs/vfs.c
3077
5999 d 6 h
decky
/trunk/uspace/lib/libc/generic/vfs/
mount: resolve device using devmap
/trunk/uspace/lib/libc/generic/vfs/vfs.c
2771
6083 d 0 h
jermar
/trunk/uspace/lib/libc/generic/vfs/
Simplify the libc procedure needed to convert a user-supplied path to an
absolute canonical path.
/trunk/uspace/lib/libc/generic/vfs/vfs.c
2763
6085 d 4 h
jermar
/trunk/uspace/
Support for rename().
/trunk/uspace/app/tester/vfs/vfs1.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/stdio.h
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs.h
/trunk/uspace/srv/vfs/vfs_lookup.c
/trunk/uspace/srv/vfs/vfs_ops.c
2761
6086 d 9 h
jermar
/trunk/uspace/lib/libc/generic/vfs/
mkdir() and _unlink() should return the real return code.
/trunk/uspace/lib/libc/generic/vfs/vfs.c
2755
6091 d 21 h
jermar
/trunk/uspace/
Add support for relative paths: chdir() and getcwd().
/trunk/uspace/lib/libc/include/vfs/vfs.h
/trunk/uspace/lib/libc/include/vfs.h
/trunk/uspace/app/tester/vfs/vfs1.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/errno.h
/trunk/uspace/lib/libc/include/unistd.h
/trunk/uspace/lib/libc/include/vfs/canonify.h
2753
6092 d 0 h
jermar
/trunk/uspace/
Move canonify() to libc so that it can be used also on the libc side.
/trunk/uspace/lib/libc/generic/vfs
/trunk/uspace/lib/libc/generic/vfs/canonify.c
/trunk/uspace/lib/libc/generic/vfs/vfs.c
/trunk/uspace/lib/libc/include/vfs
/trunk/uspace/lib/libc/include/vfs/canonify.h
/trunk/uspace/lib/libc/generic/vfs.c
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/srv/vfs/vfs_lookup.c