Commit c7fc46ae authored by Samuel Holland's avatar Samuel Holland
Browse files

stdlib: Add secure_getenv alias to __secure_getenv


Signed-off-by: Samuel Holland's avatarSamuel Holland <samuel@sholland.org>
parent 5c4d0769
......@@ -55,6 +55,12 @@ socket
* Add __poll_chk
stdlib
------
* Add secure_getenv alias to __secure_getenv.
string
------
......
......@@ -5,6 +5,8 @@
#include <stdlib.h> /* getenv, realpath, strto* */
#include <unistd.h> /* get*id */
#include "alias.h"
/**
* Resolve a pathname, with buffer overflow checking.
*
......@@ -30,6 +32,7 @@ char *__secure_getenv(const char *name)
return getenv(name);
}
weak_alias(__secure_getenv, secure_getenv);
/**
* Underlying function for strtod.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment