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