mbr
48a0e2255a
Fix signed/unsigned comparison warnings.
...
Reviewed by: phk
Obtained from: NetBSD
2003-01-27 22:46:50 +00:00
mbr
8273c63b65
Fix signed/unsigned comparison warnings. Fix spelling error in
...
comment.
NetBSD Rev. 1.9 and 1.7
Reviewed by: phk
Obtained from: NetBSD
2003-01-27 22:45:08 +00:00
mbr
5bcca953be
Make this work in the !INET6 case -- if we mismatch the AF, don't return a
...
bogus (uninitialized) structure. Also, ignore v4 ifa's with no broadcast
address (rather than core dumping).
NetBSD Rev 1.8
Reviewed by: phk
Obtained from: NetBSD
2003-01-27 22:43:23 +00:00
mbr
53b8543d8d
Check pmap_flag before sendto.
...
NetBSD r 1.5
Reviewed by: phk
Obtained from: NetBSD
2003-01-27 22:38:25 +00:00
mbr
5a16f354fd
Make sure we don't look before the beginning of the string.
...
NetBSD Rev 1.5
Reviewed by: phk
Obtained from: NetBSD
2003-01-27 22:36:53 +00:00
mbr
e61117f9e2
Add missing __rpc_fixup_addr. This is needed to make
...
mount_nfs -T work for scoped addresses.
NetBSD Rev 1.11
Reviewed by: phk
Obtained from: NetBSD
2003-01-27 22:27:55 +00:00
mbr
00bea96dad
Free the correct buffer in error handling.
...
Handle that malloc may return NULL.
NetBSD Rev. 1.8
Reviewed by: phk
Obtained from: NetBSD
2003-01-27 22:22:59 +00:00
mbr
28bc7aa886
Reset the record lenght and received bytes once a record
...
is finished. This fixes clients doing two RPCs over the
same connection at the same time. Without this fix, we
could end with a reply to old data.
Submitted by: Frank van der Linden <fvdl@netbsd.org>
Reviewed by: rwatson
Obtained from: NetBSD
2003-01-27 22:19:32 +00:00
dillon
7995bad207
Update mount_nfs documentation to reference new sysctl for -c default.
2003-01-27 20:12:32 +00:00
jake
653f23c4bf
Add the sabtty children devices as unordered. Use the unit numbr of
...
the sabtty device to create its description so that they will be
unique for machines with multiple sab chips.
This fixes a panic on machines with an rsc card.
Tested by: obrien (e250)
2003-01-27 18:39:09 +00:00
trhodes
015f9bcecc
A few changes for clarity.
...
PR: 47170
Submitted by: Gary W. Swearingen <swear@attbi.com> (original version)
2003-01-27 18:16:36 +00:00
fenner
fd28d315c2
Don't try to fseek before the beginning of the file; POSIX requires that
...
this return an error.
This re-enables display of the first entry in /var/account/acct instead
of the error "lastcomm: /var/account/acct: Invalid argument"
2003-01-27 18:16:32 +00:00
ru
54307fc302
Unbreak i386 snapshots by moving the 802.11 support (device wlan)
...
out from BOOTMFS to the drivers floppy.
2003-01-27 17:54:49 +00:00
phk
3b4c6dba65
Don't dereference null vnode pointer if controling terminal was revoked.
...
Submitted by: "Peter Edwards" <pmedwards@eircom.net>
2003-01-27 16:54:17 +00:00
yar
a322ce3682
Actually extract the second field from a line in ftpchroot(5)
...
instead of just using the rest of the line behind the first field.
2003-01-27 15:34:22 +00:00
yar
704ec7b02a
Allow more than one separator character between fields in ftpchroot(5).
2003-01-27 14:41:08 +00:00
sanpei
c11acfe3b7
Add PCI id for fxp(Intel Pro/100 M Mobile Connection).
...
PR: i386/41915
Submitted by: Ross A. Lippert <ripper@eskimo.com>
MFC after: 1 week
2003-01-27 14:31:32 +00:00
benno
e0d8560e86
Back the previous commit out. It didn't actually fix the problem I was
...
seeing and the memory barrier isn't needed with the bridges we're using.
Fix the function style however.
2003-01-27 12:59:52 +00:00
joe
c68db4d178
Put the Perfection 1660 scanner entry in the right place. (Entries
...
are sorted by product id).
2003-01-27 09:43:24 +00:00
sos
6d3ace00e4
Update the code that deals with disk enclosures:
...
Properly handle the newer Promise SuperSwap 1000 enclosures.
Print out what kind of enclosure was found in the probe.
Misc cleanups in the enclosure handling code.
Sponsored by: Advanis Inc.
2003-01-27 09:04:29 +00:00
phk
e5f71e4b1b
Don't use the kern.disks sysctl to find a list of md devices, use the
...
MDIOCLIST ioctl instead.
Spotted by: keramida
2003-01-27 08:01:08 +00:00
phk
c822610d8f
Implement MDIOCLIST which returns the unit numbers of configured md(4)
...
devices.
We use the md_pad[] array and if there are more units than its size the
last returned unit number will be -1, but the number of units returned
is correct.
2003-01-27 07:58:18 +00:00
phk
62ade07c0f
Add an ioctl to return the unit numbers of the configured md devices.
2003-01-27 07:54:59 +00:00
tjr
29dbde6d3c
Ensure that the TTY file descriptor is greater than or equal to 10 so that
...
it doesn't interfere with the user's redirections.
PR: 47136
MFC after: 1 week
2003-01-27 07:41:12 +00:00
jmallett
273be50650
Convert newfs to use libufs. I've tested this on md filesystems, as has
...
keramida, and all seems well.
2003-01-27 07:24:32 +00:00
imp
9527a0b021
MFp4:
...
u_int*_t -> uint*_t to conform more closely with C99.
2003-01-27 05:47:01 +00:00
jake
d966c96567
Enable device zs and device sab by default.
2003-01-27 05:05:52 +00:00
jake
fe59c6997a
Add a note about the ofwcons device name change.
2003-01-27 04:53:30 +00:00
trhodes
cb304da7dc
Teach sysinstall about the em(4) device.
...
PR: 46439
Submitted by: Dan Lukes <dan@obluda.cz>
Approved by: re (murray)
Tested? yes
MFC: 1 day
2003-01-27 04:51:46 +00:00
jake
a658a1d508
Change ofwcons to use the output-device property from the firmware for the
...
name of the device that it creates. Update /etc/ttys accordingly.
An alias is created for the old name so that old /etc/ttys will continue to
work, but due to aliases being implemented as symlinks in devfs you cannot
login as root when using the alias device.
Discussed with: grehan
2003-01-27 04:42:17 +00:00
benno
cf3eae4413
Back out some changes that snuck in with the last commit.
...
Pointy hat to: benno
2003-01-27 04:32:10 +00:00
benno
a87cc2cb56
Flesh out bus_dmamap_sync.
2003-01-27 04:27:01 +00:00
benno
72fd8bd93e
Use td->td_sticks, not td->td_kse->ke_sticks.
...
Forgotten by: davidxu
2003-01-27 04:26:09 +00:00
benno
2521c07307
Remove a duplicate definition of the __FBSDID macro.
2003-01-27 04:24:57 +00:00
ache
5c5994bd15
Now return NULLified struct in case of empty config file
...
(previous variant return NULL pointer for both empty file case and error case,
so caller can't sense error properly).
It not affect existen programs because property_find() now returns NULL
for both NULL pointer and NULLified struct.
2003-01-27 03:39:33 +00:00
ache
779e19d000
Handle read errors
2003-01-27 03:14:04 +00:00
trhodes
ed35d2280e
Note that -c is no longer supported. This was requested by a few users and
...
we even have a PR about it.
PR: 47388
Discussed with: bmah
Requested by: many
2003-01-27 02:05:59 +00:00
jmallett
3b9e60f68a
If we don't know where the sblock is (e.g. filling out a blank disk), then
...
get it from the fs structure. Really libufs should have interfaces to generate
both what we export, and what we import, based on eachother, and this should
be full of redundant code to make sure everything is right... But really, we
don't even deal with checksums, so plenty of room to improve.
2003-01-27 01:57:15 +00:00
alc
194d4d0ebe
Simplify vm_object_page_remove(): The object's memq is now ordered. The
...
two cases that existed before for performance optimization purposes can
be reduced to one.
2003-01-27 01:12:35 +00:00
julian
0558ae7971
Unbreak SMP cases for these architectures.
...
statclock_process() changed arguments.
note: it may be worth checking if curkse is needed on these architectures..
(and if so, why?)
2003-01-27 00:00:06 +00:00
jake
28bda27f7b
Fix standard kse breakage of non-x86 platforms.
...
Pointy hat to: davidxu
2003-01-26 23:52:45 +00:00
davidxu
d7d17fc4e6
Use kg_numupcalls to see if we are closing a thread group,
...
not kg_kses which is not changed when a group is still working.
2003-01-26 23:39:33 +00:00
markm
0e17357e12
Very minor EOL whitespace diff-reducer.
2003-01-26 23:34:47 +00:00
markm
dffbfb659d
Missed a bit of cleanup.
2003-01-26 23:29:22 +00:00
alfred
3d1537da2b
fix warnings
2003-01-26 23:25:00 +00:00
markm
b7034cb57e
make these more useful for lint(1). Minor diff-reductions while I'm
...
about it.
2003-01-26 23:14:47 +00:00
mbr
066352b218
Fix namespace pollution introduced in previous commit.
...
Reviewed by: phk
2003-01-26 23:01:49 +00:00
markm
26450b90d3
Remove the get_term() function. It pretty much can't work for
...
FreeBSD, and makes ugly diffs with the other crt1.c's. Leave
behind a comment (words supplied by Thomas Moestl) that explain
the issue.
OK'ed by: tmm
2003-01-26 23:01:36 +00:00
keramida
9cbc412d18
Fix a typo and reword a bit the description of the new SCHED_xxx stuff.
...
Reviewed by: jeff
2003-01-26 22:26:46 +00:00
phk
a27e16309d
If we fail to open O_RDWR, try opening O_RDONLY, if we use ioctls
...
to fiddle the disk we can get away with it.
Try to use DIOCBSDBB to write boot code.
2003-01-26 21:55:43 +00:00