mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
* io/euidaccess.c: Add eaccess as an alias.
* sysdeps/mach/hurd/euidaccess.c: Likewise. * sysdeps/posix/euidaccess.c: Likewise. * posix/unistd.h [__USE_GNU]: Declare eaccess. * io/Versions (libc: GLIBC_2.4): Add eaccess.
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
2006-01-06 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
|
* io/euidaccess.c: Add eaccess as an alias.
|
||||||
|
* sysdeps/mach/hurd/euidaccess.c: Likewise.
|
||||||
|
* sysdeps/posix/euidaccess.c: Likewise.
|
||||||
|
* posix/unistd.h [__USE_GNU]: Declare eaccess.
|
||||||
|
* io/Versions (libc: GLIBC_2.4): Add eaccess.
|
||||||
|
|
||||||
2005-12-04 Joseph S. Myers <joseph@codesourcery.com>
|
2005-12-04 Joseph S. Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* soft-fp/Makefile (gcc-single-routines): Add unordsf2,
|
* soft-fp/Makefile (gcc-single-routines): Add unordsf2,
|
||||||
|
@ -98,6 +98,8 @@ libc {
|
|||||||
nftw; nftw64;
|
nftw; nftw64;
|
||||||
}
|
}
|
||||||
GLIBC_2.4 {
|
GLIBC_2.4 {
|
||||||
|
eaccess;
|
||||||
|
|
||||||
fchmodat;
|
fchmodat;
|
||||||
fchownat;
|
fchownat;
|
||||||
__fxstatat; __fxstatat64;
|
__fxstatat; __fxstatat64;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Test for access to FILE using effective UID and GID. Stub version.
|
/* Test for access to FILE using effective UID and GID. Stub version.
|
||||||
Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
|
Copyright (C) 1991,1995,1996,1997,2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -36,5 +36,7 @@ __euidaccess (file, type)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
weak_alias (__euidaccess, euidaccess)
|
weak_alias (__euidaccess, euidaccess)
|
||||||
|
weak_alias (__euidaccess, eaccess)
|
||||||
stub_warning (euidaccess)
|
stub_warning (euidaccess)
|
||||||
|
stub_warning (eaccess)
|
||||||
#include <stub-tag.h>
|
#include <stub-tag.h>
|
||||||
|
@ -260,6 +260,10 @@ extern int access (__const char *__name, int __type) __THROW __nonnull ((1));
|
|||||||
(as normal file operations use). */
|
(as normal file operations use). */
|
||||||
extern int euidaccess (__const char *__name, int __type)
|
extern int euidaccess (__const char *__name, int __type)
|
||||||
__THROW __nonnull ((1));
|
__THROW __nonnull ((1));
|
||||||
|
|
||||||
|
/* An alias for `euidaccess', used by some other systems. */
|
||||||
|
extern int eaccess (__const char *__name, int __type)
|
||||||
|
__THROW __nonnull ((1));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Test for access to FILE using effective UID and GID. Hurd version.
|
/* Test for access to FILE using effective UID and GID. Hurd version.
|
||||||
Copyright (C) 1991, 1995, 1997 Free Software Foundation, Inc.
|
Copyright (C) 1991, 1995, 1997, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -57,3 +57,4 @@ __euidaccess (file, type)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
weak_alias (__euidaccess, euidaccess)
|
weak_alias (__euidaccess, euidaccess)
|
||||||
|
weak_alias (__euidaccess, eaccess)
|
||||||
|
@ -183,8 +183,10 @@ euidaccess (path, mode)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
#undef euidaccess
|
#undef euidaccess
|
||||||
|
#undef eaccess
|
||||||
#ifdef weak_alias
|
#ifdef weak_alias
|
||||||
weak_alias (__euidaccess, euidaccess)
|
weak_alias (__euidaccess, euidaccess)
|
||||||
|
weak_alias (__euidaccess, eaccess)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef TEST
|
#ifdef TEST
|
||||||
|
Reference in New Issue
Block a user