| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Handle that malloc may return NULL.
NetBSD Rev. 1.8
Reviewed by: phk
Obtained from: NetBSD
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
is finished. This fixes clients doing two RPCs over the
same connection at the same time. Without this fix, we
could end with a reply to old data.
Submitted by: Frank van der Linden <fvdl@netbsd.org>
Reviewed by: rwatson
Obtained from: NetBSD
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
the sabtty device to create its description so that they will be
unique for machines with multiple sab chips.
This fixes a panic on machines with an rsc card.
Tested by: obrien (e250)
|
| | |
| | |
| | |
| | |
| | | |
PR: 47170
Submitted by: Gary W. Swearingen <swear@attbi.com> (original version)
|
| | |
| | |
| | |
| | |
| | |
| | | |
this return an error.
This re-enables display of the first entry in /var/account/acct instead
of the error "lastcomm: /var/account/acct: Invalid argument"
|
| | |
| | |
| | |
| | | |
out from BOOTMFS to the drivers floppy.
|
| | |
| | |
| | |
| | | |
Submitted by: "Peter Edwards" <pmedwards@eircom.net>
|
| | |
| | |
| | |
| | | |
instead of just using the rest of the line behind the first field.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
PR: i386/41915
Submitted by: Ross A. Lippert <ripper@eskimo.com>
MFC after: 1 week
|
| | |
| | |
| | |
| | |
| | |
| | | |
seeing and the memory barrier isn't needed with the bridges we're using.
Fix the function style however.
|
| | |
| | |
| | |
| | | |
are sorted by product id).
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Properly handle the newer Promise SuperSwap 1000 enclosures.
Print out what kind of enclosure was found in the probe.
Misc cleanups in the enclosure handling code.
Sponsored by: Advanis Inc.
|
| | |
| | |
| | |
| | |
| | |
| | | |
MDIOCLIST ioctl instead.
Spotted by: keramida
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
devices.
We use the md_pad[] array and if there are more units than its size the
last returned unit number will be -1, but the number of units returned
is correct.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
it doesn't interfere with the user's redirections.
PR: 47136
MFC after: 1 week
|
| | |
| | |
| | |
| | | |
keramida, and all seems well.
|
| | |
| | |
| | |
| | | |
u_int*_t -> uint*_t to conform more closely with C99.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
PR: 46439
Submitted by: Dan Lukes <dan@obluda.cz>
Approved by: re (murray)
Tested? yes
MFC: 1 day
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
name of the device that it creates. Update /etc/ttys accordingly.
An alias is created for the old name so that old /etc/ttys will continue to
work, but due to aliases being implemented as symlinks in devfs you cannot
login as root when using the alias device.
Discussed with: grehan
|
| | |
| | |
| | |
| | | |
Pointy hat to: benno
|
| | | |
|
| | |
| | |
| | |
| | | |
Forgotten by: davidxu
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
(previous variant return NULL pointer for both empty file case and error case,
so caller can't sense error properly).
It not affect existen programs because property_find() now returns NULL
for both NULL pointer and NULLified struct.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
we even have a PR about it.
PR: 47388
Discussed with: bmah
Requested by: many
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
get it from the fs structure. Really libufs should have interfaces to generate
both what we export, and what we import, based on eachother, and this should
be full of redundant code to make sure everything is right... But really, we
don't even deal with checksums, so plenty of room to improve.
|
| | |
| | |
| | |
| | |
| | | |
two cases that existed before for performance optimization purposes can
be reduced to one.
|
| | |
| | |
| | |
| | |
| | |
| | | |
statclock_process() changed arguments.
note: it may be worth checking if curkse is needed on these architectures..
(and if so, why?)
|
| | |
| | |
| | |
| | | |
Pointy hat to: davidxu
|
| | |
| | |
| | |
| | | |
not kg_kses which is not changed when a group is still working.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
about it.
|
| | |
| | |
| | |
| | | |
Reviewed by: phk
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
FreeBSD, and makes ugly diffs with the other crt1.c's. Leave
behind a comment (words supplied by Thomas Moestl) that explain
the issue.
OK'ed by: tmm
|
| | |
| | |
| | |
| | | |
Reviewed by: jeff
|
| | |
| | |
| | |
| | |
| | |
| | | |
to fiddle the disk we can get away with it.
Try to use DIOCBSDBB to write boot code.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
labeled disk.
This is complicated by the fact that BBSIZE is greater than the
PAGE_SIZE limit ioctl inflicts on arguments which are automatically
copied in.
As long as we don't need access to userland memory (copyin/out) we
can deal with the ioctl using g_callme() which executes it from the
GEOM event thread.
Once we need copyin/out, we need to return the bio with EDIRIOCTL
in order to make geom_dev call us back in the original process context
where copyin will work.
Unfortunately, that results in us getting called with Giant, so
we have to DROP_GIANT/PICKUP_GIANT around the code where we diddle
GEOMs internals.
Sometimes you just can't win...
... But it does make geom_bsd.c an almost complete example of the
GEOM beastiarium.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Make it compile for the SMP case..
statclock_process() has changed prototypes.
|
| | |
| | |
| | |
| | | |
Submitted by: Andreas Kohn <andreas.kohn@gmx.net> (via -STABLE)
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
PR: standards/45274
Submitted by: Craig Rodrigues <rodrigc@attbi.com>
|