Ruslan Ermilov
3c5021685e
Fetch the default maximum TTL value from the net.inet.ip.ttl MIB.
...
PR: bin/19598
MFC after: 1 week
2001-06-06 16:12:59 +00:00
Daniel C. Sobral
7b4d3c72cc
Introduce an example script of safe changing of ipfw(8) rules.
...
I'm sure this can be much improved, but this works fairly well.
PR: 27887
Submitted by: Alexandre Peixoto <alexandref@tcoip.com.br>
MFC after: 1 week
2001-06-06 15:45:04 +00:00
Andrew Gallatin
b8da8ef880
hold the vm_mtx around vm_map_lookup_entry() and vm_map_findspace()
2001-06-06 14:07:52 +00:00
Ruslan Ermilov
4589be70fe
Unbreak setregid(2).
...
Spotted by: Alexander Leidinger <Alexander@Leidinger.net>
2001-06-06 13:58:03 +00:00
Andrew Gallatin
751eb2452f
Apparently, the vm_mtx must be held around vm_map_find(). I'm assuming
...
that it needn't be held around vm_mmap() since vm_mmap() itself aquires
it.
Sleuthing by: obrien
2001-06-06 13:46:16 +00:00
Noriaki Mitsunaga
36afc45690
Sorry, an "ARCHIVE Python 06408" does not need SA_QUIRK_NOCOMP.
2001-06-06 13:01:44 +00:00
Ruslan Ermilov
be5c8032a0
Note that -a is ignored if -s is also specified.
2001-06-06 12:48:22 +00:00
Ruslan Ermilov
1438aefc25
fmt(1) rewrite by Gareth McCaughan.
...
PR: bin/5901, bin/12242, bin/19071
Submitted by: Gareth McCaughan <gjm11@dpmms.cam.ac.uk>
Obtained from: OpenBSD + ctype(3), WARNS=2, and manpage cleanup
MFC after: 2 weeks
2001-06-06 10:17:05 +00:00
Bruce Evans
c7ff38250f
Fixed missing parentheses in the definition of KTR_COMPILE. KTR_COMPILE
...
is usually (always?) used in expressions like (KTR_COMPILE & KTR_FOO).
Defining it as KTR_INTR|KTR_PROC gave the wrong value in approximately
8497 places according to error output for compiling LINT.
2001-06-06 06:58:13 +00:00
Joerg Wunsch
d137c337ae
Part #2 of the <machine/ioctl_fd.h> => <sys/fdcio.h> move: handle the
...
tools in usr.sbin/fd*.
2001-06-06 06:16:19 +00:00
Joerg Wunsch
e774b25111
Nuke the various poorly maintained copies of ioctl_fd.h. The file is
...
not machine-dependant, thus it has been moved out (repo-copied) into
<sys/fdcio.h>.
2001-06-06 06:15:03 +00:00
Seigo Tanimura
326f419bb9
Lock VM Giant prior to locking a vm map.
...
Spotted by: Daniel Rock <D.Rock@t-online.de>
Tested by: David Wolfskill <david@catwhisker.org>,
Sean Eric Fagan <sef@kithrup.com>
2001-06-06 04:13:11 +00:00
John Baldwin
262c9f8a3b
Don't hold sched_lock across addupc_task().
...
Reported by: David Taylor <davidt@yadt.co.uk>
Submitted by: bde
2001-06-06 00:57:24 +00:00
Warner Losh
ca604d262f
Use bus_space when reading CIS. This allows us to access it in 8 bit
...
mode, which is what the standard mandates.
Submitted by: Takanori Watanabe-san
Reviewed by: jhb
2001-06-05 23:42:51 +00:00
Warner Losh
656f411d33
Back out my changes describing how snprintf nul terminates. It
...
was from the iso standard. Keep the sentence that says it is always
NUL terminated to make sure that people understand that.
Requested by: bde
2001-06-05 23:39:45 +00:00
Bill Paul
6048cd628a
In lge_detach(), don't contigfree() the jumbogram buffer memory;
...
lge_free_jumbo_mem() does it for us.
2001-06-05 23:16:52 +00:00
Warner Losh
64c30c9cb5
Commit part of the patch that I have for card eject problems with the
...
ep driver. The rest of the patch will wait until I can put the time
into it to get it righter than the kludge it is.
This protects us against card eject problems at all times,e xecpt when
we're in the epintr ISR.
2001-06-05 22:29:16 +00:00
Jacques Vidrine
cc66540e0e
Add parens to get the cast that was meant in previous commit.
...
While we're at it, this file seems to prefer `unsigned int'
over `u_int', so go with that.
2001-06-05 21:55:57 +00:00
Matt Jacob
b3e8643ffa
Wrong. The size of size_t is *not* the same as the size of an integer.
...
MFC after: 2 weeks
2001-06-05 21:16:27 +00:00
Poul-Henning Kamp
c689eed5f3
There is no reason for logname to call getopt(3), it doesn't take
...
any options.
PR: 26689
Submitted by: Félix-Antoine Paradis <reel@sympatico.ca>
2001-06-05 21:04:42 +00:00
Joerg Wunsch
7998b1245d
Make the FDC (state machine) state an enum, as opposed to an int
...
abusing a bunch of #defines, for clarity and better debugging support.
2001-06-05 21:01:46 +00:00
Bill Paul
357dfe502a
Fix mindo:
...
PCN_BCR_CLRBIT(sc, PCN_BCR_MIICTL, PCN_MIICTL_DANAS);
should be:
PCN_BCR_SETBIT(sc, PCN_BCR_MIICTL, PCN_MIICTL_DANAS);
Turning this bit on is what disables MII autoneg, not turning it off.
Without this, manually setting the media doesn't work.
Noticed by: Jim Browne <jbrowne@jbrowne.com>
2001-06-05 20:51:17 +00:00
Garrett Wollman
80d444c883
Don't mung the user's tm_sec field if we don't need to. (Belt-and-suspenders
...
version.)
PR: bin/27630
Submitted by: Arthur David Olson <ado@nci.nih.gov>
Obtained from: Timezone mailing-list <tz@elsie.nci.nih.gov>
MFC after: 1 month
2001-06-05 20:13:28 +00:00
Shafeeq Sinnamohideen
ba8aae1baf
Now works again and as a module and with devfs.
...
Used the bpf & tun drivers as examples as to what is necessary for devfs.
2001-06-05 19:45:16 +00:00
Joerg Wunsch
4a70e151df
Document /usr/include/dev/{ic,wi}.
...
Reminded by: ru
2001-06-05 18:52:55 +00:00
Thomas-Henning von Kamptz
25e3465064
fix a bug of a only partitally initialization which could result
...
in an unclean filesystem after growing by a large amount of cylinder
groups
Reviewed by: chm
2001-06-05 18:39:57 +00:00
Bruce A. Mah
1fa0e3cde3
New release note: SA-01:40.
2001-06-05 18:23:54 +00:00
Matt Jacob
6a23026c6e
Fix botch for state levels. Role minor release. Start adding code for a
...
'force logout' path.
MFC after: 4 weeks
2001-06-05 17:11:06 +00:00
Warner Losh
7528c356f5
I neglected to notice that the change text had already been added in a
...
different place. Back out what I added since the other text is better.
Noticed by: nectar
2001-06-05 16:43:51 +00:00
Bruce A. Mah
4ac5181d4c
Forced commit; CVS didn't prompt for a log message for the original
...
commit.
Add a README file where the old *.TXT files used to live, redirecting
developers to the doc directory and giving a URL for a Web-accessible
version of RELNOTESng.
Submitted by: dd (with some editing)
2001-06-05 15:33:30 +00:00
Hellmuth Michaelis
a272144a13
PR: i386/26347
...
Submitted by: Nicola Vitale <nivit@libero.it>
Reviewed by: hm
Fix screen number display in HP mode in case PCVT_NSCREENS > 10
2001-06-05 15:31:47 +00:00
Bruce A. Mah
f583629fe5
Revert previous commit. I have no idea how CVS let me do this; it
...
didn't even ask me for a log message.
2001-06-05 15:31:35 +00:00
Bruce A. Mah
b819823b29
*** empty log message ***
2001-06-05 15:28:41 +00:00
Hellmuth Michaelis
40390c0719
PR: bin/26817
...
Submitted by: Clement Ballabriga <clement@asso.ups-tlse.fr>
Reviewed by: hm
Check for read errors from the controlling tty when in fullscreen mode.
2001-06-05 15:16:45 +00:00
Brian Somers
72155f03b6
Talk a bit about how cloning works with devfs(5).
...
Make it clearer about what's going on with TUNSIFHEAD and TUNSLMODE.
Tidy up a little.
2001-06-05 14:26:17 +00:00
Bruce A. Mah
a9b6158aa7
Use WITHOUT_X11, not NO_X, as the standardized way of turning off doc
...
ports' dependencies on X Windows during release builds.
2001-06-05 14:16:50 +00:00
Jonathan Lemon
4e92ec9dd0
Add a kqueue filter for writing to ufs filesystems which always returns
...
true. This permits better interoperability with programs which register
filters on their stdin/stdout handles.
Submitted by: Niels Provos <provos@citi.umich.edu>
2001-06-05 13:52:37 +00:00
Maxim Sobolev
1cdc139280
Correct cross-references:
...
setsockopt.3 --> setsockopt.2
syslog.8 --> syslogd.8
tcpdump.8 --> tcpdump.1
MFC after: 1 week
2001-06-05 12:50:33 +00:00
Maxim Sobolev
fe11f6f605
Correct cross-references:
...
ng_bpf.8 --> ng_bpf.4
ng_ether.8 --> ng_ether.4
ng_iface.8 --> ng_iface.4
ng_pppoe.8 --> ng_pppoe.4
ng_socket.8 --> ng_socket.4
ng_tty.8 --> ng_tty.4
ng_{type}.4 --> /dev/null
MFC after: 1 week
2001-06-05 12:40:03 +00:00
Maxim Sobolev
76c6864951
Fix cross-references:
...
ipnat.8 --> ipnat.1
environ.5 --> environ.7
isssetugid.2 --> issetugid.2
MFC after: 1 week
2001-06-05 12:23:22 +00:00
Ruslan Ermilov
57168893b2
Don't use tabs here!
2001-06-05 07:07:52 +00:00
Matthew Dillon
1a4c56a67d
Fix type-o's, update page
2001-06-05 05:59:21 +00:00
Warner Losh
53e4eaaeba
Close the line displine on detach. Lots of folks have submittd this, and
...
I think bde even reviewed it once.
Also, change the name of ActionTEC pat to more generic Lucent Kermit
chip. Add stub for Xircom card. Add cardbus attachment too.
2001-06-05 05:58:57 +00:00
Dima Dorfman
ddf5b79683
Add a line discipline close routine which restores some functionality
...
I accidently nuked in rev. 1.54. Also rework the error handling in
snplwrite a little.
2001-06-05 05:07:53 +00:00
Dima Dorfman
f09f49f136
Style and cosmetic cleanups. This driver is now reasonably stlye(9)
...
compliant. All the variable definitions and function names are
reasonably consistent, and the functions which should be static (i.e.,
all of them) are. Other assorted fixes were made. The majority of
the delta is indentation fixes.
Partially reviewed by: bde
2001-06-05 05:00:17 +00:00
Warner Losh
485839b9ee
Document what happens when the real id is changed.
...
I may have obtained this from NetBSD, but I don't recall. I do know that
I checked FreeBSD's implementation to make sure that it matched what I wrote.
2001-06-05 04:35:42 +00:00
Warner Losh
5d9d8ee4b2
Remove #if 0'd code. It turned up on my MAXPATHLEN + 1 sweep.
2001-06-05 04:29:55 +00:00
Warner Losh
0f17416309
Only build i82365_isa attachment when we have isa bus.
2001-06-05 04:26:12 +00:00
Warner Losh
890d5b436d
Minor improvements:
...
o Explain snprintf's return value better.
o Document snprintf, et al, were defined in C-99
o Warn against %n.
2001-06-05 04:22:30 +00:00
David E. O'Brien
1239674238
There seems to be a problem that the order of disk write operation being
...
incorrect due to a missing check for some dependency. This change
avoids the freelist corruption (but not the temporarily inconsistent
state of the file system).
A message is printed as a reminder of the under lying problem when a
pagedep structure is not freed due to the NEWBLOCK flag being set.
Submitted by: Tor.Egge@fast.no
2001-06-05 01:49:37 +00:00