* slcommon.c (_pSLsecure_issetugid): Remove dependency on glibc private
function __libc_enable_secure().
Этот коммит содержится в:
родитель
12e531832f
Коммит
f235c1b358
@ -1,3 +1,8 @@
|
|||||||
|
2005-11-15 Leonard den Ottolander <leonard den ottolander nl>
|
||||||
|
|
||||||
|
* slcommon.c (_pSLsecure_issetugid): Remove dependency on glibc
|
||||||
|
private function __libc_enable_secure().
|
||||||
|
|
||||||
2005-11-10 Leonard den Ottolander <leonard den ottolander nl>
|
2005-11-10 Leonard den Ottolander <leonard den ottolander nl>
|
||||||
|
|
||||||
* *: Upgrade slang to 2.0.5.
|
* *: Upgrade slang to 2.0.5.
|
||||||
|
@ -191,7 +191,7 @@ char *SLcalloc (unsigned int nelems, unsigned int len)
|
|||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2)
|
#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) && 0
|
||||||
extern int __libc_enable_secure;
|
extern int __libc_enable_secure;
|
||||||
# define HAVE___LIBC_ENABLE_SECURE 1
|
# define HAVE___LIBC_ENABLE_SECURE 1
|
||||||
#endif
|
#endif
|
||||||
@ -201,7 +201,7 @@ int _pSLsecure_issetugid (void)
|
|||||||
#ifdef HAVE_ISSETUGID
|
#ifdef HAVE_ISSETUGID
|
||||||
return (1 == issetugid ());
|
return (1 == issetugid ());
|
||||||
#else
|
#else
|
||||||
# ifdef HAVE___LIBC_ENABLE_SECURE
|
# if defined HAVE___LIBC_ENABLE_SECURE && 0
|
||||||
return __libc_enable_secure;
|
return __libc_enable_secure;
|
||||||
# else
|
# else
|
||||||
# if defined(HAVE_GETUID) && defined(HAVE_GETEUID) && defined(HAVE_GETGID) && defined(HAVE_GETEUID)
|
# if defined(HAVE_GETUID) && defined(HAVE_GETEUID) && defined(HAVE_GETGID) && defined(HAVE_GETEUID)
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user