Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
2784 5997 d 19 h jermar /trunk/kernel/arch/ Fortify ia32 and amd64 kernels against mallicious uspace applications that set
DF prior to entering the kernel. For AMD64 syscalls, we don't use the CLD
instruction, but make use of the SFMASK MSR instead. Simics works fine with
it, but QEMU seems to have a problem.
 
2783 5997 d 20 h jermar /trunk/kernel/arch/amd64/src/cpu/ Fix cstyle.  
2781 6002 d 3 h cejka /trunk/ Unified context saving/restoring macros in ppc32.  
2780 6002 d 4 h cejka /trunk/ Fixed broken context_offset.h symlinks for mips32eb and ia32xen.  
2779 6002 d 4 h cejka /trunk/ Context saving/restoring macros used for mips32.  
2778 6002 d 5 h jermar /trunk/uspace/lib/libc/arch/ia32/src/ Fix jmp_buf vs. context structure in comment.  
2777 6002 d 6 h cejka /trunk/ Unified context handling code for amd64.  
2776 6002 d 7 h cejka /trunk/uspace/lib/libc/arch/ia32/src/ Context saving/restoring code replaced with macro.  
2775 6002 d 7 h cejka /trunk/kernel/arch/ia32/src/ Added missing ia32/context.S from last commit.  
2774 6002 d 7 h cejka /trunk/kernel/arch/ Context.s renamed to context.S for ia32 and fixed links for ia32xen.
Added asm macros for context save/restore and offset definitions.
 
2773 6002 d 8 h cejka /trunk/uspace/lib/libc/ United headers using context_t in uspace.  
2772 6004 d 20 h jermar /trunk/kernel/arch/arm32/src/mm/ Fix breakage in arm32 non-debug build.  
2771 6005 d 19 h jermar /trunk/uspace/lib/libc/generic/vfs/ Simplify the libc procedure needed to convert a user-supplied path to an
absolute canonical path.
 
2770 6005 d 20 h jermar /trunk/uspace/ Introduce fs_handle_t, dev_handle_t and fs_index_t.  
2769 6006 d 18 h jermar /trunk/uspace/srv/vfs/ VFS index needs to be treated as uint64_t.  
2768 6006 d 20 h jermar /trunk/uspace/srv/vfs/ Fibril serialization is required when two file systems register contemporarily.  
2767 6006 d 21 h jermar /trunk/kernel/arch/amd64/src/ Fix breakage in non-debug amd64 build.  
2766 6007 d 20 h jermar /trunk/uspace/srv/vfs/ Grab the nodes_futex when manipulating node link counts in rename() and
_unlink().

Fix VFS futex definitions and declarations by replacing atomic_t by futex_t.
 
2765 6007 d 20 h jermar /trunk/kernel/generic/src/proc/ tasklet.c needs to include config.h  
2764 6007 d 23 h jermar /trunk/ Bump version to 0.3.0.  
2763 6007 d 23 h jermar /trunk/uspace/ Support for rename().  
2762 6007 d 23 h jermar /trunk/uspace/lib/libc/include/ Add the definition of the EXDEV error code.  
2761 6009 d 5 h jermar /trunk/uspace/lib/libc/generic/vfs/ mkdir() and _unlink() should return the real return code.  
2760 6010 d 18 h jermar /trunk/uspace/ Support for multiple TMPFS node names.  
2759 6010 d 18 h jermar /trunk/uspace/lib/libc/ Add hash_table_destroy().  
2758 6011 d 18 h jermar /trunk/uspace/ No need to keep the parent pointer in the TMPFS node. Moreover, other file
systems won't have it either. Finally, if TMPFS is to support hardlinks, there
can be multiple parents.
 
2757 6011 d 20 h jermar /trunk/uspace/srv/fs/tmpfs/ Set the TMPFS root node's link count to 1.  
2756 6011 d 21 h jermar /trunk/uspace/srv/fs/tmpfs/ Introduce real link counts for TMPFS.  
2755 6014 d 16 h jermar /trunk/uspace/ Add support for relative paths: chdir() and getcwd().  
2754 6014 d 16 h jermar /trunk/uspace/lib/libc/ Add strcat().  
2753 6014 d 19 h jermar /trunk/uspace/ Move canonify() to libc so that it can be used also on the libc side.  
2752 6015 d 1 h jermar /trunk/uspace/srv/vfs/ Make VFS canonify path names on lookup.  
2751 6015 d 23 h jermar /trunk/uspace/ Add canonify() for file system path canonization.
Not yet used by VFS.
 
2750 6016 d 19 h jermar /trunk/uspace/lib/libfs/ Add a comment to libfs_lookup.  
2749 6017 d 19 h jermar /trunk/uspace/srv/vfs/ contents_rwlock should not be acquired as a futex but rather as a rwlock.  
2748 6017 d 19 h jermar /trunk/uspace/srv/vfs/ Support for O_TRUNC.  
2747 6018 d 18 h jermar /trunk/uspace/ Move the core lookup logic from TMPFS to libfs.  
2746 6019 d 0 h decky /trunk/kernel/ start merging tasklets (more or less a rewrite)  
2745 6019 d 5 h decky /trunk/ code cleanup (mostly signed/unsigned)
allow extra compiler warnings
 
2742 6020 d 18 h jermar /trunk/uspace/srv/ Separate creation of a TMPFS node and its linking in the file system name space.
Rename VFS_FREE to VFS_DESTROY and destroy_node() to unlink_node().