Re: [PATCH] Add compat function for geteuid()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/15/2011 06:32 AM, Daniel P. Berrange wrote:
> * configure.ac: Check for geteuid()
> * src/util/util.h: Compat for geteuid()
> ---
>  configure.ac    |    2 +-
>  src/util/util.h |    4 ++++
>  2 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index a58ee4e..e2b2b24 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -120,7 +120,7 @@ AC_MSG_RESULT([$have_cpuid])
>  dnl Availability of various common functions (non-fatal if missing),
>  dnl and various less common threadsafe functions
>  AC_CHECK_FUNCS_ONCE([cfmakeraw regexec sched_getaffinity getuid getgid \
> - initgroups posix_fallocate mmap kill \
> + geteuid initgroups posix_fallocate mmap kill \
>   getmntent_r getgrnam_r getpwuid_r])

ACK; and this is one that gnulib doesn't provide for us, so your
implementation looks as good as any for mingw.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]