phk
8e1649e9df
Remove another 10 mindless #ifdefs.
2002-10-23 20:35:42 +00:00
jhb
b5ac277f14
We always need sys/pcpu.h now, not just for the SMP case.
...
Approved by: jake
2002-10-23 20:18:33 +00:00
phk
7be332e622
Rely on sysctl kern.disks to be there, and get rid of one of the far too
...
many lists of disk device driver names in the system. At this point
we should really get the names from the XML, but hey...
2002-10-23 20:15:10 +00:00
phk
c17cb9154e
Remove unnecessary ioctls tickling kernel side to realize that we fiddled
...
with the disk. GEOM will automatically retaste when we closet he filedesc.
2002-10-23 20:02:33 +00:00
phk
3c688df114
Untangle #ifdefs in the write-end of things by giving each arch its
...
own file and own copy of WriteDisk() to do things in.
This should have happened years ago, instead of adding #ifdefs all
over the place.
2002-10-23 19:52:32 +00:00
phk
a422fc77ae
Separate the struct disklabel filling stuff from the rest of Write_FreeBSD().
2002-10-23 19:32:18 +00:00
markm
fba4a6dd09
Change the type of an unused variable to appease a warning.
2002-10-23 19:10:15 +00:00
ru
c54b118a3b
A crude temporary hack to fix building of ms(7) formatted documents
...
while I am working on a real fix.
2002-10-23 19:04:00 +00:00
markm
3f1c8e1788
Adjust for getbsize argument type change.
2002-10-23 19:02:17 +00:00
markm
a3db15f196
Adjust argument passed to getbsize().
2002-10-23 18:55:20 +00:00
phk
d2ef180a56
Remove NO_GEOM from sparc64.
...
Reminded by: jhb
2002-10-23 18:27:37 +00:00
markm
f29af1e793
Remove duplicate declaration.
2002-10-23 17:35:11 +00:00
markm
41327a552d
Remove unneeded function prototypes.
2002-10-23 16:20:12 +00:00
jhb
5fb412a107
- New-bussify the rc(4) device driver.
...
- Add detach support to the driver so that you can kldunload the module.
Note that currently rc_detach() fails to detach a unit if any of its
child devices are open, thus a kldunload will fail if any of the tty
devices are currently open.
- sys/i386/isa/ic/cd180.h was moved to sys/dev/ic/cd180.h as part of
this change.
Requested by: rwatson
Tested by: rwatson
2002-10-23 15:53:09 +00:00
simokawa
372485c16e
Don't send/recieve packets when the interface is down.
2002-10-23 15:16:37 +00:00
jhb
10c353978d
npx(4) doesn't honor port hints so don't provide an example one.
2002-10-23 14:52:53 +00:00
phk
dc285b2281
Fix cut&paste mistake.
2002-10-23 14:37:43 +00:00
markm
372be1a3e1
Make the first argument of getbsize a size_t* instead of an int*, as this is what the quantity actually is. Fix an easy const while I'm here.
2002-10-23 14:18:07 +00:00
simokawa
97ccd4c7eb
- Dequeue OCBs more safely in sbp_abort_all_ocbs().
2002-10-23 13:04:02 +00:00
nyan
59e14a9b80
- The GEOM system does not work on pc98.
...
- Fix to build w/o the HAVE_GEOM option.
2002-10-23 13:00:09 +00:00
nyan
500ca10203
MFi386: revision 1.10
2002-10-23 12:54:05 +00:00
phk
d3bac74e37
Only define SEEK_{SET,CUR,END} if not already defined (by <stdio.h>)
2002-10-23 12:13:10 +00:00
ru
3876823931
Need to run lint1 from ${WORLDTMP}/usr/libexec during buildworld.
...
Spotted by: fjoe
2002-10-23 12:05:27 +00:00
tjr
f8847ee680
Fix the NetBSD RCS id's on these files; somehow they were initially
...
committed with the tags unexpanded.
2002-10-23 11:08:40 +00:00
tjr
416f05a258
Reimplement more efficiently, using a single forward scan (like strrchr(3))
...
instead of scanning forwards to find the end of the string then scanning
backwards to find the character.
2002-10-23 10:52:04 +00:00
tjr
f0735aa8f5
Reimplement, handling the case where c == L'\0' correctly and fixing
...
some style(9) bugs.
2002-10-23 10:47:47 +00:00
phk
e3a940d2bf
Add the new extra argument also in the alpha case.
2002-10-23 10:47:00 +00:00
ume
ba20c3c6e3
query ip6.arpa then ip6.int for IPv6 reverse lookup. follows RFC3152.
...
Obtained from: KAME
MFC after: 1 week
2002-10-23 10:45:09 +00:00
des
ceed53ef32
Whitespace cleanup.
2002-10-23 10:26:54 +00:00
markm
2edaf88c8b
Be consistent about declaring a function "static", and consistent
...
about the type of argv.
2002-10-23 10:23:38 +00:00
markm
373ead374c
Constify, staticify, rationalise types and fix other related warnings.
2002-10-23 10:20:01 +00:00
tjr
77d4d24de8
Add a Standards section, claiming conformance to IEEE Std. 1003.1-2001.
...
Also add a note to the Bugs section pointing out that strerror() and
perror() share the same static buffer.
2002-10-23 10:16:21 +00:00
markm
eda1974761
Constify to squash some warnings.
2002-10-23 10:15:44 +00:00
markm
b729fd6d31
Very minor whitespace/style nit.
2002-10-23 10:14:30 +00:00
markm
1b06572095
Put parentheses around function-like macros to shut up warnings.
2002-10-23 10:12:12 +00:00
maxim
a15744384b
Kill EOL spaces.
...
Approved by: luigi
MFC after: 1 week
2002-10-23 10:07:55 +00:00
maxim
576559251b
Use syslog for messages about dropped sessions, do not flood a console.
...
Suggested by: Eugene Grosbein <eugen@kuzbass.ru>
Approved by: luigi
MFC after: 1 week
2002-10-23 10:05:19 +00:00
des
98590d4f32
Translate to English.
2002-10-23 08:55:14 +00:00
des
4c59c987d8
This commit was generated by cvs2svn to compensate for changes in r105770,
...
which included commits to RCS files with non-trunk default branches.
2002-10-23 08:21:00 +00:00
des
9bd2a545b1
(MFP4#19900) Write message to stdout, not stderr.
...
Submitted by: jmallet
Sponsored by: Rachel Hestilow <rachel@jerkcity.com>
2002-10-23 08:21:00 +00:00
assar
9543d6aebb
update version numbers to (consistenly):
...
krb4 1.0.5 fb1 (including the kadmind fix)
heimdal 0.5 fb1 (including the kadmind fix)
2002-10-23 06:12:21 +00:00
assar
36fdd564c7
This commit was generated by cvs2svn to compensate for changes in r105765,
...
which included commits to RCS files with non-trunk default branches.
2002-10-23 06:10:08 +00:00
assar
1b79516e3f
import 1.29 to fix buffer overflow:
...
check the length of the authenticator and rlen
Obtained from: Heimdal CVS
2002-10-23 06:10:08 +00:00
ue
7eac497678
Add two missing </para> I noticed during translation.
2002-10-23 06:02:16 +00:00
mckusick
3819d46020
Missplaced FREE_LOCK causes a panic when hit while taking a snapshot.
...
Sponsored by: DARPA & NAI Labs.
2002-10-23 05:14:06 +00:00
scottl
3f32e376be
Hook raidctl up to the build.
...
Submitted by: tjr
2002-10-23 04:50:34 +00:00
tjr
648d24ba62
Replace this wcsncpy() implementation with one based on strncpy.c to fix
...
two major bugs:
- off-by-one overflow when the length of the source string exceeds or
equals the destination buffer size.
- old version was not padding the destination buffer with null wide chars
2002-10-23 04:35:25 +00:00
rwatson
2450bdb69b
Teach ifconfig(8) how to print and set the MAC labels on network
...
interfaces using the 'mac' argument. Without MAC support in the
kernel, this does not change the behavior of ifconfig.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-10-23 03:40:47 +00:00
marcel
ca96817679
Don't complain if we have an inconsistent map that may be the
...
result of an incomplete migration. An incomplete migration is
one where the MBR is not turned into a PMBR after creating the
GPT. This early in the game it's more convenient to allow the
inconsistency, because that avoids that we have to destroy the
MBR partitioning for now.
2002-10-23 03:33:06 +00:00
rwatson
22d94f8404
Add a new '-s' option to su(1): if the flag is present, attempt to
...
also set the user's MAC label as part of the user credential setup
by setting setusercontext(3)'s SETMAC flag. By default, change only
traditional process properties.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-10-23 03:19:34 +00:00