* sysdeps/mach/hurd/chown.c: Use INTDEF for __chown.
* sysdeps/unix/sysv/aix/chown.c: Likewise.
* sysdeps/unix/grantpt.c: Use INTUSE for __chown calls.
* sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
* sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Use INTDEF2 to define
__chown_internal.
* sysdeps/unix/sysv/linux/s390/s390-32//chown.c: Likewise.
* intl/dcngettext.c [_LIBC]: Use INTUSE for __dcngettext.
* intl/dngettext.c [_LIBC] (DCNGETTEXT): Use INTUSE.
* intl/ngettext.c: Likewise.
* include/sys/socket.h: Declare __connect_internal and define
__connect macro if not NOT_IN_libc.
* sysdeps/mach/hurd/connect.c: Use INTDEF for __connect.
* sysdeps/unix/sysv/aix/connect.c: Likewise.
* sysdeps/unix/sysv/linux/connect.S: Add __connect_internal alias.
* include/unistd.h: Declare __close_internal and define __close macro
if not NOT_IN_libc.
* libio/libioP.h (JUMO0, JUMP1, JUMP2, JUMP3, WJUMP0, WJUMP1, WJUMP2,
WJUMP3): Add extra parenthesis to avoid expanding element names with
macors like __close.
* sysdeps/unix/syscalls.list: Add __close_internal alias.
* include/unistd.h: Declare __dup2_internal and define __dup2 macro
if not NOT_IN_libc.
* sysdeps/mach/hurd/dup2.c: Use INTDEF for __dup2.
* sysdeps/posix/dup2.c: Use INTDEF for __dup2.
* sysdeps/unix/syscalls.list: Add __dup2_internal alias.
* include/unistd.h: Declare __fork_internal and define __fork macro
if not NOT_IN_libc.
* sysdeps/mach/hurd/fork.c: Use INTDEF for __fork.
* sysdeps/unix/sysv/aix/fork.c: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Add __fork_internal alias.
* include/stdio_ext.h: Declare __fsetlocking_internal and define
__fsetlocking macro to use it if not NOT_IN_libc.
* libio/__fsetlocking.c: Use INTDEF for __fsetlocking.
* libio/__fbufsize.c: Correct copyright.
* libio/__flbf.c: Likewise.
* libio/__fpending.c: Likewise.
* libio/__fpurge.c: Likewise.
* libio/__freadable.c: Likewise.
* libio/__freading.c: Likewise.
* libio/__fsetlocking.c: Likewise.
* libio/__fwritable.c: Likewise.
* libio/__fwriting.c: Likewise.
* include/stdio.h: Declare __asprintf_internal and define __asprintf
macro to use it if not NOT_IN_libc.
* stdio-common/asprintf.c: Use INTDEF for __asprintf.
* include/mntent.h: Declare __setmntent_internal,
__getmntent_r_internal, __endmntent_internal. Define __setmntent,
__getmntent_r, and __endmntent macros to use these functions if not
NOT_IN_libc.
* misc/mntent_r.c: Use INTDEF for __setmntent, __getmntent_r, and
__endmntent.
* include/math.h: Declare __finite_internal, __finitef_internal, and
__finitel_internal. Redefine isfinite macro if in libc or libm using
these functions.
* sysdeps/generic/s_ldexp.c: Use INTUSE for __finite calls.
* sysdeps/generic/s_ldexpf.c: Use INTUSE for __finitef calls.
* sysdeps/generic/s_ldexpl.c: Use INTUSE for __finitel calls.
* sysdeps/i386/fpu/s_finite.S: Define _internal alias.
* sysdeps/i386/fpu/s_finitef.S: Likewise.
* sysdeps/i386/fpu/s_finitel.S: Likewise.
* sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
* sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
* include/fcntl.h: Declare __fcntl_internal. Define __fcntl macro
to use this function if not NOT_IN_libc.
* libio/iofdopen.c (_IO_fcntl): Use INTUSE.
* sysdeps/generic/fcntl.c: Use INTDEF for __fcntl.
* sysdeps/mach/hurd/fcntl.c: Likewise.
* sysdeps/unix/sysv/aix/fcntl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
* include/argz.h: Declare __argz_count_internal and
__argz_stringify_internal.
* intl/l10nflist.c [_LIBC]: Use INTUSE for __argz_count and
__argz_stringify.
* string/argz-count.c: Use INTDEF for __argz_count.
* string/argz-stringify.c: Use INTDEF for __argz_stringify.
* include/stdlib.h: Declare __cxa_atexit_internal and define
__cxa_atexit macro if not NOT_IN_libc.
* stdlib/cxa_atexit.c: Use INTDEF for __cxa_atexit.
* dlfcn/Makefile: Define NOT_IN_libc when compiling modcxaatexit.c.
* assert/assert.c: Use INTDEF for __assert_fail.
* assert/__assert.c: Use INTUSE for call to __assert_fail.
* include/assert.h: Declare __assert_fail_internal.
2002-04-09 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/mach/hurd/chown.c: Use INTDEF for __chown.
+ * sysdeps/unix/sysv/aix/chown.c: Likewise.
+ * sysdeps/unix/grantpt.c: Use INTUSE for __chown calls.
+ * sysdeps/unix/sysv/linux/m68k/chown.c: Likewise.
+ * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
+ * sysdeps/unix/sysv/linux/i386/chown.c: Use INTDEF2 to define
+ __chown_internal.
+ * sysdeps/unix/sysv/linux/s390/s390-32//chown.c: Likewise.
+
+ * intl/dcngettext.c [_LIBC]: Use INTUSE for __dcngettext.
+ * intl/dngettext.c [_LIBC] (DCNGETTEXT): Use INTUSE.
+ * intl/ngettext.c: Likewise.
+
+ * include/sys/socket.h: Declare __connect_internal and define
+ __connect macro if not NOT_IN_libc.
+ * sysdeps/mach/hurd/connect.c: Use INTDEF for __connect.
+ * sysdeps/unix/sysv/aix/connect.c: Likewise.
+ * sysdeps/unix/sysv/linux/connect.S: Add __connect_internal alias.
+
+ * include/unistd.h: Declare __close_internal and define __close macro
+ if not NOT_IN_libc.
+ * libio/libioP.h (JUMO0, JUMP1, JUMP2, JUMP3, WJUMP0, WJUMP1, WJUMP2,
+ WJUMP3): Add extra parenthesis to avoid expanding element names with
+ macors like __close.
+ * sysdeps/unix/syscalls.list: Add __close_internal alias.
+
+ * include/unistd.h: Declare __dup2_internal and define __dup2 macro
+ if not NOT_IN_libc.
+ * sysdeps/mach/hurd/dup2.c: Use INTDEF for __dup2.
+ * sysdeps/posix/dup2.c: Use INTDEF for __dup2.
+ * sysdeps/unix/syscalls.list: Add __dup2_internal alias.
+
+ * include/unistd.h: Declare __fork_internal and define __fork macro
+ if not NOT_IN_libc.
+ * sysdeps/mach/hurd/fork.c: Use INTDEF for __fork.
+ * sysdeps/unix/sysv/aix/fork.c: Likewise.
+ * sysdeps/unix/sysv/linux/syscalls.list: Add __fork_internal alias.
+
+ * include/stdio_ext.h: Declare __fsetlocking_internal and define
+ __fsetlocking macro to use it if not NOT_IN_libc.
+ * libio/__fsetlocking.c: Use INTDEF for __fsetlocking.
+
+ * libio/__fbufsize.c: Correct copyright.
+ * libio/__flbf.c: Likewise.
+ * libio/__fpending.c: Likewise.
+ * libio/__fpurge.c: Likewise.
+ * libio/__freadable.c: Likewise.
+ * libio/__freading.c: Likewise.
+ * libio/__fsetlocking.c: Likewise.
+ * libio/__fwritable.c: Likewise.
+ * libio/__fwriting.c: Likewise.
+
+ * include/stdio.h: Declare __asprintf_internal and define __asprintf
+ macro to use it if not NOT_IN_libc.
+ * stdio-common/asprintf.c: Use INTDEF for __asprintf.
+
+ * include/mntent.h: Declare __setmntent_internal,
+ __getmntent_r_internal, __endmntent_internal. Define __setmntent,
+ __getmntent_r, and __endmntent macros to use these functions if not
+ NOT_IN_libc.
+ * misc/mntent_r.c: Use INTDEF for __setmntent, __getmntent_r, and
+ __endmntent.
+
+ * include/math.h: Declare __finite_internal, __finitef_internal, and
+ __finitel_internal. Redefine isfinite macro if in libc or libm using
+ these functions.
+ * sysdeps/generic/s_ldexp.c: Use INTUSE for __finite calls.
+ * sysdeps/generic/s_ldexpf.c: Use INTUSE for __finitef calls.
+ * sysdeps/generic/s_ldexpl.c: Use INTUSE for __finitel calls.
+ * sysdeps/i386/fpu/s_finite.S: Define _internal alias.
+ * sysdeps/i386/fpu/s_finitef.S: Likewise.
+ * sysdeps/i386/fpu/s_finitel.S: Likewise.
+ * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
+ * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
+ * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
+ * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
+
+ * include/fcntl.h: Declare __fcntl_internal. Define __fcntl macro
+ to use this function if not NOT_IN_libc.
+ * libio/iofdopen.c (_IO_fcntl): Use INTUSE.
+ * sysdeps/generic/fcntl.c: Use INTDEF for __fcntl.
+ * sysdeps/mach/hurd/fcntl.c: Likewise.
+ * sysdeps/unix/sysv/aix/fcntl.c: Likewise.
+ * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
+
+ * include/argz.h: Declare __argz_count_internal and
+ __argz_stringify_internal.
+ * intl/l10nflist.c [_LIBC]: Use INTUSE for __argz_count and
+ __argz_stringify.
+ * string/argz-count.c: Use INTDEF for __argz_count.
+ * string/argz-stringify.c: Use INTDEF for __argz_stringify.
+
+ * include/stdlib.h: Declare __cxa_atexit_internal and define
+ __cxa_atexit macro if not NOT_IN_libc.
+ * stdlib/cxa_atexit.c: Use INTDEF for __cxa_atexit.
+ * dlfcn/Makefile: Define NOT_IN_libc when compiling modcxaatexit.c.
+
+ * assert/assert.c: Use INTDEF for __assert_fail.
+ * assert/__assert.c: Use INTUSE for call to __assert_fail.
+ * include/assert.h: Declare __assert_fail_internal.
+
* extra-lib.mk: Mark assignment to lib with override.
2002-04-08 Ulrich Drepper <drepper@redhat.com>
ifneq (,$(tests))
cpp-srcs-left = $(tests)
-lib = tests
+lib := tests
include $(patsubst %,$(..)cppflags-iterator.mk,$(tests))
endif
\f
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002 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
void
__assert (const char *assertion, const char *file, int line)
{
- __assert_fail (assertion, file, line, (const char *) 0);
+ INTUSE(__assert_fail) (assertion, file, line, (const char *) 0);
}
abort ();
}
+INTDEF(__assert_fail)
$(objpfx)tstatexit: $(libdl)
$(objpfx)tstatexit.out: $(objpfx)tstatexit $(objpfx)modatexit.so
+CPPFLAGS-modcxaatexit.c = -DNOT_IN_libc
$(objpfx)tstcxaatexit: $(libdl)
$(objpfx)tstcxaatexit.out: $(objpfx)tstcxaatexit $(objpfx)modcxaatexit.so
+f#ifndef _ARGZ_H
+
#include <string/argz.h>
+
+extern size_t __argz_count_internal (__const char *__argz, size_t __len)
+ __attribute_pure__ attribute_hidden;
+extern void __argz_stringify_internal (char *__argz, size_t __len, int __sep)
+ attribute_hidden;
+
+#endif
#include <assert/assert.h>
+
+extern void __assert_fail_internal (__const char *__assertion,
+ __const char *__file,
+ unsigned int __line,
+ __const char *__function)
+ __attribute__ ((__noreturn__)) attribute_hidden;
extern int __libc_open (const char *file, int oflag, ...);
extern int __libc_fcntl (int fd, int cmd, ...);
extern int __open (__const char *__file, int __oflag, ...);
-extern int __fcntl (int __fd, int __cmd, ...) __THROW;
+extern int __fcntl (int __fd, int __cmd, ...);
+extern int __fcntl_internal (int __fd, int __cmd, ...);
+
+#ifndef NOT_IN_libc
+# define __fcntl(fd, cmd, args...) INTUSE(__fcntl) (fd, cmd, ##args)
+#endif
#endif
/* Now define the internal interfaces. */
extern int __matherr (struct exception *__exc);
+extern int __finite_internal (double __value)
+ __attribute__ ((__const__)) attribute_hidden;
+extern int __finitef_internal (float __value)
+ __attribute__ ((__const__)) attribute_hidden;
+extern int __finitel_internal (long double __value)
+ __attribute__ ((__const__)) attribute_hidden;
+
+#if !defined NOT_IN_libc || defined IS_IN_libm
+# undef isfinite
+# ifdef __NO_LONG_DOUBLE_MATH
+# define isfinite(x) \
+ (sizeof (x) == (sizeof (float) \
+ ? INTUSE(__finitef) (x) : INTUSE(__finite) (x)))
+# else
+# define isfinite(x) \
+ (sizeof (x) == sizeof (float) \
+ ? INTUSE(__finitef) (x) \
+ : sizeof (x) == sizeof (double) \
+ ? INTUSE(__finite) (x) : INTUSE(__finitel) (x))
+# endif
+#endif
+
+
#endif
/* Now define the internal interfaces. */
extern FILE *__setmntent (__const char *__file, __const char *__mode);
+extern FILE *__setmntent_internal (__const char *__file, __const char *__mode);
extern struct mntent *__getmntent_r (FILE *__stream,
struct mntent *__result,
char *__buffer, int __bufsize);
+extern struct mntent *__getmntent_r_internal (FILE *__stream,
+ struct mntent *__result,
+ char *__buffer, int __bufsize)
+ attribute_hidden;
extern int __addmntent (FILE *__stream, __const struct mntent *__mnt);
extern int __endmntent (FILE *__stream);
+extern int __endmntent_internal (FILE *__stream) attribute_hidden;
extern char *__hasmntopt (__const struct mntent *__mnt,
__const char *__opt);
+
+#ifndef NOT_IN_libc
+# define __setmntent(file, mode) INTUSE(__setmntent) (file, mode)
+# define __endmntent(stream) INTUSE(__endmntent) (stream)
+# define __getmntent_r(stream, result, buffer, bufsize) \
+ INTUSE(__getmntent_r) (stream, result, buffer, bufsize)
+#endif
+
#endif
extern __const char *__const _sys_errlist_internal[] attribute_hidden;
extern int _sys_nerr_internal attribute_hidden;
+extern int __asprintf_internal (char **__restrict __ptr,
+ __const char *__restrict __fmt, ...)
+ attribute_hidden __attribute__ ((__format__ (__printf__, 2, 3)));
+# ifndef NOT_IN_libc
+# define __asprintf(ptr, fmt, args...) \
+ INTUSE(__asprintf) (ptr, fmt, ##args)
+# endif
+
# endif
#endif
# include <stdio-common/stdio_ext.h>
+extern int __fsetlocking_internal (FILE *__fp, int __type) attribute_hidden;
+
+#ifndef NOT_IN_libc
+# define __fsetlocking(fp, type) INTUSE(__fsetlocking) (fp, type)
+#endif
+
#endif
extern int __on_exit (void (*__func) (int __status, void *__arg), void *__arg);
extern int __cxa_atexit (void (*func) (void *), void *arg, void *d);
+extern int __cxa_atexit_internal (void (*func) (void *), void *arg, void *d)
+ attribute_hidden;
extern void __cxa_finalize (void *d);
# ifndef NOT_IN_libc
# undef MB_CUR_MAX
# define MB_CUR_MAX (_NL_CURRENT_WORD (LC_CTYPE, _NL_CTYPE_MB_CUR_MAX))
+
+# define __cxa_atexit(func, arg, d) INTUSE(__cxa_atexit) (func, arg, d)
# endif
#endif
and the only address from which to accept transmissions.
Return 0 on success, -1 for errors. */
extern int __connect (int __fd, __CONST_SOCKADDR_ARG __addr, socklen_t __len);
+extern int __connect_internal (int __fd, __CONST_SOCKADDR_ARG __addr,
+ socklen_t __len) attribute_hidden;
/* Return the length of a `sockaddr' structure. */
#ifdef _HAVE_SA_LEN
extern int __libc_sa_len (sa_family_t __af) __THROW;
#endif
+
+#ifndef NOT_IN_libc
+# define __connect(fd, addr, len) INTUSE(__connect) (fd, addr, len)
+#endif
+
#endif
extern int __dup (int __fd);
extern int __dup2 (int __fd, int __fd2);
+extern int __dup2_internal (int __fd, int __fd2) attribute_hidden;
extern int __execve (__const char *__path, char *__const __argv[],
char *__const __envp[]);
extern long int __pathconf (__const char *__path, int __name);
extern int __getdtablesize (void);
extern int __brk (void *__addr);
extern int __close (int __fd);
+extern int __close_internal (int __fd) attribute_hidden;
extern ssize_t __read (int __fd, void *__buf, size_t __nbytes);
extern ssize_t __write (int __fd, __const void *__buf, size_t __n);
extern __pid_t __fork (void);
+extern __pid_t __fork_internal (void) attribute_hidden;
extern int __getpagesize (void) __attribute__ ((__const__));
extern int __ftruncate (int __fd, __off_t __length);
extern int __ftruncate64 (int __fd, __off64_t __length);
extern void __libc_check_standard_fds (void);
+#ifndef NOT_IN_libc
+# define __close(fd) INTUSE(__close) (fd)
+# define __dup2(fd, fd2) INTUSE(__dup2) (fd, fd2)
+# define __fork() INTUSE(__fork) ()
+#endif
+
#endif
/* Implementation of the dcngettext(3) function.
- Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1995-1999, 2000, 2001, 2002 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
#ifdef _LIBC
/* Alias for function name in GNU C Library. */
+INTDEF(__dcngettext)
weak_alias (__dcngettext, dcngettext);
#endif
/* Implementation of the dngettext(3) function.
- Copyright (C) 1995-1997, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1995-1997, 2000, 2001, 2002 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
prefix. So we have to make a difference here. */
#ifdef _LIBC
# define DNGETTEXT __dngettext
-# define DCNGETTEXT __dcngettext
+# define DCNGETTEXT INTUSE(__dcngettext)
#else
# define DNGETTEXT dngettext__
# define DCNGETTEXT dcngettext__
-/* Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1995-1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
}
# undef __argz_count
# define __argz_count(argz, len) argz_count__ (argz, len)
+#else
+# ifdef _LIBC
+# define __argz_count(argz, len) INTUSE(__argz_count) (argz, len)
+# endif
#endif /* !_LIBC && !HAVE___ARGZ_COUNT */
#if !defined _LIBC && !defined HAVE___ARGZ_STRINGIFY
}
# undef __argz_stringify
# define __argz_stringify(argz, len, sep) argz_stringify__ (argz, len, sep)
+#else
+# ifdef _LIBC
+# define __argz_stringify(argz, len, sep) \
+ INTUSE(__argz_stringify) (argz, len, sep)
+# endif
#endif /* !_LIBC && !HAVE___ARGZ_STRINGIFY */
#if !defined _LIBC && !defined HAVE___ARGZ_NEXT
/* Implementation of ngettext(3) function.
- Copyright (C) 1995, 1997, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1997, 2000, 2001, 2002 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
prefix. So we have to make a difference here. */
#ifdef _LIBC
# define NGETTEXT __ngettext
-# define DCNGETTEXT __dcngettext
+# define DCNGETTEXT INTUSE(__dcngettext)
#else
# define NGETTEXT ngettext__
# define DCNGETTEXT dcngettext__
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002 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
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA.
-
- As a special exception, if you link the code in this file with
- files compiled with a GNU compiler to produce an executable,
- that does not cause the resulting executable to be covered by
- the GNU Lesser General Public License. This exception does not
- however invalidate any other reasons why the executable file
- might be covered by the GNU Lesser General Public License.
- This exception applies to code released by its copyright holders
- in files containing the exception. */
+ 02111-1307 USA. */
#include <stdio_ext.h>
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002 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
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA.
-
- As a special exception, if you link the code in this file with
- files compiled with a GNU compiler to produce an executable,
- that does not cause the resulting executable to be covered by
- the GNU Lesser General Public License. This exception does not
- however invalidate any other reasons why the executable file
- might be covered by the GNU Lesser General Public License.
- This exception applies to code released by its copyright holders
- in files containing the exception. */
+ 02111-1307 USA. */
#include <stdio_ext.h>
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002 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
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA.
-
- As a special exception, if you link the code in this file with
- files compiled with a GNU compiler to produce an executable,
- that does not cause the resulting executable to be covered by
- the GNU Lesser General Public License. This exception does not
- however invalidate any other reasons why the executable file
- might be covered by the GNU Lesser General Public License.
- This exception applies to code released by its copyright holders
- in files containing the exception. */
+ 02111-1307 USA. */
#include <stdio_ext.h>
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA.
-
- As a special exception, if you link the code in this file with
- files compiled with a GNU compiler to produce an executable,
- that does not cause the resulting executable to be covered by
- the GNU Lesser General Public License. This exception does not
- however invalidate any other reasons why the executable file
- might be covered by the GNU Lesser General Public License.
- This exception applies to code released by its copyright holders
- in files containing the exception. */
+ 02111-1307 USA. */
#include <stdio_ext.h>
#include "libioP.h"
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002 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
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA.
-
- As a special exception, if you link the code in this file with
- files compiled with a GNU compiler to produce an executable,
- that does not cause the resulting executable to be covered by
- the GNU Lesser General Public License. This exception does not
- however invalidate any other reasons why the executable file
- might be covered by the GNU Lesser General Public License.
- This exception applies to code released by its copyright holders
- in files containing the exception. */
+ 02111-1307 USA. */
#include <stdio_ext.h>
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002 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
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA.
-
- As a special exception, if you link the code in this file with
- files compiled with a GNU compiler to produce an executable,
- that does not cause the resulting executable to be covered by
- the GNU Lesser General Public License. This exception does not
- however invalidate any other reasons why the executable file
- might be covered by the GNU Lesser General Public License.
- This exception applies to code released by its copyright holders
- in files containing the exception. */
+ 02111-1307 USA. */
#include <stdio_ext.h>
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002 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
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA.
-
- As a special exception, if you link the code in this file with
- files compiled with a GNU compiler to produce an executable,
- that does not cause the resulting executable to be covered by
- the GNU Lesser General Public License. This exception does not
- however invalidate any other reasons why the executable file
- might be covered by the GNU Lesser General Public License.
- This exception applies to code released by its copyright holders
- in files containing the exception. */
+ 02111-1307 USA. */
#include <stdio_ext.h>
+#undef __fsetlocking
+
int
__fsetlocking (FILE *fp, int type)
{
return result;
}
+INTDEF(__fsetlocking)
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002 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
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA.
-
- As a special exception, if you link the code in this file with
- files compiled with a GNU compiler to produce an executable,
- that does not cause the resulting executable to be covered by
- the GNU Lesser General Public License. This exception does not
- however invalidate any other reasons why the executable file
- might be covered by the GNU Lesser General Public License.
- This exception applies to code released by its copyright holders
- in files containing the exception. */
+ 02111-1307 USA. */
#include <stdio_ext.h>
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002 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
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
- 02111-1307 USA.
-
- As a special exception, if you link the code in this file with
- files compiled with a GNU compiler to produce an executable,
- that does not cause the resulting executable to be covered by
- the GNU Lesser General Public License. This exception does not
- however invalidate any other reasons why the executable file
- might be covered by the GNU Lesser General Public License.
- This exception applies to code released by its copyright holders
- in files containing the exception. */
+ 02111-1307 USA. */
#include <stdio_ext.h>
#ifndef _IO_fcntl
#ifdef _LIBC
-#define _IO_fcntl __fcntl
+#define _IO_fcntl INTUSE(__fcntl)
#else
#define _IO_fcntl fcntl
#endif
#define _IO_WIDE_JUMPS_FUNC(THIS) _IO_WIDE_JUMPS(THIS)
#ifdef _G_USING_THUNKS
# define JUMP_FIELD(TYPE, NAME) TYPE NAME
-# define JUMP0(FUNC, THIS) _IO_JUMPS_FUNC(THIS)->FUNC (THIS)
-# define JUMP1(FUNC, THIS, X1) _IO_JUMPS_FUNC(THIS)->FUNC (THIS, X1)
-# define JUMP2(FUNC, THIS, X1, X2) _IO_JUMPS_FUNC(THIS)->FUNC (THIS, X1, X2)
-# define JUMP3(FUNC, THIS, X1,X2,X3) _IO_JUMPS_FUNC(THIS)->FUNC (THIS, X1,X2, X3)
+# define JUMP0(FUNC, THIS) (_IO_JUMPS_FUNC(THIS)->FUNC) (THIS)
+# define JUMP1(FUNC, THIS, X1) (_IO_JUMPS_FUNC(THIS)->FUNC) (THIS, X1)
+# define JUMP2(FUNC, THIS, X1, X2) (_IO_JUMPS_FUNC(THIS)->FUNC) (THIS, X1, X2)
+# define JUMP3(FUNC, THIS, X1,X2,X3) (_IO_JUMPS_FUNC(THIS)->FUNC) (THIS, X1,X2, X3)
# define JUMP_INIT(NAME, VALUE) VALUE
# define JUMP_INIT_DUMMY JUMP_INIT(dummy, 0), JUMP_INIT (dummy2, 0)
-# define WJUMP0(FUNC, THIS) _IO_WIDE_JUMPS_FUNC(THIS)->FUNC (THIS)
-# define WJUMP1(FUNC, THIS, X1) _IO_WIDE_JUMPS_FUNC(THIS)->FUNC (THIS, X1)
-# define WJUMP2(FUNC, THIS, X1, X2) _IO_WIDE_JUMPS_FUNC(THIS)->FUNC (THIS, X1, X2)
-# define WJUMP3(FUNC, THIS, X1,X2,X3) _IO_WIDE_JUMPS_FUNC(THIS)->FUNC (THIS, X1,X2, X3)
+# define WJUMP0(FUNC, THIS) (_IO_WIDE_JUMPS_FUNC(THIS)->FUNC) (THIS)
+# define WJUMP1(FUNC, THIS, X1) (_IO_WIDE_JUMPS_FUNC(THIS)->FUNC) (THIS, X1)
+# define WJUMP2(FUNC, THIS, X1, X2) (_IO_WIDE_JUMPS_FUNC(THIS)->FUNC) (THIS, X1, X2)
+# define WJUMP3(FUNC, THIS, X1,X2,X3) (_IO_WIDE_JUMPS_FUNC(THIS)->FUNC) (THIS, X1,X2, X3)
#else
/* These macros will change when we re-implement vtables to use "thunks"! */
# define JUMP_FIELD(TYPE, NAME) struct { short delta1, delta2; TYPE pfn; } NAME
/* Minimum guaranteed maximum values for system limits. Linux version.
- Copyright (C) 1993, 94, 95, 96, 97, 98, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1993,94,95,96,97,98,2000,2002 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
/* Maximum number of POSIX timers available. */
#define TIMER_MAX 256
+
+/* Maximum number of timer expiration overruns. */
+#define DELAYTIMER_MAX 2147483647
/* Utilities for reading/writing fstab, mtab, etc.
- Copyright (C) 1995-2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1995-2000, 2001, 2002 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
# define funlockfile(s) _IO_funlockfile (s)
#endif
+#undef __setmntent
+#undef __endmntent
+#undef __getmntent_r
+
/* Prepare to begin reading and/or writing mount table entries from the
beginning of FILE. MODE is as for `fopen'. */
FILE *
return result;
}
+INTDEF(__setmntent)
weak_alias (__setmntent, setmntent)
fclose (stream);
return 1; /* SunOS 4.x says to always return 1 */
}
+INTDEF(__endmntent)
weak_alias (__endmntent, endmntent)
return mp;
}
+INTDEF(__getmntent_r)
weak_alias (__getmntent_r, getmntent_r)
-/* Copyright (C) 1991, 1995, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1997, 1998, 2002 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
# include <libio/libioP.h>
# define vasprintf(s, f, a) _IO_vasprintf (s, f, a)
#endif
+#undef __asprintf
/* Write formatted output from FORMAT to a string which is
allocated with malloc and stored in *STRING_PTR. */
return done;
}
+INTDEF(__asprintf)
weak_alias (__asprintf, asprintf)
-/* Copyright (C) 1999, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2001, 2002 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
#include <stdlib.h>
#include "exit.h"
+#undef __cxa_atexit
+
/* Register a function to be called by exit or when a shared library
is unloaded. This function is only called from code generated by
the C++ compiler. */
new->func.cxa.dso_handle = d;
return 0;
}
+INTDEF(__cxa_atexit)
/* We change global data, so we need locking. */
/* Routines for dealing with '\0' separated arg vectors.
- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Miles Bader <miles@gnu.ai.mit.edu>
}
return count;
}
+INTDEF(__argz_count)
weak_alias (__argz_count, argz_count)
/* Routines for dealing with '\0' separated arg vectors.
- Copyright (C) 1995,96,97,2000,2001 Free Software Foundation, Inc.
+ Copyright (C) 1995,96,97,2000,2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Miles Bader <miles@gnu.org>
*argz++ = sep;
}
}
+INTDEF(__argz_stringify)
weak_alias (__argz_stringify, argz_stringify)
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 2002 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
#include <errno.h>
#include <fcntl.h>
+#undef __fcntl
+
/* Perform file control operations on FD. */
int
__fcntl (fd, cmd)
double value; int exp;
#endif
{
- if(!__finite(value)||value==0.0) return value;
+ if(!INTUSE(__finite)(value)||value==0.0) return value;
value = __scalbn(value,exp);
- if(!__finite(value)||value==0.0) __set_errno (ERANGE);
+ if(!INTUSE(__finite)(value)||value==0.0) __set_errno (ERANGE);
return value;
}
weak_alias (__ldexp, ldexp)
float value; int exp;
#endif
{
- if(!__finitef(value)||value==(float)0.0) return value;
+ if(!INTUSE(__finitef)(value)||value==(float)0.0) return value;
value = __scalbnf(value,exp);
- if(!__finitef(value)||value==(float)0.0) __set_errno (ERANGE);
+ if(!INTUSE(__finitef)(value)||value==(float)0.0) __set_errno (ERANGE);
return value;
}
+INTDEF(__ldexpf)
weak_alias (__ldexpf, ldexpf)
long double value; int exp;
#endif
{
- if(!__finitel(value)||value==0.0) return value;
+ if(!INTUSE(__finitel)(value)||value==0.0) return value;
value = __scalbnl(value,exp);
- if(!__finitel(value)||value==0.0) __set_errno (ERANGE);
+ if(!INTUSE(__finitel)(value)||value==0.0) __set_errno (ERANGE);
return value;
}
weak_alias (__ldexpl, ldexpl)
shrl $31, %eax
ret
END (__finite)
+strong_alias(__finite, __finite_internal)
weak_alias (__finite, finite)
shrl $31,%eax
ret
END (__finitef)
+strong_alias(__finitef, __finitef_internal)
weak_alias (__finitef, finitef)
shrl $31, %eax
ret
END (__finitel)
+strong_alias(__finitel, __finitel_internal)
weak_alias (__finitel, finitel)
#include "math.h"
#include "math_private.h"
+#undef __finite
+
#ifdef __STDC__
int __finite(double x)
#else
GET_HIGH_WORD(hx,x);
return (int)((u_int32_t)((hx&0x7fffffff)-0x7ff00000)>>31);
}
+INTDEF(__finite)
weak_alias (__finite, finite)
#ifdef NO_LONG_DOUBLE
strong_alias (__finite, __finitel)
*
* Developed at SunPro, a Sun Microsystems, Inc. business.
* Permission to use, copy, modify, and distribute this
- * software is freely granted, provided that this notice
+ * software is freely granted, provided that this notice
* is preserved.
* ====================================================
*/
#include "math.h"
#include "math_private.h"
+#undef __finitef
+
#ifdef __STDC__
int __finitef(float x)
#else
GET_FLOAT_WORD(ix,x);
return (int)((u_int32_t)((ix&0x7fffffff)-0x7f800000)>>31);
}
+INTDEF(__finitef)
weak_alias (__finitef, finitef)
#include "math.h"
#include "math_private.h"
+#undef __finitel
+
#ifdef __STDC__
int __finitel(long double x)
#else
return (int)((u_int64_t)((hx&0x7fffffffffffffffLL)
-0x7fff000000000000LL)>>63);
}
+INTDEF(__finitel)
weak_alias (__finitel, finitel)
#include "math.h"
#include "math_private.h"
+#undef __finitel
+
#ifdef __STDC__
int __finitel(long double x)
#else
GET_LDOUBLE_EXP(exp,x);
return (int)((u_int32_t)((exp&0x7fff)-0x7fff)>>31);
}
+INTDEF(__finitel)
weak_alias (__finitel, finitel)
-/* Copyright (C) 1991, 1992, 1994, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1992,1994,1995,1997,2002 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
return 0;
}
+INTDEF(__chown)
weak_alias (__chown, chown)
#include <sys/un.h>
#include <hurd/ifsock.h>
+#undef __connect
+
/* Open a connection on socket FD to peer at ADDR (which LEN bytes long).
For connectionless socket types, just set the default address to send to
and the only address from which to accept transmissions.
return err ? __hurd_dfail (fd, err) : 0;
}
+INTDEF(__connect)
weak_alias (__connect, connect)
-/* Copyright (C) 1991, 92, 93, 94, 95, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 93, 94, 95, 97, 2002 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
#include <hurd.h>
#include <hurd/fd.h>
+#undef __dup2
+
/* Duplicate FD to FD2, closing the old FD2 and making FD2 be
open on the same file as FD is. Return FD2 or -1. */
return fd2;
}
+INTDEF(__dup2)
weak_alias (__dup2, dup2)
-/* Copyright (C) 1992,93,94,95,96,97,99,2000 Free Software Foundation, Inc.
+/* Copyright (C) 1992-1997,1999,2000,2002 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
#include <stdarg.h>
#include <sys/file.h> /* XXX for LOCK_* */
+#undef __fcntl
+
/* Perform file control operations on FD. */
int
#include <assert.h>
#include "hurdmalloc.h" /* XXX */
+#undef __fork
+
/* Things that want to be locked while forking. */
symbol_set_declare (_hurd_fork_locks)
return err ? __hurd_fail (err) : pid;
}
+INTDEF(__fork)
weak_alias (__fork, fork)
-/* Copyright (C) 1991, 92, 93, 95, 96, 97 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 93, 95, 96, 97, 2002 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
#include <limits.h>
#include <unistd.h>
+#undef __dup2
+
/* Duplicate FD to FD2, closing the old FD2 and making FD2 be
open the same file as FD is. Return FD2 or -1. */
return fcntl (fd, F_DUPFD, fd2);
}
+INTDEF(__dup2)
weak_alias (__dup2, dup2)
-/* Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2000, 2001, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Zack Weinberg <zack@rabi.phys.columbia.edu>, 1998.
uid = __getuid ();
if (st.st_uid != uid)
{
- if (__chown (buf, uid, st.st_gid) < 0)
+ if (INTUSE(__chown) (buf, uid, st.st_gid) < 0)
goto helper;
}
/* Make sure the group of the device is that special group. */
if (st.st_gid != gid)
{
- if (__chown (buf, uid, gid) < 0)
+ if (INTUSE(__chown) (buf, uid, gid) < 0)
goto helper;
}
chmod - chmod i:si __chmod chmod
chown - chown i:sii __chown chown
chroot - chroot i:s chroot
-close - close i:i __libc_close __close close
+close - close i:i __libc_close __close close __close_internal
dup - dup i:i __dup dup
-dup2 - dup2 i:ii __dup2 dup2
+dup2 - dup2 i:ii __dup2 dup2 __dup2_internal
fchdir - fchdir i:i __fchdir fchdir
fcntl - fcntl i:iiF __libc_fcntl __fcntl fcntl
fstatfs - fstatfs i:ip __fstatfs fstatfs
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2002 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
#include <unistd.h>
+#undef __chown
+
int
__chown (const char *file, uid_t owner, gid_t group)
{
return chown (file, owner, group);
}
+INTDEF(__chown)
/* This is a system call. We only have to provide the wrapper. */
#include <sys/socket.h>
+#undef __connect
+
int
__connect (int fd, __CONST_SOCKADDR_ARG addr, socklen_t len)
{
return connect (fd, addr, len);
}
+INTDEF(__connect)
-/* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2001, 2002 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
#include <fcntl.h>
#include <stdarg.h>
+#undef __fcntl
+
extern int kfcntl (int fdes, int cmd, unsigned long int arg);
int
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2002 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
#include <unistd.h>
+#undef __fork
pid_t
__fork (void)
{
return kfork ();
}
+INTDEF(__fork)
strong_alias (__fork, fork)
#define __socket __libc_connect
#define NARGS 3
#include <socket.S>
+strong_alias (__libc_connect, __connect_internal)
weak_alias (__libc_connect, __connect)
-/* Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 1999, 2000, 2002 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
#endif
#ifdef __NR_lchown
+INTDEF2(__real_chown, __chown)
strong_alias (__real_chown, _real_chown)
versioned_symbol (libc, __real_chown, __chown, GLIBC_2_1);
versioned_symbol (libc, _real_chown, chown, GLIBC_2_1);
#else
+INTDEF2(__chown_is_lchown, __chown)
strong_alias (__chown_is_lchown, __chown_is_lchown21)
strong_alias (__chown_is_lchown, _chown_is_lchown21)
versioned_symbol (libc, __chown_is_lchown21, __chown, GLIBC_2_1);
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2002 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
#include <sys/syscall.h>
#include "../kernel-features.h"
+#undef __fcntl
+
extern int __syscall_fcntl (int __fd, int __cmd, ...);
#ifdef __NR_fcntl64
extern int __syscall_fcntl64 (int __fd, int __cmd, ...);
return -1;
#endif /* __ASSUME_FCNTL64 */
}
+INTDEF2(__libc_fcntl, __fcntl);
weak_alias (__libc_fcntl, __fcntl)
weak_alias (__libc_fcntl, fcntl)
-/* Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2000, 2002 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
return INLINE_SYSCALL (chown, 3, CHECK_STRING (file), owner, group);
#endif
}
+INTDEF(__chown)
weak_alias (__chown, chown)
/* chown() compatibility.
- Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1998, 2000, 2002 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
int loopct;
int filelen;
static int libc_old_chown = 0 /* -1=old linux, 1=new linux, 0=unknown */;
-
+
if (libc_old_chown == 1)
return __syscall_chown (file, owner, group);
libc_old_chown = -1;
}
#endif
-
+
err = __readlink (file, link, PATH_MAX+1);
if (err == -1)
{
for (loopct = 0; loopct < 128; loopct++)
{
int linklen;
-
+
if (err >= PATH_MAX+1)
{
errno = ENAMETOOLONG;
link[err] = 0; /* Null-terminate string, just-in-case. */
linklen = strlen (link) + 1;
-
+
if (link[0] == '/')
memcpy (path, link, linklen);
else
{
filelen = strlen (path);
-
+
while (filelen > 1 && path[filelen-1] == '/')
filelen--;
while (filelen > 0 && path[filelen-1] != '/')
}
err = __readlink(path, link, PATH_MAX+1);
-
+
if (err == -1)
- {
+ {
errno = old_errno;
return __lchown(path, owner, group);
}
errno = ELOOP;
return -1;
}
+INTDEF(__chown)
#include <shlib-compat.h>
versioned_symbol (libc, __chown, chown, GLIBC_2_1);
-/* Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2001, 2002 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
compat_symbol (libc, __chown_is_lchown, __chown, GLIBC_2_0);
compat_symbol (libc, _chown_is_lchown, chown, GLIBC_2_0);
+INTDEF2(__real_chown, __chown)
strong_alias (__real_chown, _real_chown)
versioned_symbol (libc, __real_chown, __chown, GLIBC_2_1);
versioned_symbol (libc, _real_chown, chown, GLIBC_2_1);
#else
+INTDEF2(__real_chown, __chown)
strong_alias (__real_chown, __chown)
weak_alias (__real_chown, chown)
#endif
delete_module EXTRA delete_module 3 delete_module
fdatasync - fdatasync i:i fdatasync
flock - flock i:ii __flock flock
-fork - fork i: __libc_fork __fork fork
+fork - fork i: __libc_fork __fork fork __fork_internal
get_kernel_syms EXTRA get_kernel_syms i:p get_kernel_syms
getegid - getegid i: __getegid getegid
geteuid - geteuid i: __geteuid geteuid