freebsd-src/include
lucy adeca21464 Add GNU glibc compatible secure_getenv
Add mostly glibc and msl compatible secure_getenv. Return NULL if
issetugid() indicates the process is tainted, otherwise getenv(x).  The
rational behind this is the fact that many Linux applications use this
function instead of getenv() as it's widely consider a, "best
practice".

Reviewed by: imp, mjg (feedback)
Pull Request: https://github.com/freebsd/freebsd-src/pull/686
Signed-off-by: Lucy Marsh <seafork@disroot.org>
2023-03-13 22:19:24 -06:00
..
arpa libc: Don't warn about RRSIG replies. 2022-11-09 17:41:47 +01:00
gssapi
i386 include/i386: fix release builds 2022-06-13 21:37:34 +01:00
protocols include: Fix typos 2023-02-22 11:52:57 -05:00
rpc include: Fix typos 2023-02-22 11:52:57 -05:00
rpcsvc Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
xlocale Remove 'All Rights Reserved' from xlocale FreeBSD Foundation copyrights 2021-12-16 14:29:12 -05:00
_ctype.h
a.out.h
ar.h
assert.h
bitstring.h
byteswap.h byteswap.h: Add a glibc/linux compatible byteswap.h 2023-01-20 16:37:39 -07:00
complex.h Implementations of cexpl() 2021-11-05 13:51:42 +02:00
cpio.h
ctype.h
db.h
dirent.h libc: Add strverscmp(3) and versionsort(3) 2022-08-25 03:29:03 +03:00
dlfcn.h Implement RTLD_DEEPBIND. 2020-05-15 11:58:01 +00:00
elf-hints.h
elf.h
endian.h linux: For better compatibility, provide compatible endian.h 2023-01-20 16:32:45 -07:00
err.h
fmtmsg.h
fnmatch.h
fstab.h
fts.h
ftw.h
getopt.h
glob.h
grp.h
gssapi.h
hesiod.h
iconv.h
ieeefp.h
ifaddrs.h
inttypes.h
iso646.h
kenv.h
langinfo.h
libgen.h
limits.h
link.h
locale.h
Makefile include: Remove no longer existing netgraph/atm 2023-03-09 21:39:41 +00:00
Makefile.depend
malloc.h Make include/malloc.h usable again. 2020-05-12 18:17:57 +00:00
malloc_np.h Add memalign(3), mostly for glibc compatibility. 2020-05-14 21:12:08 +00:00
memory.h
mk-osreldate.sh Move to using newvers -c instead of VARS_ONLY=1 2019-05-23 17:19:05 +00:00
monetary.h
mpool.h
mqueue.h
ndbm.h
netconfig.h
netdb.h netdb.h: re-enable EAI_ADDRFAMILY, EAI_NODATA 2022-11-02 11:03:30 -05:00
nl_types.h
nlist.h
nss.h
nsswitch.h include: Fix typos 2023-02-22 11:52:57 -05:00
paths.h Add search of LOCALBASE/share/calendar for calendars supplied by a port. 2020-10-23 09:22:23 +00:00
printf.h
proc_service.h
pthread.h Reduce code duplication in machine/_types.h 2021-06-14 16:30:16 +01:00
pthread_np.h Revert r361770 "Add pthread_getname_np() and pthread_setname_np() aliases" for now. 2020-06-04 09:06:03 +00:00
pwd.h
ranlib.h
readpassphrase.h
regex.h <regex.h>: reserve a regcomp field for REG_POSIX 2020-07-31 12:40:31 +00:00
res_update.h
resolv.h
runetype.h Remove __NO_TLS. 2021-02-23 20:08:10 +02:00
sched.h sched.h: Use pid_t type for pid argument 2021-12-17 08:22:21 +02:00
search.h
semaphore.h
setjmp.h
signal.h Add sigsetop extensions commonly found in musl libc and glibc 2019-12-12 01:41:55 +00:00
spawn.h posix_spawn: add closefrom non-portable action 2021-11-30 03:43:54 +02:00
stab.h
stdalign.h
stdbool.h Remove obsolete check for GCC < 3 and support for Intel Compiler 2020-10-24 23:21:06 +00:00
stddef.h
stdio.h libc: provide fputc_unlocked 2020-02-02 19:45:12 +00:00
stdlib.h Add GNU glibc compatible secure_getenv 2023-03-13 22:19:24 -06:00
stdnoreturn.h
string.h libc: Add strverscmp(3) and versionsort(3) 2022-08-25 03:29:03 +03:00
stringlist.h
strings.h
sysexits.h
tar.h
termios.h Add tcgetwinsize(3) and tcsetwinsize(3) to termios 2020-12-25 20:43:09 +02:00
tgmath.h
time.h libc: Remove prototype and documentation for tzsetwall(). 2023-03-07 17:20:49 +00:00
timeconv.h
timers.h
ttyent.h
uchar.h
ulimit.h
unistd.h swapoff: add one more variant of the syscall 2021-12-09 02:48:46 +02:00
utime.h
utmpx.h
uuid.h
varargs.h
wchar.h libc: add mempcpy(3) and wmempcpy(3) 2021-07-15 19:40:28 +03:00
wctype.h
wordexp.h
xlocale.h