This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] arm/linux-syscalls0.S: Add system calls


Shaun Jackman wrote:
This patch adds a few useful system calls to the libgloss ARM/Linux
system call interface. Alright to commit?


Yes, please go ahead.


-- Jeff J.

Cheers,
Shaun

2006-06-29 Shaun Jackman <sjackman@gmail.com>

    * arm/linux-syscalls0.S (ftruncate, getegid, geteuid, getgid,
    getgroups, getpgid, getpgrp, getuid, lchown, pause, pipe,
    setpgid, setgid, setsid, setuid, sigprocmask, sync, uname): New
    system call.

Index: linux-syscalls0.S
===================================================================
RCS file: /cvs/src/src/libgloss/arm/linux-syscalls0.S,v
retrieving revision 1.2
diff -u -r1.2 linux-syscalls0.S
--- linux-syscalls0.S    5 Jun 2006 20:15:23 -0000    1.2
+++ linux-syscalls0.S    29 Jun 2006 17:13:58 -0000
@@ -97,11 +97,20 @@
SYSCALL1(exit)
 SYSCALL3(fcntl)
 SYSCALL2(fstat)
+SYSCALL2(ftruncate)
 SYSCALL3(getdents)
+SYSCALL0(getegid)
+SYSCALL0(geteuid)
+SYSCALL0(getgid)
+SYSCALL2(getgroups)
+SYSCALL1(getpgid)
+SYSCALL0(getpgrp)
 SYSCALL0(getpid)
+SYSCALL0(getuid)
 SYSCALL2(gettimeofday)
SYSCALL3(ioctl)
SYSCALL2(kill)
+SYSCALL3(lchown)
SYSCALL2(link)
 SYSCALL3(lseek)
 SYSCALL2(lstat)
@@ -109,19 +118,28 @@
 SYSCALL3(mknod)
 SYSCALL2(nanosleep)
SYSCALL3(open)
+SYSCALL0(pause)
+SYSCALL1(pipe)
SYSCALL3(read)
 SYSCALL3(readlink)
SYSCALL4(reboot)
 SYSCALL1(rmdir)
SYSCALL5(select)
+SYSCALL2(setpgid)
+SYSCALL1(setgid)
+SYSCALL0(setsid)
+SYSCALL1(setuid)
+SYSCALL3(sigprocmask)
 SYSCALL2(socketcall)
SYSCALL2(stat)
 SYSCALL1(stime)
 SYSCALL2(symlink)
+SYSCALL1(sync)
 SYSCALL1(sysinfo)
SYSCALL1(times)
SYSCALL2(truncate)
 SYSCALL1(umask)
+SYSCALL1(uname)
SYSCALL1(unlink)
 SYSCALL2(utime)
 SYSCALL0(vfork)
@@ -136,20 +154,38 @@
 ALIAS(chown)
 ALIAS(dup)
ALIAS(dup2)
+ALIAS(ftruncate)
 ALIAS(getdents)
+ALIAS(getegid)
+ALIAS(geteuid)
+ALIAS(getgid)
+ALIAS(getgroups)
+ALIAS(getpgid)
+ALIAS(getpgrp)
+ALIAS(getuid)
ALIAS(ioctl)
+ALIAS(lchown)
 ALIAS(lstat)
 ALIAS(mkdir)
 ALIAS(mknod)
 ALIAS(nanosleep)
+ALIAS(pause)
+ALIAS(pipe)
 ALIAS(readlink)
 ALIAS(rmdir)
ALIAS(select)
+ALIAS(setgid)
+ALIAS(setpgid)
+ALIAS(setsid)
+ALIAS(setuid)
+ALIAS(sigprocmask)
 ALIAS(stime)
 ALIAS(symlink)
+ALIAS(sync)
 ALIAS(sysinfo)
ALIAS(truncate)
 ALIAS(umask)
+ALIAS(uname)
 ALIAS(utime)
 ALIAS(vfork)
ALIAS(wait4)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]