lillo
854c31f835
finished implementing get_thread_info, get_next_thread_info, get_team_info, get_next_team_info. New ps command behaving like the BeOS one is here, but doesn't work as libroot seems to crash when loaded at process startup... :/
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-04 02:04:37 +00:00
lillo
aded06e0aa
Second round of changes. Splitted thread.c into thread.c, team.c and scheduler.c. First kernel-only get_team_info and get_next_team_info implementation.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 23:39:50 +00:00
Axel Dörfler
ae372703ce
Big commit: Added symlink support to the kernel.
...
- added needed syscalls to access symlink support from userland
- implemented lstat(), symlink(), and readlink()
- added dev_t to ktypes.h (for now - should be in a public header anyway)
- added symlink support to the "ls" command (now calls lstat() and shows the
link target with the -l option)
- changed the sys_read_stat() call to support symlinks, and updated files
using that function (it gets an extra argument: bool traverseLink)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@560 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 02:03:27 +00:00
lillo
3cfbecf1a6
First round of big changes: the term team has replaced proc all over the kernel, the few kern_* syscalls have been renamed to sys_* for consistency, and other small changes. The ps app is temporarily disabled until get_next_team_info is implemented.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@557 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-08-03 00:41:27 +00:00
lillo
c0f8c7be80
little scheduler fixes and made team death synchronized by a semaphore
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@548 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-31 20:08:27 +00:00
Axel Dörfler
3aaee8e5b0
Beginnings of the symbolic link support, though it's not yet working.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@507 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-28 18:36:23 +00:00
Axel Dörfler
aa7d137cdd
Added the fs_info.h header needed for some stuff in the VFS.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@392 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-23 14:03:03 +00:00
lillo
0ba337c0a4
adding environmental variables support
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-18 13:59:03 +00:00
Axel Dörfler
b79d207dc2
user|sys_seek() now returns an off_t.
...
Changed the fd_close() call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-17 08:01:40 +00:00
Axel Dörfler
eba8b6cfb9
Next update of the VFS: more posix like open/create; divided create in
...
sys_create(), and sys_create_dir(), open in sys_open(), and sys_open_dir().
Small cleanups.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-14 05:08:26 +00:00
David Reid
3088c8d093
Add the prototype for snooze.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@152 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 20:26:06 +00:00
David Reid
45352a437a
Remove these files that are now in posix/sys where they belong
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 09:30:28 +00:00
David Reid
81f518cf5f
Remove this file, now in posix/sys
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 09:26:59 +00:00
David Reid
75afa2416d
Remove this file that is now in posix/sys
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 09:23:12 +00:00
David Reid
0b64a609ac
Remove this file as it's in posix/sys now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 09:20:24 +00:00
David Reid
16be84c573
Remove this file that has been moved to posix/sys
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-12 09:15:23 +00:00
David Reid
cc19bfc95b
These don't belong in here.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@82 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-11 14:59:23 +00:00
Axel Dörfler
f8d7610714
Added the syscalls for sys_read_dir(), and sys_rewind_dir().
...
sys_read_dir() now has a parameter for the maximum number of dirents that
are handled by the upper layer - which is currently 1.
Added a comment in fd.h to ease the location of the sys|user prototypes
of the corresponding functions in fd.c.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@58 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 21:46:34 +00:00
David Reid
db73233cdc
Couple of small additions and a lot more doxygen stuff.
...
Web updated to reflect this.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@56 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 20:37:42 +00:00
Axel Dörfler
74f88d9ebf
The syscalls.h wasn't up to date (unlike the one in the old tree).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@36 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-10 13:47:46 +00:00
Axel Dörfler
5a2b57c361
Updated to the current version of dirent.h (that somehow didn't make it to
...
here).
Notably changes are: C++ safe, struct dirent is now BeOS compatible.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@12 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 13:57:50 +00:00
ejakowatz
52a3801208
It is accomplished ...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-07-09 12:24:59 +00:00