[systemd-devel] [RFC 11/25] shared/missing.h: fall pack to insecure getenv

Cristian Rodríguez crrodriguez at opensuse.org
Thu Sep 18 08:09:21 PDT 2014


El 18/09/14 a las #4, Emil Renner Berthing escribió:
> ---
>   src/shared/missing.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/shared/missing.h b/src/shared/missing.h
> index b441149..8389c28 100644
> --- a/src/shared/missing.h
> +++ b/src/shared/missing.h
> @@ -353,7 +353,7 @@ static inline int name_to_handle_at(int fd, const char *name, struct file_handle
>   #  ifdef HAVE___SECURE_GETENV
>   #    define secure_getenv __secure_getenv
>   #  else
> -#    error "neither secure_getenv nor __secure_getenv are available"
> +#    define secure_getenv getenv
>   #  endif
>   #endif
>
>

No. this patch in particular (and maybe the whole sumbbision) is 
unnaceptable..

Systemd is designed to work with glibc and only glibc is supported, be 
comatible with it and there will be no need for any of this.

I suggest not to apply these series at all.



More information about the systemd-devel mailing list