Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
4618 5600 d 11 h svoboda /trunk/uspace/ Pass task ID to NS from loader. This prevents ID spoofing by user apps.  
/trunk/uspace/lib/libc/generic/task.c
/trunk/uspace/lib/libc/include/ipc/ns.h
/trunk/uspace/srv/loader/main.c
/trunk/uspace/srv/ns/ns.c
/trunk/uspace/srv/ns/task.c
/trunk/uspace/srv/ns/task.h
4617 5600 d 14 h svoboda /trunk/uspace/ Allow task to return value (will be improved).  
/trunk/uspace/app/bdsh/exec.c
/trunk/uspace/app/getvc/getvc.c
/trunk/uspace/lib/libc/generic/libc.c
/trunk/uspace/lib/libc/generic/task.c
/trunk/uspace/lib/libc/include/ipc/ns.h
/trunk/uspace/lib/libc/include/task.h
/trunk/uspace/srv/ns/ns.c
/trunk/uspace/srv/ns/task.c
/trunk/uspace/srv/ns/task.h
4611 5602 d 17 h jermar /trunk/uspace/lib/libblock/ Make the libblock cache behave more like a cache and fix some bugs
present in the previously unused code paths.
 
/trunk/uspace/lib/libblock/libblock.c
4609 5604 d 15 h decky /trunk/uspace/lib/libc/include/ipc/ remove obsolete VFS methods  
/trunk/uspace/lib/libc/include/ipc/vfs.h
4608 5604 d 15 h jermar /trunk/uspace/ Statically allocated stat structure will do.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/srv/fs/devfs/devfs_ops.c
4607 5604 d 15 h jermar /trunk/uspace/lib/libc/generic/ Fix typos.  
/trunk/uspace/lib/libc/generic/malloc.c
4606 5604 d 15 h decky /trunk/uspace/lib/libc/generic/ small allocator optimization
add some comments
 
/trunk/uspace/lib/libc/generic/malloc.c
4601 5606 d 14 h decky /trunk/uspace/lib/libc/ small fixes and coding style changes related to the new memory allocator  
/trunk/uspace/lib/libc/generic/errno.c
/trunk/uspace/lib/libc/include/adt/gcdlcm.h
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/lib/libc/arch/ia64/Makefile.inc
/trunk/uspace/lib/libc/generic/as.c
/trunk/uspace/lib/libc/generic/async.c
/trunk/uspace/lib/libc/generic/getopt.c
/trunk/uspace/lib/libc/generic/io/io.c
/trunk/uspace/lib/libc/generic/libc.c
/trunk/uspace/lib/libc/generic/mman.c
/trunk/uspace/lib/libc/include/async.h
/trunk/uspace/lib/libc/include/bitops.h
/trunk/uspace/lib/libc/include/errno.h
/trunk/uspace/lib/libc/include/getopt.h
/trunk/uspace/lib/libc/include/macros.h
/trunk/uspace/lib/libc/include/mem.h
/trunk/uspace/lib/libc/include/stdio.h
/trunk/uspace/lib/libc/include/stdlib.h
/trunk/uspace/lib/libc/include/unistd.h
/trunk/uspace/lib/libc/include/vfs/vfs.h
4600 5606 d 14 h decky /trunk/uspace/lib/libc/generic/ implement simple first-fit memory allocator
(modified from original code by Petr Tuma, used under permission)
 
/trunk/uspace/lib/libc/generic/malloc.c
4599 5606 d 14 h decky /trunk/uspace/lib/libc/include/ define just the basic memory allocator interface  
/trunk/uspace/lib/libc/include/malloc.h
4598 5606 d 14 h decky /trunk/uspace/lib/libc/ remove dlmalloc  
/trunk/uspace/lib/libc/malloc
4591 5607 d 14 h decky /trunk/uspace/ add support for creating null devices on demand  
/trunk/uspace/lib/libc/generic/devmap.c
/trunk/uspace/lib/libc/include/devmap.h
/trunk/uspace/lib/libc/include/ipc/devmap.h
/trunk/uspace/srv/devmap/devmap.c
4590 5607 d 21 h decky /trunk/uspace/lib/libc/generic/io/ set buffering according to what file descriptor we are opening
(this still does not cover the full complexity of stdio buffering)
 
/trunk/uspace/lib/libc/generic/io/io.c
4587 5608 d 8 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
4586 5608 d 11 h jermar /trunk/uspace/ Add libfs_stat() and let FAT and TMPFS use it.  
/trunk/uspace/lib/libfs/libfs.c
/trunk/uspace/lib/libfs/libfs.h
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
4585 5608 d 11 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 5608 d 16 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
4583 5608 d 18 h svoboda /trunk/uspace/ Fix chaos in block library.  
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_dump.c
4572 5610 d 8 h svoboda /trunk/uspace/ Allow libblock to operate in write-through mode. With 'wtcache' mount option, FAT sets write-through mode on the cache.  
/trunk/uspace/app/bdsh/cmds/modules/bdd/bdd.c
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/srv/fs/fat/fat_ops.c
4556 5618 d 22 h decky /trunk/ define endianess externally to be able to exactly specify whether we are using UTF-32LE or UTF-32BE
quit messing with BOM in UTF-32
 
/trunk/kernel/arch/amd64/include/byteorder.h
/trunk/kernel/arch/arm32/include/byteorder.h
/trunk/kernel/arch/ia32/include/byteorder.h
/trunk/kernel/arch/ia64/include/byteorder.h
/trunk/kernel/arch/mips32/include/byteorder.h
/trunk/kernel/arch/ppc32/include/byteorder.h
/trunk/kernel/arch/sparc64/include/byteorder.h
/trunk/uspace/lib/libc/arch/amd64/include/byteorder.h
/trunk/uspace/lib/libc/arch/arm32/include/byteorder.h
/trunk/uspace/lib/libc/arch/ia32/include/byteorder.h
/trunk/uspace/lib/libc/arch/ia64/include/byteorder.h
/trunk/uspace/lib/libc/arch/mips32/include/byteorder.h
/trunk/uspace/lib/libc/arch/mips32eb/include/byteorder.h
/trunk/uspace/lib/libc/arch/ppc32/include/byteorder.h
/trunk/uspace/lib/libc/arch/sparc64/include/byteorder.h
/trunk/kernel/Makefile
/trunk/kernel/arch/amd64/Makefile.inc
/trunk/kernel/arch/arm32/Makefile.inc
/trunk/kernel/arch/ia32/Makefile.inc
/trunk/kernel/arch/ia64/Makefile.inc
/trunk/kernel/arch/mips32/Makefile.inc
/trunk/kernel/arch/mips32/include/elf.h
/trunk/kernel/arch/ppc32/Makefile.inc
/trunk/kernel/arch/sparc64/Makefile.inc
/trunk/kernel/generic/include/byteorder.h
/trunk/kernel/generic/include/string.h
/trunk/kernel/generic/src/printf/printf_core.c
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/lib/libc/Makefile.toolchain
/trunk/uspace/lib/libc/arch/amd64/Makefile.inc
/trunk/uspace/lib/libc/arch/arm32/Makefile.inc
/trunk/uspace/lib/libc/arch/ia32/Makefile.inc
/trunk/uspace/lib/libc/arch/ia64/Makefile.inc
/trunk/uspace/lib/libc/arch/mips32/Makefile.inc
/trunk/uspace/lib/libc/arch/mips32eb/Makefile.inc
/trunk/uspace/lib/libc/arch/ppc32/Makefile.inc
/trunk/uspace/lib/libc/arch/sparc64/Makefile.inc
/trunk/uspace/lib/libc/generic/io/printf_core.c
/trunk/uspace/lib/libc/include/byteorder.h
/trunk/uspace/lib/libc/include/string.h
/trunk/uspace/lib/softfloat/Makefile
/trunk/uspace/lib/softfloat/include/sftypes.h
4553 5619 d 8 h jermar /trunk/uspace/lib/libblock/ Use fibril synchronization in libblock.  
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
4550 5619 d 9 h jermar /trunk/uspace/lib/libblock/ Disk I/O should be serialized until libblock switches to fibril synchronization.  
/trunk/uspace/lib/libblock/libblock.c
4549 5620 d 8 h svoboda /trunk/uspace/ Fix assorted warnings and tiny glitches.  
/trunk/uspace/app/init/init.c
/trunk/uspace/app/tester/stdio/stdio2.c
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libc/generic/devmap.c
/trunk/uspace/srv/fb/ppm.c
4542 5621 d 8 h jermar /trunk/uspace/ Handle pending input using only one fibril.
Relax serialization in console, keep your fingers crossed.
Do not create a new "pending" fibril after each received call.
 
/trunk/uspace/lib/libc/generic/async.c
/trunk/uspace/lib/libc/include/async.h
/trunk/uspace/srv/console/console.c
4541 5621 d 8 h svoboda /trunk/uspace/ Stdio stream buffering (only for writing a.t.m.) Issue: Do we need two moving delimiters (head, tail) to recover from error or is one moving data delimiter enough, like in the current implementation? (Where the buffer must be drained as a whole, cannot do it part at a time.  
/trunk/uspace/app/bdsh/input.c
/trunk/uspace/app/tester/console/console1.c
/trunk/uspace/app/tetris/screen.c
/trunk/uspace/lib/libc/generic/io/io.c
/trunk/uspace/lib/libc/include/stdio.h
4535 5622 d 18 h jermar /trunk/uspace/lib/libc/ On condvar signal/broadcast, dequeue the waiting fibril from the waiters list.
Add FIBRIL_CONDVAR_INITIALIZE.
 
/trunk/uspace/lib/libc/generic/fibril_sync.c
/trunk/uspace/lib/libc/include/fibril_sync.h
4528 5624 d 10 h svoboda /trunk/uspace/ Use 'fibril_local' modifier for fibril-local variables instead of '__thread'. Since it is decalred in fibril.h, it need not begin with '__'.  
/trunk/uspace/lib/libc/arch/arm32/include/tls.h
/trunk/uspace/lib/libc/generic/async.c
/trunk/uspace/lib/libc/generic/fibril.c
/trunk/uspace/lib/libc/include/fibril.h
/trunk/uspace/srv/fb/fb.c
/trunk/uspace/srv/vfs/vfs_file.c
4527 5624 d 12 h jermar /trunk/uspace/lib/libc/ Condition variables for fibrils.  
/trunk/uspace/lib/libc/generic/fibril_sync.c
/trunk/uspace/lib/libc/include/fibril_sync.h
4526 5625 d 10 h jermar /trunk/uspace/lib/libc/ Implement readers-writer locks for fibrils.  
/trunk/uspace/lib/libc/generic/fibril_sync.c
/trunk/uspace/lib/libc/include/fibril.h
/trunk/uspace/lib/libc/include/fibril_sync.h
4523 5626 d 11 h decky /trunk/uspace/lib/libc/generic/io/ remove obsolete terminology  
/trunk/uspace/lib/libc/generic/io/vprintf.c
4522 5626 d 11 h decky /trunk/uspace/lib/libc/ remove obsolete comment
cstyle
 
/trunk/uspace/lib/libc/generic/fibril.c
/trunk/uspace/lib/libc/include/fibril_sync.h
4517 5627 d 8 h jermar /trunk/uspace/lib/libc/ Include fibril synchronization primitives in libc build.  
/trunk/uspace/lib/libc/Makefile
4516 5627 d 8 h jermar /trunk/uspace/lib/libc/ Add simple synchronization primitives to be used with fibrils.
Provided are mutexes and dummy rwlocks.
 
/trunk/uspace/lib/libc/generic/fibril_sync.c
/trunk/uspace/lib/libc/include/fibril_sync.h
4514 5627 d 19 h decky /trunk/uspace/lib/libc/ simple implementation of fdopen() and rewind()  
/trunk/uspace/lib/libc/generic/io/io.c
/trunk/uspace/lib/libc/include/stdio.h
4513 5628 d 10 h jermar /trunk/uspace/lib/libc/generic/ Nit.  
/trunk/uspace/lib/libc/generic/fibril.c
4512 5628 d 10 h decky /trunk/uspace/lib/libc/generic/io/ cstyle  
/trunk/uspace/lib/libc/generic/io/io.c
4511 5628 d 10 h svoboda /trunk/uspace/lib/libc/generic/io/ getchar() and fgetc() are traditionally supposed to flush stdout and stderr.  
/trunk/uspace/lib/libc/generic/io/io.c
4510 5628 d 12 h jermar /trunk/uspace/lib/libc/generic/ A little bit of cleanup and a remedy for great confusion introduced in revision 2483.  
/trunk/uspace/lib/libc/generic/async.c
/trunk/uspace/lib/libc/generic/fibril.c
4509 5628 d 16 h decky /trunk/uspace/ rename libadt -> adt  
/trunk/uspace/lib/libc/generic/adt
/trunk/uspace/lib/libc/include/adt
/trunk/uspace/lib/libc/generic/libadt
/trunk/uspace/lib/libc/include/libadt
/trunk/uspace/app/trace/ipcp.c
/trunk/uspace/app/trace/proto.c
/trunk/uspace/app/trace/proto.h
/trunk/uspace/lib/libblock/libblock.c
/trunk/uspace/lib/libblock/libblock.h
/trunk/uspace/lib/libc/Makefile
/trunk/uspace/lib/libc/generic/adt/hash_table.c
/trunk/uspace/lib/libc/generic/adt/list.c
/trunk/uspace/lib/libc/generic/async.c
/trunk/uspace/lib/libc/generic/fibril.c
/trunk/uspace/lib/libc/generic/io/io.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/include/adt/hash_table.h
/trunk/uspace/lib/libc/include/fibril.h
/trunk/uspace/lib/libc/include/ipc/devmap.h
/trunk/uspace/lib/libc/include/stdio.h
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/fs/devfs/devfs_ops.c
/trunk/uspace/srv/fs/fat/fat_idx.c
/trunk/uspace/srv/fs/fat/fat_ops.c
/trunk/uspace/srv/fs/tmpfs/tmpfs.h
/trunk/uspace/srv/fs/tmpfs/tmpfs_ops.c
/trunk/uspace/srv/kbd/Makefile
/trunk/uspace/srv/kbd/genarch/gsp.c
/trunk/uspace/srv/kbd/generic/kbd.c
/trunk/uspace/srv/kbd/include/gsp.h
/trunk/uspace/srv/ns/clonable.c
/trunk/uspace/srv/ns/service.c
/trunk/uspace/srv/ns/task.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_node.c
/trunk/uspace/srv/vfs/vfs_ops.c
/trunk/uspace/srv/vfs/vfs_register.c
4508 5628 d 17 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