kan
2eb7466905
Fix DIOCGMEDIASIZE and DIOCGSECTORSIZE ioctls to work for all
...
disk devices. This fixes the problem with these ioctls returning
EINVAL for plain slice devices with no disklabel on them.
The patch incorporates improvements and style fixes from BDE.
Reviewed by: bde
Approved by: obrien (mentor)
2002-07-23 14:30:27 +00:00
rwatson
af83e99c43
Mention SAVENAME and SAVESTART in the namei(9) operation flag description
...
since apparently people were missing that you aren't supposed to access
the name buffer following namei() unless you specify one of these flags.
Pointed out by: green
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-23 13:16:36 +00:00
rwatson
c8ea0e3083
Update ucred.9 to talk a bit more about correct use of credentials,
...
including documenting that ucreds must not be pulled out of thin air,
when to use td_cred vs. p_ucred, how to avoid race conditions in
credential updates, and why to use p_ucred when targetting a thread
or process in an access control operation involving two processes.
Reviewed by: julian, jhb (earlier revision)
2002-07-23 13:09:24 +00:00
jmallett
97bd8b8434
Turn on emacs line editing mode by default, as this is what most shells do
...
these days, and the average user expects ^A and arrow keys to work, however
if they know nothing of editing modes, they will think sh(1) just sucks. It
is likely that because of defaults on most systems and with most shells that
anyone who actually wants vi(1) editing mode will have 'set -o vi'. This
won't affect existing accounts, this way, of course. Only accounts with
.shrc from new etc/skel will be affected. This is much better than making
the change in sh(1).
2002-07-23 12:28:16 +00:00
tjr
12e699af89
Call el_source() to read the contents of .editrc when line editing is enabled.
...
Obtained from: NetBSD
MFC after: 2 weeks
2002-07-23 12:26:34 +00:00
dcs
6045b837d6
s/ifdef/ifndef/.
...
Fenner got this inverted through a misunderstanding between us.
2002-07-23 12:25:34 +00:00
tjr
f9fd5faa32
Add a `bind' builtin command, which is simply a wrapper around libedit's
...
builtin command of the same name. This allows the key bindings for the
shell's line editor to be changed.
MFC after: 2 weeks
2002-07-23 11:50:53 +00:00
ru
1419e21345
Dependencies are delimited by space not tab.
2002-07-23 09:15:45 +00:00
blackend
7faee76c83
s/IPSEC/IPsec according to RFCs
...
PR: in part docs/38668
Reviewed by: charnier
MFC after: 10 days
2002-07-23 08:38:03 +00:00
peter
0d8fe1f3c6
de-count pci
2002-07-23 06:38:47 +00:00
peter
5cf99313cd
de-count pci now that ahc/ahd are taken care of.
2002-07-23 06:36:23 +00:00
peter
0e4a7cbe38
pci is (finally) no longer a 'count' device. ahc/ahd were the last
...
holdouts.
2002-07-23 06:33:08 +00:00
peter
cb331c3fc5
Minimal tweak to not depend on NPCI, but still maintain portability
...
to 4.x which still does need it (since pci_if.h isn't generated without
pci being present)
2002-07-23 06:31:45 +00:00
eric
7ff3e005dc
Handle directories correctly.
...
PR: 40801
MFC after: 5 days
2002-07-23 04:54:57 +00:00
alc
b5578712f7
o Lock page queue accesses by vm_page_dontneed().
...
o Assert that the page queue lock is held in vm_page_dontneed().
2002-07-23 04:39:48 +00:00
arr
c540d472eb
- Pass the VM_ALLOC_WIRED flag to vm_page_alloc() in pmap_growkernel() so
...
that we can avoid a call to vm_page_lock_queues().
Approved by: peter
2002-07-23 04:18:10 +00:00
alc
cba25d9833
o Extend the scope of the page queues lock in vm_pageout_scan()
...
to cover the traversal of the cache queue.
2002-07-23 02:42:25 +00:00
arr
249ad7ccdb
- Make use of the VM_ALLOC_WIRED flag in the call to vm_page_alloc() in
...
do_sendfile(). This allows us to rearrange an if statement in order to
avoid doing an unnecesary call to vm_page_lock_queues(), and an attempt
at re-wiring the pages (which were wired in the vm_page_alloc() call).
Reviewed by: alc, jhb
2002-07-23 01:09:34 +00:00
fenner
d5467bd904
Add '+FreeBSD' to the version string, to reflect that this program
...
bears little relationship to the one from LBL with the same
name and version number.
2002-07-23 00:56:52 +00:00
iwasaki
420b928644
Add NULL check for the output buffer from AcpiEvaluateObject().
...
Submitted by: jon
2002-07-23 00:47:13 +00:00
johan
c464bca234
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
2002-07-23 00:42:56 +00:00
ru
7bd1d4e8de
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
2002-07-23 00:16:19 +00:00
fenner
c9f6925854
Add an ICMP protocol handler, partly based on LBL's traceroute 1.4 .
...
Submitted by: dcs
2002-07-22 23:01:11 +00:00
ru
cb7f1cefec
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
2002-07-22 22:31:09 +00:00
fenner
818d4f6499
Actually use gen_prep() and gen_check(), instead of udp_prep() and
...
udp_check(), for unknown protocols.
2002-07-22 22:07:23 +00:00
trhodes
2f537c20aa
Revert last commit. Sorry for breaking things
2002-07-22 21:45:16 +00:00
imp
29d1e263c1
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).
2002-07-22 21:28:46 +00:00
imp
f1d60c06e8
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.
2002-07-22 21:24:12 +00:00
trhodes
e123a791c5
MFC: Fix some grammar, greater reduce diffs to HEAD
2002-07-22 21:14:16 +00:00
alfred
2d469f6917
Remove unneeded caddr_t casts.
2002-07-22 19:05:44 +00:00
sos
e3199ef943
Fix the transfer size calculation.
2002-07-22 18:37:33 +00:00
sos
9a6aed1086
Sync with the spl changes in -stable.
...
Add start of support for DVD+RW.
2002-07-22 18:36:14 +00:00
sos
dacb15ae37
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.
2002-07-22 18:35:01 +00:00
alfred
d1de8b21e3
Cleanup:
...
Define a debug printf macro rather than wrapping all calls to printf
with #ifdefs.
2002-07-22 18:27:54 +00:00
ume
cc156f1308
use IPV6_V6ONLY instead of non standard IPV6_BINDV6ONLY.
...
Approved by: gad
2002-07-22 18:16:05 +00:00
ume
a3550f2858
add -4 and -6 option to be able to specify an address family.
...
Requested by: matusita
MFC after: 1 week
2002-07-22 17:19:54 +00:00
ru
9018f08918
This commit was generated by cvs2svn to compensate for changes in r100519,
...
which included commits to RCS files with non-trunk default branches.
2002-07-22 17:06:28 +00:00
ru
f39a62e85a
Update for GNU texinfo 4.2.
2002-07-22 16:58:54 +00:00
ru
11e0f22a4f
Merge texinfo 4.2 changes onto the trunk.
2002-07-22 16:55:14 +00:00
ru
26517bbbf9
Use stock (FSF) version of this file.
2002-07-22 16:54:53 +00:00
ru
9e43c2bad6
This commit was generated by cvs2svn to compensate for changes in r100513,
...
which included commits to RCS files with non-trunk default branches.
2002-07-22 16:52:57 +00:00
ru
f10c49f50c
Import of stripped down GNU texinfo 4.2
2002-07-22 16:52:57 +00:00
alfred
c683b04586
Change struct vmspace->vm_shm from void * to struct shmmap_state *, this
...
removes the need for casts in several cases.
2002-07-22 16:22:27 +00:00
alfred
2d7017c840
Remove caddr_t.
2002-07-22 16:12:55 +00:00
des
4732944265
Surround prototypes with __BEGIN_DECLS / __END_DECLS.
...
PR: misc/40399
MFC after: 3 days
2002-07-22 16:11:39 +00:00
ume
ad7629f7ee
sync comment with reality. IN6P_BINDV6ONLY -> IN6P_IPV6_V6ONLY.
2002-07-22 15:55:50 +00:00
ume
cd3f29ae66
do not refer to IN6P_BINDV6ONLY anymore.
...
Obtained from: KAME
MFC after: 1 week
2002-07-22 15:51:02 +00:00
alfred
73d7a388d6
remove caddr_t from fo_ioctl calls
2002-07-22 15:46:51 +00:00
alfred
bb1a616a3f
remove caddr_t
2002-07-22 15:44:27 +00:00
ume
9c2c51a1e6
use IPV6_V6ONLY instead of non standard IPV6_BINDV6ONLY.
...
MFC after: 1 week
2002-07-22 15:22:53 +00:00