1999-11-14  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
	* sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
	prototype.
	* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
	* sysdeps/powerpc/stackinfo.h: New file.
This commit is contained in:
Ulrich Drepper 1999-11-15 00:13:42 +00:00
parent 589e57a9df
commit 8ba4e594c5
4 changed files with 39 additions and 0 deletions

View File

@ -1,3 +1,11 @@
1999-11-14 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/execve.c: Add __syscall_execve prototype.
* sysdeps/unix/sysv/linux/setrlimit.c: Add __syscall_setrlimit
prototype.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Add setrlimit.
* sysdeps/powerpc/stackinfo.h: New file.
1999-11-13 Roland McGrath <roland@baalperazim.frob.com>
* Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to

View File

@ -0,0 +1,28 @@
/* Copyright (C) 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with the GNU C Library; see the file COPYING.LIB. If not,
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* This file contains a bit of information about the stack allocation
of the processor. */
#ifndef _STACKINFO_H
#define _STACKINFO_H 1
/* On PPC the stack grows down. */
#define _STACK_GROWS_DOWN 1
#endif /* stackinfo.h */

View File

@ -22,6 +22,7 @@ s_pread64 pread64 pread 5 __syscall_pread
s_ptrace ptrace ptrace 4 __syscall_ptrace
s_pwrite64 pwrite64 pwrite 5 __syscall_pwrite
s_reboot reboot reboot 3 __syscall_reboot
s_setrlimit setrlimit setrlimit 3 __syscall_setrlimit
s_sigaction sigaction sigaction 3 __syscall_sigaction
s_sigpending sigpending sigpending 1 __syscall_sigpending
s_sigprocmask sigprocmask sigprocmask 3 __syscall_sigprocmask

View File

@ -25,6 +25,8 @@
#include "kernel-features.h"
extern int __syscall_setrlimit (unsigned int resource,
const struct rlimit *rlimits);
/* Linux 2.3.25 introduced a new system call since the types used for
the limits are now unsigned. */