Brooks Davis
9bf40ede4a
Replace the if_name and if_unit members of struct ifnet with new members
...
if_xname, if_dname, and if_dunit. if_xname is the name of the interface
and if_dname/unit are the driver name and instance.
This change paves the way for interface renaming and enhanced pseudo
device creation and configuration symantics.
Approved By: re (in principle)
Reviewed By: njl, imp
Tested On: i386, amd64, sparc64
Obtained From: NetBSD (if_xname)
2003-10-31 18:32:15 +00:00
Poul-Henning Kamp
671d15ef2a
Make mtree's update function update the modification time too.
...
Submitted by: Dan Nelson <dnelson@allantgroup.com>
PR: 53063
2003-10-31 13:39:19 +00:00
SUZUKI Shinsuke
7a1413f972
fixe remote panic on short packet
...
Obtained from: KAME
2003-10-31 03:18:45 +00:00
Peter Wemm
482e283b1e
Use -D to rename the log() function (extensively used) rather than
...
using the gcc-specific -fno-builtin-log switch.
2003-10-30 22:59:41 +00:00
Peter Wemm
c903443a2c
Rename the 'log' variable rather than -fno-builtin-log
2003-10-30 22:57:43 +00:00
Peter Wemm
e2c617744f
Rather than use the gcc -fno-builtin-log flag, just rename the 'int log'
...
variable.
2003-10-30 22:56:44 +00:00
Hajimu UMEMOTO
f71d0e1192
add ip6addrctl(8) which is a command to configure address
...
selection policy for IPv6 and IPv4 described in RFC3484.
source address selection part of RFC3484 is not merged
from KAME, yet.
Obtained from: KAME
2003-10-30 17:46:40 +00:00
Poul-Henning Kamp
b585dc87cc
Update test-case to also fail on filenames containing '#'
2003-10-30 12:40:54 +00:00
Poul-Henning Kamp
5d9f6ca65c
Use vis(3) to encode/decode the target for symlinks.
...
Make vis(3) decode errors fatal for both symlink targets and fienames.
2003-10-30 12:03:25 +00:00
Poul-Henning Kamp
13b31fb0d8
Add another test-script for mtree(8): Check symlinks with space in them.
2003-10-30 12:01:32 +00:00
Poul-Henning Kamp
d474d12b52
Fix bug in mtree(8)'s create mode where files or directories with had
...
names containing glob(3) expressions would appear verbatim in the
output.
If such an mtree file were used by mtree in update mode, wrong things
would happen.
2003-10-30 10:48:43 +00:00
Poul-Henning Kamp
92817d311f
Add a test script which Mtree fails.
2003-10-30 10:46:23 +00:00
Ruslan Ermilov
96fd764f25
Basic PAM authentication support.
2003-10-29 20:32:19 +00:00
Peter Wemm
144b6720d9
Disclaim ownership of pppd/chat. It is vendor code, but has been badly
...
neglected here.
2003-10-29 19:24:04 +00:00
Nate Lawson
4e36f5a1b9
Add a newline even if IAPC_BOOT_ARCH == 0.
2003-10-29 17:59:05 +00:00
Martin Blapp
11362b0945
Don't pass NULL as an integer.
...
Obtained from: NetBSD
2003-10-29 09:31:41 +00:00
Martin Blapp
545fbf37df
Don't compare a char to NULL.
...
Obtained from: NetBSD
2003-10-29 09:30:37 +00:00
Hajimu UMEMOTO
36a8118753
fix comment.
2003-10-26 10:30:17 +00:00
Hajimu UMEMOTO
87931aff11
one more IPV6_PKTINFO -> IPV6_RECVPKTINFO.
2003-10-26 06:21:16 +00:00
Peter Wemm
422e293c7f
Deal with xdrproc_t casts. Make these compile cleanly with WARNS=2
...
(but I haven't turned it on)
2003-10-26 06:14:10 +00:00
Hajimu UMEMOTO
47f0776134
Since semantic of IPV6_PKTINFO was changed in RFC3542, we need to
...
use IPV6_RECVPKTINFO instead.
Reported by: someone (I had removed the mail wrongly, sorry)
2003-10-26 06:11:31 +00:00
Peter Wemm
75e40e4604
Make this compile cleanly. It passes WARNS=2, but I haven't checked
...
it is so on more platforms.
2003-10-26 06:10:44 +00:00
Peter Wemm
cf6453779c
Fix a 64 bit time_t bogon that I missed from before. lastlog.ll_time is
...
not a time_t.
2003-10-26 06:01:06 +00:00
Peter Wemm
389b844652
Use -fno-builtin-log. Fix svc_sendreply() missing required casts.
...
It is now WARNS=2 clean again.
2003-10-26 05:58:21 +00:00
Peter Wemm
3bda2f43af
Use -fno-builtin-log so gcc doesn't get ideas about using a math function
...
to log data. Clean up an unused variable that was hidden by the WARNS?=2
being commented out. Uncomment it now that it compiles cleanly again.
2003-10-26 05:54:07 +00:00
Peter Wemm
88b30ea68c
Make this compile cleanly. Switch to using rpcgen to generate
...
code that can be compiled on an ansi-C compiler, so that it puts the
xdrproc_t casts in. This also implies a slight function name change.
2003-10-26 05:51:51 +00:00
Peter Wemm
3cc5d9ed65
Make 64 bit safe.
2003-10-26 05:33:59 +00:00
Peter Wemm
02f474d6ba
Disable the log() builtin (the math function), because it will not do much
...
logging of information like the program expects.
2003-10-26 03:15:54 +00:00
Peter Wemm
817a5d2482
When we pass a string as auxillary data (type long), be sure to convert
...
it to a suitable type for the initialization.
2003-10-26 03:12:47 +00:00
Peter Wemm
7ed21d3224
Fix a warning about mismatched pointers. A pointer to "void *" is not the
...
same as a pointer to "char *". Tell the compiler this is ok.
2003-10-26 03:01:24 +00:00
John-Mark Gurney
b89fbbb14b
fix spelling of ATTACH
...
Submitted by: Johny Mattsson
MFC after: 2 week
(do to code freeze)
2003-10-25 22:03:10 +00:00
Hidetoshi Shimokawa
0cf85b0de8
update for conserver-8.0.4.
2003-10-25 14:53:53 +00:00
Hidetoshi Shimokawa
be162aff87
remove debug message.
2003-10-25 14:51:36 +00:00
John Baldwin
147c4b81bb
- Renumber the skerberos4 dist to fill in the gaps left when krb4 was axed.
...
- Update the DIST_CRYPTO_ALL value to match reality.
2003-10-24 20:55:15 +00:00
Hajimu UMEMOTO
f95d46333d
Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542
...
(aka RFC2292bis). Though I believe this commit doesn't break
backward compatibility againt existing binaries, it breaks
backward compatibility of API.
Now, the applications which use Advanced Sockets API such as
telnet, ping6, mld6query and traceroute6 use RFC3542 API.
Obtained from: KAME
2003-10-24 18:26:30 +00:00
Hajimu UMEMOTO
2b5e03118b
show maxmtu.
...
Obtained from: KAME
2003-10-24 18:00:17 +00:00
Hidetoshi Shimokawa
869093b15d
Add dumb console driver and related bits.
...
dcons(4): very simple console and gdb port driver
dcons_crom(4): FireWire attachment
dconschat(8): User interface to dcons
Tested with: i386, i386-PAE, and sparc64.
2003-10-24 15:44:10 +00:00
Hartmut Brandt
b9ff618c3a
Mention the fact that our crontab is not fully POSIX.2 conform, because
...
it doesn't allow the dangerous variant of calling it without any
argument.
2003-10-24 13:02:39 +00:00
Hartmut Brandt
d3a3b08778
Allow nghook to execute a program with the data socket connected to
...
stdin and stdout instead of relaying the data. Now it is possible
to say:
nghook -e path: hook /usr/local/bin/foo arg1 arg2
and foo will have the hook to path: at file descriptors 0 and 1.
Add an option to specify control messages to be send to the node before
either executing the program or entering the data relay loop.
2003-10-24 10:01:36 +00:00
Hajimu UMEMOTO
c449e28482
- style
...
- index() -> strchr()
- stop use of MAXHOSTNAMELEN
Obtained from: KAME
2003-10-23 17:36:29 +00:00
Hidetoshi Shimokawa
cfa42d3692
Add '0x' in front of EUI64 to avoid confusion.
2003-10-22 07:23:27 +00:00
Hajimu UMEMOTO
d24cb2490d
stop use of NI_WITHSCOPEID. it was deprecated.
...
Obtained from: KAME
2003-10-21 20:11:47 +00:00
Poul-Henning Kamp
3206e56993
Remove clause 3 in the copyrights (according to permission in src/COPYRIGHT)
...
Remove trailing whitespace.
2003-10-21 08:27:05 +00:00
Poul-Henning Kamp
4d169ae131
Remove "register" keywords.
...
Use newspeak functions definitions.
2003-10-21 07:58:52 +00:00
Dag-Erling Smørgrav
79ef1f32da
Various NFS-related bug fixes (mostly related to using variable_get()
...
instead of variable_cmp() to test boolean rc.conf variables).
Submitted by: hmp
2003-10-19 13:37:12 +00:00
Hajimu UMEMOTO
31423309c2
don't print ndp -i result if the interface is not
...
initialized
Obtained from: KAME
2003-10-17 16:17:47 +00:00
Hajimu UMEMOTO
a96bd7843f
- NI_WITHSCOPEID was deprecated
...
- use strlcpy() and snprintf()
- use err()
- style
Obtained from: KAME
2003-10-17 11:46:40 +00:00
Hajimu UMEMOTO
2f4c5de968
- style
...
- rename variable
- use strlcpy
- const'fy
Obtained from: KAME
2003-10-17 11:43:44 +00:00
Hajimu UMEMOTO
b42ac57f4f
- support AES counter mode for ESP.
...
- use size_t as return type of schedlen(), as there's no error
check needed.
- clear key schedule buffer before freeing.
Obtained from: KAME
2003-10-13 14:57:41 +00:00
Tim J. Robbins
1a7c9b7f5e
Fix two buffer overflows caused by off-by-one errors: avoid writing a null
...
character 1 byte past the end of cmdline[] when libedit is being used for
input, and avoid writing a null pointer 1 element past the end of margv[].
Reviewed by: gad
2003-10-13 07:24:22 +00:00
Hajimu UMEMOTO
c65ee7c758
- support AES XCBC MAC for AH
...
- correct SADB_X_AALG_RIPEMD160HMAC to 8
Obtained from: KAME
2003-10-13 04:54:51 +00:00
Maksim Yevmenkin
0986ab12e4
Update Bluetooth code.
...
Reviewed by: M. Warner Losh <imp@bsdimp.com>; John Hay <jhay@freebsd.org>
Approved by: M. Warner Losh <imp@bsdimp.com> (mentor)
2003-10-12 22:04:24 +00:00
Murray Stokely
907d866750
Update the number of ports.
2003-10-12 21:35:50 +00:00
Hajimu UMEMOTO
492528c051
- RIPEMD160 support
...
- pass size arg to ah->result (avoid assuming result buffer size)
Obtained from: KAME
2003-10-12 09:41:42 +00:00
Tim J. Robbins
acb85bc034
Fix a BSS buffer overflow caused by makeargv() writing past the end of
...
margv[] when an input line contains 20 or more space-separated words.
2003-10-11 07:35:35 +00:00
Marc Fonvieille
d184af19f5
Typos fixing:
...
paramters -> parameters
assoicated -> associated
2003-10-05 12:09:31 +00:00
Warner Losh
7c9b63d96a
Ooops. Committed sin number 1: updating the code w/o updating the comments.
...
Update the comments too.
2003-10-04 18:43:21 +00:00
Warner Losh
9cd2bd7564
I've been burned about half a dozen times by the old PAO syntax for
...
'any' interrupt. There's no reason not to be liberal here and accept
the PAO syntax.
MFC After: 2 weeks
2003-10-04 18:40:36 +00:00
Christian Weisgerber
fc3b13fcee
missing word
2003-10-04 15:43:22 +00:00
Christian Weisgerber
c698f34f6c
reference ntpd(8)
2003-10-04 15:07:27 +00:00
Garance A Drosehn
c303328741
Handle a 'const' parameter without using __DECONST().
...
MFC after: 14 days
2003-10-04 02:24:47 +00:00
Sam Leffler
d6bb3ab6ff
remove unused variable
...
Supported by: FreeBSD Foundation
2003-10-03 21:06:17 +00:00
Bruce M Simpson
43039b7df5
mdoc(7) cleanups (use .Va, not .Dv, for sysctls.)
...
Reviewed by: ru
2003-10-03 07:48:56 +00:00
Bruce M Simpson
0cc7c160e2
mdoc(7) cleanup: Break up sentences so that they start on new lines.
2003-10-03 01:20:33 +00:00
Bruce M Simpson
1e709b6f23
Point out the existence of net.link.ether.inet.log_arp_movements.
...
Add sysctl(8) to the list of cross-referenced manual pages.
2003-10-03 01:18:21 +00:00
Bruce M Simpson
4cd8d8d59c
Update arp(4) to document the 'arp: foo is on if0 but got reply from
...
bar on if1' message.
PR: bin/48489
Requested by: ru
2003-10-03 01:15:40 +00:00
Christian Weisgerber
9a0e785bba
Mark the -i and -n options as mutually exclusive and fix various
...
mdoc formatting nits.
PR: 57027
Approved by: simon
Obtained from: OpenBSD
2003-10-03 00:44:11 +00:00
Peter Wemm
9afe34c150
Add asf for amd64
2003-09-30 04:19:01 +00:00
Peter Wemm
40255f22be
Add mptable
2003-09-30 04:17:45 +00:00
Peter Wemm
8c489d725d
Make this build and work on amd64 (sledge at least).
2003-09-30 04:09:21 +00:00
Warner Losh
396aad8da7
Document that the atheros driver supports wicontrol too. Minor word
...
smithing as approrpiate.
PR: 57327
Submitted by: Matt Peterson
2003-09-29 06:34:47 +00:00
Warner Losh
6584aa064a
Add -L to the usage message.
...
PR: 57327
Submitted by: Matt Peterson
2003-09-29 06:32:11 +00:00
Robert Watson
4880db4afd
Tweak "system security profiles:
...
(1) Don't modify the configuration of the NFS server as a result of
selecting a profile. We already explicitly prompt for the NFS
server configuration during install, and the user may not get
much advance notice that we're turning it off again. Instead,
use profiles (for better or for worse) only for security tuning.
(2) Don't modify the sendmail setting as part of the security profile:
use the default from /etc/defaults/rc.conf rather than explicitly
specifying. Note that the default in /etc/defaults/rc.conf is
more conservative than the explicit rc.conf entry added by
sysinstall during install, as it does not permit SMTP delivery.
(3) Update "congratulations on your profile" text to reflect these
changes.
Note that security profiles now affect only the securelevel and sshd
settings. My leaning would be to make sshd an explicit configuration
option, move securelevels to the security menu, and drop security
profiles entirely. However, that requires more plumbing of sendmail
than I'm currently willing to invest.
We may want to add a "permit SMTP delivery" question to the install
process.
2003-09-28 05:21:23 +00:00
Ken Smith
2d8b91ac5f
- Another update to list of FTP sites
...
Approved by: murray
2003-09-28 03:34:49 +00:00
Tom Rhodes
208cece4f0
Fix a cut n paste typo I introduced in rev 1.211.
...
PR: 57012
Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> (original version)
Friendly prod provided by: murray
MFC: after re approval
2003-09-27 13:58:16 +00:00
Hidetoshi Shimokawa
a8587980d8
Add -p option to dump phy registers.
2003-09-25 09:33:16 +00:00
Hidetoshi Shimokawa
77ceb8f469
Add -s option to strip subdirectory from module path.
...
e.g. moudle-path/firewire/firewire.ko -> module-path/firewire.ko
Reviewed by: grog
2003-09-25 07:56:48 +00:00
Ken Smith
e41eb869cb
Update list of FTP sites.
...
Approved by: jhb
2003-09-24 18:29:11 +00:00
Joe Marcus Clarke
b07fbc17e9
Add Cisco Skinny Station protocol support to libalias, natd, and ppp.
...
Skinny is the protocol used by Cisco IP phones to talk to Cisco Call
Managers. With this code, one can use a Cisco IP phone behind a FreeBSD
NAT gateway.
Currently, having the Call Manager behind the NAT gateway is not supported.
More information on enabling Skinny support in libalias, natd, and ppp
can be found in those applications' manpages.
PR: 55843
Reviewed by: ru
Approved by: ru
MFC after: 30 days
2003-09-23 07:41:55 +00:00
Garance A Drosehn
6a1485e2fe
Restructure the time processing routines, mainly to fix up the
...
"will trim at" message printed when the user requests '-v'. The
previous code would often print the wrong time, such as:
On Sept 22, run: newsyslog -nv /var/log/wtmp
And see: will trim at Mon Sep 1 05:00:00 2003
correct msg: will trim at Wed Oct 1 05:00:00 2003
MFC after: 20 days
2003-09-23 00:00:26 +00:00
Nate Lawson
69a9febdc2
Only print an end '}' if the field was non-zero (i.e. there were some flags
...
to print).
2003-09-21 03:51:48 +00:00
SUZUKI Shinsuke
f9547841bc
fixed memory leak.
...
Obtained From: KAME
2003-09-20 09:41:13 +00:00
Eivind Eklund
37c1515e47
Name moderate security settings "Moderate", not "Medium"
2003-09-18 17:36:20 +00:00
Eivind Eklund
a0503c278d
Propagate ioctl() failure to exit status
2003-09-18 16:20:32 +00:00
Eivind Eklund
a1247a1f31
- Reorder to group the non-obsolete options together
...
- Change from "will be deprecated in 5.1" to "was deprecated in 5.1"
2003-09-18 16:18:45 +00:00
Poul-Henning Kamp
a5b2c904fa
Referring to FreeBSD versions later than 2.0R as "fairly recent" is pretty
...
archaic at this point in time. Pretend nobody runs FreeBSD 1.x anymore
in order to not confuse people needlessly.
Laplink support probably doesn't even work at this point in time anyway...
2003-09-18 15:13:57 +00:00
Marcel Moolenaar
9862c36bfb
Fix 3 'cast to pointer from integer of different size' warnings.
...
While here, fix the long line bugs in the same statements.
2003-09-17 03:45:30 +00:00
Marcel Moolenaar
0346a1de85
Add acpi to the build on ia64. The support for ACPI 2.0x has gotten
...
to a point where we don't map the wrong (ie 32-bit) addresses. We
don't always dump the right values yet, but that's not critical.
Ok'd: njl
2003-09-16 21:25:42 +00:00
Ruslan Ermilov
959d6c24f6
Get rid of duplicates.
2003-09-14 13:41:59 +00:00
Garance A Drosehn
526d55a405
Correct the calculation of "a leap year" in parseDWM. The calculation
...
would only match a leap year every 400 years. The parseDWM code first
showed up in April 2000, so the first time this bug would cause any
confusion is in Feb 2004.
MFC after: 18 days
2003-09-14 00:56:50 +00:00
Nate Lawson
5cd10ac5d9
Correct typo in comment.
2003-09-14 00:40:24 +00:00
Nate Lawson
2e71eb1257
For dumping the DSDT (-o option), be sure to use the X_DSDT address if
...
appropriate. This should be the last change to make ia64 work.
2003-09-14 00:37:52 +00:00
Nate Lawson
64fdad2352
Add the -i flag to acpiconf(8) to retrieve battery information.
...
Rename a few structure elements.
2003-09-13 20:13:01 +00:00
Nate Lawson
51c1824f80
C2/C3 latency is in microseconds (us), not ms.
2003-09-13 18:47:49 +00:00
Nate Lawson
c08c4e81fc
Only print various optional fields if they are non-zero. Always print the
...
required fields, no matter what their value.
2003-09-13 18:44:05 +00:00
Nate Lawson
e47f1780cd
Reduce the default width for IO port GAS printing.
...
Courtesy of: rwatson's chart presentation
2003-09-13 17:32:45 +00:00
Garance A Drosehn
2f8d7c56da
Move the parse8601 and parseDWM routines into a new ptime.c file. The
...
only code-change is to add a "next_time" parameter to both routines (and
that is not used yet). A later update will make "next_time" more useful.
MFC after: 20 days
2003-09-12 01:33:37 +00:00
Tom Rhodes
332a31b21e
Remove the unrequired -bi from the newaliases line. Note in the commit log
...
that the last change should have read: exim_enable="YES" in the changes listing.
Discussed with: ceri
2003-09-11 16:27:16 +00:00
Nate Lawson
55d7ff9ea2
Add dumping of the ECDT table.
...
Courtesy of: USENIX hall track
2003-09-10 23:52:12 +00:00
Nate Lawson
773b6454af
o Workaround a bug where my T23 reports that it is ACPI 2.0x compatible
...
but has invalid 64 bit pointers for FACS and DSDT.
o Finish work to print all of the FADT and FACS.
o Resort the comment generating functions. Submitted by: marcel
Courtesy of: BSDcon back wall
2003-09-10 22:00:45 +00:00