# # ChangeLog for uspace/srv/loader/main.c in mainline # # Generated by Trac 1.6 # 2024-12-14T02:53:54Z Thu, 20 Aug 2009 20:47:35 GMT Jiri Svoboda [1ea99cc] * HelenOS.config (modified) * boot/arch/ia32/Makefile.inc (modified) * boot/arch/mips32/loader/Makefile (modified) * boot/arch/ppc32/loader/Makefile (modified) * boot/arch/sparc64/loader/main.c (modified) * defaults/amd64/Makefile.config (modified) * defaults/arm32/Makefile.config (modified) * defaults/ia32/Makefile.config (modified) * defaults/ia64/Makefile.config (modified) * defaults/mips32/Makefile.config (modified) * defaults/ppc32/Makefile.config (modified) * defaults/sparc64/Makefile.config (modified) * kernel/arch/ia32/include/barrier.h (modified) * kernel/generic/include/syscall/syscall.h (modified) * kernel/generic/src/lib/elf.c (modified) * kernel/generic/src/proc/program.c (modified) * kernel/generic/src/syscall/syscall.c (modified) * uspace/Makefile (modified) * uspace/app/bdsh/Makefile (modified) * uspace/app/dload/Makefile (added) * uspace/app/dload/arch/ia32/Makefile.inc (added) * uspace/app/dload/arch/ia32/_link.ld.in (added) * uspace/app/dload/arch/ia32/start.c (added) * uspace/app/dload/arch/mips32/Makefile.inc (added) * uspace/app/dload/arch/mips32/_link.ld.in (added) * uspace/app/dload/arch/mips32/mips32.s (added) * uspace/app/dload/arch/ppc32/Makefile.inc (added) * uspace/app/dload/arch/ppc32/_link.ld.in (added) * uspace/app/dload/arch/ppc32/start.s (added) * uspace/app/dload/dload.c (added) * uspace/app/dltest/Makefile (added) * uspace/app/dltest/dltest.c (added) * uspace/app/dltest2/Makefile (added) * uspace/app/dltest2/dltest2.c (added) * uspace/app/klog/Makefile (modified) * uspace/app/klog/klog.c (modified) * uspace/app/tester/Makefile (modified) * uspace/app/tetris/Makefile (modified) * uspace/app/trace/Makefile (modified) * uspace/lib/libc/Makefile (modified) * uspace/lib/libc/Makefile.app (added) * uspace/lib/libc/arch/ia32/src/syscall.S (modified) * uspace/lib/libc/arch/ia32/src/tls.c (modified) * uspace/lib/libc/arch/mips32/src/tls.c (modified) * uspace/lib/libc/arch/ppc32/src/tls.c (modified) * uspace/lib/libc/generic/async.c (modified) * uspace/lib/libc/generic/dlfcn.c (added) * uspace/lib/libc/generic/libc.c (modified) * uspace/lib/libc/generic/time.c (modified) * uspace/lib/libc/include/as.h (modified) * uspace/lib/libc/include/dlfcn.h (added) * uspace/lib/libc/include/loader/pcb.h (modified) * uspace/lib/libc/rtld/arch/ia32/Makefile.inc (added) * uspace/lib/libc/rtld/arch/ia32/include/dynamic.h (added) * uspace/lib/libc/rtld/arch/ia32/include/elf_dyn.h (added) * uspace/lib/libc/rtld/arch/ia32/src/dynamic.c (added) * uspace/lib/libc/rtld/arch/ia32/src/reloc.c (added) * uspace/lib/libc/rtld/arch/mips32/Makefile.inc (added) * uspace/lib/libc/rtld/arch/mips32/include/dynamic.h (added) * uspace/lib/libc/rtld/arch/mips32/include/elf_dyn.h (added) * uspace/lib/libc/rtld/arch/mips32/src/dynamic.c (added) * uspace/lib/libc/rtld/arch/mips32/src/reloc.c (added) * uspace/lib/libc/rtld/arch/ppc32/Makefile.inc (added) * uspace/lib/libc/rtld/arch/ppc32/include/dynamic.h (added) * uspace/lib/libc/rtld/arch/ppc32/include/elf_dyn.h (added) * uspace/lib/libc/rtld/arch/ppc32/src/dynamic.c (added) * uspace/lib/libc/rtld/arch/ppc32/src/reloc.c (added) * uspace/lib/libc/rtld/dynamic.c (added) * uspace/lib/libc/rtld/elf_load.c (added) * uspace/lib/libc/rtld/include/dynamic.h (added) * uspace/lib/libc/rtld/include/elf_dyn.h (added) * uspace/lib/libc/rtld/include/module.h (added) * uspace/lib/libc/rtld/include/rtld.h (added) * uspace/lib/libc/rtld/include/rtld_arch.h (added) * uspace/lib/libc/rtld/include/symbol.h (added) * uspace/lib/libc/rtld/module.c (added) * uspace/lib/libc/rtld/rtld.c (added) * uspace/lib/libc/rtld/symbol.c (added) * uspace/lib/libc/shared/Makefile (added) * uspace/lib/libc/shared/arch/ia32/_lib.ld.in (added) * uspace/lib/libc/shared/arch/ia32/_link.ld.in (added) * uspace/lib/libc/shared/arch/mips32/_lib.ld.in (added) * uspace/lib/libc/shared/arch/mips32/_link.ld.in (added) * uspace/lib/libc/shared/arch/ppc32/_lib.ld.in (added) * uspace/lib/libc/shared/arch/ppc32/_link.ld.in (added) * uspace/lib/libtest/Makefile (added) * uspace/lib/libtest/arch/ia32/_link.ld.in (added) * uspace/lib/libtest/arch/mips32/_link.ld.in (added) * uspace/lib/libtest/arch/ppc32/_link.ld.in (added) * uspace/lib/libtest/libtest.c (added) * uspace/lib/libtest/libtest.h (added) * uspace/lib/libtest/libtest.so.0 (added) * uspace/lib/softint/Makefile (modified) * uspace/srv/kbd/Makefile (modified) * uspace/srv/loader/elf_load.c (modified) * uspace/srv/loader/include/elf_load.h (modified) * uspace/srv/loader/main.c (modified) * uspace/srv/pci/Makefile (modified) Merge changes from original Subversion dynload branch. Mon, 06 Jul 2009 19:17:49 GMT Jiri Svoboda [5d96851] * uspace/lib/libc/generic/task.c (modified) * uspace/lib/libc/include/ipc/ns.h (modified) * uspace/srv/loader/main.c (modified) * uspace/srv/ns/ns.c (modified) * uspace/srv/ns/task.c (modified) * uspace/srv/ns/task.h (modified) Pass task ID to NS from loader. This prevents ID spoofing by user apps. Tue, 16 Jun 2009 20:09:52 GMT Jiri Svoboda [08c9f7d] * uspace/srv/loader/arch/ia32/ia32.s (modified) * uspace/srv/loader/elf_load.c (modified) * uspace/srv/loader/main.c (modified) Suppress warnings in loader. Thu, 04 Jun 2009 10:12:23 GMT Jakub Jermar [99272a3] * uspace/lib/libc/generic/io/io.c (modified) * uspace/lib/libc/generic/loader.c (modified) * uspace/lib/libc/generic/task.c (modified) * uspace/lib/libc/generic/vfs/vfs.c (modified) * uspace/lib/libc/include/loader/loader.h (modified) * uspace/lib/libc/include/loader/pcb.h (modified) * uspace/lib/libc/include/vfs/vfs.h (modified) * uspace/srv/loader/main.c (modified) inode_t -> fdi_node_t Wed, 03 Jun 2009 22:47:08 GMT Martin Decky [301ff30] * uspace/lib/libc/generic/io/io.c (modified) * uspace/lib/libc/generic/loader.c (modified) * uspace/lib/libc/generic/task.c (modified) * uspace/lib/libc/generic/vfs/vfs.c (modified) * uspace/lib/libc/include/loader/loader.h (modified) * uspace/lib/libc/include/loader/pcb.h (modified) * uspace/lib/libc/include/vfs/vfs.h (modified) * uspace/srv/loader/main.c (modified) rename libc's fs_node_t to inode_t to avoid type conflict with VFS Wed, 03 Jun 2009 18:46:29 GMT Martin Decky [bbdbf86] * uspace/srv/loader/main.c (modified) add support for passing preset files rename loader_ prefix to ldr_ ... Sat, 25 Apr 2009 16:49:33 GMT Jiri Svoboda [409b0d6] * uspace/srv/loader/main.c (modified) Fix interpretation of return value. This caused loader to crash ... Thu, 09 Apr 2009 21:28:50 GMT Jiri Svoboda [7afb4a5] * uspace/lib/libc/generic/getopt.c (modified) * uspace/lib/libc/generic/string.c (modified) * uspace/lib/libc/include/string.h (modified) * uspace/srv/fs/fat/fat_dentry.c (modified) * uspace/srv/loader/main.c (modified) Nuke strchr() and strrchr(). Thu, 09 Apr 2009 21:16:50 GMT Jiri Svoboda [92fd52d7] * uspace/app/bdsh/cmds/builtin_cmds.c (modified) * uspace/app/bdsh/cmds/mod_cmds.c (modified) * uspace/app/bdsh/cmds/modules/help/help.c (modified) * uspace/app/bdsh/cmds/modules/mkdir/mkdir.c (modified) * uspace/app/bdsh/cmds/modules/rm/rm.c (modified) * uspace/app/bdsh/exec.c (modified) * uspace/app/bdsh/input.c (modified) * uspace/app/tester/devmap/devmap1.c (modified) * uspace/app/tetris/scores.c (modified) * uspace/app/tetris/screen.c (modified) * uspace/app/tetris/tetris.c (modified) * uspace/lib/libc/generic/console.c (modified) * uspace/lib/libc/generic/getopt.c (modified) * uspace/lib/libc/generic/string.c (modified) * uspace/lib/libc/include/stdio.h (modified) * uspace/lib/libc/include/string.h (modified) * uspace/srv/devmap/devmap.c (modified) * uspace/srv/fs/fat/fat_dentry.c (modified) * uspace/srv/fs/fat/fat_ops.c (modified) * uspace/srv/fs/tmpfs/tmpfs_dump.c (modified) * uspace/srv/fs/tmpfs/tmpfs_ops.c (modified) * uspace/srv/loader/main.c (modified) * uspace/srv/pci/libpci/names.c (modified) * uspace/srv/rd/rd.c (modified) * uspace/srv/vfs/vfs_ops.c (modified) Nuke strcpy() and strcmp(). Sun, 05 Apr 2009 21:09:59 GMT Jiri Svoboda [482c86f] * uspace/lib/libc/generic/loader.c (modified) * uspace/srv/loader/main.c (modified) * uspace/srv/ns/ns.c (modified) NS was forgetting to hangup phones. One phone was leaked for every ... Wed, 18 Mar 2009 22:22:31 GMT Jiri Svoboda [907bb49] * uspace/app/init/init.c (modified) * uspace/app/klog/klog.c (modified) * uspace/app/tetris/input.c (modified) * uspace/lib/libc/generic/console.c (modified) * uspace/lib/libc/generic/io/stream.c (modified) * uspace/lib/libc/generic/kbd.c (modified) * uspace/lib/libc/include/console.h (modified) * uspace/lib/libc/include/io/stream.h (modified) * uspace/srv/loader/main.c (modified) Consolidate console interface. Tue, 03 Mar 2009 12:41:39 GMT Martin Decky [2f57690] * kernel/arch/ia32/src/boot/cboot.c (modified) * kernel/generic/include/string.h (modified) * kernel/generic/src/lib/string.c (modified) * kernel/generic/src/main/kinit.c (modified) * uspace/srv/loader/main.c (modified) cstyle Mon, 02 Mar 2009 22:13:30 GMT Jiri Svoboda [20f1597] * kernel/arch/ia32/src/boot/cboot.c (modified) * kernel/generic/include/string.h (modified) * kernel/generic/src/lib/string.c (modified) * kernel/generic/src/main/kinit.c (modified) * uspace/srv/loader/main.c (modified) Task names should only contain base names of commands. Also add ... Sun, 01 Mar 2009 15:00:24 GMT Jiri Svoboda [bc18d63] * kernel/generic/include/proc/task.h (modified) * kernel/generic/include/syscall/syscall.h (modified) * kernel/generic/src/proc/program.c (modified) * kernel/generic/src/proc/task.c (modified) * kernel/generic/src/syscall/syscall.c (modified) * uspace/lib/libc/generic/task.c (modified) * uspace/lib/libc/include/task.h (modified) * uspace/srv/loader/main.c (modified) task_set_name() syscall so that we can have names (for userspace- ... Sun, 15 Feb 2009 00:01:06 GMT Jiri Svoboda [bfd1546] * kernel/generic/include/proc/program.h (modified) * kernel/generic/src/proc/program.c (modified) * uspace/lib/libc/generic/loader.c (modified) * uspace/lib/libc/generic/task.c (modified) * uspace/lib/libc/include/ipc/services.h (modified) * uspace/lib/libc/include/loader/loader.h (modified) * uspace/srv/loader/main.c (modified) * uspace/srv/ns/ns.c (modified) More elegant way of invoking the loader - as a 'cloneable' service. ... Wed, 07 Jan 2009 22:33:35 GMT Jiri Svoboda [06b2b7f] * uspace/srv/loader/elf_load.c (modified) * uspace/srv/loader/main.c (modified) Disable message displaying in loader. Fri, 05 Dec 2008 22:44:24 GMT Jiri Svoboda [49093a4] * uspace/lib/libc/include/loader/pcb.h (modified) * uspace/srv/loader/main.c (modified) Remove obsolete dld-related loader fragments. Thu, 06 Nov 2008 22:47:12 GMT Jiri Svoboda [86e3d62] * uspace/srv/loader/main.c (modified) Fix: Quit loader when caller hangs up (was leaking VCs). Wed, 24 Sep 2008 16:11:35 GMT Jiri Svoboda [0993087] * uspace/lib/libc/generic/loader.c (modified) * uspace/lib/libc/include/loader/loader.h (modified) * uspace/srv/loader/main.c (modified) Fix bugs in getting task ID from loader (was breaking ppc32). Wed, 24 Sep 2008 10:57:21 GMT Jiri Svoboda [4470e26] * uspace/app/trace/trace.c (modified) * uspace/lib/libc/generic/loader.c (modified) * uspace/lib/libc/generic/task.c (modified) * uspace/lib/libc/include/ipc/loader.h (modified) * uspace/lib/libc/include/loader/loader.h (modified) * uspace/srv/loader/main.c (modified) Separate load and run commands for loader. Update tracer - no events ... Thu, 18 Sep 2008 09:05:31 GMT Jiri Svoboda [47e0a05b] * uspace/app/trace/trace.c (modified) * uspace/lib/libc/generic/task.c (modified) * uspace/lib/libc/include/ipc/loader.h (modified) * uspace/srv/loader/main.c (modified) Allow trace to run programs and trace them (no more task IDs) Tue, 08 Jul 2008 16:05:45 GMT Jiri Svoboda [c98e6ee] * boot/arch/amd64/Makefile.inc (modified) * boot/arch/amd64/grub/menu.lst (modified) * boot/arch/arm32/loader/Makefile (modified) * boot/arch/ia32/Makefile.inc (modified) * boot/arch/ia32/grub/menu.lst (modified) * boot/arch/ia64/loader/Makefile (modified) * boot/arch/mips32/loader/Makefile (modified) * boot/arch/ppc32/loader/Makefile (modified) * boot/arch/sparc64/loader/Makefile (modified) * kernel/Makefile (modified) * kernel/arch/amd64/src/userspace.c (modified) * kernel/arch/arm32/src/userspace.c (modified) * kernel/arch/ia32/src/userspace.c (modified) * kernel/arch/ia32xen/src/userspace.c (modified) * kernel/arch/ia64/src/asm.S (modified) * kernel/arch/mips32/src/start.S (modified) * kernel/arch/ppc32/src/asm.S (modified) * kernel/arch/ppc64/src/asm.S (modified) * kernel/arch/sparc64/src/asm.S (modified) * kernel/generic/include/lib/elf.h (modified) * kernel/generic/include/mm/as.h (modified) * kernel/generic/include/proc/program.h (added) * kernel/generic/include/proc/task.h (modified) * kernel/generic/include/proc/thread.h (modified) * kernel/generic/include/synch/smc.h (added) * kernel/generic/include/syscall/syscall.h (modified) * kernel/generic/src/lib/elf.c (modified) * kernel/generic/src/main/kinit.c (modified) * kernel/generic/src/mm/as.c (modified) * kernel/generic/src/proc/program.c (added) * kernel/generic/src/proc/task.c (modified) * kernel/generic/src/proc/thread.c (modified) * kernel/generic/src/synch/smc.c (added) * kernel/generic/src/syscall/syscall.c (modified) * uspace/Makefile (modified) * uspace/app/cli/Makefile (added) * uspace/app/cli/cli.c (added) * uspace/app/init/init.c (modified) * uspace/app/tester/tester.c (modified) * uspace/lib/libc/Makefile (modified) * uspace/lib/libc/arch/amd64/src/entry.s (modified) * uspace/lib/libc/arch/arm32/src/entry.s (modified) * uspace/lib/libc/arch/ia32/src/entry.s (modified) * uspace/lib/libc/arch/ia64/src/entry.s (modified) * uspace/lib/libc/arch/mips32/src/entry.s (modified) * uspace/lib/libc/arch/ppc32/src/entry.s (modified) * uspace/lib/libc/arch/ppc64/src/entry.s (modified) * uspace/lib/libc/arch/sparc64/src/entry.s (modified) * uspace/lib/libc/generic/as.c (modified) * uspace/lib/libc/generic/io/stream.c (modified) * uspace/lib/libc/generic/libc.c (modified) * uspace/lib/libc/generic/pcb.c (added) * uspace/lib/libc/generic/smc.c (added) * uspace/lib/libc/generic/task.c (modified) * uspace/lib/libc/include/as.h (modified) * uspace/lib/libc/include/io/stream.h (modified) * uspace/lib/libc/include/ipc/loader.h (added) * uspace/lib/libc/include/libc.h (modified) * uspace/lib/libc/include/loader/pcb.h (added) * uspace/lib/libc/include/smc.h (added) * uspace/lib/libc/include/task.h (modified) * uspace/srv/loader/Makefile (added) * uspace/srv/loader/arch/amd64/Makefile.inc (added) * uspace/srv/loader/arch/amd64/_link.ld.in (added) * uspace/srv/loader/arch/amd64/amd64.s (added) * uspace/srv/loader/arch/arm32/Makefile.inc (added) * uspace/srv/loader/arch/arm32/_link.ld.in (added) * uspace/srv/loader/arch/arm32/arm32.s (added) * uspace/srv/loader/arch/ia32/Makefile.inc (added) * uspace/srv/loader/arch/ia32/_link.ld.in (added) * uspace/srv/loader/arch/ia32/ia32.s (added) * uspace/srv/loader/arch/ia64/Makefile.inc (added) * uspace/srv/loader/arch/ia64/_link.ld.in (added) * uspace/srv/loader/arch/ia64/ia64.s (added) * uspace/srv/loader/arch/mips32/Makefile.inc (added) * uspace/srv/loader/arch/mips32/_link.ld.in (added) * uspace/srv/loader/arch/mips32/mips32.s (added) * uspace/srv/loader/arch/ppc32/Makefile.inc (added) * uspace/srv/loader/arch/ppc32/_link.ld.in (added) * uspace/srv/loader/arch/ppc32/ppc32.s (added) * uspace/srv/loader/arch/sparc64/Makefile.inc (added) * uspace/srv/loader/arch/sparc64/_link.ld.in (added) * uspace/srv/loader/arch/sparc64/sparc64.s (added) * uspace/srv/loader/elf_load.c (added) * uspace/srv/loader/include/arch.h (added) * uspace/srv/loader/include/elf.h (added) * uspace/srv/loader/include/elf_load.h (added) * uspace/srv/loader/interp.s (added) * uspace/srv/loader/main.c (added) Merge program-loader related stuff from dynload branch to trunk. (huge)