Immense cleanup of libc, implemening login program. Slight changes to ACL handling...
[tpg/acess2.git] / Usermode / Applications / init_src / main.c
index b205e3b..8787f39 100644 (file)
@@ -6,7 +6,7 @@
 // === CONSTANTS ===
 #define NULL   ((void*)0)
 #define        DEFAULT_TERMINAL        "/Devices/VTerm/0"
-#define DEFAULT_SHELL  "/Acess/CLIShell"
+#define DEFAULT_SHELL  "/Acess/SBin/login"
 
 // === CODE ===
 /**
@@ -22,7 +22,6 @@ int main(int argc, char *argv[])
        write(1, 13, "Hello, World!");
        
        tid = clone(CLONE_VM, 0);
-       __asm__ __volatile__("xchg %%bx, %%bx"::"a"(tid));
        if(tid == 0)
        {
                execve(DEFAULT_SHELL, NULL, NULL);

UCC git Repository :: git.ucc.asn.au