| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
RFC 2553. In XNS5.2, and subsequently in POSIX-2001 and RFC
3493, it was changed to a socklen_t. And, the n_net of a
struct netent used to be an unsigned long integer. In XNS5,
and subsequently in POSIX-2001, it was changed to an uint32_t.
To accomodate for this while preserving ABI compatibility with
the old interface, we need to prepend or append 32 bits of
padding, depending on the (LP64) architecture's endianness.
- Correct 1st argument of getnetbyaddr() to uint32_t on 32
bit arch. Stay as is on 64 bit arch for ABI backward
compatibility for now.
Reviewed by: das, peter
MFC after: 2 weeks
|
|
|
|
| |
their [Manufacturer] sections.
|
|
|
|
|
| |
Noticed by: stefanf
Reviewed by: diff(1)
|
| |
|
|
|
|
|
| |
table on the pc98 console.
- Remove old epson note support.
|
|
|
|
|
| |
color on the pc98 and the others.
- Remove old epson note support.
|
| |
|
| |
|
| |
|
|
|
|
| |
o -x option added.
|
|
|
|
|
|
|
|
|
| |
after that many values have been printed. The line length is not
considered anymore.
o Add option -x. The -x option will cause the byte values to be
printed in hexadecimal instead of decimal.
o Bump WARNS to 6.
o Update the manpage accordingly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Ralink RT2500 driver uses this API instead of NdisMIndicateReceivePacket().
Drivers use NdisMEthIndicateReceive() when they know they support
802.3 media and expect to hand their packets only protocols that want
to deal with that particular media type. With this API, the driver does
not manage its own NDIS_PACKET/NDIS_BUFFER structures. Instead, it
lets bound protocols have a peek at the data, and then they supply
an NDIS_PACKET/NDIS_BUFFER combo to the miniport driver, into which
it copies the packet data.
Drivers use NdisMIndicateReceivePacket() to allow their packets to
be read by any protocol, not just those bound to 802.3 media devices.
To make this work, we need an internal pool of NDIS_PACKETS for
receives. Currently, we check to see if the driver exports a
MiniportTransferData() method in its characteristics structure,
and only allocate the pool for drivers that have this method.
This should allow the RT2500 driver to work correctly, though I
still have to fix ndiscvt(8) to parse its .inf file properly.
Also, change kern_ndis.c:ndis_halt_nic() to reap timers before
acquiring NDIS_LOCK(), since the reaping process might entail sleeping
briefly (and we can't sleep with a lock held).
|
|
|
|
|
| |
kernel it is being compiled against and subsequently enable using BPF for
packet matching in ipf rules.
|
|
|
|
|
|
|
|
|
| |
In particular 2 missed return values and an inappropriate bcopy from
a possibly NULL pointer.
Reviewed by: jake
Approved by: rwatson
MFC after: 1 week
|
|
|
|
| |
- Xref pfsync(4)
|
|
|
|
|
|
|
|
|
| |
suppresion counter, decrease the latter. [1]
- Add sysctl to monitor preemption suppression.
PR: kern/80972 [1]
Submitted by: Frank Volf [1]
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
| |
analogous to chmod(1)'s -h. It allows setting flags on symbolic links,
which *do* exist in 5.x+ despite a claim to the contrary in the
chflags(1) man page.
Suggested by: Chris Dillon
|
|
|
|
|
|
|
|
|
|
| |
Reviewed by: rwatson at freebsd dot org
Approved by: rwatson at freebsd dot org
MFC after: 1 week
Fix the matchlen() function so that it handles the IPv4 (AF_INET)
case correctly. Until now it has been treating IPv4 addresses
as if they were IPv6 which could lead to corruption errors.
|
|
|
|
|
|
| |
world (there is no /kernel file anymore).
Reminded by: Isaac Levy presentation
|
|
|
|
|
|
|
|
|
| |
return the buffer immediately. This will permit ssh and/or PAM logins
broken by previous commit.
The (potential) underlying problem is still under investigation.
Point hat to: me
|
| |
|
| |
|
|
|
|
|
|
| |
- Use isa/isareg.h rather than <arch>/isa/isa.h.
Tested on: i386, pc98
|
|
|
|
|
| |
declarations are in one place, to improve readability.
No functional changes.
|
|
|
|
|
|
|
|
|
|
|
| |
- ng_getqblk() simply runs uma_zalloc().
- ng_free_item() simply frees.
- ngq_mtx is pushed down under NETGRAPH_DEBUG.
- NGQF_FREE is removed.
Increase default maxalloc to 512.
Reviewed by: julian
|
|
|
|
|
|
|
|
|
| |
i8253reg.h, and add some defines to control a speaker.
- Move PPI related defines from i386/isa/spkr.c into ppireg.h and use them.
- Move IO_{PPI,TIMER} defines into ppireg.h and timerreg.h respectively.
- Use isa/isareg.h rather than <arch>/isa/isa.h.
Tested on: i386, pc98
|
| |
|
|
|
|
| |
and giving advice on importing future releases.
|
|
|
|
| |
Obtained from: Fedora (Tim Waugh)
|
|
|
|
|
|
| |
environment variable overrides.
Obtained from: Fedora (Tim Waugh)
|
|
|
|
|
|
| |
multibyte input (RH bug #143079).
Obtained from: Fedora (Jakub Jelinek, Tim Waugh)
|
|
|
|
|
|
|
| |
among other things.
PR: 79063
Obtained from: Fedora (Tim Waugh)
|
|
|
|
| |
Obtained from: Karsten Hopp via Fedora
|
|
|
|
|
|
| |
VM_LOCK_GIANT.
Discussed with: jeff
|
|
|
|
|
|
| |
(RH bug #138558). Removed bogus part of grep-2.5.1-fgrep patch.
Obtained from: Fedora (Jakub Jelinek, Tim Waugh)
|
|
|
|
| |
Obtained from: Fedora (Tim Waugh)
|
|
|
|
| |
Obtained from: Fedora (Tim Waugh)
|
|
|
|
| |
to be master-only. The slave ATAPI drive on the Mac-Mini is now recognised.
|
|
|
|
|
|
|
|
| |
__sglue, not a definition.
PR: 80378
Submitted by: John Engelhart <johne@zang.com>
MFC after: 1 week
|
|
|
|
| |
Reviewed by: des
|
| |
|
|
|
|
|
|
|
|
|
| |
real next hole to retransmit from the scoreboard, caused by a bug
which did not update the "nexthole" hint in one case in
tcp_sack_option().
Reported by: Daniel Eriksson
Submitted by: Mohan Srinivasan
|
| |
|
|
|
|
|
| |
Forgotten by: me
Reminded by: mezz
|
| |
|
|
|
|
| |
Reviewed by: gad
|
|
|
|
|
| |
NI_WITHSCOPEID, and our getaddrinfo(3) does nothing special
for it, now.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
different from what has been offered in libc_r (the one spotted in the
original PR which is found in libthr has already been removed by David's
commit, which is rev. 1.44 of lib/libthr/thread/thr_private.h):
- Use POSIX standard prototype for ttyname_r, which is,
int ttyname_r(int, char *, size_t);
Instead of:
char *ttyname_r(int, char *, size_t);
This is to conform IEEE Std 1003.1, 2004 Edition [1].
- Since we need to use standard errno for return code, include
errno.h in ttyname.c
- Update ttyname(3) implementation according to reflect the API
change.
- Document new ttyname_r(3) behavior
- Since we already make use of a thread local storage for
ttyname(3), remove the BUGS section.
- Remove conflicting ttyname_r related declarations found in libc_r.
Hopefully this change should not have changed the API/ABI, as the ttyname_r
symbol was never introduced before the last unistd.h change which happens a
couple of days before.
[1] http://www.opengroup.org/onlinepubs/009695399/functions/ttyname.html
Requested by: Tom McLaughlin <tmclaugh sdf lonestar org>
Through PR: threads/76938
Patched by: Craig Rodrigues <rodrigc crodrigues org> (with minor changes)
Prompted by: mezz@
|
| |
|