| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
POSIX requires this and it is simpler than the previous code that remembered
command locations when appending directories to PATH.
In particular,
PATH=$PATH
is no longer a no-op but discards all cached command locations.
|
|
|
|
|
|
|
|
|
|
| |
If execve() returns an [ENOEXEC] error, check if the file is binary before
trying to execute it using sh. A file is considered binary if at least one
of the first 256 bytes is '\0'.
In particular, trying to execute ELF binaries for the wrong architecture now
fails with an "Exec format error" message instead of syntax errors and
potentially strange results.
|
|
|
|
|
| |
2) Mass update to all copyrights.
MFC after: 3 Months
|
| |
|
|
|
|
|
|
|
| |
accidentally dereferencng it and might be one fewer things to change
if arm64 happens...
Submitted by: rwatson's question on irc...
|
|
|
|
|
|
|
|
|
|
| |
These are called "shell procedures" in the source.
If execve() failed with [ENOEXEC], the shell would reinitialize itself
and execute the program as a script. This requires a fair amount of code
which is not frequently used (most scripts have a #! magic number).
Therefore just execute a new instance of sh (_PATH_BSHELL) to run the
script.
|
|
|
|
| |
Reported by: arundel
|
|
|
|
|
| |
vm_pindex_t, it makes no sense for its callers to perform atop(). Let
vm_object_shadow() do that instead.
|
|
|
|
|
|
| |
made the neccessary provisions.
Reported by: arundel
|
|
|
|
|
|
|
|
|
|
| |
When the basehome does not exist, it creates all intermediate directories as
required, which is logically equivalent to mkdir(1) with -m and -p options.
However, it modifies all intermediate directories, not just the final home
directory unlike mkdir. This problem was introduced in two revisions, i.e.,
r1.59 (SVN r167919) and r1.60 (SVN r168044).
MFC after: 1 month
|
|
|
|
|
| |
Submitted by: arundel
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
controller in question generates frames with bad IP checksum value
if packets contain IP options. For instance, packets generated by
ping(8) with record route option have wrong IP checksum value. The
controller correctly computes checksum for normal TCP/UDP packets
though.
There are two known RTL8168/8111C variants in market and the issue
I observed happened on RL_HWREV_8168C_SPIN2. I'm not sure
RL_HWREV_8168C also has the same issue but it would be better to
assume it has the same issue since they shall share same core.
RTL8102E which is supposed to be released at the time of
RTL8168/8111C announcement does not have the issue.
Tested by: Konstantin V. Krotov ( kkv <> insysnet dot ru )
|
|
|
|
|
|
|
|
|
|
|
|
| |
This matches the constants from <signal.h> with 'SIG' removed, which POSIX
requires kill and trap to accept and 'kill -l' to write.
'kill -l', 'trap', 'trap -l' output is now upper case.
In Turkish locales, signal names with an upper case 'I' are now accepted,
while signal names with a lower case 'i' are no longer accepted, and the
output of 'killall -l' now contains proper capital 'I' without dot instead
of a dotted capital 'I'.
|
|
|
|
|
|
|
|
| |
printf() to output some information before a panic, just include that
information in the panic.
Submitted by: bde
Reviewed by: bde
|
|
|
|
|
|
|
|
|
| |
it should be power of 2. This prevents non-aligned access while
probing vdev's labels.
PR: kern/147852
Reviewed by: pjd
MFC after: 1 week
|
|
|
|
| |
Submitted by: Pedro F. Giffuni giffunip at yahoo
|
|
|
|
|
|
| |
and remove a duplicate hash lookup.
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
any pending data if the connection is established.
Submitted by: csjp
Reviewed by: lstewart
MFC after: 1 week
|
|
|
|
|
|
|
| |
TASKQUEUE_DEFINE macros. All the places that use these macros to create
taskqueues assume that the operation succeeds.
MFC after: 1 week
|
|
|
|
|
|
| |
2) Fix it so INIT's don't always end up on CPU0
MFC after: 3 months
|
|
|
|
|
| |
Requested by: jmallett, imp
Approved by: kib (mentor)
|
| |
|
| |
|
| |
|
|
|
|
| |
Do not return 2 for errors other than [EACCES] or [ENOENT].
|
|
|
|
|
|
| |
From Robin Seggelmann.
MFC after: 3 months.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This isn't strictly required to TX (at least non-agg and non-HT40,
non-short-GI) frames; but as it needs to be done anyway, just get
it done.
Linux ath9k uses the rate scenario style path for -all- packets,
legacy or otherwise. This code does much the same.
Beacon TX still uses the legacy, non-rate-scenario TX descriptor
setup. Ath9k also does this.
This 11n rate scenario path is only called for chips in the AR5416
HAL; legacy chips use the previous interface for TX'ing.
|
|
|
|
|
|
|
|
|
|
|
|
| |
A-MPDU RX interferes with packet retransmission/reordering.
In local testing, I was seeing A-MPDU being negotiated and then
not used by the AP sending frames to the STA; the STA would then
treat non A-MPDU frames that are retransmits as out of the window
and get plain confused.
The hardware RX status descriptor has a "I'm part of an aggregate"
bit; so this should eventually be tested and then punted to the
A-MPDU reorder handling only if it has this bit set.
|
|
|
|
|
|
| |
exisiting associations and endpoints.
MFC after: 3 months.
|
|
|
|
|
|
|
| |
2) Some signed/unsigned errors found by Mac OS compiler (from Michael)
3) a couple of copyright updates on the effected files.
MFC after: 3 months
|
|
|
|
|
|
| |
Submitted by: Mykhaylo Yehorov
PR: usb/153929
Approved by: thompsa (mentor)
|
|
|
|
|
|
|
|
| |
get properties from the parent. The parent is in fact the FDT bus
itself and will therefore not have the properties we're looking
for.
Sponsored by: Juniper Networks
|
|
|
|
|
|
| |
This provides backward compatibility with Juniper loaders.
Sponsored by: Juniper Networks
|
| |
|
|
|
|
|
|
|
| |
r90944, which introduced a general mechanism for handling the freeing
of held pages.
Reviewed by: kib@
|
|
|
|
| |
priority for the periodic polling of the machine check registers.
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) They don't use the giant "MAX_CPU" define and instead
are allocated dynamically based on mp_ncpus
2) Will zero with the netstat -z -s -p sctp
3) Will be properly handled by both the sctp_init and finish
(the multi-net stuff was incorrectly bzero'ing in sctp_init
the wrong size.. the bzero is now moved to the right places).
And of course the free is put in at the very end.
MFC after: 3 Months
|
|
|
|
|
|
|
|
|
| |
worker can ask the main privileged process to connect in worker's behalf
and then we can migrate descriptor using this socketpair to worker.
This is not really needed now, but will be needed once we start to use
capsicum for sandboxing.
MFC after: 1 week
|
|
|
|
|
|
| |
in r214692.
MFC after: 1 week
|
|
|
|
|
|
| |
anything.
MFC after: 1 week
|
|
|
|
|
|
| |
We don't want to log this in hastctl.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
threads. These serve as input threads and are queued
packets based on the V-tag number. This is similar to
what a modern card can do with queue's for TCP... but
alas modern cards know nothing about SCTP.
MFC after: 3 months (maybe)
|
|
|
|
| |
the panic ever occur.
|
|
|
|
|
|
|
|
|
|
| |
make use of the aac_ioctl_event callback, if aac_alloc_command fails. This
can end up in an infinite loop in the while loop in aac_release_command.
Further investigation into the issue mentioned by Scott Long [1] will be
necessary.
[1] http://lists.freebsd.org/pipermail/freebsd-current/2007-October/078740.html
|
|
|
|
| |
TGTS rule as _MAKE is used elsewhere. This should fix make world.
|
| |
|
| |
|
| |
|
| |
|