| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
static in its prototype, mark it static at the definition too.
Inspired by: FlexeLint warning #512
|
|
|
|
|
|
|
|
| |
to gid conversion).
PR: 43455
Submitted by: n-kogane@syd.odn.ad.jp
X-MFC after: immediately if re@ permits, or after 4.7-RELEASE is out
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
| |
Don't use zero-dimension array in struct pargs.
Comma after the last element of an enum doesn't make sense.
|
|
|
|
| |
have specified in the design.
|
|
|
|
|
|
|
| |
of g_clone_bio().
Detected by: http://www.gimpel.com/html/flex.htm
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
| |
Although there was nothing wrong with getwc() and putwc(), getwchar()
and putwchar() assumed that <stdio.h> had been included before <wchar.h>,
which is not allowed by the standard.
|
|
|
|
| |
structure, not the copied section.
|
|
|
|
|
|
| |
we don't use them in termcap already many years.
Add "su" as alias to "dumb" to help login, with comment.
|
|
|
|
| |
better reflect how they are called.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
sparc v9 ABI. The Elf_Rela records for local symbols appear to already
have the symbol's value added in to the addend field, even though the ABI
specifies we need to lookup the symbol and add its value too. This breaks
text relocations in klds because the symbol's value is added twice, and
the resulting address points off into nowhere land, so for now just use
the addend.
Tested by: rwatson
|
|
|
|
|
| |
statement. This ensures that debug code doesn't trigger if
it isn't enabled. <blush>
|
|
|
|
|
|
| |
Fix a couple of reference data which were found to be in error.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
| |
on the Argosy SP-320 dual-port async PCcard.
An amazing piece of hardware seen from an ISO9000 point of view.
|
| |
|
|
|
|
|
|
|
| |
The advanced stage of computer assisted hardware design and
verification is aptly illustrated by the fact that this is necessary
because only the first ports in a single-chip, dual-port async
PC-Card product lacks this register.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that this will make people use this for their future copy&paste operations.
Rework the detection of raw-disk offsets in disklabels. This actually
unearthed a number of bugs in the (now) previous version.
Also accept labels which don't have a magic RAW_PART, provided they don't
confuse us too much.
Change the order of our sanity-checks on labels found on disks to be more
robust.
Check against MAXPARTITIONS in our sanity-check and reject disklabels
we cannot cope with.
Create new g_bsd_modify() function to implment disklabel modifying
ioctls.
Implement DIOCSDINFO and DIOCWDINFO with the provision that the latter
still not writes your change back to disk. I didn't have the nerves
for that yet.
In the start routine, use g_call_me() for complex ioctls to prevent
sleeping.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
|
|
|
| |
with support for trying, doing and forcing.
This will eventually replace g_slice_addslice() which gets changed from
grabbing topology to requing it in this commit as well.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
|
|
|
|
| |
work.
This prevents people from sleeping in the UP/DOWN I/O path by mistake
or design (doing so almost invariably result in deadlocks since it
stalls all I/O processing in the given direction.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
|
|
|
|
| |
a disklabel modification tries to change an open device, and no
counter-examples exists.
Be less facist about when we can do Setattr, the openmodes of devices
are so loosely managed that the "exclusive" count is almost useless.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
|
|
|
|
|
| |
Add a __unused.
Make the 2byte decoder functions return 16 bits for the benefits
of picky lints.
No need to grab giant around a tsleep() when we have a timeout.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to be performed in the event-thread.
To do this, we need to lock the eventlist with g_eventlock (nee g_doorlock),
since g_call_me() being called from the UP/DOWN paths will not be able to
aquire g_topology_lock.
This also means that for now these events are not referenced on any
particular consumer/provider/geom.
For UP/DOWN path use, this will not become a problem since the access()
function will make sure we drain any bio's before we dismantle.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
| |
of the last commit message.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
| |
get notified to make things settle a bit faster.
Sponsored by: DARPA & NAI Labs.
|
|
|
|
| |
Sponsored by: DARPA & NAI Labs.
|
|
|
|
|
|
| |
fondle /dev/kmem by using "struct cdev *" instead of "dev_t".
Requsted by: jake
|
|
|
|
|
|
|
|
|
| |
space back to disk.
This is wrong in many ways, but not as wrong as a panic.
Pancied on: rwatson & jmallet
Sponsored by: DARPA & NAI Labs.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
that a particular device driver is not Giant-challenged.
SPECFS will DROP_GIANT() ... PICKUP_GIANT() around calls to the
driver in question.
Notice that the interrupt path is not affected by this!
This does _NOT_ work for drivers accessed through cdevsw->d_strategy()
ie drivers for disk(-like), some tapes, maybe others.
|
| |
|
|
|
|
| |
Get rid of trailing white space.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Setting this flag on an ethernet interface blocks transmission of packets
and discards incoming packets after BPF processing.
This is useful if you want to monitor network trafic but not interact
with the network in question.
Sponsored by: http://www.babeltech.dk
|
|
|
|
| |
Agreed on: jake, rwatson, jhb
|
| |
|
| |
|
|
|
|
| |
Reported by: wa1ter@myrealbox.com
|