Josef Karthauser
1063e12617
Replace /kernel with /boot/kernel/kernel.
...
PR: docs/37757
Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
2002-05-09 11:47:42 +00:00
Dag-Erling Smørgrav
7dac28cfc3
Back out part of previous commit - K&R doesn't have const.
2002-05-09 11:24:58 +00:00
Luigi Rizzo
d60315bef5
Cleanup the interface to ip_fw_chk, two of the input arguments
...
were totally useless and have been removed.
ip_input.c, ip_output.c:
Properly initialize the "ip" pointer in case the firewall does an
m_pullup() on the packet.
Remove some debugging code forgotten long ago.
ip_fw.[ch], bridge.c:
Prepare the grounds for matching MAC header fields in bridged packets,
so we can have 'etherfw' functionality without a lot of kernel and
userland bloat.
2002-05-09 10:34:57 +00:00
Jonathan Mini
d8f4f6a404
Remove trace_req().
...
Reviewed by: alfred, jhb, peter
2002-05-09 04:13:41 +00:00
Alan Cox
82641acd17
o Correct an error made in revision 1.65: In readv(), if uap->iovcnt is
...
out-of-range, drop the file reference before returning. (This error
also exists in the RELENG_4 branch.)
o Eliminate the acquisition and release of Giant in readv()
now that malloc() and free() are callable without Giant.
2002-05-09 02:30:41 +00:00
David E. O'Brien
3393d027da
Comment two values I was looking at for GDB.
2002-05-09 02:07:51 +00:00
David E. O'Brien
354b719bf7
Gcc 3.1 now offers both a C99 and a K&R traditional C preprocessor.
...
This is the traditional one.
2002-05-09 00:52:09 +00:00
Jacques Vidrine
b97d597ffc
= We need -lcrypt' and
-lcom_err' to when building Kerberos
...
applications.
= The Heimdal version number is hiding here also. Correct it.
2002-05-09 00:50:49 +00:00
David E. O'Brien
8500d819cc
Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB.
...
INTERNALLIB now implies NOPROFILE, NOMAN, and don't install anything.
Add a NOLIB knob.
2002-05-09 00:44:13 +00:00
David E. O'Brien
9b58188bdc
sys_nerr should come from standard headers -- not from a coder's guess
...
of what is right.
2002-05-09 00:41:18 +00:00
Bill Paul
2ab778e1d3
Unbreak this file after the last drive-by committing. We have to
...
#include route.h before iso88025.h, and we have to dereference
the trld_route array correctly. (NOTE: I'm not altogether sure
that this is really the correct way to traverse this array. This
just eliminates the build warning/error. It may not work right at
runtime, and I have no way to test it since I lack the necessary
hardware.)
Broken by: kbyanc, who gets to wear the pointy hat
2002-05-09 00:37:57 +00:00
Andrey A. Chernov
76d3dc5297
Don't forget to null-terminate string we got from sysctl (f.e. in 'A' format).
...
Stack garbadge may be printed otherwise.
2002-05-08 23:49:19 +00:00
Matt Jacob
cc8371bc71
Only saying you're launching other CPUs if there are more than one to launch.
2002-05-08 23:12:00 +00:00
David E. O'Brien
895567ca47
It is not clear if "#endif FOO" is allowed by ANSI. Gcc 3.1 complains
...
loudly, so don't do it.
2002-05-08 20:39:10 +00:00
David E. O'Brien
716c6e1fdd
It is not clear if "#endif FOO" is allowed by ANSI.
...
Gcc 3.1 complains loudly, so don't do it.
2002-05-08 20:37:48 +00:00
David E. O'Brien
1b860b61d4
Build our native CSU bits before the compiler-specific ones.
...
This helps in the compiler build.
2002-05-08 20:35:12 +00:00
Paul Richards
ee13ade8a0
Do my bit for the Perl removal team and shoot my own, rather mangy
...
looking, dog.
2002-05-08 18:44:24 +00:00
Mike Silbersack
3a0b92ec0f
Some updates to mention accept filters and how
...
listen queues work in a syncache world.
MFC after: 3 days
2002-05-08 18:19:01 +00:00
Hajimu UMEMOTO
89511d9db3
Make compilable without -DINET6.
2002-05-08 17:20:08 +00:00
Dag-Erling Smørgrav
30e78c9ea1
Resurrect as an empty file to unbreak the build. We have everything we
...
need in paths.h.
2002-05-08 17:19:02 +00:00
Maxim Konovalov
a39c855dca
Put 'ftp' back.
...
Requested by: bmah, jhb
2002-05-08 17:06:40 +00:00
Hajimu UMEMOTO
7f59d20d17
Log address family of a connection.
...
Requested by: matusita
Reviewed by: matusita
2002-05-08 16:39:58 +00:00
Dag-Erling Smørgrav
ba1556b538
Use libutil instead of pw_{copy,util}.c. Clean up a little. Warnsify.
...
Sponsored by: DARPA, NAI Labs
2002-05-08 15:42:37 +00:00
Dag-Erling Smørgrav
e009976aa6
Fix a boatload of format errors and constness violations.
...
Sponsored by: DARPA, NAI Labs
2002-05-08 15:41:15 +00:00
Dag-Erling Smørgrav
95ed2ab27f
If no old_pw was passed to pw_copy, compare just the name.
...
Sponsored by: DARPA, NAI Labs
2002-05-08 14:52:32 +00:00
Dag-Erling Smørgrav
0081eff379
Make _msgout take a const char * rather than a char *.
...
Sponsored by: DARPA, NAI Labs
2002-05-08 14:50:28 +00:00
Jacques Vidrine
dfc4c48df7
It is dangerous to use globbing like so in startup scripts:
...
rm -f /tmp/.X11-unix/*
If /tmp/.X11-unix didn't already exist, a user could symlink it to a directory
with files that he wants to wipe out, and wait for next reboot.
Reported by: lumpy <lumpy@the.whole.net>
2002-05-08 14:47:44 +00:00
Ruslan Ermilov
a39bc9aac5
Don't emulate INTERNALLIB.
2002-05-08 13:56:08 +00:00
Jun Kuriyama
18ddb1400d
Change whtespace indent in format string to fit new output form of
...
timestamp.
Reviewed by: markm
2002-05-08 11:23:45 +00:00
Alfred Perlstein
8b43b53530
expand_name fixes:
...
.) don't use MAXPATHLEN + 1, fix logic to compensate.
.) style(9) function parameters.
.) fix line wrapping.
.) remove duplicated error and string handling code.
.) don't NUL terminate already NUL terminated string.
.) all string length variables changed from int to size_t.
.) constify variables.
.) catch when corename would be truncated.
.) cast pid_t and uid_t args for format string.
.) add parens around return arguments.
Help and suggestions from: bde
2002-05-08 09:06:47 +00:00
Maxim Konovalov
7098979e16
style(9): remove an EOF space.
2002-05-08 07:40:22 +00:00
Maxim Konovalov
4a28d4abff
Implement 'speed' command: set a maximum read speed. At the moment it
...
works on ATAPI drives only.
PR: kern/35512 (a part of)
Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
Reviewed by: -hackers
MFC after: 1 month
2002-05-08 07:32:40 +00:00
Jeff Roberson
c4b689f10a
zapnot the signed bits in atomic_cmpset_32. Previously this did not work with
...
negative values because the original value was sign extended but the compared
value was not.
2002-05-08 05:19:56 +00:00
Gregory Neil Shapiro
8b637659da
Fix typo.
...
Submitted by: Marius Strom <marius@marius.org>
MFC after: 1 day
and RE approval
2002-05-08 05:17:46 +00:00
Jake Burkholder
0cce52f8eb
Remove runq_findproc. This never worked right in the first place and can
...
be prohibitively expensive.
2002-05-08 04:39:49 +00:00
Jake Burkholder
51ceaefac4
Remove unneeded include.
2002-05-08 04:21:58 +00:00
Jake Burkholder
ea4ad4bb29
Make a macro for the guts of tl0_immu_miss, like dmmu_miss and prot.
...
Rearrange things slightly so that the contents of the tag access
register are read and restored outside of the macros. The intention
is to pass the page size to look up as an argument to the macros.
2002-05-08 04:14:16 +00:00
John W. De Boskey
76fdd728b6
Bring doc up-to-date with current buildworld/buildkernel practices.
...
Reviewed by: jhb
2002-05-08 01:55:08 +00:00
Dag-Erling Smørgrav
f882171a2e
These files haven't been used in a while.
2002-05-08 01:35:22 +00:00
Kelly Yancey
0ee3222df6
Roll my own min() (named ISO88025_MIN() so as to not cause conflicts) so
...
that this header may be included from userland where min() may not be
declared (or worse, declared differently). I open to alternative
solutions.
2002-05-08 01:08:26 +00:00
Kelly Yancey
97fe20b4d0
Update ARP to access token-ring source routing information at it's new
...
location.
Not tested by: me (sorry!)
Sponsored by: NTT Multimedia Communications Labs
2002-05-08 00:55:29 +00:00
Dag-Erling Smørgrav
f1d0592537
Use libutil and libypclnt for all passwd manipulation and NIS needs.
...
Sponsored by: DARPA, NAI Labs
2002-05-08 00:54:29 +00:00
John Baldwin
492da65ed7
Detect and attach to the ICH3 SMBus controller.
...
PR: i386/36972
Submitted by: Colin Perkins <csp@isi.edu>
Requested by: Larry Rosenman <ler@lerctr.org>
MFC After: 7 days
2002-05-08 00:51:54 +00:00
Dag-Erling Smørgrav
e2ef54de51
Add passwd manipulation code based on parts of vipw and chpass.
...
Sponsored by: DARPA, NAI Labs
2002-05-08 00:50:07 +00:00
Dag-Erling Smørgrav
c744e75221
Add ypclnt_havepasswd(), and guard against a possible segfault.
...
Sponsored by: DARPA, NAI Labs
2002-05-08 00:48:39 +00:00
Dag-Erling Smørgrav
c8466cf99c
Really include <paths.h> (it seems it was brought in indirectly)
2002-05-08 00:47:02 +00:00
Dag-Erling Smørgrav
99b82bb76a
Use <paths.h> rather than "pathnames.h", and fix a couple of whitespace nits.
...
Sponsored by: DARPA, NAI Labs
2002-05-08 00:47:01 +00:00
Dag-Erling Smørgrav
57b7631cb8
PAMify.
...
Sponsored by: DARPA, NAI Labs
2002-05-08 00:43:46 +00:00
Dag-Erling Smørgrav
75f3111c6f
Add some more commonly-used directories and files.
...
Sponsored by: DARPA, NAI Labs
2002-05-08 00:37:50 +00:00
Dag-Erling Smørgrav
a87cdc1598
Use pam_lastlog(8)'s new no_fail option.
...
Sponsored by: DARPA, NAI Labs
2002-05-08 00:33:02 +00:00