summaryrefslogtreecommitdiff
path: root/userspace
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-11-22 17:57:57 +0100
committerMichal Idziorek <m.i@gmx.at>2014-11-22 17:57:57 +0100
commiteca57656bfb384583c1c4b34de46cde6b36d6694 (patch)
tree849d76c8bac2c663e7097506b1ecc66b6982dc56 /userspace
parent05156e002e30032e8c1081d47f50dd98b1241dd6 (diff)
added call_unhandled for unhandled syscalls
Diffstat (limited to 'userspace')
-rw-r--r--userspace/Makefile4
-rw-r--r--userspace/sys/sys.c2
2 files changed, 1 insertions, 5 deletions
diff --git a/userspace/Makefile b/userspace/Makefile
index 09486c0..7e35096 100644
--- a/userspace/Makefile
+++ b/userspace/Makefile
@@ -19,10 +19,6 @@ ext2.img: $(PROGS)
sudo umount mnt
rm mnt -rf
-#shell.bin: shell.c
-# ${CC} -T sys/oldlinker.ld -shell.c o shell.bin
-# objcopy -O binary shell shell.bin
-
brainfuck: brainfuck.o
shell: shell.o
simple: simple.o
diff --git a/userspace/sys/sys.c b/userspace/sys/sys.c
index 7dcfaee..ecdf556 100644
--- a/userspace/sys/sys.c
+++ b/userspace/sys/sys.c
@@ -4,12 +4,12 @@
// building binutils required this stubs!
+
long sysconf(int name)
{
return 0;
}
-
mode_t umask(mode_t mask)
{
return mask;