OpenBSD CVS

CVS log for src/usr.sbin/ypbind/ypbind.c


[BACK] Up to [local] / src / usr.sbin / ypbind

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.80 / (download) - annotate - [select for diffs], Tue Jan 23 14:13:55 2024 UTC (4 months, 2 weeks ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.79: +4 -7 lines
Diff to previous 1.79 (colored)

found some boilerplate strncpy to replace with strlcpy.  They are in
messages, but the messages are zero'd first.
ok jmatthew

Revision 1.79 / (download) - annotate - [select for diffs], Mon Nov 27 18:37:53 2023 UTC (6 months, 1 week ago) by tb
Branch: MAIN
Changes since 1.78: +2 -3 lines
Diff to previous 1.78 (colored)

Add missing error check for yp_get_default_domain()

Avoids a crash when no default domain is set.

from hshoexer
ok deraadt who had the same diff

Revision 1.78 / (download) - annotate - [select for diffs], Wed Mar 8 04:43:15 2023 UTC (15 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.77: +1 -4 lines
Diff to previous 1.77 (colored)

Delete obsolete /* ARGSUSED */ lint comments.

ok miod@ millert@

Revision 1.77 / (download) - annotate - [select for diffs], Wed Dec 28 21:30:19 2022 UTC (17 months, 1 week ago) by jmc
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored)

spelling fixes; from paul tagliamonte
any parts of his diff not taken are noted on tech

Revision 1.76 / (download) - annotate - [select for diffs], Sun Jul 17 03:12:20 2022 UTC (22 months, 3 weeks ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.75: +2 -32 lines
Diff to previous 1.75 (colored)

/var/run/ypbind.lock doesn't need to be created with an advisory lock anymore,
because libc & pledge() doesn't care.
libc now calls ypconnect(), which still cares about the advisory lock on
/var/yp/bindings/$domain.2, so that code remains.
ok jmatthew miod

Revision 1.75 / (download) - annotate - [select for diffs], Fri Jul 15 16:59:49 2022 UTC (22 months, 3 weeks ago) by deraadt
Branch: MAIN
Changes since 1.74: +20 -4 lines
Diff to previous 1.74 (colored)

Once a ypserv is discovered we know the remote UDP port number, but not
the TCP port number.  Immediately reach out (syncronously via pmap_getport,
to ask the portmap on the ypserv machine) to learn the TCP port number.
Append this as 2 bytes (network byte order) to the binding file, because
an upcoming change will require this information also.
with jmatthew, also ok claudio miod

Revision 1.74 / (download) - annotate - [select for diffs], Tue Dec 29 19:48:49 2020 UTC (3 years, 5 months ago) by benno
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.73: +3 -2 lines
Diff to previous 1.73 (colored)

getifaddrs() can return entries where ifa_addr is NULL. Check for this
before accessing anything in ifa_addr.
ok claudio@

Revision 1.73 / (download) - annotate - [select for diffs], Fri Jun 28 13:32:52 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.72: +9 -9 lines
Diff to previous 1.72 (colored)

When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

Revision 1.72 / (download) - annotate - [select for diffs], Thu Apr 26 15:55:14 2018 UTC (6 years, 1 month ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.71: +15 -14 lines
Diff to previous 1.71 (colored)

Prefer <fcntl.h> over <sys/fcntl.h> in userland
While here, delete some extra #includes and apply style(9) sort rules.

ok deraadt@ krw@ mpi@

Revision 1.71 / (download) - annotate - [select for diffs], Thu Apr 26 12:42:51 2018 UTC (6 years, 1 month ago) by guenther
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored)

Use <fcntl.h> instead of <sys/file.h> for open() and friends.
Delete a bunch of unnecessary #includes and sort to match style(9)
while doing the above cleanup.

ok deraadt@ krw@

Revision 1.70 / (download) - annotate - [select for diffs], Mon Jun 12 18:56:13 2017 UTC (6 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.69: +2 -4 lines
Diff to previous 1.69 (colored)

Use unlinkat() when removing the contents of a directory so we don't
need to construct paths.  OK deraadt@

Revision 1.69 / (download) - annotate - [select for diffs], Fri Feb 17 16:46:17 2017 UTC (7 years, 3 months ago) by ajacoutot
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.68: +1 -4 lines
Diff to previous 1.68 (colored)

ypbind(8) is not started automatically at boot time by /etc/rc if domainname
is set and the directory var/yp/binding exists.

ok deraadt@

Revision 1.68 / (download) - annotate - [select for diffs], Fri Jul 8 19:32:26 2016 UTC (7 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.67: +12 -7 lines
Diff to previous 1.67 (colored)

When making a copy of svc_pollfd, use the correct size.
Also pass the correct fd count to svc_getreq_poll().
OK jca@

Revision 1.67 / (download) - annotate - [select for diffs], Tue Jul 5 16:41:40 2016 UTC (7 years, 11 months ago) by jca
Branch: MAIN
Changes since 1.66: +22 -33 lines
Diff to previous 1.66 (colored)

Move to svc_getreq_poll/svc_pollfd.

Stop using select to avoid the weird workarounds for fd_set size.
Also replace calloc with reallocarray.  Prompted by a mail by Miod,
cluebat from guenther@.

ok millert@, prodding deraadt@

Revision 1.66 / (download) - annotate - [select for diffs], Mon Mar 21 00:49:36 2016 UTC (8 years, 2 months ago) by guenther
Branch: MAIN
Changes since 1.65: +3 -5 lines
Diff to previous 1.65 (colored)

Instead of creating a socket with socket() or accept() and then
setting the O_NONBLOCK flag on it with fcntl(F_SETFL) afterwards,
just pass SOCK_NONBLOCK to socket() or accept4() and get it right
to begin with.

ok millert@ krw@ beck@ deraadt@ jca@

Revision 1.65 / (download) - annotate - [select for diffs], Sat Dec 12 20:04:23 2015 UTC (8 years, 5 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.64: +2 -3 lines
Diff to previous 1.64 (colored)

Remove NULL-checks before free().

Revision 1.64 / (download) - annotate - [select for diffs], Thu Aug 20 22:39:30 2015 UTC (8 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.63: +5 -6 lines
Diff to previous 1.63 (colored)

stdlib.h is in scope; do not cast malloc/calloc/realloc*
ok millert krw

Revision 1.63 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:22 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.62: +7 -6 lines
Diff to previous 1.62 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.62 / (download) - annotate - [select for diffs], Tue Jan 21 23:05:09 2014 UTC (10 years, 4 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.61: +2 -1 lines
Diff to previous 1.61 (colored)

add back ctype.h include for isspace()

Revision 1.61 / (download) - annotate - [select for diffs], Fri Dec 20 00:31:12 2013 UTC (10 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.60: +2 -6 lines
Diff to previous 1.60 (colored)

delete 4 includes we do not need

Revision 1.60 / (download) - annotate - [select for diffs], Sun Nov 24 01:06:19 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

more unsigned char casts for ctype
ok jca

Revision 1.59 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:57 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.58: +1 -5 lines
Diff to previous 1.58 (colored)

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 1.58 / (download) - annotate - [select for diffs], Sat Aug 2 04:13:37 2008 UTC (15 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

usage() has to exit 1; Gleydson Soares

Revision 1.57 / (download) - annotate - [select for diffs], Tue Oct 9 14:40:15 2007 UTC (16 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.56: +9 -9 lines
Diff to previous 1.56 (colored)

missing newlines in printfs

Revision 1.56 / (download) - annotate - [select for diffs], Sun Feb 18 23:27:06 2007 UTC (17 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

tidy up synopsis and usage(); from Igor Sobrado

Revision 1.55 / (download) - annotate - [select for diffs], Tue Jan 2 20:12:01 2007 UTC (17 years, 5 months ago) by otto
Branch: MAIN
Changes since 1.54: +19 -13 lines
Diff to previous 1.54 (colored)

return proper server error on failed ypset. Inspired by freebsd; ok
deraadt@

Revision 1.54 / (download) - annotate - [select for diffs], Tue Jan 2 20:10:48 2007 UTC (17 years, 5 months ago) by otto
Branch: MAIN
Changes since 1.53: +5 -5 lines
Diff to previous 1.53 (colored)

Fix setting up the more specific binding for the ypsetme
functionality. We want to bind to the same ports as the general
binding, but with a local address. with and ok deraadt@

Revision 1.53 / (download) - annotate - [select for diffs], Sun Apr 2 01:29:51 2006 UTC (18 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.52: +15 -10 lines
Diff to previous 1.52 (colored)

#ifdef lint not LINT

Revision 1.52 / (download) - annotate - [select for diffs], Fri Feb 20 11:57:17 2004 UTC (20 years, 3 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.51: +8 -2 lines
Diff to previous 1.51 (colored)

ypbin creates /var/yp/binding/<domainname>.<version> and /var/run/ypbind.lock
using open(2) with mode 0644 - however, these files _have_ to be world
readable, and open's mode is subject to umask.
do an explicit fchmod after open to set the mode to 0644 regardless of umask.

ok maja@ deraadt@

Revision 1.51 / (download) - annotate - [select for diffs], Tue Aug 19 22:10:08 2003 UTC (20 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.50: +31 -17 lines
Diff to previous 1.50 (colored)

very hairy modifications for dynamic fd_set handling.  dynamic rpc fd_set's
are just nasty; ok matthieu

Revision 1.50 / (download) - annotate - [select for diffs], Tue Jul 15 06:10:45 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.49: +15 -12 lines
Diff to previous 1.49 (colored)

protos and repairs

Revision 1.49 / (download) - annotate - [select for diffs], Wed Jun 25 21:45:47 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.48: +2 -6 lines
Diff to previous 1.48 (colored)

remove excess proto

Revision 1.48 / (download) - annotate - [select for diffs], Mon Jun 2 04:00:17 2003 UTC (21 years ago) by deraadt
Branch: MAIN
Changes since 1.47: +3 -11 lines
Diff to previous 1.47 (colored)

remove terms 3 and 4 of some of my licences

Revision 1.47 / (download) - annotate - [select for diffs], Fri Sep 6 19:46:53 2002 UTC (21 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.46: +8 -5 lines
Diff to previous 1.46 (colored)

use more socklen_t; pvalchev

Revision 1.46 / (download) - annotate - [select for diffs], Sat Jul 20 12:14:51 2002 UTC (21 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.45: +15 -2 lines
Diff to previous 1.45 (colored)

try to make pingsock and rpcsock resv too

Revision 1.45 / (download) - annotate - [select for diffs], Sat Jun 29 07:32:15 2002 UTC (21 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.44: +21 -47 lines
Diff to previous 1.44 (colored)

ansi

Revision 1.44 / (download) - annotate - [select for diffs], Thu May 30 19:09:06 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored)

minor KNF

Revision 1.43 / (download) - annotate - [select for diffs], Thu Mar 14 16:44:25 2002 UTC (22 years, 3 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

kill more registers.

millert@ ok

Revision 1.42 / (download) - annotate - [select for diffs], Sat Feb 16 21:28:11 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.41: +12 -12 lines
Diff to previous 1.41 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Dec 29 00:50:29 2001 UTC (22 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.40: +3 -2 lines
Diff to previous 1.40 (colored)

forgotten xid setting for additional domains; gregs@agilestorage.com, pr 2282

Revision 1.40 / (download) - annotate - [select for diffs], Mon Nov 5 00:08:34 2001 UTC (22 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.39: +2 -3 lines
Diff to previous 1.39 (colored)

remove extra sys/signal.h

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jul 27 20:34:36 2001 UTC (22 years, 10 months ago) by pvalchev
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.38: +2 -3 lines
Diff to previous 1.38 (colored)

Wall cleanup

Revision 1.38 / (download) - annotate - [select for diffs], Tue Apr 11 11:52:55 2000 UTC (24 years, 2 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.37: +22 -64 lines
Diff to previous 1.37 (colored)

avoid complex alignment constraint in SIOCGIFCONF,
by using getifaddrs(3).

Revision 1.37 / (download) - annotate - [select for diffs], Tue Feb 16 05:54:08 1999 UTC (25 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.36: +5 -3 lines
Diff to previous 1.36 (colored)

handle sa_len being 0 in SIOCGIFCONF

Revision 1.36 / (download) - annotate - [select for diffs], Sat Aug 15 17:24:17 1998 UTC (25 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

oops

Revision 1.35 / (download) - annotate - [select for diffs], Sat Aug 15 17:23:27 1998 UTC (25 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.34: +8 -5 lines
Diff to previous 1.34 (colored)

realloc misuse

Revision 1.34 / (download) - annotate - [select for diffs], Mon Mar 23 06:18:38 1998 UTC (26 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.33: +3 -2 lines
Diff to previous 1.33 (colored)

update copyright

Revision 1.33 / (download) - annotate - [select for diffs], Fri Mar 20 03:16:15 1998 UTC (26 years, 2 months ago) by angelos
Branch: MAIN
Changes since 1.32: +4 -2 lines
Diff to previous 1.32 (colored)

Ifaliases.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Feb 7 18:51:48 1998 UTC (26 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

oops

Revision 1.31 / (download) - annotate - [select for diffs], Sat Feb 7 02:40:38 1998 UTC (26 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.30: +10 -10 lines
Diff to previous 1.30 (colored)

snprintf

Revision 1.30 / (download) - annotate - [select for diffs], Sat Feb 7 02:34:19 1998 UTC (26 years, 4 months ago) by downsj
Branch: MAIN
Changes since 1.29: +5 -2 lines
Diff to previous 1.29 (colored)

Add missing code to make /etc/yp/<domain> files actually work (in all cases).

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jun 18 23:50:12 1997 UTC (26 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.28: +8 -5 lines
Diff to previous 1.28 (colored)

add -insecure flag for binding to non-reserved ypservs; problem from pjt@bsd1.phxlab.allied.com; PR#232

Revision 1.28 / (download) - annotate - [select for diffs], Sat Jun 14 07:12:14 1997 UTC (27 years ago) by deraadt
Branch: MAIN
Changes since 1.27: +2 -16 lines
Diff to previous 1.27 (colored)

i have made a mistake, and i do not yet understand how

Revision 1.27 / (download) - annotate - [select for diffs], Thu Jun 12 19:55:41 1997 UTC (27 years ago) by deraadt
Branch: MAIN
Changes since 1.26: +18 -4 lines
Diff to previous 1.26 (colored)

if >100 doms requested, start killing old ones to avoid starvation problems

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jun 11 23:16:33 1997 UTC (27 years ago) by deraadt
Branch: MAIN
Changes since 1.25: +15 -3 lines
Diff to previous 1.25 (colored)

malloc checks. prevent starvation for > 100 active domain queries.

Revision 1.25 / (download) - annotate - [select for diffs], Tue May 6 18:41:11 1997 UTC (27 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

fcntl right

Revision 1.24 / (download) - annotate - [select for diffs], Wed Apr 2 08:24:48 1997 UTC (27 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.23: +9 -9 lines
Diff to previous 1.23 (colored)

xid is a u_int32_t

Revision 1.23 / (download) - annotate - [select for diffs], Sat Mar 29 06:13:21 1997 UTC (27 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.22: +10 -9 lines
Diff to previous 1.22 (colored)

re-init width each time through the loop

Revision 1.22 / (download) - annotate - [select for diffs], Wed Mar 26 05:23:57 1997 UTC (27 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored)

correct a typo

Revision 1.21 / (download) - annotate - [select for diffs], Tue Mar 25 23:08:57 1997 UTC (27 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.20: +9 -5 lines
Diff to previous 1.20 (colored)

careful with name lengths and the xid

Revision 1.20 / (download) - annotate - [select for diffs], Sat Feb 1 00:26:04 1997 UTC (27 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

randomize xid mode

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jan 30 18:26:55 1997 UTC (27 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (colored)

avoid being too paranoid... make it work!

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jan 30 07:47:29 1997 UTC (27 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.17: +117 -22 lines
Diff to previous 1.17 (colored)

if at first-request-for-a-domain we discover a file /etc/yp/$domainneme
to exist, use it as a list of valid servers instead of doing broadcasts.
However, do not change the semantics of -ypset or -ypsetme. Based on the
reasoning provided in netbsd pr#1759, lukem@supp.cpr.itg.telecom.com.au

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jan 30 06:03:08 1997 UTC (27 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.16: +9 -9 lines
Diff to previous 1.16 (colored)

no need to recalc width before each select

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jan 30 02:01:54 1997 UTC (27 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

i wish i tested before every commit

Revision 1.15 / (download) - annotate - [select for diffs], Thu Jan 30 02:00:26 1997 UTC (27 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.14: +5 -2 lines
Diff to previous 1.14 (colored)

domainname care

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jan 22 08:54:14 1997 UTC (27 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.13: +22 -10 lines
Diff to previous 1.13 (colored)

SIOCGIFCONF more carefully

Revision 1.13 / (download) - annotate - [select for diffs], Sat Dec 21 05:52:31 1996 UTC (27 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

failures bomb, not seize

Revision 1.12 / (download) - annotate - [select for diffs], Wed Aug 28 23:10:06 1996 UTC (27 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.11: +21 -10 lines
Diff to previous 1.11 (colored)

fix warnings

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 25 21:42:45 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

rmtcr_outval used by xdr_bool, so must be bool_t

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jul 5 21:14:29 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.9: +3 -4 lines
Diff to previous 1.9 (colored)

commit check finish after work done

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jul 1 00:49:56 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +63 -8 lines
Diff to previous 1.8 (colored)

bind to localhost for ypsetme

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 10 05:48:51 1996 UTC (28 years ago) by deraadt
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

even closer to the yp.x file

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jun 8 08:24:51 1996 UTC (28 years ago) by deraadt
Branch: MAIN
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored)

mod headers

Revision 1.6 / (download) - annotate - [select for diffs], Fri May 24 11:43:36 1996 UTC (28 years ago) by deraadt
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

duh, duh, duh

Revision 1.5 / (download) - annotate - [select for diffs], Tue May 14 18:53:38 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.4: +5 -1 lines
Diff to previous 1.4 (colored)

require ypserv to be on reserved port

Revision 1.4 / (download) - annotate - [select for diffs], Sun May 5 12:37:32 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.3: +6 -1 lines
Diff to previous 1.3 (colored)

ypbind will create /var/yp/binding automatically, prints a warning.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 24 21:44:45 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.2: +147 -75 lines
Diff to previous 1.2 (colored)

uniquify xids; spell my name & address correctly; use yp.h instead of
yp_prot.h and deal with subsequent structure element name and type changes;
deal with xdr_domainname() and friends changing types; rename service
functions to *_2x() since they have non-standard calling interfaces; add
usage(); flush /var/yp/binding/ directory at startup; prefer talking to
a ypserv on the localhost

Revision 1.2 / (download) - annotate - [select for diffs], Wed Oct 18 10:58:58 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +34 -12 lines
Diff to previous 1.1 (colored)

stop doing ptr<-->xid conversions

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:48:31 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:48:31 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.