Robert Watson
fd3083e0f8
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
Juli Mallett
698f822d6d
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
Tim J. Robbins
ecd807fb6d
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
Daniel C. Sobral
8f32fe91de
s/ifdef/ifndef/.
...
Fenner got this inverted through a misunderstanding between us.
2002-07-23 12:25:34 +00:00
Tim J. Robbins
088acf9001
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
Ruslan Ermilov
95ad74d7cf
Dependencies are delimited by space not tab.
2002-07-23 09:15:45 +00:00
Marc Fonvieille
a9b45e7499
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 Wemm
b618108fff
de-count pci
2002-07-23 06:38:47 +00:00
Peter Wemm
697fc40af6
de-count pci now that ahc/ahd are taken care of.
2002-07-23 06:36:23 +00:00
Peter Wemm
ec7892680f
pci is (finally) no longer a 'count' device. ahc/ahd were the last
...
holdouts.
2002-07-23 06:33:08 +00:00
Peter Wemm
65c4663d5f
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 Melville
4d01a8fb5f
Handle directories correctly.
...
PR: 40801
MFC after: 5 days
2002-07-23 04:54:57 +00:00
Alan Cox
2999e9faca
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
Andrew R. Reiter
ef098feafc
- 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
Alan Cox
8ffc151979
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
Andrew R. Reiter
5d3232048e
- 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
Bill Fenner
c898fd637d
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
Mitsuru IWASAKI
3c24196d00
Add NULL check for the output buffer from AcpiEvaluateObject().
...
Submitted by: jon
2002-07-23 00:47:13 +00:00
Johan Karlsson
786c276fe4
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
Ruslan Ermilov
61a875d706
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
Bill Fenner
290006640b
Add an ICMP protocol handler, partly based on LBL's traceroute 1.4 .
...
Submitted by: dcs
2002-07-22 23:01:11 +00:00
Ruslan Ermilov
88c39af35f
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
Bill Fenner
dbee325068
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
Tom Rhodes
31352a12bf
Revert last commit. Sorry for breaking things
2002-07-22 21:45:16 +00:00
Warner Losh
11b0ee113b
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
Warner Losh
64b17388de
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
Tom Rhodes
623bc624b0
MFC: Fix some grammar, greater reduce diffs to HEAD
2002-07-22 21:14:16 +00:00
Alfred Perlstein
1a5a641600
Remove unneeded caddr_t casts.
2002-07-22 19:05:44 +00:00
Søren Schmidt
ba41a3d37e
Fix the transfer size calculation.
2002-07-22 18:37:33 +00:00
Søren Schmidt
5c0d1ab990
Sync with the spl changes in -stable.
...
Add start of support for DVD+RW.
2002-07-22 18:36:14 +00:00
Søren Schmidt
2dadf47412
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 Perlstein
fd6d9be4f5
Cleanup:
...
Define a debug printf macro rather than wrapping all calls to printf
with #ifdefs.
2002-07-22 18:27:54 +00:00
Hajimu UMEMOTO
4a78ccd771
use IPV6_V6ONLY instead of non standard IPV6_BINDV6ONLY.
...
Approved by: gad
2002-07-22 18:16:05 +00:00
Hajimu UMEMOTO
3daa847108
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
Ruslan Ermilov
9b44a25f1f
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
Ruslan Ermilov
eb2992f5cd
Update for GNU texinfo 4.2.
2002-07-22 16:58:54 +00:00
Ruslan Ermilov
fc756dddd1
Merge texinfo 4.2 changes onto the trunk.
2002-07-22 16:55:14 +00:00
Ruslan Ermilov
1e25085393
Use stock (FSF) version of this file.
2002-07-22 16:54:53 +00:00
Ruslan Ermilov
3b09781ed9
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
Ruslan Ermilov
f045034c56
Import of stripped down GNU texinfo 4.2
2002-07-22 16:52:57 +00:00
Alfred Perlstein
8209f090f1
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 Perlstein
2cc593fd8e
Remove caddr_t.
2002-07-22 16:12:55 +00:00
Dag-Erling Smørgrav
190c185e22
Surround prototypes with __BEGIN_DECLS / __END_DECLS.
...
PR: misc/40399
MFC after: 3 days
2002-07-22 16:11:39 +00:00
Hajimu UMEMOTO
506c29ecf3
sync comment with reality. IN6P_BINDV6ONLY -> IN6P_IPV6_V6ONLY.
2002-07-22 15:55:50 +00:00
Hajimu UMEMOTO
854d3b19a2
do not refer to IN6P_BINDV6ONLY anymore.
...
Obtained from: KAME
MFC after: 1 week
2002-07-22 15:51:02 +00:00
Alfred Perlstein
d452ec95a9
remove caddr_t from fo_ioctl calls
2002-07-22 15:46:51 +00:00
Alfred Perlstein
0a3e28cf1c
remove caddr_t
2002-07-22 15:44:27 +00:00
Hajimu UMEMOTO
fc99a00c7f
use IPV6_V6ONLY instead of non standard IPV6_BINDV6ONLY.
...
MFC after: 1 week
2002-07-22 15:22:53 +00:00
Hajimu UMEMOTO
a5b71fafb7
sin6_len is not an address family. I believe this doesn't
...
break compatibility with POSIX.1-2001.
2002-07-22 15:13:55 +00:00
Robert Drehmel
b0e28044ba
- Remove unnecessary break statement.
...
- Move a label to a syntactically correct place to keep
gcc from warning.
2002-07-22 15:01:04 +00:00