};
/*
- * this is for chosing whether to ignore a login
+ * this is for choosing whether to ignore a login
*/
struct tty_list {
struct tty_list *next;
-/* $Id: util.c,v 1.12 2019/06/28 13:32:46 deraadt Exp $ */
+/* $Id: util.c,v 1.13 2022/12/28 21:30:15 jmc Exp $ */
/*
* Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
*
/*
* First, try to write the length.
* If the other end of the pipe has closed, we allow the short
- * write to propogate as a return value of zero.
+ * write to propagate as a return value of zero.
* To detect this, catch SIGPIPE.
*/
-/* $OpenBSD: afs_ops.c,v 1.20 2021/10/21 10:55:56 deraadt Exp $ */
+/* $OpenBSD: afs_ops.c,v 1.21 2022/12/28 21:30:15 jmc Exp $ */
/*
* Copyright (c) 1990 Jan-Simon Pendry
/*
* If the directory is not yet made and
* it needs to be made, then make it!
- * This may be run in a backgroun process
+ * This may be run in a background process
* in which case the flag setting won't be
* noticed later - but it is set anyway
* just after run_task is called. It
* SUCH DAMAGE.
*
* from: @(#)amq_subr.c 8.1 (Berkeley) 6/6/93
- * $Id: amq_subr.c,v 1.18 2015/01/21 09:50:25 guenther Exp $
+ * $Id: amq_subr.c,v 1.19 2022/12/28 21:30:15 jmc Exp $
*/
/*
- * Auxilliary routines for amq tool
+ * Auxiliary routines for amq tool
*/
#include "am.h"
* SUCH DAMAGE.
*
* from: @(#)ifs_ops.c 8.1 (Berkeley) 6/6/93
- * $Id: ifs_ops.c,v 1.6 2017/07/28 22:41:10 fcambus Exp $
+ * $Id: ifs_ops.c,v 1.7 2022/12/28 21:30:15 jmc Exp $
*/
#include "am.h"
*
* This is a *gross* hack - it knows far too
* much about the way other parts of the
- * sytem work. See restart.c too.
+ * system work. See restart.c too.
*/
static char not_a_filesystem[] = "Attempting to inherit not-a-filesystem";
/*
-/* $OpenBSD: map.c,v 1.16 2015/12/05 21:15:01 mmcc Exp $ */
+/* $OpenBSD: map.c,v 1.17 2022/12/28 21:30:15 jmc Exp $ */
/*-
* Copyright (c) 1990 Jan-Simon Pendry
mf->mf_flags &= ~MFF_UNMOUNTING;
/*
- * If a timeout was defered because the underlying filesystem
+ * If a timeout was deferred because the underlying filesystem
* was busy then arrange for a timeout as soon as possible.
*/
if (mf->mf_flags & MFF_WANTTIMO) {
* SUCH DAMAGE.
*
* from: @(#)wire.c 8.1 (Berkeley) 6/6/93
- * $Id: wire.c,v 1.13 2014/10/24 10:29:56 schwarze Exp $
+ * $Id: wire.c,v 1.14 2022/12/28 21:30:15 jmc Exp $
*/
/*
* This function returns the subnet (address&netmask) for the primary network
* interface. If the resulting address has an entry in the hosts file, the
- * corresponding name is retuned, otherwise the address is returned in
+ * corresponding name is returned, otherwise the address is returned in
* standard internet format.
* As a side-effect, a list of local IP/net address is recorded for use
* by the islocalnet() function.
@c OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
@c
@c from: @(#)amdref.texinfo 8.1 (Berkeley) 6/6/93
-@c $Id: amdref.texinfo,v 1.14 2017/08/22 16:59:40 schwarze Exp $
+@c $Id: amdref.texinfo,v 1.15 2022/12/28 21:30:15 jmc Exp $
@c
@setfilename amdref.info
@c @setfilename /usr/local/emacs/info/amd
@cindex Fileserver
@cindex sublink
-@i{Amd} views the world as a set of fileservers, each containg one or
+@i{Amd} views the world as a set of fileservers, each containing one or
more filesystems where each filesystem contains one or more
@dfn{volumes}. Here the term @dfn{volume} is used to refer to a
coherent set of files such as a user's home directory or a @TeX{}
@end example
The mount system call and any unmount attempts are always done
-in a new task to avoid the possibilty of blocking @i{Amd}.
+in a new task to avoid the possibility of blocking @i{Amd}.
@node Network Host Filesystem, Network Filesystem Group, Network Filesystem, Filesystem Types
@comment node-name, next, previous, up
directory with additional entries.
The system files are usually mounted under @samp{/usr}. If instead
@i{Amd} is mounted on @samp{/usr}, additional
-names can be overlayed to augment or replace names in the ``master'' @samp{/usr}.
+names can be overlaid to augment or replace names in the ``master'' @samp{/usr}.
A map to do this would have the form:
@example
* SUCH DAMAGE.
*
* from: @(#)amq.x 8.1 (Berkeley) 6/6/93
- * $Id: amq.x,v 1.6 2015/01/21 09:49:37 guenther Exp $
+ * $Id: amq.x,v 1.7 2022/12/28 21:30:15 jmc Exp $
*
*/
version AMQ_VERSION {
/*
* Does no work. It is made available in all RPC services
- * to allow server reponse testing and timing
+ * to allow server response testing and timing
*/
void
AMQPROC_NULL(void) = 0;
-/* $OpenBSD: nfs_prot.x,v 1.1 2015/01/22 03:43:58 guenther Exp $ */
+/* $OpenBSD: nfs_prot.x,v 1.2 2022/12/28 21:30:15 jmc Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
unsigned uid; /* owner user id */
unsigned gid; /* owner group id */
unsigned size; /* file size in bytes */
- unsigned blocksize; /* prefered block size */
+ unsigned blocksize; /* preferred block size */
unsigned rdev; /* special device # */
unsigned blocks; /* Kb of disk used by file */
unsigned fsid; /* device # */
-/* $OpenBSD: output_json.c,v 1.26 2022/11/09 14:20:11 claudio Exp $ */
+/* $OpenBSD: output_json.c,v 1.27 2022/12/28 21:30:15 jmc Exp $ */
/*
* Copyright (c) 2020 Claudio Jeker <claudio@openbsd.org>
json_do_printf("last_update", "%s", fmt_timeframe(r->age));
json_do_int("last_update_sec", r->age);
- /* keep the object open for communities and attribuites */
+ /* keep the object open for communities and attributes */
}
static void
-/* $OpenBSD: config.c,v 1.105 2022/11/18 10:17:23 claudio Exp $ */
+/* $OpenBSD: config.c,v 1.106 2022/12/28 21:30:15 jmc Exp $ */
/*
* Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org>
} else /* exists, just flag */
ola->reconf = RECONF_KEEP;
}
- /* finally clean up the original list and remove all stale entires */
+ /* finally clean up the original list and remove all stale entries */
for (nla = TAILQ_FIRST(xconf->listen_addrs); nla != NULL; nla = next) {
next = TAILQ_NEXT(nla, entry);
if (nla->reconf == RECONF_DELETE) {
-/* $OpenBSD: kroute.c,v 1.302 2022/11/09 14:26:14 claudio Exp $ */
+/* $OpenBSD: kroute.c,v 1.303 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
}
/*
- * return 1 when the interface is up and the link state is up or unknwown
+ * return 1 when the interface is up and the link state is up or unknown
* except when this is a carp interface, then return 1 only when link state
* is up
*/
u_int l = 0;
/*
- * sin6_len is the size of the sockaddr so substract the offset of
+ * sin6_len is the size of the sockaddr so subtract the offset of
* the possibly truncated sin6_addr struct.
*/
ap = (uint8_t *)&sa_in6->sin6_addr;
-/* $OpenBSD: mrt.c,v 1.110 2022/09/01 13:23:24 claudio Exp $ */
+/* $OpenBSD: mrt.c,v 1.111 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org>
pkglen -= 2;
if (wlen > 0) {
- /* UPDATE has withdraw routes, therefor IPv4 */
+ /* UPDATE has withdraw routes, therefore IPv4 */
return AID_INET;
}
pkglen -= 2;
if (alen < pkglen) {
- /* UPDATE has NLRI prefixes, therefor IPv4 */
+ /* UPDATE has NLRI prefixes, therefore IPv4 */
return AID_INET;
}
}
DUMP_LONG(*bp, len);
- /* milisecond field use by the _ET format */
+ /* millisecond field use by the _ET format */
DUMP_LONG(*bp, time.tv_nsec / 1000);
if (subtype == BGP4MP_STATE_CHANGE_AS4 ||
-/* $OpenBSD: mrt.h,v 1.37 2022/02/06 09:51:19 claudio Exp $ */
+/* $OpenBSD: mrt.h,v 1.38 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org>
/*
* Main zebra dump format is in MSG_PROTOCOL_BGP4MP exceptions are table dumps
- * that are normaly saved as MSG_TABLE_DUMP.
+ * that are normally saved as MSG_TABLE_DUMP.
* In most cases this is the format to choose to dump updates et al.
*/
enum MRT_BGP4MP_SUBTYPES {
* ... |
* +--------+--------+--------+
*
- * View is normaly 0 and originated the time of last change.
+ * View is normally 0 and originated the time of last change.
* The status seems to be 1 by default but probably something to indicate
* the status of a prefix would be more useful.
* The format of the nexthop address is defined via the afi value. For IPv6
* +--------+--------+--------+
*
*
- * View is normaly 0 and seqnum just a simple counter for this dump.
+ * View is normally 0 and seqnum just a simple counter for this dump.
* The status field is unused and should be set to 1.
*/
-/* $OpenBSD: rde.c,v 1.581 2022/12/14 14:16:20 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.582 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
network_add(&netconf_s, &netconf_state);
break;
case 0:
- /* something failed beforehands */
+ /* something failed beforehand */
break;
default:
badnet:
/* no change to rib apart from filters */
rib->state = RECONF_KEEP;
} else {
- /* reload rib because somehing changed */
+ /* reload rib because something changed */
rib->flags_tmp = rr.flags;
rib->rtableid_tmp = rr.rtableid;
rib->state = RECONF_RELOAD;
* BGP UPDATE parser functions
*/
-/* attribute parser specific makros */
+/* attribute parser specific macros */
#define UPD_READ(t, p, plen, n) \
do { \
memcpy(t, p, n); \
-/* $OpenBSD: rde.h,v 1.274 2022/12/14 12:37:15 claudio Exp $ */
+/* $OpenBSD: rde.h,v 1.275 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> and
#define F_PREFIX_ANNOUNCED 0x00400
#define F_ANN_DYNAMIC 0x00800
#define F_ATTR_OTC 0x01000 /* OTC present */
-#define F_ATTR_OTC_LOOP 0x02000 /* otc loop, not eligable */
-#define F_ATTR_PARSE_ERR 0x10000 /* parse error, not eligable */
+#define F_ATTR_OTC_LOOP 0x02000 /* otc loop, not eligible */
+#define F_ATTR_PARSE_ERR 0x10000 /* parse error, not eligible */
#define F_ATTR_LINKED 0x20000 /* if set path is on various lists */
#define ORIGIN_IGP 0
-/* $OpenBSD: rde_community.c,v 1.9 2022/09/01 13:19:11 claudio Exp $ */
+/* $OpenBSD: rde_community.c,v 1.10 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2019 Claudio Jeker <claudio@openbsd.org>
{
memset(to, 0, sizeof(*to));
- /* ingore from->size and allocate the perfect amount */
+ /* ignore from->size and allocate the perfect amount */
to->size = from->size;
to->nentries = from->nentries;
to->flags = from->flags;
-/* $OpenBSD: rde_rib.c,v 1.250 2022/10/12 11:26:05 jsg Exp $ */
+/* $OpenBSD: rde_rib.c,v 1.251 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org>
return (dst);
}
-/* initialize or pepare an aspath for use */
+/* initialize or prepare an aspath for use */
struct rde_aspath *
path_prep(struct rde_aspath *asp)
{
if (p == NULL) {
p = prefix_alloc();
- /* initally mark DEAD so code below is skipped */
+ /* initially mark DEAD so code below is skipped */
p->flags |= PREFIX_FLAG_ADJOUT | PREFIX_FLAG_DEAD;
p->pt = pt_get(prefix, prefixlen);
-/* $OpenBSD: rde_trie.c,v 1.16 2022/08/31 11:25:36 claudio Exp $ */
+/* $OpenBSD: rde_trie.c,v 1.17 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2018 Claudio Jeker <claudio@openbsd.org>
* nodes. Internal nodes are added when needed because off path nodes are being
* inserted and are just used for branching.
* During lookup every node defines which bit is checked for branching. This
- * offset is strictly increasing. For IPv4 the maximum is therefor 32 levels.
+ * offset is strictly increasing. For IPv4 the maximum is therefore 32 levels.
* Every node checks the bit at position plen to decide which branch to take.
* The real nodes also include a prefixlen mask which represents the prefixlen
* range that was defined. The prefixlen mask for IPv4 only has 32 bits but
if (n->node) {
/*
* The prefix is covered by this roa node
- * therefor invalid unless roa_set matches.
+ * therefore invalid unless roa_set matches.
*/
validity = ROA_INVALID;
if (n->node) {
/*
* This prefix is covered by this roa node.
- * Therefor invalid unless proven otherwise.
+ * Therefore invalid unless proven otherwise.
*/
validity = ROA_INVALID;
-/* $OpenBSD: rtr_proto.c,v 1.7 2022/07/11 16:47:27 claudio Exp $ */
+/* $OpenBSD: rtr_proto.c,v 1.8 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2020 Claudio Jeker <claudio@openbsd.org>
return -1;
}
/*
- * session_id check ommitted since ROUTER_KEY and ERROR_REPORT
+ * session_id check omitted since ROUTER_KEY and ERROR_REPORT
* use the field for different things.
*/
return 0;
-/* $OpenBSD: session.c,v 1.437 2022/12/27 17:05:38 claudio Exp $ */
+/* $OpenBSD: session.c,v 1.438 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org>
/*
* on startup, demote if requested.
- * do not handle new peers. they must reach ESTABLISHED beforehands.
+ * do not handle new peers. they must reach ESTABLISHED beforehand.
* peers added at runtime have reconf_action set to RECONF_REINIT.
*/
if (p->reconf_action != RECONF_REINIT && p->conf.demote_group[0])
if (optparamlen == 0) {
/* nothing */
} else if (optparamlen + 2 >= 255) {
- /* RFC9072: 2 byte lenght instead of 1 + 3 byte extra header */
+ /* RFC9072: 2 byte length instead of 1 + 3 byte extra header */
optparamlen += sizeof(op_type) + 2 + 3;
msg.optparamlen = 255;
extlen = 1;
/*
* graceful restart: the peer capabilities are of interest here.
* It is necessary to compare the new values with the previous ones
- * and act acordingly. AFI/SAFI that are not part in the MP capability
+ * and act accordingly. AFI/SAFI that are not part in the MP capability
* are treated as not being present.
* Also make sure that a flush happens if the session stopped
* supporting graceful restart.
-/* $OpenBSD: bt_parse.y,v 1.48 2022/11/12 14:19:08 mpi Exp $ */
+/* $OpenBSD: bt_parse.y,v 1.49 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2019-2021 Martin Pieuchot <mpi@openbsd.org>
min = (long)ba->ba_value;
if (min >= 0)
break;
- yyerror("negative minium");
+ yyerror("negative minimum");
case 2:
max = (long)ba->ba_value;
if (max > min)
break;
- yyerror("maximum smaller than minium (%d < %d)",
+ yyerror("maximum smaller than minimum (%d < %d)",
max, min);
case 3:
break;
case 't': c = '\t'; break;
case 'v': c = '\v'; break;
default:
- yyerror("'%c' unsuported escape", c);
+ yyerror("'%c' unsupported escape", c);
return ERROR;
}
}
-/* $OpenBSD: bt_parser.h,v 1.22 2021/11/12 16:57:24 claudio Exp $ */
+/* $OpenBSD: bt_parser.h,v 1.23 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2019-2021 Martin Pieuchot <mpi@openbsd.org>
};
/*
- * Respresentation of an argument.
+ * Representation of an argument.
*
* A so called "argument" can be any symbol representing a value or
* a combination of those through an operation.
-/* $OpenBSD: btrace.c,v 1.67 2022/11/12 14:19:08 mpi Exp $ */
+/* $OpenBSD: btrace.c,v 1.68 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2019 - 2021 Martin Pieuchot <mpi@openbsd.org>
break;
case B_AT_MAP:
bv = ba->ba_value;
- /* Unitialized map */
+ /* Uninitialized map */
if (bv->bv_value == NULL)
return 0;
val = ba2long(map_get((struct map *)bv->bv_value,
break;
case B_AT_MAP:
bv = ba->ba_value;
- /* Unitialized map */
+ /* Uninitialized map */
if (bv->bv_value == NULL) {
str = buf;
break;
-/* $OpenBSD: atrun.c,v 1.53 2021/10/24 21:24:18 deraadt Exp $ */
+/* $OpenBSD: atrun.c,v 1.54 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2002-2003 Todd C. Miller <millert@openbsd.org>
if (fstatat(dfd, atfile, &sb, AT_SYMLINK_NOFOLLOW) != 0) {
TAILQ_REMOVE(&db->jobs, job, entries);
free(job);
- continue; /* disapeared from queue */
+ continue; /* disappeared from queue */
}
if (!S_ISREG(sb.st_mode)) {
syslog(LOG_WARNING, "(CRON) NOT REGULAR (%s)",
-/* $OpenBSD: rde.c,v 1.31 2021/01/19 12:29:46 claudio Exp $ */
+/* $OpenBSD: rde.c,v 1.32 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org>
rn = rt_match_origin(mfc->origin.s_addr);
if (rn == NULL) {
- log_debug("rde_selected_ds_iface: no informations about "
+ log_debug("rde_selected_ds_iface: no information about "
"the origin %s", inet_ntoa(mfc->origin));
return (0);
}
-/* $OpenBSD: hello.c,v 1.5 2016/09/02 16:29:55 renato Exp $ */
+/* $OpenBSD: hello.c,v 1.6 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
tp->kvalues[2] == 255 && tp->kvalues[3] == 255 &&
tp->kvalues[4] == 255 && tp->kvalues[5] == 0) {
if (nbr) {
- log_debug("%s: peer temination", __func__);
+ log_debug("%s: peer termination", __func__);
nbr_del(nbr);
}
return;
-/* $OpenBSD: kroute.c,v 1.18 2017/07/24 11:00:01 friehm Exp $ */
+/* $OpenBSD: kroute.c,v 1.19 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
struct kif_addr *ka;
if (RB_REMOVE(kif_tree, &kit, kif) == NULL) {
- log_warnx("%s failed for inteface %s", __func__, kif->k.ifname);
+ log_warnx("%s failed for interface %s", __func__, kif->k.ifname);
return (-1);
}
-/* $OpenBSD: rde_dual.c,v 1.29 2022/01/20 14:11:27 naddy Exp $ */
+/* $OpenBSD: rde_dual.c,v 1.30 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
/*
* Only feasible successors and the successor itself
- * are elegible to be installed.
+ * are eligible to be installed.
*/
if (route->rdistance >= rn->successor.fdistance)
goto uninstall;
TAILQ_FOREACH(route, &rn->routes, entry)
if (route->type == EIGRP_ROUTE_INTERNAL) {
/*
- * connected routes should always be prefered over
+ * connected routes should always be preferred over
* received routes independent of the metric.
*/
if (route->nbr->flags & F_RDE_NBR_LOCAL)
TAILQ_FOREACH(route, &rn->routes, entry) {
/*
* draft-savage-eigrp-04 - Section 5.4.7:
- * "Internal routes MUST be prefered over external routes
+ * "Internal routes MUST be preferred over external routes
* independent of the metric."
*/
if (route->type == EIGRP_ROUTE_EXTERNAL && !external_only)
-/* $OpenBSD: util.c,v 1.11 2022/05/06 15:51:09 claudio Exp $ */
+/* $OpenBSD: util.c,v 1.12 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
uint8_t *ap, *ep;
/*
- * sin6_len is the size of the sockaddr so substract the offset of
+ * sin6_len is the size of the sockaddr so subtract the offset of
* the possibly truncated sin6_addr struct.
*/
ap = (uint8_t *)&sa_in6->sin6_addr;
if (IN6_IS_SCOPE_EMBED(&sin6->sin6_addr)) {
memcpy(&tmp16, &sin6->sin6_addr.s6_addr[2], sizeof(tmp16));
if (tmp16 != 0) {
- log_warnx("%s: address %s already has embeded scope %u",
+ log_warnx("%s: address %s already has embedded scope %u",
__func__, log_sockaddr(sin6), ntohs(tmp16));
}
tmp16 = htons(sin6->sin6_scope_id);
-/* $OpenBSD: parse.y,v 1.62 2021/10/15 15:01:28 naddy Exp $ */
+/* $OpenBSD: parse.y,v 1.63 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2004, 2005, 2006 Reyk Floeter <reyk@openbsd.org>
mask : '&'
;
-comma : /* emtpy */
+comma : /* empty */
| ',' optnl
;
-/* $OpenBSD: config.c,v 1.62 2021/10/24 16:01:04 ian Exp $ */
+/* $OpenBSD: config.c,v 1.63 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2011 - 2015 Reyk Floeter <reyk@openbsd.org>
return (-1);
}
- /* Configure FCGI parmeters if necessary. */
+ /* Configure FCGI parameters if necessary. */
config_setserver_fcgiparams(env, srv);
}
}
-/* $OpenBSD: ifstated.c,v 1.66 2021/07/12 15:09:21 beck Exp $ */
+/* $OpenBSD: ifstated.c,v 1.67 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2004 Marco Pfatschbacher <mpf@openbsd.org>
}
/*
- * Do a bottom-up ajustment of the expression tree's truth value,
+ * Do a bottom-up adjustment of the expression tree's truth value,
* level-by-level to ensure that each expression's subexpressions have been
* evaluated.
*/
-/* $OpenBSD: i386_nlist.c,v 1.8 2021/10/24 21:24:18 deraadt Exp $ */
+/* $OpenBSD: i386_nlist.c,v 1.9 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 1989, 1993
* The Regents of the University of California. All rights reserved.
{
int retval = 0;
/*
- * We need to check magic, class size, endianess,
+ * We need to check magic, class size, endianness,
* and version before we look at the rest of the
* Elf_Ehdr structure. These few elements are
* represented in a machine independent fashion.
-/* $OpenBSD: landisk_installboot.c,v 1.11 2022/08/31 18:46:06 miod Exp $ */
+/* $OpenBSD: landisk_installboot.c,v 1.12 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2013 Joel Sing <jsing@openbsd.org>
exit(1);
/*
- * Write bootblock into the beggining of the OpenBSD partition or
+ * Write bootblock into the beginning of the OpenBSD partition or
* at the beginning of the disk.
*/
md_bootstrap(devfd, dev, stage1);
-/* $OpenBSD: iscsid.h,v 1.17 2021/04/16 14:37:06 claudio Exp $ */
+/* $OpenBSD: iscsid.h,v 1.18 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2009 Claudio Jeker <claudio@openbsd.org>
u_int32_t expstatsn;
int state;
int fd;
- u_int16_t cid; /* conection id */
+ u_int16_t cid; /* connection id */
};
struct task {
-/* $OpenBSD: vscsi.c,v 1.17 2016/08/16 18:41:57 tedu Exp $ */
+/* $OpenBSD: vscsi.c,v 1.18 2022/12/28 21:30:16 jmc Exp $ */
/*
* Copyright (c) 2009 Claudio Jeker <claudio@openbsd.org>
fatal("vscsi_dispatch");
sreq->opcode = ISCSI_OP_SCSI_REQUEST;
- /* XXX use untagged commands, dlg sais so */
+ /* XXX use untagged commands, dlg says so */
sreq->flags = ISCSI_SCSI_F_F | ISCSI_SCSI_ATTR_UNTAGGED;
if (i2t.direction == VSCSI_DIR_WRITE)
sreq->flags |= ISCSI_SCSI_F_W;
-/* $OpenBSD: lde_lib.c,v 1.69 2017/03/04 00:15:35 renato Exp $ */
+/* $OpenBSD: lde_lib.c,v 1.70 2022/12/28 21:30:17 jmc Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
}
}
-/* gabage collector timer: timer to remove dead entries from the LIB */
+/* garbage collector timer: timer to remove dead entries from the LIB */
/* ARGSUSED */
void
-/* $OpenBSD: util.c,v 1.6 2022/05/06 15:51:09 claudio Exp $ */
+/* $OpenBSD: util.c,v 1.7 2022/12/28 21:30:17 jmc Exp $ */
/*
* Copyright (c) 2015 Renato Westphal <renato@openbsd.org>
uint8_t *ap, *ep;
/*
- * sin6_len is the size of the sockaddr so substract the offset of
+ * sin6_len is the size of the sockaddr so subtract the offset of
* the possibly truncated sin6_addr struct.
*/
ap = (uint8_t *)&sa_in6->sin6_addr;
if (IN6_IS_SCOPE_EMBED(&sin6->sin6_addr)) {
memcpy(&tmp16, &sin6->sin6_addr.s6_addr[2], sizeof(tmp16));
if (tmp16 != 0) {
- log_warnx("%s: address %s already has embeded scope %u",
+ log_warnx("%s: address %s already has embedded scope %u",
__func__, log_sockaddr(sin6), ntohs(tmp16));
}
tmp16 = htons(sin6->sin6_scope_id);
-/* $OpenBSD: control.c,v 1.1.1.1 2018/04/27 16:14:35 eric Exp $ */
+/* $OpenBSD: control.c,v 1.2 2022/12/28 21:30:17 jmc Exp $ */
/*
* Copyright (c) 2017 Eric Faurot <eric@openbsd.org>
control_init(LPD_SOCKET);
- /* Drop priviledges. */
+ /* Drop privileges. */
if ((pw = getpwnam(LPD_USER)) == NULL)
fatalx("unknown user " LPD_USER);
-/* $OpenBSD: engine.c,v 1.2 2018/09/05 17:32:56 eric Exp $ */
+/* $OpenBSD: engine.c,v 1.3 2022/12/28 21:30:17 jmc Exp $ */
/*
* Copyright (c) 2017 Eric Faurot <eric@openbsd.org>
fatal("%s: malloc", __func__);
gethostname(lpd_hostname, HOST_NAME_MAX + 1);
- /* Drop priviledges. */
+ /* Drop privileges. */
if ((pw = getpwnam(LPD_USER)) == NULL)
fatal("%s: getpwnam: %s", __func__, LPD_USER);
-/* $OpenBSD: frontend.c,v 1.2 2018/09/05 17:32:56 eric Exp $ */
+/* $OpenBSD: frontend.c,v 1.3 2022/12/28 21:30:17 jmc Exp $ */
/*
* Copyright (c) 2017 Eric Faurot <eric@openbsd.org>
SPLAY_INIT(&conns);
lpr_init();
- /* Drop priviledges. */
+ /* Drop privileges. */
if ((pw = getpwnam(LPD_USER)) == NULL)
fatal("%s: getpwnam: %s", __func__, LPD_USER);
-/* $OpenBSD: frontend_lpr.c,v 1.3 2020/03/16 20:46:44 benno Exp $ */
+/* $OpenBSD: frontend_lpr.c,v 1.4 2022/12/28 21:30:17 jmc Exp $ */
/*
* Copyright (c) 2017 Eric Faurot <eric@openbsd.org>
hints.ai_socktype = SOCK_STREAM;
conn->flags |= F_WAITADDRINFO;
/*
- * The callback might run immediatly, so conn->ifd
+ * The callback might run immediately, so conn->ifd
* must be set before, to block lpr_forward().
*/
resolver_getaddrinfo(hostname, "printer", &hints,
}
/*
- * Stream reponse file to the client.
+ * Stream response file to the client.
*/
static void
lpr_stream(struct lpr_conn *conn)
-/* $OpenBSD: io.h,v 1.1.1.1 2018/04/27 16:14:36 eric Exp $ */
+/* $OpenBSD: io.h,v 1.2 2022/12/28 21:30:17 jmc Exp $ */
/*
* Copyright (c) 2017 Eric Faurot <eric@openbsd.org>
void io_set_timeout(struct io *, int);
void io_set_lowat(struct io *, size_t);
-/* State retreival */
+/* State retrieval */
const char *io_error(struct io *);
int io_fileno(struct io *);
-/* $OpenBSD: lp.c,v 1.3 2020/03/16 20:46:44 benno Exp $ */
+/* $OpenBSD: lp.c,v 1.4 2022/12/28 21:30:17 jmc Exp $ */
/*
* Copyright (c) 2017 Eric Faurot <eric@openbsd.org>
if (cf) {
/*
- * Create a temporay file, but we want to avoid
+ * Create a temporary file, but we want to avoid
* a collision with the final cf filename.
*/
/* XXX this would require a lock on .seq */
/*
* Commit the job given by its temporary CF name.
- * This is done by renaming the temporay CF file name to its final name.
+ * This is done by renaming the temporary CF file name to its final name.
* The functions return 0 on success, or -1 on error and set errno.
*/
int
-/* $OpenBSD: lpd.c,v 1.2 2019/06/28 13:32:48 deraadt Exp $ */
+/* $OpenBSD: lpd.c,v 1.3 2022/12/28 21:30:17 jmc Exp $ */
/*
* Copyright (c) 2017 Eric Faurot <eric@openbsd.org>
signal_add(&evt_sighup, NULL);
signal(SIGPIPE, SIG_IGN);
- /* Fork and exec unpriviledged processes. */
+ /* Fork and exec unprivileged processes. */
argv = calloc(saved_argc + 3, sizeof(*argv));
if (argv == NULL)
fatal("calloc");
-/* $OpenBSD: printer.c,v 1.3 2021/10/24 21:24:18 deraadt Exp $ */
+/* $OpenBSD: printer.c,v 1.4 2022/12/28 21:30:17 jmc Exp $ */
/*
* Copyright (c) 2017 Eric Faurot <eric@openbsd.org>
/*
* Redirect stderr if not in debug mode.
- * This must be done before dropping priviledges.
+ * This must be done before dropping privileges.
*/
if (!debug) {
fd = open(LP_LF(lp), O_WRONLY|O_APPEND);
}
}
- /* Drop priviledges. */
+ /* Drop privileges. */
if ((pw = getpwnam(LPD_USER)) == NULL)
fatalx("unknown user " LPD_USER);
/*
* Open the printer device, or connect to the remote host.
- * Return the printer file desciptor, or -1 on error.
+ * Return the printer file descriptor, or -1 on error.
*/
static int
prn_connect(void)
-/* $OpenBSD: lp.local.h,v 1.4 2003/06/02 23:36:53 millert Exp $ */
+/* $OpenBSD: lp.local.h,v 1.5 2022/12/28 21:30:17 jmc Exp $ */
/*
* Copyright (c) 1983, 1993
#define DROP 3 /* offset to drop characters with descenders */
/*
- * Define TERMCAP if the terminal capabilites are to be used for lpq.
+ * Define TERMCAP if the terminal capabilities are to be used for lpq.
*/
#define TERMCAP
}
/*
- * Either the DNS adminstrator has made a configuration
+ * Either the DNS administrator has made a configuration
* mistake, or someone has attempted to spoof us.
*/
syslog(LOG_NOTICE, "lpd: address %s not listed for host %s",
-/* $OpenBSD: lpd.c,v 1.65 2018/04/26 12:42:51 guenther Exp $ */
+/* $OpenBSD: lpd.c,v 1.66 2022/12/28 21:30:17 jmc Exp $ */
/* $NetBSD: lpd.c,v 1.33 2002/01/21 14:42:29 wiz Exp $ */
/*
case 'w':
l = strtol(optarg, &cp, 10);
if (*cp != '\0' || l < 0 || l >= INT_MAX)
- errx(1, "wait time must be postive integer: %s",
+ errx(1, "wait time must be positive integer: %s",
optarg);
wait_time = (u_int)l;
if (wait_time < 30)
-/* $OpenBSD: lpq.c,v 1.24 2022/12/04 23:50:51 cheloha Exp $ */
+/* $OpenBSD: lpq.c,v 1.25 2022/12/28 21:30:17 jmc Exp $ */
/* $NetBSD: lpq.c,v 1.9 1999/12/07 14:54:47 mrg Exp $ */
/*
case 'w':
l = strtol(optarg, &cp, 10);
if (*cp != '\0' || l < 0 || l >= INT_MAX)
- errx(1, "wait time must be postive integer: %s",
+ errx(1, "wait time must be positive integer: %s",
optarg);
wait_time = (u_int)l;
if (wait_time < 30)
-/* $OpenBSD: lpr.c,v 1.49 2018/04/26 12:42:51 guenther Exp $ */
+/* $OpenBSD: lpr.c,v 1.50 2022/12/28 21:30:17 jmc Exp $ */
/* $NetBSD: lpr.c,v 1.19 2000/10/11 20:23:52 is Exp $ */
/*
jobname = optarg;
break;
- case 'P': /* specifiy printer name */
+ case 'P': /* specify printer name */
printer = optarg;
break;
-/* $OpenBSD: msdosfs_unicode.c,v 1.2 2016/12/17 16:43:30 krw Exp $ */
+/* $OpenBSD: msdosfs_unicode.c,v 1.3 2022/12/28 21:30:17 jmc Exp $ */
/* $NetBSD: msdosfs_unicode.c,v 1.2 2016/02/06 14:11:58 joerg Exp $ */
/*
0x0398, 0x03B8, /* GREEK CAPITAL LETTER THETA */
0x0399, 0x03B9, /* GREEK CAPITAL LETTER IOTA */
0x039A, 0x03BA, /* GREEK CAPITAL LETTER KAPPA */
- 0x039B, 0x03BB, /* GREEK CAPITAL LETTER LAMDA */
+ 0x039B, 0x03BB, /* GREEK CAPITAL LETTER LAMBDA */
0x039C, 0x03BC, /* GREEK CAPITAL LETTER MU */
0x039D, 0x03BD, /* GREEK CAPITAL LETTER NU */
0x039E, 0x03BE, /* GREEK CAPITAL LETTER XI */
-/* $OpenBSD: common.h,v 1.9 2014/12/13 14:44:59 miod Exp $ */
+/* $OpenBSD: common.h,v 1.10 2022/12/28 21:30:17 jmc Exp $ */
/* $NetBSD: common.h,v 1.9 2011/08/30 19:49:10 joerg Exp $ */
/*
struct dllist {
u_char status; /* Status byte */
struct if_info *ii; /* interface pointer */
- u_char eaddr[6]; /* targets ethernet addres */
+ u_char eaddr[6]; /* targets ethernet address */
int ldfd; /* filedescriptor for loadfile */
u_short dl_bsz; /* Data Link Buffer Size */
int timeout; /* Timeout counter */
-/* $OpenBSD: print.c,v 1.13 2017/07/29 07:18:03 florian Exp $ */
+/* $OpenBSD: print.c,v 1.14 2022/12/28 21:30:17 jmc Exp $ */
/*
* Copyright (c) 1993-96 Mats O Jansson. All rights reserved.
break;
case MOP_K_INFO_MFCT:
tmps = mopGetShort(pkt, idx);
- fprintf(fd, "Maint Funcion: %04x ( ", tmps);
+ fprintf(fd, "Maint Function: %04x ( ", tmps);
if (tmps & 1) fprintf(fd, "Loop ");
if (tmps & 2) fprintf(fd, "Dump ");
if (tmps & 4) fprintf(fd, "Pldr ");
-/* $OpenBSD: mopa.out.c,v 1.17 2017/10/29 08:45:53 mpi Exp $ */
+/* $OpenBSD: mopa.out.c,v 1.18 2022/12/28 21:30:17 jmc Exp $ */
/*
* mopa.out - Convert a Unix format kernel into something that
*
* This code was written while referring to the NetBSD/vax boot
* loader. Therefore anything that can be booted by the Vax
- * should be convertable with this program.
+ * should be convertible with this program.
*
* If necessary, the a.out header is stripped, and the program
* segments are padded out. The BSS segment is zero filled.
# Copyright (c) 1993-1994 Mats O Jansson, Stockholm, Sweden
# All rights reserved.
#
-# @(#) $OpenBSD: Makefile,v 1.5 2006/04/29 16:26:56 maja Exp $
+# @(#) $OpenBSD: Makefile,v 1.6 2022/12/28 21:30:17 jmc Exp $
# Script (or program) that returns the machine and os types,
-# or jsut edit in the name yourself.
+# or just edit in the name yourself.
MD=`./mdtype`
OS=`./ostype`
REL=`cat ../common/VERSION`
YACC = yacc -y
MAKE = make
-# Explicitly define compiliation rule since SunOS 4's make doesn't like gcc.
+# Explicitly define compilation rule since SunOS 4's make doesn't like gcc.
# Also, gcc does not remove the .o before forking 'as', which can be a
# problem if you don't own the file but can write to the directory.
.c.o:
-# $OpenBSD: mopd-x.x.x.spec,v 1.1 1999/03/27 14:31:23 maja Exp $
+# $OpenBSD: mopd-x.x.x.spec,v 1.2 2022/12/28 21:30:17 jmc Exp $
Summary: MOP (Maintenance Operations Protocol) loader daemon
Name: mopd
Version: 2.5.4
If a filename isn't given mopd must know what image to load.
Upon receiving a request, mopd checks if the requested file exists in
-/tftpboot/mop, the filename is normaly uppercase and with an extension of
+/tftpboot/mop, the filename is normally uppercase and with an extension of
.SYS. If the filename isn't given, the ethernet address of the target is
used as filename, e.g. 08002b09f4de.SYS and it might be a soft link to
another file.
* Right-most bit is the Route Change Notification bit, set if the
* reservation protocol wishes to receive notification of
* a route change for the source-destination pair listed in the query.
- * Notification is in the form of an unsolicitied Route Reply.
+ * Notification is in the form of an unsolicited Route Reply.
*/
#define RSRR_NOTIFICATION_BIT 0
/* Next bit indicates an error returning the Route Reply. */
n->al_genid = genid;
else if (n->al_genid != genid) {
logit(LOG_DEBUG, 0,
- "new genid neigbor %s on vif %d [old:%x, new:%x]",
+ "new genid neighbor %s on vif %d [old:%x, new:%x]",
inet_fmt(addr, s1), vifi, n->al_genid, genid);
n->al_genid = genid;
-/* $OpenBSD: ndp.c,v 1.106 2022/12/02 15:35:35 kn Exp $ */
+/* $OpenBSD: ndp.c,v 1.107 2022/12/28 21:30:17 jmc Exp $ */
/* $KAME: ndp.c,v 1.101 2002/07/17 08:46:33 itojun Exp $ */
/*
printf("%-*.*s %-*.*s %*.*s", addrwidth, addrwidth, host_buf,
llwidth, llwidth, ether_str(sdl), ifwidth, ifwidth, ifname);
- /* Print neighbor discovery specific informations */
+ /* Print neighbor discovery specific information */
nbi = getnbrinfo(&sin->sin6_addr, sdl->sdl_index, 1);
if (nbi) {
if (nbi->expire > now.tv_sec) {
-/* $OpenBSD: l2tp_ctrl.c,v 1.26 2021/05/22 08:29:57 yasuoka Exp $ */
+/* $OpenBSD: l2tp_ctrl.c,v 1.27 2022/12/28 21:30:17 jmc Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
* SUCH DAMAGE.
*/
/**@file Control connection processing functions for L2TP LNS */
-/* $Id: l2tp_ctrl.c,v 1.26 2021/05/22 08:29:57 yasuoka Exp $ */
+/* $Id: l2tp_ctrl.c,v 1.27 2022/12/28 21:30:17 jmc Exp $ */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>
}
/*
- * Utitlity
+ * Utility
*/
/**
-/* $OpenBSD: ppp.h,v 1.23 2021/03/29 03:54:39 yasuoka Exp $ */
+/* $OpenBSD: ppp.h,v 1.24 2022/12/28 21:30:17 jmc Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
/** Physical layer */
int tunnel_type; /** PPP Tunnel Type */
- uint16_t tunnel_session_id; /** Tunnel Sesion Id */
+ uint16_t tunnel_session_id; /** Tunnel Session Id */
uint16_t mru; /** MRU */
uint16_t peer_mru; /** Peer's MRU */
void *phy_context; /** Context of physical layer */
-/* $OpenBSD: pptpd.c,v 1.33 2021/03/29 03:54:40 yasuoka Exp $ */
+/* $OpenBSD: pptpd.c,v 1.34 2022/12/28 21:30:17 jmc Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
-/* $Id: pptpd.c,v 1.33 2021/03/29 03:54:40 yasuoka Exp $ */
+/* $Id: pptpd.c,v 1.34 2022/12/28 21:30:17 jmc Exp $ */
/**@file
* This file provides a implementation of PPTP daemon. Currently it
* provides functions for PAC (PPTP Access Concentrator) only.
- * $Id: pptpd.c,v 1.33 2021/03/29 03:54:40 yasuoka Exp $
+ * $Id: pptpd.c,v 1.34 2022/12/28 21:30:17 jmc Exp $
*/
#include <sys/types.h>
#include <sys/socket.h>
if (evmask & EV_READ) {
for (;;) {
- /* read till bloked */
+ /* read till blocked */
peerlen = sizeof(peer);
if ((sz = recvfrom(listener->sock_gre, pkt, sizeof(pkt),
0, (struct sockaddr *)&peer, &peerlen)) == -1) {
-/* $OpenBSD: ocspcheck.c,v 1.30 2021/07/12 15:09:21 beck Exp $ */
+/* $OpenBSD: ocspcheck.c,v 1.31 2022/12/28 21:30:17 jmc Exp $ */
/*
* Copyright (c) 2017,2020 Bob Beck <beck@openbsd.org>
goto err;
}
if (request->data == NULL) {
- warnx("Unable to allocte memory");
+ warnx("Unable to allocate memory");
goto err;
}
return request;
-/* $OpenBSD: util.c,v 1.3 2018/12/09 14:56:24 remi Exp $ */
+/* $OpenBSD: util.c,v 1.4 2022/12/28 21:30:18 jmc Exp $ */
/*
* Copyright (c) 2012 Alexander Bluhm <bluhm@openbsd.org>
if (IN6_IS_SCOPE_EMBED(&sin6->sin6_addr)) {
bcopy(&sin6->sin6_addr.s6_addr[2], &tmp16, sizeof(tmp16));
if (tmp16 != 0) {
- log_warnx("embedscope: address %s already has embeded "
+ log_warnx("embedscope: address %s already has embedded "
"scope %u", log_sockaddr(sin6), ntohs(tmp16));
}
tmp16 = htons(sin6->sin6_scope_id);
u_int l = 0;
/*
- * sin6_len is the size of the sockaddr so substract the offset of
+ * sin6_len is the size of the sockaddr so subtract the offset of
* the possibly truncated sin6_addr struct.
*/
ap = (u_int8_t *)&sa_in6->sin6_addr;
-/* $OpenBSD: hello.c,v 1.25 2019/11/19 09:55:55 remi Exp $ */
+/* $OpenBSD: hello.c,v 1.26 2022/12/28 21:30:18 jmc Exp $ */
/*
* Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org>
* Only the router-id is compared since the source IP on NBMA,
* broadcast and point-to-multipoint interfaces was already
* compared in find_iface() and only IPs in the same subnet
- * are accepted. This is not excatly what the RFC specifies
+ * are accepted. This is not exactly what the RFC specifies
* but works far better.
*/
LIST_FOREACH(nbr, &iface->nbr_list, entry) {
-$OpenBSD: BaseState.pod,v 1.1 2022/01/21 17:41:41 espie Exp $
+$OpenBSD: BaseState.pod,v 1.2 2022/12/28 21:30:18 jmc Exp $
=head1 NAME
-OpenBSD::BaseState - light-weight IO and system acces in pkg_add
+OpenBSD::BaseState - light-weight IO and system access in pkg_add
=head1 SYNOPSIS
=item $class->can_output
-hook to be overidden if need be, for programs that do not want to keep
+hook to be overridden if need be, for programs that do not want to keep
writing to the terminal in the background. Returns 1 by default.
=back
-$OpenBSD: State.pod,v 1.3 2022/02/12 09:46:19 espie Exp $
+$OpenBSD: State.pod,v 1.4 2022/12/28 21:30:18 jmc Exp $
=head1 NAME
=item $state->sync_display
-hook to be overriden. Called by all the print functions prior to displaying
+hook to be overridden. Called by all the print functions prior to displaying
anything. To be used to write things out cleanly (e.g., wipe out a
progressmeter line prior to writing an error message, for instance)
# ex:ts=8 sw=4:
-# $OpenBSD: Update.pm,v 1.167 2019/12/29 10:40:16 espie Exp $
+# $OpenBSD: Update.pm,v 1.168 2022/12/28 21:30:18 jmc Exp $
#
# Copyright (c) 2004-2014 Marc Espie <espie@openbsd.org>
#
}
# XXX all that code conveniently forgets about old versions, while
# marking them as "normal".
- # there should be some error path when we consistenly fail to find
+ # there should be some error path when we consistently fail to find
# an equal-or-newer version in our repository, so that pkg_add has
# consistent exit codes.
if (!$state->defines('downgrade')) {
-.\" $OpenBSD: package.5,v 1.31 2022/06/04 10:12:38 espie Exp $
+.\" $OpenBSD: package.5,v 1.32 2022/12/28 21:30:18 jmc Exp $
.\" Copyright (c) 2005-2006 Marc Espie <espie@openbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-.Dd $Mdocdate: June 4 2022 $
+.Dd $Mdocdate: December 28 2022 $
.Dt PACKAGE 5
.Os
.Sh NAME
.Ar external
.Sm on
.Xc
-Record the date of signature of a package, synthetized by
+Record the date of signature of a package, synthesized by
.Xr pkg_add 1
from
.Xr signify 1
as a sha256 digest encoded in base64.
.Pp
.It Cm @signer
-Record the signing key for a package, synthetized by
+Record the signing key for a package, synthesized by
.Xr pkg_add 1
from
.Xr signify 1
to record that the entry is actually a symbolic link.
.Pp
.It Cm @url
-Original location of the package, synthetized by
+Original location of the package, synthesized by
.Xr pkg_add 1
during installation.
.Pp
-/* $OpenBSD: options.c,v 1.29 2015/12/06 12:00:16 tobias Exp $ */
+/* $OpenBSD: options.c,v 1.30 2022/12/28 21:30:18 jmc Exp $ */
/*
* options.c - handles option processing for PPP.
{"-all", 0, noopt}, /* Don't request/allow any options (useless) */
{"noaccomp", 0, noaccomp}, /* Disable Address/Control compression */
{"-ac", 0, noaccomp}, /* Disable Address/Control compress */
- {"default-asyncmap", 0, noasyncmap}, /* Disable asyncmap negoatiation */
+ {"default-asyncmap", 0, noasyncmap}, /* Disable asyncmap negotiation */
{"-am", 0, noasyncmap}, /* Disable asyncmap negotiation */
{"-as", 1, setasyncmap}, /* set the desired async map */
{"-d", 0, setdebug}, /* Increase debugging level */
-/* $OpenBSD: frontend.c,v 1.41 2022/10/15 13:26:15 florian Exp $ */
+/* $OpenBSD: frontend.c,v 1.42 2022/12/28 21:30:18 jmc Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
/* scaled lifetime in units of 8 seconds */
sltime_plc = pref64->ltime / 8;
sltime_plc = sltime_plc << 3;
- /* encode prefix lenght in lower 3 bits */
+ /* encode prefix length in lower 3 bits */
switch (pref64->prefixlen) {
case 96:
sltime_plc |= 0;
!= 0) {
memcpy(ra_iface->data, buf, len);
ra_iface->datalen = len;
- /* packet changed; tell engine to send new advertisments */
+ /* packet changed; tell engine to send new advertisements */
if (event_initialized(&ra_iface->icmp6ev->ev))
frontend_imsg_compose_engine(IMSG_UPDATE_IF, 0,
&ra_iface->if_index, sizeof(ra_iface->if_index));
-/* $OpenBSD: rad.h,v 1.23 2022/10/15 13:26:15 florian Exp $ */
+/* $OpenBSD: rad.h,v 1.24 2022/12/28 21:30:18 jmc Exp $ */
/*
* Copyright (c) 2018 Florian Obser <florian@openbsd.org>
struct in6_addr prefix; /* prefix */
int prefixlen; /* prefix length */
uint32_t vltime; /* valid lifetime */
- uint32_t pltime; /* prefered lifetime */
+ uint32_t pltime; /* preferred lifetime */
int lflag; /* on-link flag*/
int aflag; /* autonom. addr flag */
};
-/* $OpenBSD: radiusd.c,v 1.27 2019/06/28 13:32:49 deraadt Exp $ */
+/* $OpenBSD: radiusd.c,v 1.28 2022/12/28 21:30:18 jmc Exp $ */
/*
* Copyright (c) 2013 Internet Initiative Japan Inc.
if (authen_secret == NULL) {
/*
- * The module couldn't check the autheticators
+ * The module couldn't check the authenticators
*/
if (radius_check_response_authenticator(q->res,
q->client->secret) != 0) {
module->name);
} else
log_warnx("Module `%s' could not started: module "
- "returned unknow message type %d", module->name,
+ "returned unknown message type %d", module->name,
imsg.hdr.type);
goto on_fail;
}
-/* $OpenBSD: radiusd_radius.c,v 1.17 2019/06/28 13:32:49 deraadt Exp $ */
+/* $OpenBSD: radiusd_radius.c,v 1.18 2022/12/28 21:30:18 jmc Exp $ */
/*
* Copyright (c) 2013 Internet Initiative Japan Inc.
}
if (evtimer_add(&req->ev, &tv) != 0) {
module_radius_log(req->module, LOG_WARNING,
- "Cannot proccess the request for q=%u: "
+ "Cannot process the request for q=%u: "
"evtimer_add() failed: %m", req->q_id);
module_radius_req_on_failure(req);
return (-1);
-/* $OpenBSD: relay.c,v 1.254 2021/03/24 20:59:53 benno Exp $ */
+/* $OpenBSD: relay.c,v 1.255 2022/12/28 21:30:18 jmc Exp $ */
/*
* Copyright (c) 2006 - 2014 Reyk Floeter <reyk@openbsd.org>
* Call the UDP protocol-specific handler
*/
if (rlay->rl_proto->request == NULL)
- fatalx("invalide UDP session");
+ fatalx("invalid UDP session");
if ((*rlay->rl_proto->request)(con) == -1)
relay_close(con, "session failed", 1);
return;
/*
* Set session ID context to a random value. It needs to be the
- * same accross all relay processes or session caching will fail.
+ * same across all relay processes or session caching will fail.
*/
if (tls_config_set_session_id(tls_cfg, env->sc_conf.tls_sid,
sizeof(env->sc_conf.tls_sid)) == -1) {
-/* $OpenBSD: relay_udp.c,v 1.49 2018/08/06 17:31:31 benno Exp $ */
+/* $OpenBSD: relay_udp.c,v 1.50 2022/12/28 21:30:18 jmc Exp $ */
/*
* Copyright (c) 2007 - 2013 Reyk Floeter <reyk@openbsd.org>
u_int8_t dns_flags0;
#define DNS_F0_QR 0x80 /* response flag */
#define DNS_F0_OPCODE 0x78 /* message type */
-#define DNS_F0_AA 0x04 /* authorative answer */
+#define DNS_F0_AA 0x04 /* authoritative answer */
#define DNS_F0_TC 0x02 /* truncated message */
#define DNS_F0_RD 0x01 /* recursion desired */
-/* $OpenBSD: lockd_lock.c,v 1.10 2019/06/28 13:32:50 deraadt Exp $ */
+/* $OpenBSD: lockd_lock.c,v 1.11 2022/12/28 21:30:18 jmc Exp $ */
/*
* Copyright (c) 2000 Manuel Bouyer.
/* nothing to do */
break;
default:
- syslog(LOG_NOTICE, "unknow status %d for %s",
+ syslog(LOG_NOTICE, "unknown status %d for %s",
fl->status, fl->client_name);
}
sigunlock();
case LKST_DYING:
break;
default:
- syslog(LOG_NOTICE, "unknow status %d for %s",
+ syslog(LOG_NOTICE, "unknown status %d for %s",
fl->status, fl->client_name);
}
}
-/* $OpenBSD: cms.c,v 1.25 2022/11/29 20:41:32 job Exp $ */
+/* $OpenBSD: cms.c,v 1.26 2022/12/28 21:30:18 jmc Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
}
/*
- * The CMS is self-signed with a signing certifiate.
+ * The CMS is self-signed with a signing certificate.
* Verify that the self-signage is correct.
*/
if (!CMS_verify(cms, NULL, NULL, bio, NULL,
-/* $OpenBSD: extern.h,v 1.164 2022/12/15 12:02:29 claudio Exp $ */
+/* $OpenBSD: extern.h,v 1.165 2022/12/28 21:30:18 jmc Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
/*
* A Validated ASPA Payload (VAP) tree element.
- * To ease transformation, this struct mimicks ASPA RTR PDU structure.
+ * To ease transformation, this struct mimics ASPA RTR PDU structure.
*/
struct vap {
RB_ENTRY(vap) entry;
unsigned int repoid; /* repository identifier */
int talid; /* tal identifier */
enum rtype type; /* type of entity (not RTYPE_EOF) */
- enum location location; /* which directroy the file lives in */
+ enum location location; /* which directory the file lives in */
};
TAILQ_HEAD(entityq, entity);
-/* $OpenBSD: repo.c,v 1.40 2022/12/15 12:02:29 claudio Exp $ */
+/* $OpenBSD: repo.c,v 1.41 2022/12/28 21:30:18 jmc Exp $ */
/*
* Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
rr = rrdp_find(id);
if (rr == NULL)
- errx(1, "non-existant rrdp repo %u", id);
+ errx(1, "non-existent rrdp repo %u", id);
file = rrdp_state_filename(rr, 0);
temp = rrdp_state_filename(rr, 1);
rr = rrdp_find(id);
if (rr == NULL)
- errx(1, "non-existant rrdp repo %u", id);
+ errx(1, "non-existent rrdp repo %u", id);
/* remove rrdp repository contents */
remove_contents(rr->basedir);
rr = rrdp_find(id);
if (rr == NULL)
- errx(1, "non-existant rrdp repo %u", id);
+ errx(1, "non-existent rrdp repo %u", id);
if (rr->state == REPO_FAILED)
return -1;
}
/*
- * RRDP sync finshed, either with or without success.
+ * RRDP sync finished, either with or without success.
*/
void
rrdp_finish(unsigned int id, int ok)
tr = ta_find(id);
if (tr == NULL) {
- /* not a TA fetch therefor RRDP */
+ /* not a TA fetch therefore RRDP */
rrdp_http_done(id, res, last_mod);
return;
}
-/* $OpenBSD: rsync.c,v 1.45 2022/11/29 20:26:22 job Exp $ */
+/* $OpenBSD: rsync.c,v 1.46 2022/12/28 21:30:18 jmc Exp $ */
/*
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
*
* Return the base of a rsync URI (rsync://hostname/module). The
* caRepository provided by the RIR CAs point deeper than they should
* which would result in many rsync calls for almost every subdirectory.
- * This is inefficent so instead crop the URI to a common base.
+ * This is inefficient so instead crop the URI to a common base.
* The returned string needs to be freed by the caller.
*/
char *
-/* $OpenBSD: smtp_client.c,v 1.16 2021/06/14 17:58:16 eric Exp $ */
+/* $OpenBSD: smtp_client.c,v 1.17 2022/12/28 21:30:18 jmc Exp $ */
/*
* Copyright (c) 2018 Eric Faurot <eric@openbsd.org>
}
/*
- * End the session immediatly.
+ * End the session immediately.
*/
static void
smtp_client_abort(struct smtp_client *proto, int err, const char *reason)
-/* $OpenBSD: traphandler.c,v 1.23 2022/06/30 09:42:19 martijn Exp $ */
+/* $OpenBSD: traphandler.c,v 1.24 2022/12/28 21:30:19 jmc Exp $ */
/*
* Copyright (c) 2014 Bret Stephen Lambert <blambert@openbsd.org>
return NULL;
}
- /* work aronud net-snmp's snmptrap: It adds an EOC element in vblist */
+ /* work around net-snmp's snmptrap: It adds an EOC element in vblist */
if (vblist->be_len != 0)
vb0 = ober_unlink_elements(vblist);
-/* $OpenBSD: syslogd.c,v 1.275 2022/06/16 18:44:43 bluhm Exp $ */
+/* $OpenBSD: syslogd.c,v 1.276 2022/12/28 21:30:19 jmc Exp $ */
/*
* Copyright (c) 2014-2021 Alexander Bluhm <bluhm@genua.de>
log_debug("Malformed accept address");
peername = hostname_unknown;
}
- log_debug("Peer addresss and port %s", peername);
+ log_debug("Peer address and port %s", peername);
if ((p = malloc(sizeof(*p))) == NULL) {
log_warn("allocate \"%s\"", peername);
close(fd);
}
/*
- * Make space in the buffer for continous writes.
+ * Make space in the buffer for continuous writes.
* Set offset behind reply header to skip it
*/
*reply_text = '\0';
-/* $OpenBSD: igrp.h,v 1.4 2000/10/03 14:31:55 ho Exp $ */
+/* $OpenBSD: igrp.h,v 1.5 2022/12/28 21:30:19 jmc Exp $ */
/* Cisco IGRP definitions */
u_short ig_as; /* autonomous system number */
u_short ig_ni; /* number of subnet in local net */
u_short ig_ns; /* number of networks in AS */
- u_short ig_nx; /* number of networks ouside AS */
+ u_short ig_nx; /* number of networks outside AS */
u_short ig_sum; /* checksum of IGRP header & data */
};
-/* $OpenBSD: in_cksum.c,v 1.2 2018/07/06 04:49:21 dlg Exp $ */
+/* $OpenBSD: in_cksum.c,v 1.3 2022/12/28 21:30:19 jmc Exp $ */
/*
* Copyright (c) 1988, 1992, 1993
/*
* compute an IP header checksum.
- * don't modifiy the packet.
+ * don't modify the packet.
*/
uint16_t
in_cksum(const void *addr, size_t len, uint32_t sum)
-/* $OpenBSD: print-icmp6.c,v 1.24 2022/01/05 05:33:14 dlg Exp $ */
+/* $OpenBSD: print-icmp6.c,v 1.25 2022/12/28 21:30:19 jmc Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1993, 1994
dp = (struct icmp6_hdr *)bp;
ip = (struct ip6_hdr *)bp2;
oip = (struct ip6_hdr *)(dp + 1);
- /* 'ep' points to the end of avaible data. */
+ /* 'ep' points to the end of available data. */
ep = snapend;
if (ip->ip6_plen)
icmp6len = (ntohs(ip->ip6_plen) + sizeof(struct ip6_hdr) -
TCHECK(oip->ip6_dst);
switch (dp->icmp6_code) {
case ICMP6_PARAMPROB_HEADER:
- printf("icmp6: parameter problem errorneous - octet %u",
+ printf("icmp6: parameter problem erroneous - octet %u",
(u_int32_t)ntohl(dp->icmp6_pptr));
break;
case ICMP6_PARAMPROB_NEXTHEADER:
ip = (struct ip6_hdr *)bp2;
oip = &dp->icmp6_ip6;
#endif
- /* 'ep' points to the end of avaible data. */
+ /* 'ep' points to the end of available data. */
ep = snapend;
ECHECK(op->nd_opt_len);
struct mld_hdr *mp = (struct mld_hdr *)bp;
const u_char *ep;
- /* 'ep' points to the end of avaible data. */
+ /* 'ep' points to the end of available data. */
ep = snapend;
if ((u_char *)mp + sizeof(*mp) > ep)
-/* $OpenBSD: print-ike.c,v 1.40 2021/12/01 18:28:46 deraadt Exp $ */
+/* $OpenBSD: print-ike.c,v 1.41 2022/12/28 21:30:19 jmc Exp $ */
/*
* Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999
if (length < sizeof (struct isakmp_header))
goto trunc;
- /* 'ep' points to the end of avaible data. */
+ /* 'ep' points to the end of available data. */
ep = snapend;
printf("isakmp v%u.%u", ih->version >> 4, ih->version & 0xf);
struct lwres_addr {
lwres_uint32_t family;
lwres_uint16_t length;
- /* address folows */
+ /* address follows */
};
typedef struct {
-/* $OpenBSD: print-nhrp.c,v 1.1 2020/04/15 20:19:25 remi Exp $ */
+/* $OpenBSD: print-nhrp.c,v 1.2 2022/12/28 21:30:19 jmc Exp $ */
/*
* Copyright (c) 2020 Remi Locherer <remi@openbsd.org>
if (vflag) {
printf(", hopcnt %u", hdr->hopcnt);
- /* most significat bit must be 0 */
+ /* most significant bit must be 0 */
if (hdr->shtl & 0x80)
printf(" (shtl bit 7 set)");
-/* $OpenBSD: print-rt6.c,v 1.9 2022/01/05 05:36:37 dlg Exp $ */
+/* $OpenBSD: print-rt6.c,v 1.10 2022/12/28 21:30:19 jmc Exp $ */
/*
dp = (struct ip6_rthdr *)bp;
len = dp->ip6r_len;
- /* 'ep' points to the end of avaible data. */
+ /* 'ep' points to the end of available data. */
ep = snapend;
#if 0
-/* $OpenBSD: usbdevs.c,v 1.35 2022/10/28 11:24:49 dlg Exp $ */
+/* $OpenBSD: usbdevs.c,v 1.36 2022/12/28 21:30:19 jmc Exp $ */
/* $NetBSD: usbdevs.c,v 1.19 2002/02/21 00:34:31 christos Exp $ */
/*
printf(" enabled");
if (status & UPS_SUSPEND)
- printf(" supsend");
+ printf(" suspend");
if (status & UPS_OVERCURRENT_INDICATOR)
printf(" overcurrent");
-/* $OpenBSD: main.c,v 1.11 2016/11/29 03:59:31 jsg Exp $ */
+/* $OpenBSD: main.c,v 1.12 2022/12/28 21:30:19 jmc Exp $ */
/* $NetBSD: main.c,v 1.3 2002/07/09 10:34:16 tron Exp $ */
/*
int (*c_func)(int, char **); /* called function */
} cmd_t;
-/* despatch table for commands */
+/* dispatch table for commands */
static cmd_t cmds[] = {
{ 1, { "useradd", NULL }, useradd },
{ 2, { "user", "add" }, useradd },
/* $NetBSD: loadfile.c,v 1.10 2000/12/03 02:53:04 tsutsui Exp $ */
-/* $OpenBSD: loadfile_elf.c,v 1.44 2022/12/26 23:50:20 dv Exp $ */
+/* $OpenBSD: loadfile_elf.c,v 1.45 2022/12/28 21:30:19 jmc Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
/*
* Create three segment descriptors:
*
- * GDT[0] : null desriptor. "Created" via memset above.
+ * GDT[0] : null descriptor. "Created" via memset above.
* GDT[1] (selector @ 0x8): Executable segment, for CS
* GDT[2] (selector @ 0x10): RW Data segment, for DS/ES/SS
*/
-/* $OpenBSD: mmio.c,v 1.1 2022/11/10 11:46:39 dv Exp $ */
+/* $OpenBSD: mmio.c,v 1.2 2022/12/28 21:30:19 jmc Exp $ */
/*
* Copyright (c) 2022 Dave Voutila <dv@openbsd.org>
log_warnx("%s: invalid cpu mode", __progname);
return (VMM_CPU_MODE_UNKNOWN);
} else {
- /* Compatability Modes */
+ /* Compatibility Modes */
if (cs & CS_D) /* XXX Add Compat32 mode */
return (VMM_CPU_MODE_UNKNOWN);
return (VMM_CPU_MODE_COMPAT);
-/* $OpenBSD: ns8250.c,v 1.33 2022/12/19 20:27:26 dv Exp $ */
+/* $OpenBSD: ns8250.c,v 1.34 2022/12/28 21:30:19 jmc Exp $ */
/*
* Copyright (c) 2016 Mike Larkin <mlarkin@openbsd.org>
*
*
* Emulate in/out instructions to the com1 (ns8250) UART line control register
*
- * Paramters:
+ * Parameters:
* vei: vm exit information from vmm(4) containing information on the in/out
* instruction being performed
*/
-/* $OpenBSD: virtio.c,v 1.98 2022/12/23 19:25:22 dv Exp $ */
+/* $OpenBSD: virtio.c,v 1.99 2022/12/28 21:30:19 jmc Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
/* FALLTHROUGH */
case VMMCI_REBOOT:
/*
- * If the VM acknowleged our shutdown request, give it
+ * If the VM acknowledged our shutdown request, give it
* enough time to shutdown or reboot gracefully. This
* might take a considerable amount of time (running
* rc.shutdown on the VM), so increase the timeout before
-/* $OpenBSD: vm.c,v 1.78 2022/12/26 23:50:20 dv Exp $ */
+/* $OpenBSD: vm.c,v 1.79 2022/12/28 21:30:19 jmc Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
*
* 1. validates and create the new VM
* 2. opens the imsg control channel to the parent and drops more privilege
- * 3. drops additional privleges by calling pledge(2)
+ * 3. drops additional privileges by calling pledge(2)
* 4. loads the kernel from the disk image or file descriptor
* 5. runs the VM's VCPU loops.
*
vmc = calloc(1, sizeof(struct vmop_create_params));
if (vmc == NULL) {
- log_warn("%s: calloc error geting vmc", __func__);
+ log_warn("%s: calloc error getting vmc", __func__);
ret = -1;
goto err;
}
* Handle all I/O to the emulated PCI subsystem.
*
* Parameters:
- * vrp: vcpu run paramters containing guest state for this exit
+ * vrp: vcpu run parameters containing guest state for this exit
*
* Return value:
* Interrupt to inject to the guest VM, or 0xFF if no interrupt should
-/* $OpenBSD: vmd.c,v 1.134 2022/12/15 16:01:40 dv Exp $ */
+/* $OpenBSD: vmd.c,v 1.135 2022/12/28 21:30:19 jmc Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
imsg->hdr.type, vm->vm_peerid, -1,
&vmr, sizeof(vmr)) == -1) {
errno = vmr.vmr_result;
- log_warn("%s: failed to foward vm result",
+ log_warn("%s: failed to forward vm result",
vcp->vcp_name);
vm_remove(vm, __func__);
return (-1);
/*
* vm_checkinsflag
*
- * Checks wheter the non-root user is allowed to set an instance option.
+ * Checks whether the non-root user is allowed to set an instance option.
*
* Parameters:
* vmc: the VM create parameters
-/* $OpenBSD: mouse_protocols.c,v 1.18 2022/01/28 06:33:27 guenther Exp $ */
+/* $OpenBSD: mouse_protocols.c,v 1.19 2022/12/28 21:30:19 jmc Exp $ */
/*
* Copyright (c) 2001 Jean-Baptiste Marchand, Julien Montagne and Jerome Verdon
ioctl(mouse_fd, TIOCMBIC, &i);
usleep(200000);
- /* wait for respose, 2nd phase (2.1.6) */
+ /* wait for response, 2nd phase (2.1.6) */
FlushInput(mouse_fd);
i = TIOCM_DTR | TIOCM_RTS; /* DTR = 1, RTS = 1 */
ioctl(mouse_fd, TIOCMBIS, &i);
**
** The following lines take care of the Logitech MouseMan protocols.
**
- ** NOTE: There are diffrent versions of both MouseMan and TrackMan!
+ ** NOTE: There are different versions of both MouseMan and TrackMan!
** Hence I add another protocol P_LOGIMAN, which the user can
** specify as MouseMan in his XF86Config file. This entry was
** formerly handled as a special case of P_MS. However, people
-/* $OpenBSD: mouse_protocols.h,v 1.6 2009/06/05 03:37:10 miod Exp $ */
+/* $OpenBSD: mouse_protocols.h,v 1.7 2022/12/28 21:30:19 jmc Exp $ */
/*
* Copyright (c) 2001 Jean-Baptiste Marchand, Julien Montagne and Jerome Verdon
* - synchronization mask
* - synchronization value (must be equal to data ANDed with SYNCMASK)
* - mask of buttons
- * - mask of each button separetely
+ * - mask of each button separately
*/
/* Microsoft Serial mouse data packet */
-/* $OpenBSD: ypbind.c,v 1.76 2022/07/17 03:12:20 deraadt Exp $ */
+/* $OpenBSD: ypbind.c,v 1.77 2022/12/28 21:30:19 jmc Exp $ */
/*
* Copyright (c) 1992, 1993, 1996, 1997, 1998 Theo de Raadt <deraadt@openbsd.org>
return;
}
- /* syncronously ask for the matching ypserv TCP port number */
+ /* synchronously ask for the matching ypserv TCP port number */
ypserv_udp = raddrp->sin_port;
ypserv_tcp = pmap_getport(raddrp, YPPROG,
YPVERS, IPPROTO_TCP);
-/* $OpenBSD: parse_netgroup.c,v 1.13 2015/12/08 07:16:33 mmcc Exp $ */
+/* $OpenBSD: parse_netgroup.c,v 1.14 2022/12/28 21:30:19 jmc Exp $ */
/*
* Copyright (c) 1992, 1993
* The Regents of the University of California. All rights reserved.
if (lp->l_parsed) {
#ifdef DEBUG
/*
- * This error message is largely superflous since the
+ * This error message is largely superfluous since the
* code handles the error condition successfully, and
* spewing it out from inside libc can actually hose
* certain programs.
-/* $OpenBSD: acl.c,v 1.16 2018/04/26 12:48:10 schwarze Exp $ */
+/* $OpenBSD: acl.c,v 1.17 2022/12/28 21:30:19 jmc Exp $ */
/*
* Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
switch (state) {
case ACLE_NONETMASK:
fprintf(stderr,
- "acl: excpected \"netmask\" missing at line %d\n",
+ "acl: expected \"netmask\" missing at line %d\n",
line_no);
break;
case ACLE_NONET: