Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-07-28 | euidaccess.c [HAVE_LIBGEN_H]: Include <libgen.h>, for | Paul Eggert | |
eaccess on Solaris and SVR4-like systems. (euidaccess): Use HAVE_EACCESS, not HAVE_DECL_EACCESS. | |||
2004-07-25 | [!defined LIBC]: Included group-member.h, stat-macros.h. | Paul Eggert | |
(S_IXUSR, S_IXGRP, S_IXOTH, S_IROTH, S_IWOTH, S_IXOTH): Remove; now done by stat-macros.h. (NGROUPS_MAX, group_member): Remove; now down by group-member.h. No need to include <limits.h>. (errno): Remove decl; we now assume C89 or better. (access, getuid, getgid, geteuid, getegid, stat) [defined _LIBC]: New macros. (uid, gid, have_ids): Remove these static variables. They weren't accurate for programs that also invoked setreuid etc. (euidaccess) [defined EFF_ONLY_OK || defined ACC_SELF || HAVE_DECL_EACCSS]: Use builtin substitutes. [defined _LIBC]: Ignore __libc_enable_secure; it's not a correct optimization for programs run as root that later invoke setreuid. [no builtin substitutes && HAVE_DECL_SETREGID && PREFER_NONREENTRANT_EUIDACCESS]: Use setreuid+setregid to get the correct answer. [no builtin substitutes && ! (HAVE_DECL_SETREGID && PREFER_NONREENTRANT_EUIDACCESS)]: Don't assume that the stat macros have their historical values, as POSIX doesn't require this. [defined TEST]: Include <stdlib.h>; don't include errno.h twice; include <error.h> rather than "error.h". | |||
2004-06-30 | Use `file system', not filesystem in a comment. | Jim Meyering | |
2003-09-10 | (main): Define with a prototype. | Jim Meyering | |
2003-08-18 | Sync with gnulib. | Jim Meyering | |
2003-02-10 | Include "euidaccess.h". | Jim Meyering | |
2000-01-07 | Sync with the GNU C library. | Jim Meyering | |
1998-12-07 | ansideclify | Jim Meyering | |
1998-03-15 | Use #if, not #ifdef with HAVE_ macros | Jim Meyering | |
1996-07-15 | update FSF address in copyright | Jim Meyering | |
1996-05-21 | (euidaccess) [!S_IROTH]: Define. | Jim Meyering | |
[!S_IWOTH]: Define. [!S_IXOTH]: Define. Marcus Daniels <marcus@sysc.pdx.edu> reported that m68k NEXTSTEP 3.2 doesn't define S_IROTH or S_IWOTH unless some posix compile option is used and associated symbols defined. | |||
1995-11-03 | New version from glibc. | Jim Meyering | |
1995-10-30 | (eaccess_stat): Make static. | Jim Meyering | |
1995-05-19 | No longer include safe-l?stat.h. | Jim Meyering | |
1995-05-13 | (eaccess_stat): Make statp and path arguments const. | Jim Meyering | |
(euidaccess): Make statp argument const. Use stat, not safe_stat. | |||
1995-01-27 | Declare errno if it's not defined. | Jim Meyering | |
Rename SAFE_STAT to safe_stat. | |||
1994-11-03 | Define S_IXUSR, S_IXGRP, and S_IXOTH in terms of _IEXEC if they're not | Jim Meyering | |
already defined. Reported by Daniel Hagerty <hag@gnu.ai.mit.edu>. | |||
1994-11-01 | Initial revision | Jim Meyering | |