Added syscalls for the attribute functions and fs_attr.c to the build.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1545 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2002-10-16 16:14:49 +00:00
parent b4dabf6063
commit f6fabd1b6d
2 changed files with 19 additions and 0 deletions

View File

@ -296,6 +296,7 @@ KernelLd libroot.so :
<$(SOURCE_GRIST)!libroot!os>area.o
<$(SOURCE_GRIST)!libroot!os>debug.o
<$(SOURCE_GRIST)!libroot!os>fs_attr.o
<$(SOURCE_GRIST)!libroot!os>port.o
<$(SOURCE_GRIST)!libroot!os>sem.o
<$(SOURCE_GRIST)!libroot!os>systeminfo.o

View File

@ -141,6 +141,24 @@ int syscall_dispatcher(unsigned long call_num, void *arg_buffer, uint64 *call_re
case SYSCALL_ACCESS:
*call_ret = user_access((const char *)arg0, (int)arg1);
break;
case SYSCALL_OPEN_ATTR_DIR:
*call_ret = user_open_attr_dir((int)arg0, (const char *)arg1);
break;
case SYSCALL_CREATE_ATTR:
*call_ret = user_create_attr((int)arg0, (const char *)arg1, (uint32)arg2, (int)arg3);
break;
case SYSCALL_OPEN_ATTR:
*call_ret = user_open_attr((int)arg0, (const char *)arg1, (int)arg2);
break;
case SYSCALL_WRITE_ATTR_STAT:
*call_ret = user_write_attr_stat((int)arg0, (const struct stat *)arg1, (int)arg2);
break;
case SYSCALL_REMOVE_ATTR:
*call_ret = user_remove_attr((int)arg0, (const char *)arg1);
break;
case SYSCALL_RENAME_ATTR:
*call_ret = user_rename_attr((int)arg0, (const char *)arg1, (int)arg2, (const char *)arg3);
break;
case SYSCALL_SYSTEM_TIME:
*call_ret = system_time();
break;