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 5968 d 9 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 5968 d 10 h jermar /trunk/kernel/arch/amd64/src/cpu/ Fix cstyle.  
2781 5972 d 17 h cejka /trunk/ Unified context saving/restoring macros in ppc32.  
2780 5972 d 18 h cejka /trunk/ Fixed broken context_offset.h symlinks for mips32eb and ia32xen.  
2779 5972 d 18 h cejka /trunk/ Context saving/restoring macros used for mips32.  
2778 5972 d 19 h jermar /trunk/uspace/lib/libc/arch/ia32/src/ Fix jmp_buf vs. context structure in comment.  
2777 5972 d 20 h cejka /trunk/ Unified context handling code for amd64.  
2776 5972 d 21 h cejka /trunk/uspace/lib/libc/arch/ia32/src/ Context saving/restoring code replaced with macro.  
2775 5972 d 21 h cejka /trunk/kernel/arch/ia32/src/ Added missing ia32/context.S from last commit.  
2774 5972 d 21 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 5972 d 22 h cejka /trunk/uspace/lib/libc/ United headers using context_t in uspace.  
2772 5975 d 10 h jermar /trunk/kernel/arch/arm32/src/mm/ Fix breakage in arm32 non-debug build.  
2771 5976 d 9 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 5976 d 10 h jermar /trunk/uspace/ Introduce fs_handle_t, dev_handle_t and fs_index_t.  
2769 5977 d 8 h jermar /trunk/uspace/srv/vfs/ VFS index needs to be treated as uint64_t.  
2768 5977 d 10 h jermar /trunk/uspace/srv/vfs/ Fibril serialization is required when two file systems register contemporarily.  
2767 5977 d 11 h jermar /trunk/kernel/arch/amd64/src/ Fix breakage in non-debug amd64 build.  
2766 5978 d 10 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 5978 d 10 h jermar /trunk/kernel/generic/src/proc/ tasklet.c needs to include config.h  
2764 5978 d 13 h jermar /trunk/ Bump version to 0.3.0.  
2763 5978 d 13 h jermar /trunk/uspace/ Support for rename().  
2762 5978 d 13 h jermar /trunk/uspace/lib/libc/include/ Add the definition of the EXDEV error code.  
2761 5979 d 19 h jermar /trunk/uspace/lib/libc/generic/vfs/ mkdir() and _unlink() should return the real return code.  
2760 5981 d 8 h jermar /trunk/uspace/ Support for multiple TMPFS node names.  
2759 5981 d 8 h jermar /trunk/uspace/lib/libc/ Add hash_table_destroy().  
2758 5982 d 8 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 5982 d 10 h jermar /trunk/uspace/srv/fs/tmpfs/ Set the TMPFS root node's link count to 1.  
2756 5982 d 11 h jermar /trunk/uspace/srv/fs/tmpfs/ Introduce real link counts for TMPFS.  
2755 5985 d 6 h jermar /trunk/uspace/ Add support for relative paths: chdir() and getcwd().  
2754 5985 d 6 h jermar /trunk/uspace/lib/libc/ Add strcat().  
2753 5985 d 9 h jermar /trunk/uspace/ Move canonify() to libc so that it can be used also on the libc side.  
2752 5985 d 15 h jermar /trunk/uspace/srv/vfs/ Make VFS canonify path names on lookup.  
2751 5986 d 13 h jermar /trunk/uspace/ Add canonify() for file system path canonization.
Not yet used by VFS.
 
2750 5987 d 9 h jermar /trunk/uspace/lib/libfs/ Add a comment to libfs_lookup.  
2749 5988 d 9 h jermar /trunk/uspace/srv/vfs/ contents_rwlock should not be acquired as a futex but rather as a rwlock.  
2748 5988 d 9 h jermar /trunk/uspace/srv/vfs/ Support for O_TRUNC.  
2747 5989 d 8 h jermar /trunk/uspace/ Move the core lookup logic from TMPFS to libfs.  
2746 5989 d 14 h decky /trunk/kernel/ start merging tasklets (more or less a rewrite)  
2745 5989 d 19 h decky /trunk/ code cleanup (mostly signed/unsigned)
allow extra compiler warnings
 
2742 5991 d 8 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().