Bruce Evans
e0c386dd90
Removed bits related to MBRs now that they have a proper home in
...
<sys/diskmbr.h>.
2002-10-02 03:29:00 +00:00
Dima Dorfman
8025c44b00
Add an -o option to exit after receiving one reply. This can be used
...
to test whether a link is live.
PR: 38573
Submitted by: David Taylor <davidt@yadt.co.uk>
Obtained from: NetBSD
2002-10-02 03:24:27 +00:00
Robert Watson
92dbb82a47
Add a new MAC entry point, mac_thread_userret(td), which permits policy
...
modules to perform MAC-related events when a thread returns to user
space. This is required for policies that have floating process labels,
as it's not always possible to acquire the process lock at arbitrary
points in the stack during system call processing; process labels might
represent traditional authentication data, process history information,
or other data.
LOMAC will use this entry point to perform the process label update
prior to the thread returning to userspace, when plugged into the MAC
framework.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-10-02 02:42:38 +00:00
Dima Dorfman
b6fcb4fec3
Don't crash when the user feeds us nonesense in the form:
...
ifconfig IF ether WHATEVER -alias
PR: 42544
Submitted by: Mike Makonnen <makonnen@pacbell.net>
2002-10-02 02:17:59 +00:00
Dima Dorfman
99253b64fb
Correct the exports(5) example to use -ro in the paragraph that talks
...
about how exporting / and /usr works even if they're read-only.
PR: 42076
Submitted by: Marco Molteni <molter@tin.it>
2002-10-02 02:07:08 +00:00
Jake Burkholder
f164b09f13
Remove options NO_MODULES=true. Lots of modules build, but may not load
...
or work properly. MAC modules work at least :).
2002-10-02 01:33:50 +00:00
Dima Dorfman
2ca85e3d5e
In a diskless setup, rc.d/initdiskless may overwrite parts of /etc on
...
a per-machine or per-cluster (with different ways of expressing what's
part of a cluster) basis. In order for this to be effective, rc.conf
has to be reread after initdiskless is finished. Implement this by
adding a hook to etc/rc which rereads rc.conf by request. This can
also be implemented by renaming initdiskless to initdiskless.sh and
sourcing rc.conf there manually, but it was decided that, that would
be uglier than a hook in etc/rc.
Developed in concert with: gordon
2002-10-02 00:59:14 +00:00
Dima Dorfman
d427d1cc26
Remove some #if 0'd code. After this, a "make unifdef" here produces
...
no changes (against crypto telnet).
Reviewed by: MD5
2002-10-02 00:37:01 +00:00
Dima Dorfman
0d7e18c3e1
Merge from crypto telnet: permit the argument to -s to be a hostname.
2002-10-02 00:29:34 +00:00
Dima Dorfman
ba0f77df7a
Permit the argument to the -s option to be a hostname. I see no
...
reason to restrict this to a numeric address.
PR: 41841
Submitted by: Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>,
Maxim Maximov <mcsi@agava.com>
2002-10-02 00:27:14 +00:00
Dima Dorfman
e9e3b98562
Remove the "special processes" section. It has rotted, and the idea
...
ceased to be useful when the number of "special processes" went from 3
to one per device. I considered replacing it with a "kernel threads"
section, but this seemed like the wrong place for that.
PR: 40969
2002-10-02 00:09:24 +00:00
Dima Dorfman
cb292be1ad
Don't claim to return the fileid which we unloaded. The kernel
...
doesn't do this, and it wouldn't be very useful if it did, since the
caller supplies us with that number.
PR: 41329
Submitted by: Michael Galassi <nerd@xyz.com>
2002-10-01 23:53:51 +00:00
Dima Dorfman
e767e97d74
Correct minor errors in the code examples.
...
PR: 41993
Submitted by: David Lay <dsl@foozle.org>
2002-10-01 23:35:33 +00:00
Dima Dorfman
86b0a4f56e
choosen -> chosen
...
PR: 42962
Submitted by: Scott D Friedemann <sdf@expertune.com>
2002-10-01 23:15:32 +00:00
Dima Dorfman
e9d295bf0b
Actually use the exitstatus value that we maintain.
...
PR: 43562
Submitted by: Marc Olzheim <marcolz@ilse.nl>
2002-10-01 22:59:11 +00:00
Jake Burkholder
17cc43149a
Fix a typo in BGE_BIGENDIAN_INIT.
2002-10-01 22:33:40 +00:00
Poul-Henning Kamp
1878960dc9
Fix two misindents.
...
Spotted by: FlexeLint
2002-10-01 22:27:03 +00:00
Matthew N. Dodd
f72e17e233
Add a field to struct cmn_unit to hold a pointer to the driver's softc.
2002-10-01 22:04:31 +00:00
Alfred Perlstein
91c590034d
make rstat(3) return an 'enum clnt_stat' rather than an 'int' to match
...
the prototype from rstat.x -> rstat.h.
MFC After: 1 day
2002-10-01 22:02:06 +00:00
Poul-Henning Kamp
c2476fafad
Indentation indicates missing braces.
...
Spotted by: FlexeLint
2002-10-01 21:59:46 +00:00
Poul-Henning Kamp
fcd054483a
Fix the same misinitialization of pmap_prefault_pageorder as on i386.
...
Suggeste by: jake
2002-10-01 20:56:29 +00:00
Poul-Henning Kamp
b29d22f94e
The pmap_prefault_pageorder[] array was initialize with wrong values
...
due to a missing comma.
I have no idea what trouble, if any, this may have caused.
Pointed out by: FlexeLint
2002-10-01 20:51:47 +00:00
Tom Rhodes
0237755d1a
Return the ``u''
2002-10-01 20:32:59 +00:00
John Baldwin
a1885c44cf
Whitespace nit.
2002-10-01 20:05:58 +00:00
Poul-Henning Kamp
0a2ece0481
Use the canonical root:operator 0640 for GEOM disk devices.
...
Spotted by: brooks
Sponsored by: DARPA & NAI Labs.
2002-10-01 19:33:09 +00:00
Mitsuru IWASAKI
31db71276a
Don't call INT 12H anymore in boot program.
...
Many recent machine have a broken INT 12H (Get base memory size)
implementation and boot program stops if INT 12H is called.
This commit should solve the problem at very first step of FreeBSD
installation occurred on newer some machines.
Reviewed by: bde, jhb
MFC after: 1 week
2002-10-01 19:31:09 +00:00
Poul-Henning Kamp
c111eed934
Divorce bsd disklabels, IBM PC MBR's and whatever the things are
...
called on NEC PC98 machines.
Sponsored by: DARPA & NAI Labs.
2002-10-01 19:29:19 +00:00
Jake Burkholder
aa98088877
Moved the cam and cd9660 modules to the MI list. Don't build msdosfs or
...
syscons on sparc64; msdosfs will likely never work, syscons needs work.
2002-10-01 19:05:18 +00:00
Poul-Henning Kamp
2fcf0b5c37
Don't restrict device drivers ability to sleep in the ioctl method, this
...
is actually entirely legal.
Do bio's with ioctls in them in a g_call_me() function.
Sponsored by: DARPA & NAI Labs
2002-10-01 18:42:32 +00:00
Alfred Perlstein
0c96d7c634
Add prototypes for rstat(3) and havedisk(3).
...
Requested by: kris, Emil Mikulic <emikulic@optushome.com.au>
MFC After: 1 day
2002-10-01 17:59:53 +00:00
Archie Cobbs
42b3e574e6
Fix spelling error; say what "UTS" stands for.
...
Noticed by: ru
2002-10-01 17:50:44 +00:00
Archie Cobbs
bc0a9fcb45
Fix cut&paste error: "tm_spare" should have been "km_spare".
...
Noticed by: ru
2002-10-01 17:47:44 +00:00
Poul-Henning Kamp
3f8322d6b8
Remove a comma trailing an if clause.
...
According to Kirk: "Luckily, the statement is usually true".
Spotted by: FlexeLint
2002-10-01 17:31:28 +00:00
Juli Mallett
e8a58a8362
Ressurect libkvm use of the bitmasked signal list in the kernel, now that
...
reliable signal queues are gone.
2002-10-01 17:17:32 +00:00
Juli Mallett
1d9c56964d
Back our kernel support for reliable signal queues.
...
Requested by: rwatson, phk, and many others
2002-10-01 17:15:53 +00:00
Jake Burkholder
689cd8eeb8
Convert the bus space accessors from macros to inlines. This fixes some
...
problems with drivers that expect functions rather than function like
macros.
Reviewed by: tmm
2002-10-01 16:32:09 +00:00
John Baldwin
feb2449610
Minor style nits in a comment.
2002-10-01 15:49:32 +00:00
Poul-Henning Kamp
8d3574c7a4
Fix some harmless mis-indents.
...
Spotted by: FlexeLint
2002-10-01 15:48:31 +00:00
Maxim Sobolev
c12958c403
Add quirks for DaisyTechnology PhotoClip camera.
...
Submitted by: Olexander Kunitsa <kunia@istc.kiev.ua>
MFC after: 3 days
2002-10-01 15:42:04 +00:00
Poul-Henning Kamp
328048bc56
Remember to include "opt_devfs.h" so we get any relevant changes
...
to NDEVFSINO before we include devfs.h.
Spotted by: FlexeLint
2002-10-01 15:24:35 +00:00
Søren Schmidt
94ec75ef27
Misc cleanups.
...
Pointed out by: phk/flexelint
2002-10-01 15:21:57 +00:00
Søren Schmidt
26cc243d90
Add yet another Promise PCI id.
2002-10-01 15:21:09 +00:00
John Baldwin
6cae6dacd5
Various style fixups.
...
Submitted by: bde (mostly)
2002-10-01 14:16:50 +00:00
John Baldwin
f6ccde8308
Actually clear PS_XCPU in ast() when we handle it.
...
Submitted by: bde
Pointy hat to: jhb
2002-10-01 14:13:13 +00:00
John Baldwin
1d56414515
- Adjust comment noting that handling of CPU limit exhaustion is done in
...
ast().
- Actually set KEF_ASTPENDING so ast() is called. I think this is buggy
for a process with multiple KSE's in that PS_XCPU is not a KSE event,
it's a process-wide event. IMO there really should probably be two
ASTPENDING flags, one for per-process, and one for per-KSE.
Submitted by: bde
2002-10-01 14:10:08 +00:00
Poul-Henning Kamp
c2b6013026
It is too much work convincing lint why we would want empty structures,
...
so make the non-empty #ifdef lint.
2002-10-01 14:08:08 +00:00
Poul-Henning Kamp
0d5858f265
Use long long to indicate 64bitness in #ifdef lint.
2002-10-01 14:07:18 +00:00
Poul-Henning Kamp
e9a848359b
Include <sys/diskmbr.h> instead of <sys/disklabel.h>
...
Sponsored by: DARPA & NAI Labs.
2002-10-01 14:05:06 +00:00
Poul-Henning Kamp
7e9bac35e2
A more lint friendly #ifdef lint section.
2002-10-01 14:01:58 +00:00
Bruce Evans
4fb133adea
Changed "file system" back to "filesystem" in the usage message. English
...
rules don't apply to tokens that are supposed to represent single args.
This was only fixed in the man page.
Fixed other differences between the man page and the usage message (1
formatting bug and 1 syntax bug).
2002-10-01 13:44:15 +00:00