]> git.armaanb.net Git - opendoas.git/commit
Add compatibility functions from OpenBSD.
authorNathan Holstein <nathan.holstein@gmail.com>
Sun, 2 Aug 2015 17:30:58 +0000 (13:30 -0400)
committerNathan Holstein <nathan.holstein@gmail.com>
Wed, 5 Aug 2015 12:50:46 +0000 (08:50 -0400)
commit4272fe4a9344245a61a55fb8d4091f459c235dcc
tree11260ecf9c90ff0ac674a1f236d2852afccfeedb
parentad270e2f81fedbcef80cecb8be155953bdf5123d
Add compatibility functions from OpenBSD.

This adds a shim library to mimic features of OpenBSD. Some of these
functions are written from scratch, others are simply copies of their
OpenBSD namesakes.

Current implementation of the from-scratch variants are simply shims
that intentionally fail. They'll need to be extended with secure
implementations.
.gitignore
Makefile
libopenbsd/auth_userokay.c [new file with mode: 0644]
libopenbsd/execvpe.c [new file with mode: 0644]
libopenbsd/openbsd.h
libopenbsd/reallocarray.c [new file with mode: 0644]
libopenbsd/setresuid.c [new file with mode: 0644]
libopenbsd/setusercontext.c [new file with mode: 0644]
libopenbsd/strtonum.c [new file with mode: 0644]