Commit graph

6 commits

Author SHA1 Message Date
Craig Rodrigues 649e1da360 Add imsg to libopenbsd.
This will help with importing OpenBSD programs such as ypldap
into the base system.
2015-11-14 23:13:15 +00:00
Craig Rodrigues 1bbc47cb35 Implemtn getdtablecount() to count open file descriptors for current process.
Use underlying sysctl implemented by mjg in r290473.

PR:                    194985
Reviewed by:           bapt, mjg
Differential Revision: https://reviews.freebsd.org/D4084
2015-11-14 23:07:38 +00:00
Craig Rodrigues cda9474ab7 Fix spelling error.
Reported by: junovitch
2015-11-05 01:54:38 +00:00
Craig Rodrigues 9e8e179172 Add README, similar to the one from libnetbsd. 2015-11-05 01:29:48 +00:00
Craig Rodrigues 70623c80d4 Import imsg from OpenBSD's libutil.
imsg provides functions for communication between processes
using sockets.  imsg is used by programs in OpenBSD such as ypldap.
2015-11-04 23:52:19 +00:00
Craig Rodrigues a36eca08bb Rename libohash to libopenbsd.
libopenbsd is an internal library which
to bring in compatibility stuff from OpenBSD.
This will allow us to bring in more
OpenBSD utilities into the FreeBSD base system.

We similarly use libnetbsd for bringing in stuff from NetBSD.

Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D4078
2015-11-04 07:20:55 +00:00