]>
CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
johan [Tue, 23 Jul 2002 00:42:56 +0000 (00:42 +0000)]
Add the -n option, which automatically answers "no" to the overwrite question.
PR: 7828
Suggested by: Daniel O'Connor <doconnor@gsoft.com.au>
Approved by: sheldonh (mentor)
MFC after: 2 weeks
ru [Tue, 23 Jul 2002 00:16:19 +0000 (00:16 +0000)]
Don't forget to recalculate the IP checksum of the original
IP datagram embedded into ICMP error message.
Spotted by: tcpdump 3.7.1 (-vvv)
MFC after: 3 days
fenner [Mon, 22 Jul 2002 23:01:11 +0000 (23:01 +0000)]
Add an ICMP protocol handler, partly based on LBL's traceroute 1.4 .
Submitted by: dcs
ru [Mon, 22 Jul 2002 22:31:09 +0000 (22:31 +0000)]
Don't shrink socket buffers in tcp_mss(), application might have already
configured them with setsockopt(SO_*BUF), for RFC1323's scaled windows.
PR: kern/11966
MFC after: 1 week
fenner [Mon, 22 Jul 2002 22:07:23 +0000 (22:07 +0000)]
Actually use gen_prep() and gen_check(), instead of udp_prep() and
udp_check(), for unknown protocols.
trhodes [Mon, 22 Jul 2002 21:45:16 +0000 (21:45 +0000)]
Revert last commit. Sorry for breaking things
imp [Mon, 22 Jul 2002 21:28:46 +0000 (21:28 +0000)]
integrate from p4 repo:
o Honor NE2000DVF_{AX88190,DL10019} flags by setting the ED_FLAGS_xxxx
flag.
o Mark linksys combo_ecard as ax88190
o Set the type_str to AX88190 for the ax88190 cards.
This fixes ax88190 based cards, for the most part, but doesn't seem to fix
the mii based dl10019 cards (aka linksys cards).
imp [Mon, 22 Jul 2002 21:24:12 +0000 (21:24 +0000)]
Three minor changes:
1) Add support for compaq cpq 10/100 card (a rebadged ce3)
2) Minor protection for failure on vendor lookup
3) Minor style(9) nits.
trhodes [Mon, 22 Jul 2002 21:14:16 +0000 (21:14 +0000)]
MFC: Fix some grammar, greater reduce diffs to HEAD
alfred [Mon, 22 Jul 2002 19:05:44 +0000 (19:05 +0000)]
Remove unneeded caddr_t casts.
sos [Mon, 22 Jul 2002 18:37:33 +0000 (18:37 +0000)]
Fix the transfer size calculation.
sos [Mon, 22 Jul 2002 18:36:14 +0000 (18:36 +0000)]
Sync with the spl changes in -stable.
Add start of support for DVD+RW.
sos [Mon, 22 Jul 2002 18:35:01 +0000 (18:35 +0000)]
Update the tags handling a bit, which makes support for the
older IBM DTTA series of drives possible.
Update error handling a bit now we are here.
alfred [Mon, 22 Jul 2002 18:27:54 +0000 (18:27 +0000)]
Cleanup:
Define a debug printf macro rather than wrapping all calls to printf
with #ifdefs.
ume [Mon, 22 Jul 2002 18:16:05 +0000 (18:16 +0000)]
use IPV6_V6ONLY instead of non standard IPV6_BINDV6ONLY.
Approved by: gad
ume [Mon, 22 Jul 2002 17:19:54 +0000 (17:19 +0000)]
add -4 and -6 option to be able to specify an address family.
Requested by: matusita
MFC after: 1 week
ru [Mon, 22 Jul 2002 17:06:28 +0000 (17:06 +0000)]
This commit was generated by cvs2svn to compensate for changes in r100519,
which included commits to RCS files with non-trunk default branches.
ru [Mon, 22 Jul 2002 16:58:54 +0000 (16:58 +0000)]
Update for GNU texinfo 4.2.
ru [Mon, 22 Jul 2002 16:55:14 +0000 (16:55 +0000)]
Merge texinfo 4.2 changes onto the trunk.
ru [Mon, 22 Jul 2002 16:54:53 +0000 (16:54 +0000)]
Use stock (FSF) version of this file.
ru [Mon, 22 Jul 2002 16:52:57 +0000 (16:52 +0000)]
This commit was generated by cvs2svn to compensate for changes in r100513,
which included commits to RCS files with non-trunk default branches.
ru [Mon, 22 Jul 2002 16:52:57 +0000 (16:52 +0000)]
Import of stripped down GNU texinfo 4.2
alfred [Mon, 22 Jul 2002 16:22:27 +0000 (16:22 +0000)]
Change struct vmspace->vm_shm from void * to struct shmmap_state *, this
removes the need for casts in several cases.
alfred [Mon, 22 Jul 2002 16:12:55 +0000 (16:12 +0000)]
Remove caddr_t.
des [Mon, 22 Jul 2002 16:11:39 +0000 (16:11 +0000)]
Surround prototypes with __BEGIN_DECLS / __END_DECLS.
PR: misc/40399
MFC after: 3 days
ume [Mon, 22 Jul 2002 15:55:50 +0000 (15:55 +0000)]
sync comment with reality. IN6P_BINDV6ONLY -> IN6P_IPV6_V6ONLY.
ume [Mon, 22 Jul 2002 15:51:02 +0000 (15:51 +0000)]
do not refer to IN6P_BINDV6ONLY anymore.
Obtained from: KAME
MFC after: 1 week
alfred [Mon, 22 Jul 2002 15:46:51 +0000 (15:46 +0000)]
remove caddr_t from fo_ioctl calls
alfred [Mon, 22 Jul 2002 15:44:27 +0000 (15:44 +0000)]
remove caddr_t
ume [Mon, 22 Jul 2002 15:22:53 +0000 (15:22 +0000)]
use IPV6_V6ONLY instead of non standard IPV6_BINDV6ONLY.
MFC after: 1 week
ume [Mon, 22 Jul 2002 15:13:55 +0000 (15:13 +0000)]
sin6_len is not an address family. I believe this doesn't
break compatibility with POSIX.1-2001.
robert [Mon, 22 Jul 2002 15:01:04 +0000 (15:01 +0000)]
- Remove unnecessary break statement.
- Move a label to a syntactically correct place to keep
gcc from warning.
kan [Mon, 22 Jul 2002 14:01:44 +0000 (14:01 +0000)]
Initialize sockbits variable with FD_ZERO, to avoid passing a fd_set
with random garbage in lower bits corresponding to stdin, stdout and
stderr to select(2).
This fixes the problem with nfsd sometimes getting stuck in a tight
select(2) loop eating 100% CPU time.
Reviewed by: iedowse
Approved by: obrien
fanf [Mon, 22 Jul 2002 13:58:58 +0000 (13:58 +0000)]
Fix typo: corrisponds -> corresponds
iwasaki [Mon, 22 Jul 2002 12:52:54 +0000 (12:52 +0000)]
Add device(power/sleep button and lid) wake function from sleeping state.
This is required for some Thinkpad (and maybe VAIO) machines to wake
the system up from sleep.
Currently partially implemented, more complete implementation will come later.
rwatson [Mon, 22 Jul 2002 12:51:06 +0000 (12:51 +0000)]
Set VAPPEND in open mode when O_APPEND is specified as an argument to
open() of fhopen(). Currently this has no actual affect due to the
treatment of VAPPEND in vaccess() and vaccess_acl() as a subset of
VWRITE, but when MAC comes in, MAC will distinguish the two. Note:
if any file systems are cutting their own permission models, they
may wish to now take this into account.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
robert [Mon, 22 Jul 2002 11:36:25 +0000 (11:36 +0000)]
- Use MAXLOGNAME - 1 rather than UT_NAMESIZE.
- Remove the inclusion of <utmp.h>.
robert [Mon, 22 Jul 2002 11:32:16 +0000 (11:32 +0000)]
- Use MAXLOGNAME - 1 instead of UT_NAMESIZE.
- Do not pretend there is something like '/etc/utmp'.
ru [Mon, 22 Jul 2002 10:59:22 +0000 (10:59 +0000)]
s,/usr/include,${INCLUDEDIR},
bp [Mon, 22 Jul 2002 09:50:09 +0000 (09:50 +0000)]
This commit was generated by cvs2svn to compensate for changes in r100490,
which included commits to RCS files with non-trunk default branches.
bp [Mon, 22 Jul 2002 09:50:09 +0000 (09:50 +0000)]
Import smbfs 1.4.5. This release intended to fix problem with iconv
library.
MFC after: 1 week
truckman [Mon, 22 Jul 2002 08:28:09 +0000 (08:28 +0000)]
Pre-wire the output buffer so that sysctl_kern_function_list() doesn't
block in SYSCTL_OUT() while holding a lock.
truckman [Mon, 22 Jul 2002 08:25:37 +0000 (08:25 +0000)]
Provide a way for sysctl handlers to pre-wire their output buffer before
they grab a lock so that they don't block in SYSCTL_OUT() with the lock
being held.
yar [Mon, 22 Jul 2002 07:41:14 +0000 (07:41 +0000)]
Fix one RFC 959 incompliance:
Double double-quotes in a PWD result
if they appear in the directory pathname.
PR: misc/18365
MFC after: 1 week
imp [Mon, 22 Jul 2002 06:58:24 +0000 (06:58 +0000)]
Copy cis strings into the kernel.
imp [Mon, 22 Jul 2002 06:46:10 +0000 (06:46 +0000)]
Copy manufacturer and version string into the kernel, and copy it to
the slot info. This brings OLDCARD's API much closer to NEWCARD and
will allow moving more information into the kernel from pccard.conf
for common drivers (ed).
tjr [Mon, 22 Jul 2002 05:50:12 +0000 (05:50 +0000)]
Don't allow "||" or "&&" to be the first tokens of a command.
PR: 40386
MFC after: 2 weeks
tjr [Mon, 22 Jul 2002 05:35:59 +0000 (05:35 +0000)]
Correct syntax error, remove the unescaped newline between "||" and the
command it is intended to test. pdksh and bash caught this syntax error,
sh(1) did not behave as intended.
PR: 40386
rwatson [Mon, 22 Jul 2002 03:57:07 +0000 (03:57 +0000)]
Teach discretionary access control methods for files about VAPPEND
and VALLPERM.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
rwatson [Mon, 22 Jul 2002 03:51:09 +0000 (03:51 +0000)]
Add VALLPERM, which is a mask of all the access control request permission
bits for vnodes passed to vaccess() and friends.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
rwatson [Mon, 22 Jul 2002 03:45:33 +0000 (03:45 +0000)]
Sort vnode access mode flags.
Add flags VSTAT, VAPPEND required for TrustedBSD.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
orion [Mon, 22 Jul 2002 02:38:20 +0000 (02:38 +0000)]
Move lock in pcm_chn_add() to after malloc.
PR: kern/40157
Submitted by: Dan Lukes <dan@obluda.cz>
peter [Mon, 22 Jul 2002 01:11:16 +0000 (01:11 +0000)]
Move 'em' from files.i386 to files so that it is within reach of the
ia64 (tested) and pc98 (i386 based) platforms.
peter [Mon, 22 Jul 2002 00:21:17 +0000 (00:21 +0000)]
No more NO_WERROR for the kernel. It's still possible though, but
seperate from NO_WERROR which is easily mixed up with in userland.
peter [Mon, 22 Jul 2002 00:15:01 +0000 (00:15 +0000)]
The transition time for -Werror has been gone for a while. We are now
sufficiently clean that we can fix any new problems or mark individual
files as not being ready for -Werror.
peter [Mon, 22 Jul 2002 00:11:35 +0000 (00:11 +0000)]
Make this compile.
uaudio.c:1822: warning: `uaudio_ctl_get' defined but not used
peter [Mon, 22 Jul 2002 00:08:24 +0000 (00:08 +0000)]
Remove bktr.h/NBKTR. Set BKTR_FREEBSD_MODULE in opt_bktr.h instead.
peter [Sun, 21 Jul 2002 23:31:43 +0000 (23:31 +0000)]
Remove stray function prototype. I wrote and removed this function but
forgot the prototype.
Submitted by: dd
peter [Sun, 21 Jul 2002 23:29:00 +0000 (23:29 +0000)]
Add units to card, wdc, wcd, wst and wfd
peter [Sun, 21 Jul 2002 23:23:14 +0000 (23:23 +0000)]
Add unit counts for the i4b stuff where it still uses NFOO etc.
peter [Sun, 21 Jul 2002 23:20:29 +0000 (23:20 +0000)]
Add unit count to 'card'
peter [Sun, 21 Jul 2002 23:15:41 +0000 (23:15 +0000)]
pci/cy_pci.c is still MD, it needs i386/isa/cy.c for the core.
peter [Sun, 21 Jul 2002 23:10:59 +0000 (23:10 +0000)]
Add static unit count to pci
peter [Sun, 21 Jul 2002 23:09:48 +0000 (23:09 +0000)]
Add static unit count for 'card'
peter [Sun, 21 Jul 2002 23:09:15 +0000 (23:09 +0000)]
Add static unit count for pci here as well.
peter [Sun, 21 Jul 2002 23:07:31 +0000 (23:07 +0000)]
Add explicit unit count on 'device pci' for ahc/ahd
peter [Sun, 21 Jul 2002 23:02:35 +0000 (23:02 +0000)]
Check for missing static unit 'count' declarations as well.
peter [Sun, 21 Jul 2002 22:28:43 +0000 (22:28 +0000)]
The following devices do not take a static unit 'count' argument:
ar, fe, lnc, sr, wl, fpa, bktr, sbni
peter [Sun, 21 Jul 2002 22:23:56 +0000 (22:23 +0000)]
Check that we are not supplying 'device foo N' to devices that do not take
a statuc unit count.
peter [Sun, 21 Jul 2002 21:47:07 +0000 (21:47 +0000)]
Change bktr and smbus from 'count' back to 'optional'
peter [Sun, 21 Jul 2002 21:37:09 +0000 (21:37 +0000)]
Remove dependency on NPCI. Use 'options ATA_NOPCI' to compile without
pci support. This really needs to be fixed properly some day, but judging
by the fact that the nopci case hasn't compiled for quite a while, there
does not seem to be much urgency.
Reviewed by: sos
ru [Sun, 21 Jul 2002 21:22:45 +0000 (21:22 +0000)]
Moved `clean:' below, just before the inclusion of bsd.obj.mk,
so that CLEANFILES from bsd.man.mk and bsd.dep.mk are honored.
alc [Sun, 21 Jul 2002 21:20:57 +0000 (21:20 +0000)]
o Lock page queue accesses by vm_page_free() and vm_page_deactivate().
ru [Sun, 21 Jul 2002 21:03:47 +0000 (21:03 +0000)]
Fixed improper SCRIPTS assignment that broke `clean'.
alc [Sun, 21 Jul 2002 20:38:45 +0000 (20:38 +0000)]
o Lock page queue accesses by vm_page_free().
robert [Sun, 21 Jul 2002 20:37:58 +0000 (20:37 +0000)]
Remove duplicated '__BEGIN_DECLS' which obviated compiling
C++ sources that use this header.
Reported by: Jan Stocker <Jan.Stocker@t-online.de>
alc [Sun, 21 Jul 2002 20:01:32 +0000 (20:01 +0000)]
o Lock page queue accesses in nfs_getpages().
ume [Sun, 21 Jul 2002 19:12:21 +0000 (19:12 +0000)]
be able to configure to run an IPv6 routing daemon even on
an end node (sync with rc.network6 1.30).
Approved by: gordon
alc [Sun, 21 Jul 2002 19:06:46 +0000 (19:06 +0000)]
o Lock page queue accesses by vm_page_free().
nsayer [Sun, 21 Jul 2002 17:28:50 +0000 (17:28 +0000)]
Add uaudio -- a USB audio device driver.
This driver actually works slightly better on -stable than on -current
(the system locks on detach on -current), so it should be MFC'd somewhat
sooner.
This driver currently points out a difficulty in the sound device framework.
The PCM unregister routine is allowed to refuse the detach if the device is
in use. In the case of a USB device, however, this unregistration is much more
mandatory in nature, since the device is *actually* gone when this call is
made. The sound subsystem really should not refuse an unregistration and
should take its own steps to reject further I/O. As a result, if you detach
a USB sound device while it is in use, you can expect a panic shortly
thereafter.
This device cannot currently record audio. Some routines are unwritten as
of yet in uaudio.c to support recording.
This device hangs my -current box on detach. I don't know why. This does
not happen on my -stable machine.
Obtained from: Hiroyuki Aizu
MFC after: 2 weeks
wosch [Sun, 21 Jul 2002 16:45:30 +0000 (16:45 +0000)]
Fix broken handbook links.
Submitted by: "Dipl.Phys. Andreas Hiltenkamp" <hiltenkamp@web.de>
johan [Sun, 21 Jul 2002 15:22:56 +0000 (15:22 +0000)]
Save flags returned by vn_open and use them when calling vn_close.
Reviewed by: bde
Approved by: sheldonh (mentor)
johan [Sun, 21 Jul 2002 15:11:32 +0000 (15:11 +0000)]
Only use one %s when there is only one argument to print.
Submitted by: keramida
Approved by: sheldonh (mentor)
charnier [Sun, 21 Jul 2002 13:02:13 +0000 (13:02 +0000)]
Correct wrong grammar from previous commit. Note that fingerd is not limited
to being an interface to finger(1), see -p flag. Remove a reference to
name(?) program we don't have.
Submitted by: wollman
charnier [Sun, 21 Jul 2002 12:55:04 +0000 (12:55 +0000)]
Removal of spaces at EOL. Add __FBSDID. New function xmalloc, xrealloc,
xstrdup. There is a crash() function that do cleaning before exiting the
program. The new functions are wrappers that make use of crash() in case
of allocation failure. warn, exit -> err.
Reviewed by: alfred
charnier [Sun, 21 Jul 2002 12:45:54 +0000 (12:45 +0000)]
s/A last utility last appeared/A last utility appeared/ (horikawa).
Use .Pa for wtmp.
Submitted by: horikawa
yar [Sun, 21 Jul 2002 12:06:56 +0000 (12:06 +0000)]
Allow deleting and renaming stale symlinks and
deleting symlinks pointing to directories.
PR: bin/37250
Submitted by: Nino Dehne <TeCeEm@gmx.de>
MFC after: 1 week
tanimura [Sun, 21 Jul 2002 10:55:57 +0000 (10:55 +0000)]
Do not pass a thread with the state TDS_RUNQ to setrunqueue(), otherwise
assertion in setrunqueue() fails.
tjr [Sun, 21 Jul 2002 06:49:14 +0000 (06:49 +0000)]
Implement the P1003.2 `command' builtin command, which is used to suppress
shell function and alias lookup. The -p option has been implemented, the
UPE -v and -V options have not. The old `command' command has been renamed
to `builtin'.
imp [Sun, 21 Jul 2002 05:35:42 +0000 (05:35 +0000)]
style(9)ize the whole file
Approved in concept a long time ago by: msmith
imp [Sun, 21 Jul 2002 05:34:14 +0000 (05:34 +0000)]
Fix more abuse of __FreeBSD__ to detect version.
peter [Sun, 21 Jul 2002 05:25:49 +0000 (05:25 +0000)]
Stop abusing NPCI for code that doesn't even work. Emit a warning.
peter [Sun, 21 Jul 2002 05:22:16 +0000 (05:22 +0000)]
Move SWTCH_OPTIM_STATS related code out of cpufunc.h. (This sort of stat
gathering is not an x86 cpu feature)
peter [Sun, 21 Jul 2002 05:19:03 +0000 (05:19 +0000)]
Remove abuse of NBKTR - this was always a NOP on freebsd. We never
compiled this stuff if NBKTR was zero.
peter [Sun, 21 Jul 2002 05:16:56 +0000 (05:16 +0000)]
Remove #if 0'ed abuse of NPCI
peter [Sun, 21 Jul 2002 05:16:14 +0000 (05:16 +0000)]
Remove #include <pci.h> - there is no abuse of NPCI here
imp [Sun, 21 Jul 2002 04:27:44 +0000 (04:27 +0000)]
The CNW_801 and CNW_802 are wireless cards that the cnw driver supports.
imp [Sun, 21 Jul 2002 04:25:30 +0000 (04:25 +0000)]
Don't abuse __FreeBSD__ as version number. Since it was >= 3, remove
the ifdef completely.
imp [Sun, 21 Jul 2002 04:24:30 +0000 (04:24 +0000)]
Minor whitespace nits. remove #if 1 and #endif pair, but not code between.
imp [Sun, 21 Jul 2002 04:23:40 +0000 (04:23 +0000)]
cardbus attachment.