summaryrefslogtreecommitdiffstats
path: root/usr.sbin/amd/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove debugging fluff from allocation functions. There's probably moremmcc2015-12-111-5/+1
| | | | | | of this stuff elsewhere in amd. "such clutter just makes people not care" deraadt@
* Since immediate_abort is modified by a signal handler it must bemillert2015-09-111-2/+3
| | | | volatile sig_atomic_t.
* Add missing #include <stdint.h> for SIZE_MAX.millert2015-03-141-1/+2
|
* Pass times as int64_t and eliminate the (long disabled) mount request.guenther2015-01-211-2/+2
| | | | ABI change, so roll the RPC protocol version; how about 57 for OpenBSD 5.7?
* Update to the modern RPC style with different names for server and clientguenther2014-10-261-6/+10
| | | | | | | | stubs (they have different prototypes, after all). Fill in missing prototypes. Use void* arguments on closure-style callbacks, with local variables of the expected type. Keep deleting unnecessary casts.
* timeout_mp() is static nowguenther2014-10-261-2/+1
|
* Use vsyslog() instead of manually expanding the string and calling syslog(%s)guenther2014-10-261-2/+3
| | | | | | | Now that newline stripping isn't needed, use vfprintf() instead of formatting and then writing it out. Delete bogus XXX comment that predated the switch to vsnprintf() Make the format string const char *
* Replace xrealloc() with xreallocarray(). Break-out the 'log and die'guenther2014-10-261-4/+5
| | | | | | | function as xmallocfailure() and use that in the locations where reallocarray's checks alone aren't sufficient. ok doug@ deraadt@
* Change MTAB_TYPE_UFS from "ufs" to "ffs", fixing mount-restarting for them.guenther2014-10-202-20/+17
| | | | | | | | | | | | | Perform one level of expansion on the various "portability" macros from os-*.h Delete support for Hesiod and the pre-4.4 versions of the NFS API Delete the no-op unlock_mntlist() unifdef -UFASCIST_DF_COMMAND -UMOUNT_HELPER_SOURCE Move the struct mntent and MNTMAXSTR definitions into include/am.h Move the commented-out -DHAS_NDBM_MAPS into amd/Makefile Expand OS_REP to "bsd44". With config/* empty, delete them. "lot of stuff...but I know your process on this" deraadt@
* unifdef -DHAS_REGEXP -DHAS_PASSWD_MAPS -DHAS_FILE_MAPS \guenther2014-10-201-20/+1
| | | | | | | | | | | | -DHAS_NIS_MAPS -DHAS_NIS_RELOAD -DRPC_4 -DHAS_UNION_MAPS \ -DHAS_TCP_NFS -DOS_HAS_NDBM -DNFS_PROTOCOL_VERSION=3 \ -DNFS_ARGS_NEEDS_PATH -DPRECISE_SYMLINKS -DHAS_EMPTY_AUTOMOUNTS \ -DNEED_MNTOPT_PARSER -DSHORT_MOUNT_NAME -DHAS_NFS_QUALIFIED_NAMES \ -UUPDATE_MTAB -UFIXUP_MNTENT -UMNTENT_HDR -UMNTINFO_DEV \ -UMNTOPT_COMPRESS -UMNTOPT_NQNFS -UINFORM_MOUNTD \ -USUNOS4_WORKAROUND -UULTRIX_HACK ok deraadt@
* Start removing portability goo: we have syslog(), strerror(), POSIX regexp,guenther2014-10-202-87/+2
| | | | | | | | BSD-style getmntinfo(), BSD signals, 4.4BSD unmount(), etc Delete configurations for other OSes Delete fsinfo and mk-amd-map, as we don't build them. ok deraadt@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-2/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* Userland programs should include <errno.h> not <sys/errno.h>millert2005-12-211-2/+2
| | | | OK deraadt@
* Remove redundant errno declaration. ok deraadt@otto2004-05-311-2/+1
|
* typos from Jonathon Gray;jmc2003-11-081-2/+2
|
* Use getifaddrs() to get the list of interfaces. This fixes themillert2003-06-171-2/+2
| | | | | "wire" variable which may be used in amd maps to select an NFS server based on the subnet. Tested by matthieu@; OK by deraadt@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-024-24/+8
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Get rid of useless local definitions P_void, voidp, Const and usepvalchev2002-08-052-60/+43
| | | | void, void *, const respectively; some cosmetics; ok deraadt
* various KNF and code cleanup/simplification, parts checked by millert/deraadtpvalchev2002-08-033-49/+48
|
* ansify, style changes, removal of bogus libc function prototypes; ok deraadtpvalchev2002-07-181-110/+107
|
* use snprintf.itojun2002-06-111-2/+2
|
* pid_cleanup, inspired by work by jason@ackley.netderaadt2002-05-262-5/+5
|
* make amd 64bit ready for the alpha (from NetBSD/thorpej)graichen1997-01-311-4/+5
|
* From NetBSD: merge of 960317niklas1996-03-251-4/+10
|
* initial import of NetBSD treederaadt1995-10-184-0/+934