History log of /openbsd-current/usr.sbin/amd/amd/nfs_ops.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.28 23-Apr-2024 jsg

correct indentation; no functional change
ok tb@


Revision tags: OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE OPENBSD_7_5_BASE
# 1.27 21-Oct-2021 deraadt

Avoid sys/param.h, or annotate reasons for including where required.
This includes using HOST_NAME_MAX and PATH_MAX
in snaps for around 3 weeks, noone noticed a change in behaviour.


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE
# 1.26 26-Oct-2014 guenther

Remove a gazillion useless casts to void*
Eliminate a couple function pointer casts, fixing the function to match
in one case


# 1.25 26-Oct-2014 guenther

Delete casts to void* of the argument to free(): only needed when lying
about constness and none of these were


# 1.24 26-Oct-2014 guenther

Update to the modern RPC style with different names for server and client
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.


# 1.23 26-Oct-2014 guenther

Consistently use the extra parens in 'if ((var = hasmntval(...)))' to
suppress compiler warnings.

Noted with gcc -Wall, then prodded by brad@ and clang


# 1.22 26-Oct-2014 guenther

Replace xrealloc() with xreallocarray(). Break-out the 'log and die'
function as xmallocfailure() and use that in the locations where
reallocarray's checks alone aren't sufficient.

ok doug@ deraadt@


# 1.21 20-Oct-2014 guenther

Change MTAB_TYPE_UFS from "ufs" to "ffs", fixing mount-restarting for them.
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@


# 1.20 20-Oct-2014 guenther

unifdef -DHAS_REGEXP -DHAS_PASSWD_MAPS -DHAS_FILE_MAPS \
-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@


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.19 27-Oct-2009 deraadt

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
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


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.18 02-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# 1.17 07-Apr-2003 tedu

strcpy -> strlcpy. some from and ok deraadt@


Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
# 1.16 05-Aug-2002 pvalchev

Get rid of useless local definitions P_void, voidp, Const and use
void, void *, const respectively; some cosmetics; ok deraadt


# 1.15 03-Aug-2002 pvalchev

various KNF and code cleanup/simplification, parts checked by millert/deraadt


# 1.14 18-Jul-2002 deraadt

space nits


# 1.13 18-Jul-2002 pvalchev

ANSIfy; ok deraadt


# 1.12 11-Jun-2002 itojun

use snprintf.


# 1.11 10-Jun-2002 itojun

strlcpy, strlcat


# 1.10 26-May-2002 deraadt

pid_cleanup, inspired by work by jason@ackley.net


Revision tags: OPENBSD_3_1_BASE
# 1.9 13-Feb-2002 deraadt

be a bit more pendrantic about spelling than the brit was


Revision tags: OPENBSD_3_0_BASE
# 1.8 25-Jun-2001 niklas

support readahead option


Revision tags: OPENBSD_2_9_BASE
# 1.7 02-Mar-2001 deraadt

KNF


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
# 1.6 31-Jan-1997 graichen

make amd 64bit ready for the alpha (from NetBSD/thorpej)


Revision tags: OPENBSD_2_0_BASE
# 1.5 24-May-1996 deraadt

netbsd pr#2395


# 1.4 03-Apr-1996 dm

fixed compilation errors--but NQNFS may not work with new NFS code


# 1.3 25-Mar-1996 niklas

From NetBSD: merge of 960317


# 1.2 17-Feb-1996 dm

added nqnfs option to nfs mounts


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision