summaryrefslogtreecommitdiffstats
path: root/lib/libutil/shlib_version
AgeCommit message (Collapse)AuthorFilesLines
2019-12-31Increase BER_MAX_OID_LEN from 32 to 64. Not every snmp OID found in themartijn1-1/+1
wild fits inside 32 elements, like UsmUserEntry objects. OK rob@, claudio@
2019-10-24The ber_* namespace is used by liblber since time immemorial,tb1-2/+2
so move our BER API to the unused ober_* prefix to avoid some breakage in ports. Problem diagnosed by jmatthew with ber_free() in samba, but there are many others as pointed out by sthen. tests & ok rob ok sthen (who had an almost identical diff for libutil) "go head hit it" deraadt
2019-05-11The BER API is currently used by ldap, ldapd, ldapctl, ypldap, snmpd, androb1-1/+1
snmpctl. Separate copies of ber.[ch] have existed and been maintained in sync in ldap, ldapd, ypldap and snmpd. This commit moves the BER API into /usr/lib/libutil. All current consumers already link libutil. ldapd and snmpd regress passes, and release builds. With help from tb@ and guenther@. ok deraadt@, tb@
2017-12-14Make a few internal symbols static and add a Symbols.map version scriptkettenis1-2/+2
to control which symbols are exported from the shared library. ok guenther@, deraadt@, jca@
2017-04-20Add getptmfd(), fdopenpty(), fdforkpty() functions. These allow programsnicm1-1/+1
to separate the open(/dev/ptm) from the ioctl(PTMGET) for privilege separation or pledge(). Based on a diff from reyk@. ok deraadt millert
2014-05-12move the ohash functions into libutil by popular demand.espie1-1/+1
It's not a standard interface, so it doesn't belong in libc. I hate duplicating the code in client programs, so do beck@, kettenis@, schwarze@, millert@, miod@... and they agree with libutil.
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataguenther1-2/+2
members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME. Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures. DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead. Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@
2013-06-03Add bcrypt_pbkdf, a password based key derivation function using bcrypt.tedu1-1/+1
Technically, it's a slight variant of bcrypt better suited for use as a pluggable hash with PKCS #5 PBKDF2. ok djm (also tweak pkcs5_pbkdf2() prototype to have consistent types.)
2012-09-06move pkcs5_pbkdf5 function to libutil so everybody can play with ittedu1-1/+1
ok deraadt jsing matthew
2012-06-04crank minor, since a symbol was addedderaadt1-1/+1
2010-11-16Crank minor due to the addition of isduid().jsing1-1/+1
2010-05-26Move imsg into libutil and add a man page.nicm1-1/+1
Minor bump for libutil. Previous versions of this diff and man page looked at by various people. "you should just commit" deraadt
2004-07-13errno changes, lib major version bumps, and general flag daymarc1-1/+1
To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
2004-04-20Change pw_copy(3) to take a 3rd arguement, the existing passwd entry.millert1-1/+1
This allows an application to only update a password entry if it is in the state it expects. Additionally, if the old passwd struct is specified the new one may have a different pw_name field since matching is done on the original. Adapted from FreeBSD.
2003-07-23move junk (bad code, terrible APIs) to the only program that uses it;deraadt1-2/+2
millert ok
2003-05-15New: fmt_scaled() and scan_scaled() convert to and from "human readable"ian1-1/+1
or scaled numbers. fmt_scaled, and the format, based on Ken Stailey's code for "df -h"; scan_scaled is new. Significantly commented on and reworked by pjanzen@; other comments from millert@. OK pjanzen@.
2002-12-03Crank all library major numbers. Needed due to the fact that wemillert1-2/+2
now build libraries with propolice enabled. Without this, existing binaries (such as ports/packages) that link with any system library other than libc will fail with an undefined symbol of "___guard" (__guard on ELF). Pointed out by markus@ and discussed with deraadt@
2001-09-29re-enable pidfile(3). ok millert@jakob1-1/+1
2001-09-29jakob did not even do a make build, sighderaadt1-1/+1
2001-09-28add pidfile(3) - write a daemon pid file. ok deraadt@, millert@.jakob1-1/+1
2001-08-16Add new 'secureonly' arg to pw_mkdb() to correspond to pwd_mkdb's new -smillert1-1/+1
flag and crank the library major due to the interface change.
2001-01-31move utmp to large format, usernames to 32 chars; downsjderaadt1-1/+1
2000-11-26Add a username argument to pw_mkdb to match 'pwd_mkdb -u username'.millert1-2/+2
Crank the shlib major number due to the interface change.
2000-04-30crank minormillert1-1/+1
1999-09-21crank minor; costa forgotderaadt1-1/+1
1999-07-20Added fparseln from NetBSD.jakob1-1/+1
ok deraadt@
1998-06-08Add uu_lock_txfr() for donating locks to another process.brian1-1/+1
Reviewed by: Theo
1997-11-09Introduce uu_lock(), uu_unlock() and uu_lockerr()bri1-1/+1
into libutil. Obtained from: FreeBSD Reviewed by: Theo
1996-12-23readlabelfs() takes two arguments now, update prototype, inc major number.downsj1-2/+2
1996-12-03incdownsj1-1/+1
1996-05-22libutilderaadt1-1/+1
1995-10-18initial import of NetBSD treederaadt1-0/+2