| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
builtins (e.g., exit, strcmp).
|
|
|
|
|
|
| |
builtins (e.g., exit).
Submitted by: Mike Barcroft <mike@q9media.com>
|
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
Reviewed by: md5(1)
|
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
Reviewed by: md5(1)
|
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
Reviewed by: md5(1)
|
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
Reviewed by: md5(1)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
contained a number of memory leaks. The changes include:
- Add a comment describing what addrmerge() does.
- Deal with 0.0.0.0./::. or AF_LOCAL callers correctly.
- Use rpcbind_get_conf() instead of getnetconfigent() so we don't
have to remember to free the returned netconfig struct.
- Make just one pass through the ifaddrs list; we can pick up a fallback
interface address in the same pass as the netmask comparison.
- Define and use SA2SIN* macros to avoid the need for loads of
protocol-specific local variables.
- Use mostly protocol-independent code for building the netbuf version
of the address to be returned.
- Use the common cleanup code for virtually all error and non-error
cases, fixing a number of memory leaks.
|
|
|
|
|
|
|
|
| |
two dots (like "foo..bar"). 0-length labels are not distinguishable
with multiple name replies.
Obtained from: KAME
MFC after: 10 days
|
|
|
|
|
| |
Obtained from: KAME
MFC after: 10 days
|
|
|
|
| |
MFC after: 10 days
|
|
|
|
|
|
| |
Submitted by: itojun
Obtained from: KAME
MFC after: 10 days
|
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
MFC after: 2 weeks
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
only do getcred calls for sockets which were created in the same jail.
This should allow the ident to work in a reasonable way within jails.
PR: 28107
Approved by: des, rwatson
|
| |
|
| |
|
| |
|
|
|
|
| |
elsewhere.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
people are on track with the cause and effect of this, and although
fixing this severely degenerate case appears to violate the letter of
POSIX.1-200x, Bruce and I (and enough others) agree that it should be
comitted.
So, this patch generates an ENOENT error for any attempt to do a path lookup
through an empty symlink (e.g. open(), stat()).
Submitted by: "Andrey A. Chernov" <ache@nagual.pp.ru>
Reviewed by: bde
Discussed exhaustively on: freebsd-current
Previously committed to: NetBSD 4 years ago
|
|
|
|
| |
Suggested by: takawata
|
|
|
|
|
| |
changed in ACPICA actypes.h.
- Use ACPI_S_STATES_MAX instead of ACPI_STATE_S5.
|
|
|
|
| |
Obtained from: OpenBSD
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
function has a return type of u_int32_t, into which it was somehow
supposed to encode:
* A valid 32-bit XID (which could be any value including 0).
* 0, meaning a duplicate request.
* -1, meaning a malloc failed (!);
We now ensure that all XIDs are non-zero, and pass the XID out via
a pointer argument.
In forward_find() and free_slot_by_xid(), remove an unnecessary
and confusing test for a negative result from an unsigned modulo
operation, but add an unnecessary cast to highlight why.
|
|
|
|
|
|
|
|
| |
ensure that we never proceed with the mount() syscall if the server
is replying from the wrong source address. Previously the userland
RPC call to the remote nfsd would succeed, but the kernel uses
connect() so it would not see the replies, resulting in a hung
mount.
|
|
|
|
|
|
|
|
|
|
| |
whether or not connect(2) is used for UDP client sockets. The default
is not to connect(), so existing clients will see no change in
behaviour.
The use of connect(2) for UDP clients has a number of advantages:
only replies from the intended address are received, and ICMP errors
pertaining to the connection are reported back to the application.
|
|
|
|
|
|
| |
This fix hazardous very slow work for one of my cards.
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
| |
PR: 27990
Reviewed by: dd, phk
Tested by: dd
MFC after: 2 weeks
|
|
|
|
| |
inform the ac97 code of this.
|
|
|
|
|
|
|
| |
columns. 80 columns + newline is a problem for some terminals including syscons.
Requested by: bde
MFC after: 1 week
|
|
|
|
| |
which is faster.
|
|
|
|
| |
add spls so this code will work on 4.x
|
|
|
|
| |
Submitted by: cwt
|
|
|
|
|
| |
add proper handling of cards which take eapd=1 to mean 'produce sound'
instead of 'external amplifier power down'
|
|
|
|
|
|
| |
For example, ``netstat -s -p ip -z'' will show and reset IP stats.
PR: bin/17338
|
| |
|
|
|
|
|
| |
- Make sure to try hw.ncpu if kern.smp.cpus doesn't exist (i.e. on UP) to
get number of CPUs.
|
|
|
|
| |
getting number of CPUs.
|