110521 Commits

Author SHA1 Message Date
seb
3273d1bc8b Consistently check findmatchingname() return value for error condition.
Among other this fixes 'pkg_info -e whateverpkg' exit status when
/var/db/pkg is missing: it is now 1 and not 0.
2003-03-24 21:44:45 +00:00
matt
0e5392f73f Make reset delay depend on the baud rate. 2003-03-24 20:03:23 +00:00
lukem
fe8a628004 Add missing
hp = strtok(NULL, ",");
to end of while loop which parses "host.allow" from login.conf(5).
Otherwise, sshd(8) would just infinite loop unless there was a
(positive or negative) match in the first word of the "host.allow" list...
2003-03-24 18:31:39 +00:00
lukem
829c77a0ca * Add log messages for password or account expiry; it makes it much easier
to debug (on the server) why a login failed with this information.

* If _PASSWORD_CHGNOW is defined (it's -1 in NetBSD), check that pw_change
  is not set to that before testing if the password has expired.
  Still prevent the login, but log a different failure message in this case.
  XXX:	we need to decide if we let interactive logins occur in this case,
	but force a password change, a la login(1).
2003-03-24 18:25:21 +00:00
jdolecek
78b50cb215 Receive packets in a small pieces (NB_SORECEIVE_CHUNK), so TCP slowstart will
get its ACKs faster.
From Darwin via FreeBSD.

XXX I don't have any idea if this is useful or reasonable, but it looks
XXX sane and the code works. "Remove if found nonuseful."
2003-03-24 18:08:51 +00:00
matt
1ebbd9b463 Make PCI interrupts -> GPP mapping configured via config file.
Add bus_spaces for all possile obios.  Add gt_halt to make
sure the discovery is not doing dma as soon as possible.
Read the SDRAM register to figure out how much physical RAM
is available.
2003-03-24 17:07:15 +00:00
matt
bd800e6684 Fix tyops. Add 2 defines. 2003-03-24 17:03:18 +00:00
matt
a69a0868cc Make gtmpsc configurable via config file. (baud rate source, frequency). 2003-03-24 17:02:14 +00:00
matt
a09a7e1927 Update bpf interface to current. Make output buffers aligned to a
cacheline bounary.  Only put hash table and descriptors in uncached
memory, buffers are in cached memory.
2003-03-24 17:00:54 +00:00
atatat
611aa4cedc Sendmail 8.12.8 has now been imported. 2003-03-24 15:25:56 +00:00
atatat
afb4175e24 Adjust sets lists to account for new sendmail machinery. 2003-03-24 15:24:46 +00:00
atatat
ffb0f92a6c Add the new queue directory for the sendmail "mail submission" mode. 2003-03-24 15:21:18 +00:00
atatat
d47616429d Expand the sendmail settings section (from two to five) and elaborate
(in brief) on what it's all about.
2003-03-24 15:20:36 +00:00
atatat
9dc7b7c964 Tweak postinstall to check for (and help out on) the upgrade to
sendmail 8.12.8.  Some of the same machinery (in shorter form) is in
the additions to rc.d/sendmail.  Also, add a smmsp startup script for
the sendmail client queue runner.
2003-03-24 15:19:27 +00:00
atatat
28da15dac4 Mail submission program config file template. 2003-03-24 15:15:13 +00:00
atatat
5cb7f51bd6 Missed conflict from 8.12.8 import. 2003-03-24 15:14:43 +00:00
jdolecek
7ba3ded040 fix connecting to (samba) server when share-level security is in effect
(do not send second password at all)
from FreeBSD
2003-03-24 15:07:52 +00:00
atatat
da8968cc48 Pull sendmail 8.12.8 to the head, resolve the import conflicts, and
make it build.
2003-03-24 15:03:59 +00:00
jdolecek
01f94cf255 Implement support for mixed case passwords.
From Darwin via FreeBSD.

This will have some effect once the NetBSD iconv routines would
actually do something.
2003-03-24 15:03:58 +00:00
atatat
f580f7ff12 Pull sendmail 8.12.8 to the head, resolve the import conflicts, and
make it build.
2003-03-24 15:03:37 +00:00
atatat
29b190bd81 sendmail 8.12.8 2003-03-24 14:47:07 +00:00
pk
3592333cbb #include <sys/lock.h> 2003-03-24 14:46:00 +00:00
agc
35d1b92c9e Add the entry from the Eterm-0.9.2 package for the Eterm terminal emulator. 2003-03-24 14:44:11 +00:00
scw
89380eb358 Add PIC support. 2003-03-24 14:32:57 +00:00
scw
825e47398e Much rototilling to add PIC support. 2003-03-24 14:29:34 +00:00
scw
955a468334 Add PIC support. 2003-03-24 14:26:16 +00:00
scw
2e5c2cd2ae Define just one mcount for both 32 and 64-bit ABIs; there's really no
advantage in having two slightly different versions.
Also save/restore FP register parameters.
2003-03-24 14:24:38 +00:00
jdolecek
b55818f692 Use 'large' (64bit) readx and writex functions if server supports them.
This makes it possible to use files >4G.
From Darwin via FreeBSD, but changed so that smb_{read|write}() directly
calls appropriate i/o variant, and replaced md_get_uint16le() with
md_get_uint16() for target == NULL cases.

Replace some size_t's by int's.
2003-03-24 14:24:14 +00:00
scw
28db85d8f6 Relax the initial user stack alignment from 16 to 8 bytes.
Add a workaround for what appears to be a bug in binutils whereby
the entry point of an SHmedia binary can sometimes specify
SHcompact code (LSB is clear).
2003-03-24 14:21:27 +00:00
wiz
19e0b28415 mdoc cleanup; also, while this man page may describe the state of the
driver in 3002 too, let's date it 2003 for now.
2003-03-24 14:18:55 +00:00
taca
a907d94384 Fix kterm entry -- make it child of 'xterm' instead of 'xterm-xf86-v33'.
PR misc/12400 by Kazu Yamamoto was for NetBSD 1.5 and currently it should
be simply 'xterm', noted by him.

This should fix problem less(1) with TERM=kterm and really close PR
misc/12400.
2003-03-24 14:16:40 +00:00
jdolecek
fbfa48d0a9 make smb_smb_read() and smb_smb_write() return EFBIG if offset is
at or beyond 4G - this interface supports 32bit offset only
2003-03-24 14:11:32 +00:00
jdolecek
6056ed86d2 smbfs_writevnode(): print offset as %lld in debug message, and
also print error returned from smb_write()
minor whitespace change in #ifdef notyet code
2003-03-24 13:52:59 +00:00
jdolecek
8ed4fb0379 smbfs_getattr(): make 'oldsize' 64bit, it's used to hold file size
this is necessary for I/O to offset > 4G to actually be written
at proper place, rather than trimming offset to 32bit value
2003-03-24 13:50:10 +00:00
hubertf
6b5ef93cc3 Implement remaining TODO item in pkg upgrade (pkg_add -u):
* Upgrade step 1/4: Check if the new version is ok with all pkgs
 * (from +REQUIRED_BY) that require this pkg

Inspired by bsd.pkg.mk's upgrade(?) target.
2003-03-24 13:47:13 +00:00
jdolecek
702d1ac1b2 adjust some debug messages 2003-03-24 13:30:44 +00:00
nakayama
f73433c6f6 Divide `set' instruction in delay slot (from OpenBSD change to rev 1.30). 2003-03-24 13:27:44 +00:00
ragge
bc6f74882a Remove the rx man page, there is a new driver for this floppy now called rf.
rx is mscp floppies these days (and should have its own man page).
2003-03-24 12:25:35 +00:00
ragge
a8276f2158 Add manpage for the rf RX01/RX02 floppy driver. 2003-03-24 12:23:24 +00:00
tron
ea710d8119 Don't print a kernel message like "bge0: gigabit link up" when a Gigabit
link is detected. No other ethernet driver does this and this driver
doesn't do it for other modes.
2003-03-24 12:06:05 +00:00
lukem
181cee9596 Document sshd(8)'s use of "host.allow" and "host.deny".
Based on [bin/12269] from Jim Bernard <jbernard@mines.edu>, tweaked by me.
2003-03-24 11:11:23 +00:00
jdolecek
de3ee118b5 map ERRDOS/ERRnotlocked to EBUSY 2003-03-24 10:05:43 +00:00
jdolecek
6e843721e9 don't access (u_int32_t *) as (u_int16_t *), this fails on BE machines -
use temporary variable to fetch the 16bit value instead
remove some redundant temporaries, use NULL for those md_get_*() calls instead
make sv_sm 16bit - it is 16bit in later SMB dialects
2003-03-24 09:17:52 +00:00
drochner
4b3ca2b813 Remove an aprint_normal() so that the output looks reasonable
at least in the non-error case.
(The aprint_* stuff makes it hard to keep track of newlines and
device name tags, and it suffers from lack of rules.)
2003-03-24 09:12:55 +00:00
jdolecek
6d65835e70 one more rename - ERRbaddevice -> ERRnoipc 2003-03-24 08:56:21 +00:00
jdolecek
2b08f4a53d fix some typos. from FreeBSD 2003-03-24 08:42:31 +00:00
jdolecek
3c34ce99af Add more constants for future use in kernel and userland.
From Darwin via FreeBSD smb.h rev. 1.6

This renames some constants added in NetBSD smb.h rev 1.6 - smb_subr.c
adjusted
2003-03-24 08:39:17 +00:00
jdolecek
a266be64dc Recongnize more error codes returned by W2K servers.
From FreeBSD
2003-03-24 08:20:01 +00:00
jdolecek
fd9fac7cc2 spelling fixes, add SMB_SET_FILE_END_OF_FILE_INFO subfunction for
future use
from FreeBSD rev. 1.3, 1.4
2003-03-24 08:03:40 +00:00
jdolecek
f0b60803a5 fix pasto in smb_t2_request() - t2_flags use SMBT2_RESTART, not SMBR_RESTART 2003-03-24 07:51:04 +00:00