summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add back the IP header length to the total packet length field onandre2011-10-071-0/+7
| | | | | | | | | | | | | | raw IP sockets. It was deducted in ip_input() in preparation for protocols interested only in the payload. On raw sockets the IP header should be delivered as it at came in from the network except for the byte order swaps in some fields. This brings us in line with all other OS'es that provide raw IP sockets. Reported by: Matthew Cini Sarreo <mcins1-at-gmail.com> MFC after: 3 days
* Remove an extraneous "already" from a comment introduced by r226081.rmacklem2011-10-071-1/+1
| | | | | Submitted by: bf1783 at googlemail.com MFC after: 3 days
* Add a -x option that causes ssh-agent(1) to exit when all clients havedes2011-10-072-4/+32
| | | | | | disconnected. MFC after: 1 week
* Load the ECDSA key if there is one.des2011-10-072-2/+7
| | | | MFC after: 1 week
* Simply let teken_stress use arc4random.ed2011-10-071-11/+1
| | | | | This makes it run quite a bit faster, since it makes system calls less often.
* Tab should not blank cells.ed2011-10-071-14/+1
| | | | | | | | | | | | It seems I was under the impression that a tab differs from a single forward tabulation, namely that it blanks the underlying cells. This seems not to be the case. They are identical. This should fix applications like jove(1) that use tabs instead of explicit cursor position setting. Reported by: Brett Glass <brett lariat net> MFC after: 3 days, after it's tested
* Change one printf() to log().jonathan2011-10-071-1/+1
| | | | | | | | As noted in kern/159780, printf() is not very jail-friendly, since it can't be easily monitored by jail management tools. This patch reports an error via log() instead, which, if nobody is watching the log file, still prints to the console. Approved by: mentor (rwatson) Submitted by: Eugene Grosbein <eugen@eg.sd.rdtc.ru> MFC after: 5 days
* Merge from r225950:marius2011-10-072-7/+19
| | | | | | Set the sense residual properly. Reviewed by: ken
* Begin implementing correct MIPS24K sampling mode behaviour.adrian2011-10-071-4/+7
| | | | | | | | * Add the interrupt bit in the configuration register * Correctly set the counter register for the sampling overflow interrupt. The interrupt is asserted when bit 31 is set. So set the overflow value at 0x80000000 and subtract the programmed value as appropriate.
* Increase MSGBUF_SIZE.obrien2011-10-071-1/+1
| | | | The previous size lead to truncated /var/run/dmesg.boot when booted with "-v".
* Disallow various debug.kdb sysctl's when securelevel is raised.obrien2011-10-072-9/+20
| | | | PR: 161350
* Work around some behavior of gpart that I absolutely do not understand innwhitehorn2011-10-074-62/+42
| | | | | | | | order to make every operation of the partition editor fully revertable. Under *no circumstances* will it any longer touch the disks until the user presses Finish and confirms it. MFC after: 3 days
* Return proper errno when we hit error when doing sanity check.delphij2011-10-071-4/+22
| | | | | | | | This fixes dtrace crashes when module is not compiled with CTF data. Submitted by: Paul Ambrose ambrosehua at gmail.com MFC after: 1 week
* A crash reported on freebsd-fs@ on Sep. 23, 2011 under the subjectrmacklem2011-10-071-10/+48
| | | | | | | | | | | | | | | | | | | | | heading "kernel panics with RPCSEC_GSS" appears to be caused by a corrupted tailq list for the client structure. Looking at the code, calls to the function svc_rpc_gss_forget_client() were done in an SMP unsafe manner, with the svc_rpc_gss_lock only being acquired in the function and not before it. As such, when multiple threads called svc_rpc_gss_forget_client() concurrently, it could try and remove the same client structure from the tailq lists multiple times. The patch fixes this by moving the critical code into a separate function called svc_rpc_gss_forget_client_locked(), which must be called with the lock held. For the one case where the caller would have no interest in the lock, svc_rpc_gss_forget_client() was retained, but a loop was added to check that the client structure is still in the tailq lists before removing it, to make it safe for multiple concurrent calls. Tested by: clinton.adams at gmail.com (earlier version) Reviewed by: zkirsch MFC after: 3 days
* Use the caculated length instead of maximum length.jkim2011-10-061-2/+2
|
* Remove a now-defunct variable.jkim2011-10-061-16/+15
|
* Use uint32_t instead of u_int32_t. Fix style(9) nits.jkim2011-10-061-10/+9
|
* Make sure to ignore the leading NULL byte from Linux abstract namespace.jkim2011-10-061-2/+10
|
* Restore the original socket address length if it was not really AF_INET6.jkim2011-10-061-16/+19
|
* Retern more appropriate errno when Linux path name is too long.jkim2011-10-061-1/+1
|
* Inline do_sa_get() function and remove an unused return value.jkim2011-10-061-23/+9
|
* Unroll inlined strnlen(9) and make it easier to read. No functional change.jkim2011-10-061-10/+6
|
* Remove no longer needed BUGS section.kib2011-10-061-9/+1
| | | | MFC after: 1 month
* Convert MIPS to the syscallenter/syscallret system call sequence handlers.kib2011-10-064-201/+150
| | | | | | | This was the last architecture used custom syscall entry sequence. Reviewed, debugged, tested and approved by: jchandra MFC after: 1 month
* Fix a typo in a comment.wxs2011-10-061-1/+1
| | | | Approved by: kib@
* Add myself.melifaro2011-10-061-0/+4
| | | | Approved by: kib (mentor)
* For the INP_TIMEWAIT case, there is no valid tcpcb object tied to theattilio2011-10-061-16/+0
| | | | | | | | | | | | inpcb object. Skip the TCP_SIGNATURE check in that case as it is consistent with the output path (no TCP_SIGNATURE for outcoming packets in TIMEWAIT state) and also because for TIMEWAIT state the verify may be less effective. Sponsored by: Sandvine Incorporated Reported by: rwatson No objections by: rwatson MFC after: 3 days
* Move "Exit" to the first entry in the list, so that it is the defaultnwhitehorn2011-10-061-2/+2
| | | | | | | choice. PR: bin/160913 MFC after: 3 days
* Ask if you want to set the keymap before invoking kdbmap to preventnwhitehorn2011-10-061-0/+2
| | | | | | | confusion. PR: bin/160913 MFC after: 3 days
* - Currently, sched_balance_pair() may cause a CPU to send an IPI_PREEMPT tomarius2011-10-061-4/+9
| | | | | | | | | | | | | | | | | | | | itself, which sparc64 hardware doesn't support. One way to solve this would be to directly call sched_preempt() instead of issuing a self-IPI. However, quoting jhb@: "On the other hand, you can probably just skip the IPI entirely if we are going to send it to the current CPU. Presumably, once this routine finishes, the current CPU will exit softlock (or will do so "soon") and will then pick the next thread to run based on the adjustments made in this routine, so there's no need to IPI the CPU running this routine anyway. I think this is the better solution. Right now what is probably happening on other platforms is as soon as this routine finishes the CPU processes its self-IPI and causes mi_switch() which will just switch back to the softclock thread it is already running." - With r226054 and the the above change in place, sparc64 now no longer is incompatible with ULE and vice versa. However, powerpc/E500 still is. Submitted by: jhb Reviewed by: jeff
* - Use atomic operations rather than sched_lock for safely assigning pm_activemarius2011-10-063-27/+129
| | | | | | | | and pc_pmap for SMP. This is key to allowing adding support for SCHED_ULE. Thanks go to Peter Jeremy for additional testing. - Add support for SCHED_ULE to cpu_switch(). Committed from: 201110DevSummit
* Fix build on i386 and arm.delphij2011-10-061-1/+1
| | | | | Tested with: make universe Pointy hat to: delphij
* Upgrade to OpenSSH 5.9p1.des2011-10-0587-1998/+2774
|\ | | | | | | MFC after: 3 months
| * Forgot to remove dead files.des2011-09-285-1247/+0
| |
| * Vendor import of OpenSSH 5.9p1des2011-09-28113-23571/+10836
| |
| * More autoprops damage, compounded by the fact that some source files, fordes2011-09-282-0/+0
| | | | | | | | some reason, had the x bit set in the tarball.
| * Revert autoprops damage.des2011-09-281-1/+1
| |
| * Merge from upstream: #include <netinet/ip.h> before checking for macrosdes2011-05-051-3/+3
| | | | | | | | that it defines.
| * djm released a new 5.8p2 tarball with the correct version number.des2011-05-052-1/+2
| |
* | Remove assertion against empty NFSv4 ACLs. An empty ACL is not exactlytrasz2011-10-051-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | valid - we don't allow for setting it on a file, for example - but it's not something we should assert on. For STABLE kernel, it changes nothing, because it's not compiled with INVARIANTS. If it was, it would fix crashes. It also fixes an assert in libc encountered with NFSv4 without nfsuserd(8) running. Submitted by: Yuri Pankov (earlier version) MFC after: 1 month
* | Supply unique (st_dev, st_ino) value pair for the fstat(2) done on the pipes.kib2011-10-052-2/+27
| | | | | | | | | | Reviewed by: jhb, Peter Jeremy <peterjeremy acm org> MFC after: 2 weeks
* | Export devfs inode number allocator for the kernel consumers.kib2011-10-052-3/+20
| | | | | | | | | | Reviewed by: jhb MFC after: 2 weeks
* | The IFA_RTSELF instead of the IFA_ROUTE flag should be checked toqingli2011-10-051-2/+2
| | | | | | | | | | | | | | | | | | determine if a loopback route should be installed for an interface IPv6 address. Another condition is the address must not belong to a looopback interface. Reviewed by: hrs MFC after: 3 days
* | Ignore SRAT memory entries if the memory range does not overlap with anjhb2011-10-051-0/+26
| | | | | | | | | | | | | | | | | | existing phys_avail[] table. If a hw.physmem setting causes a memory domain to not be present in phys_avail[], the SRAT table will now be ignored rather than triggering a panic when a CPU in the missing domain tries to allocate a page. MFC after: 1 week
* | Update BSD grep to the latest development version. It has some codegabor2011-10-0516-521/+2527
| | | | | | | | | | | | | | | | | | | | | | | | | | backported that was written for the TRE integration project in Google Summer of Code 2011. This is a temporary solution until the whole regex library is not replaced so that BSD grep development can continue and the backported code gets some review and testing. This change only improves scalability slightly, there is no big performance boost yet but several minor bugs have been found and fixed. Approved by: delphij (mentor) Sposored by: Google Summer of Code 2011 MFC after: 1 week
* | Add missing newbus glue, this has never attached properly to gpiobus.thompsa2011-10-051-0/+5
| |
* | Add strnlen() to libkern.jkim2011-10-043-0/+44
| |
* | portsnap: Detect error immediately if we can't fetch the snapshot metadata.jilles2011-10-041-3/+3
| | | | | | | | | | | | | | Also add some quotes around command substitution where useful and possible. Reviewed by: cperciva MFC after: 1 week
* | Work around the autotools problem with the 10.0 version.jilles2011-10-041-0/+12
| | | | | | | | | | | | | | | | | | | | With this, I can build various ports on a 10.0-CURRENT system without hacking or hiding the version number. This commit should be reverted when there is a cleaner fix in autotools and/or ports/Mk/bsd.port.mk. The original patch is from Ed Schouten but needed some additions.
* | Add the 9750 SATA+SAS 6Gb/s RAID controller card driver, tws(4). Manydelphij2011-10-0416-0/+4681
| | | | | | | | | | | | | | | | thanks for their contiued support to FreeBSD. This is version 10.80.00.003 from codeset 10.2.1 [1] Obtained from: LSI http://kb.lsi.com/Download16574.aspx [1]
OpenPOWER on IntegriCloud