search for: have_faccessat

Displaying 6 results from an estimated 6 matches for "have_faccessat".

2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Fix "test -x" as root on FreeBSD 8
...ged, 20 insertions(+) diff --git a/usr/dash/bltin/test.c b/usr/dash/bltin/test.c index 458e9f55..bab9a1f9 100644 --- a/usr/dash/bltin/test.c +++ b/usr/dash/bltin/test.c @@ -155,6 +155,14 @@ static int test_st_mode(const struct stat64 *, int); static int bash_group_member(gid_t); #endif +#ifdef HAVE_FACCESSAT +# ifdef HAVE_TRADITIONAL_FACCESSAT +static inline int faccessat_confused_about_superuser(void) { return 1; } +# else +static inline int faccessat_confused_about_superuser(void) { return 0; } +# endif +#endif + static inline intmax_t getn(const char *s) { return atomax10(s); @@ -493,8 +501,20 @...
2020 Mar 28
0
[klibc:update-dash] dash: builtin: Use test_access from NetBSD when faccessat is unavailable
...++++++++++++------------ 1 file changed, 157 insertions(+), 46 deletions(-) diff --git a/usr/dash/bltin/test.c b/usr/dash/bltin/test.c index d1458df3..b7188df7 100644 --- a/usr/dash/bltin/test.c +++ b/usr/dash/bltin/test.c @@ -151,8 +151,7 @@ static int equalf(const char *, const char *); #ifdef HAVE_FACCESSAT static int test_file_access(const char *, int); #else -static int test_st_mode(const struct stat64 *, int); -static int bash_group_member(gid_t); +static int test_access(const struct stat64 *, int); #endif #ifdef HAVE_FACCESSAT @@ -397,11 +396,11 @@ filstat(char *nm, enum token mode) switch...
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Fix "test -x" as root on FreeBSD 8
...ged, 20 insertions(+) diff --git a/usr/dash/bltin/test.c b/usr/dash/bltin/test.c index 458e9f55..bab9a1f9 100644 --- a/usr/dash/bltin/test.c +++ b/usr/dash/bltin/test.c @@ -155,6 +155,14 @@ static int test_st_mode(const struct stat64 *, int); static int bash_group_member(gid_t); #endif +#ifdef HAVE_FACCESSAT +# ifdef HAVE_TRADITIONAL_FACCESSAT +static inline int faccessat_confused_about_superuser(void) { return 1; } +# else +static inline int faccessat_confused_about_superuser(void) { return 0; } +# endif +#endif + static inline intmax_t getn(const char *s) { return atomax10(s); @@ -493,8 +501,20 @...
2010 Apr 21
0
[git pull v5] dash, sh4, ipconfig, dprintf, fstype, README's
hello hpa, disabled faccessat in klibc to go forward with this dash sync, and HAVE_FACCESSAT in dash config.h, no other change. please pull: git pull git://git.debian.org/users/maks/klibc.git maks
2010 Jul 21
0
Samba install on AIX
...;GNULIB_WRITE''@|0|g' < ./unistd.in.h | sed -e 's|@''HAVE_CHOWN''@|1|g' -e 's|@''HAVE_DUP2''@|1|g' -e 's|@''HAVE_DUP3''@|1|g' -e 's|@''HAVE_EUIDACCESS''@|1|g' -e 's|@''HAVE_FACCESSAT''@|1|g' -e 's|@''HAVE_FCHOWNAT''@|1|g' -e 's|@''HAVE_FSYNC''@|1|g' -e 's|@''HAVE_FTRUNCATE''@|1|g' -e 's|@''HAVE_GETDOMAINNAME''@|1|g' -e 's|@''HAVE_GETDTABLESIZE''...
2011 Jun 07
3
builder-debian febootstrap success d6d144eab55388d4117880f2d3a7e8c2571c9d9a
This is an automatic message generated by the builder on builder-debian for febootstrap. Log files from the build follow below. Linux builder-debian.home.annexia.org 2.6.36-trunk-amd64 #1 SMP Wed Oct 27 14:28:29 UTC 2010 x86_64 GNU/Linux Tue Jun 7 20:00:01 BST 2011 ----- + git pull --rebase git://git.annexia.org/git/febootstrap.git master >From git://git.annexia.org/git/febootstrap *