| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
struct passwd. This is not the case when sizeof(unsigned long) !=
sizeof(time_t). Write a dinky function to do the assignment instead
of relying on the punning. This does slow things down a little (1
extra function call, 11 pointer or int assignments), but is much safer
and machines have been fast enough since the mid 1990s that nobody
will notice the difference.
time_t is a 64-bits int on arm and mips. Before this change, arm was
silently broken. I guess there aren't that many ARM machines running
master YP domain servers. :)
The client side doesn't assume this type punning, so it doesn't need
to be fixed.
|
|
|
|
|
| |
Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
| |
This code can be gotten from change history here and it's
more than likely our implementation will differ significantly
because of VIMAGE and SMPng.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Retire the old 'ifmcstat <kernel>' usage.
* Print AF_LINK records even if run against KVM.
This makes the KVM backend consistent with the sysctl backend.
* Suppress printing of link-layer group records by default.
* Add a -v switch to allow link-layer groups to be printed.
* If compiled without INET6 support, actually work.
* If compiled with INET6 support, print the scope ID of
all IPv6 addresses in both backends.
* Update man page.
* Update copyrights.
With this change, it is now reasonable to retire netstat -g.
Most of the SSM related gunk in this file will require later refactoring.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
to print the network-layer endpoint address of the
group membership, rather than its link-layer mapping
as intended.
The KVM path is not affected.
MFC after: 1 week
|
|
|
|
| |
Submitted by: Christoph Mallon
|
| |
|
| |
|
| |
|
|
|
|
| |
this since 5.x.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add two new functions to the libusb20 API and required kernel ioctls.
- libusb20_dev_get_iface_desc
- libusb20_dev_get_info
New command to usbconfig, "show_ifdrv", which will print out the kernel driver
attached to the given USB device aswell.
See "man libusb20" for a detailed description.
Some minor style corrections long-line wrapping.
Submitted by: Hans Petter Selasky
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Just like the old TTY layer, the current MPSAFE TTY layer does not make
any attempt to serialize calls of write(). Data is copied into the
kernel in 256 (TTY_STACKBUF) byte chunks. If a write() call occurs at
the same time, the data may interleave. This is especially likely when
the TTY starts blocking, because the output queue reaches the high
watermark.
I've implemented this by adding a new flag, TTY_BUSY_OUT, which is used
to mark a TTY as having a thread stuck in write(). Because I don't want
non-blocking processes to be possibly blocked by a sleeping thread, I'm
still allowing it to bypass the protection. According to this message,
the Linux kernel returns EAGAIN in such cases, but I think that's a
little too restrictive:
http://kerneltrap.org/index.php?q=mailarchive/linux-kernel/2007/5/2/85418/thread
PR: kern/118287
|
| |
|
|
|
|
| |
globally defined.
|
|
|
|
|
|
|
|
|
|
| |
so that:
config -x <kernel> | grep <something>
just works.
Reported by: Danny Braniss <danny@cs.huji.ac.il>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When we leave the console TTY constantly open, we never reset the
termios attributes. This causes output processing, echoing, etc. not to
be reset to the proper values when going into single user mode after the
system has booted. It also causes nl-to-crnl-conversion not to take
place during shutdown, which causes a `staircase effect'.
This patch adds a new TTY flag, TF_OPENED_CONS, which is set when the
TTY is opened through /dev/console. Because the flags are only used by
the kernel and the pstat(8) utility, I've decided to renumber the TTY
flags. This shouldn't be an issue, because the TTY layer is not yet part
of a stable release.
Reported by: Mark Atkinson <atkin901 yahoo com>
Tested by: sepotvin
|
|
|
|
| |
MFC after: 1 month
|
|
|
|
|
|
|
|
|
| |
video streams from cameras.
This patch changes the displayed timer to a time stamp and corrects
one or two mishandled errors.
Submitted by: imp
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
device. The details include the current value of the BAR (including all
the flag bits and the current base address), its length, and whether or not
it is enabled. Since this operation is not invasive, non-root users are
allowed to use it (unlike manual config register access which requires
root). The intention is that userland apps (such as Xorg) will use this
interface rather than dangerously frobbing the BARs from userland to
obtain this information.
- Add a new sub-mode to the 'list' mode of pciconf. The -b flag when used
with -l will now list all the active BARs for each device.
MFC after: 1 month
|
|
|
|
| |
MFC after: 1 month
|
|
|
|
|
| |
Obtained from: NetBSD
MFC after: 1 month
|
|
|
|
| |
checking validity of segment two.
|
|
|
|
| |
Discovered by: "Dewayne Geraghty" <dewayne.geraghty@heuristicsystems.com.au>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This ensures that the value written is both compatible with
older mtree versions (which expect the value after the period
to be an integer count of nanoseconds after the whole second)
and is a correct floating-point value.
Leave the parsing code unchanged so it will continue to read
older files.
|
|
|
|
|
|
|
|
| |
Bluetooth Network Access Point (NAP), Group Ad-hoc Network (GN) and
Personal Area Network User (PANU) profiles.
Obtained from: NetBSD
MFC after: 1 month
|
|
|
|
|
| |
PR: docs/129400
Submitted by: Gavin Atkinson <gavin@freebsd.org>
|
|
|
|
| |
rejected as invalid.
|
| |
|
|
|
|
|
|
|
| |
devices on the bus.
Reviewed by: bms, stas
Obtained from: Semihalf
|
|
|
|
| |
MFC after: 2 week
|
|
|
|
|
|
| |
per address family and add a reference to the ip-addresses option.
MFC after: 1 week
|
| |
|
|
|
|
|
| |
Submitted by: pluknet@gmail.com
MFC after: 1 week
|
|
|
|
|
|
|
| |
in BUGS, as this is a feature.
Bump the date, as it was forgotten in previous commits and the
page has had significant changes recently
|
|
|
|
|
|
|
| |
Fix a typo.
Reported by Alexander Best.
Submitted by: Hans Petter Selasky
|
|
|
|
|
|
|
| |
Make printout more informative. Reported by:
Volker
Submitted by: Hans Petter Selasky
|
|
|
|
|
| |
output from make(1) and its picky what it should look like.
Also use make's conditional assignment operator rather than test and set.
|
| |
|
|
|
|
|
|
|
|
| |
mountand jail-aware file systems as well as quota.
PR: kern/68192
Reviewed by: simon
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
|
|
| |
Correct some minor whitespace in the ae(4) entry.
Reported by: Mars G Miro
Approved by: rwatson (mentor)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o add net80211 support for a tdma vap that is built on top of the
existing adhoc-demo support
o add tdma scheduling of frame transmission to the ath driver; it's
conceivable other devices might be capable of this too in which case
they can make use of the 802.11 protocol additions etc.
o add minor bits to user tools that need to know: ifconfig to setup and
configure, new statistics in athstats, and new debug mask bits
While the architecture can support >2 slots in a TDMA BSS the current
design is intended (and tested) for only 2 slots.
Sponsored by: Intel
|
| |
|
|
|
|
|
|
|
|
| |
- convert to .Ex macro
- not bumping a date as this is not a real content change
Approved by: ru [1]
MFC after: 3 days
|
|
|
|
|
|
|
| |
- not bumping a date as this is not a real content change
Approved by: ru
MFC after: 3 days
|
|
|
|
|
|
|
| |
- not bumping a date as this is not a real content change
Approved by: ru
MFC after: 3 days
|
|
|
|
|
|
|
| |
- not bumping a date as this is not a real content change
Approved by: ru
MFC after: 3 days
|