Usermode/libc - Fix strchr and strrchr behavior
[tpg/acess2.git] / KernelLand / Kernel / syscalls.lst
1
2 0
3 SYS_EXIT        Kill this thread
4 SYS_CLONE       Create a new thread
5 SYS_KILL        Send a signal
6 SYS_SETFAULTHANDLER     Set signal Handler
7 SYS_YIELD       Yield remainder of timestamp
8 SYS_SLEEP       Sleep until messaged or signaled
9 SYS_TIMEDSLEEP  Sleep until a specified time has elapsed
10 SYS_WAITEVENT   Wait for an event
11 SYS_WAITTID     Wait for a thread to do something
12
13 SYS_SETSIGNALHANDLER    Set the POSIX signal handler
14 SYS_SETSIGNALMASK       Sets the mask of disabled POSIX signals
15
16 SYS_SETNAME     Sets the name of the current thread
17 SYS_GETNAME     Gets the name of a thread
18 SYS_GETTID      Get current thread ID
19 SYS_GETPID      Get current thread group ID
20 SYS_SETPRI      Set process priority
21
22 SYS_SENDMSG     Send an IPC message
23 SYS_GETMSG      Recieve an IPC message
24
25 SYS_GETTIME     Get the current timestamp
26
27 SYS_SPAWN       Spawn a new process
28 SYS_EXECVE      Replace the current process
29 SYS_LOADBIN     Load a binary into the current address space
30 SYS_UNLOADBIN   Unload a loaded binary
31 SYS_LOADMOD     Load a module into the kernel
32
33 32
34 SYS_GETPHYS     Get the physical address of a page
35 SYS_MAP         Map a physical address
36 SYS_ALLOCATE    Allocate a page
37 SYS_UNMAP       Unmap a page
38 SYS_PREALLOC    Preallocate a page
39 SYS_SETFLAGS    Set a page's flags
40 SYS_SHAREWITH   Share a page with another thread
41
42 SYS_GETUID      Get current User ID
43 SYS_GETGID      Get current Group ID
44 SYS_SETUID      Set current user ID
45 SYS_SETGID      Set current Group ID
46
47 64
48 SYS_OPEN        Open a file
49 SYS_REOPEN      Close a file and reuse its handle
50 SYS_OPENCHILD   Open a child entry in a directory
51 SYS_OPENPIPE    Open a FIFO pipe pair
52 SYS_CLOSE       Close a file
53 SYS_COPYFD      Create a copy of a file handle
54 SYS_FDCTL       Modify flags of a file descriptor
55 SYS_READ        Read from an open file
56 SYS_READAT      Read from an open file (with offset)
57 SYS_WRITE       Write to an open file
58 SYS_WRITEAT     Write to an open file (with offset)
59 SYS_TRUNCATE    Change the size of an open file
60 SYS_IOCTL       Perform an IOCtl Call
61 SYS_SEEK        Seek to a new position in the file
62 SYS_READDIR     Read from an open directory
63 SYS_GETACL      Get an ACL Value
64 SYS_SETACL      Set an ACL Value
65 SYS_FINFO       Get file information
66 SYS_MKDIR       Create a new directory
67 SYS_LINK        Create a new link to a file
68 SYS_SYMLINK     Create a symbolic link
69 SYS_UNLINK      Delete a file
70 SYS_TELL        Return the current file position
71 SYS_CHDIR       Change current directory
72 SYS_GETCWD      Get current directory
73 SYS_MOUNT       Mount a filesystem
74 SYS_SELECT      Wait for file handles
75 SYS_MMAP        Map a file into this address space
76 SYS_MUNMAP      Unmap a file
77 SYS_MARSHALFD   Create a reference to a FD suitable for handing to another process
78 SYS_UNMARSHALFD Accept a marshaled FD
79

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