summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove some pointless variable assignments.trasz2010-01-252-4/+1
| | | | Found with: clang
* Comment out the led wheel code for the moment. Likely it shouldn'timp2010-01-251-3/+3
| | | | | even be here in the first place, but it is cool to see FreeBSD scrolling on the LED pannel of the octeon board when we're running...
* Remove unused variable.trasz2010-01-251-2/+0
| | | | Found with: clang
* Return proper error code.trasz2010-01-251-1/+1
| | | | Found with: clang
* Actualize.ru2010-01-251-2/+5
|
* Call ieee80211_radiotap_rx, not ieee80211_radiotap_tx on sta_input()rpaulo2010-01-251-1/+1
| | | | | | PR: 143163 Submitted by: Alexander Egorenkov <egorenar at gmail.com> MFC after: 3 days
* On FreeBSD, time_t is 64-bit for all platforms except i386 and powerpc,delphij2010-01-251-0/+5
| | | | | | | | | | | | | | where the type is 32-bit. ZFS can handle 64-bit timestamp internally but zfs_setattr() would check if the time value can fit, we change the checking macros to match 64-bit timestamp if the platform supports it. This change has some downsides like, while you can import zfs on 32-bit platforms, the timestamp would overflow if they are out of the range. This fixes the Y2.038K issue on platforms using 64-bit timestamps. Reviewed by: pjd MFC after: 1 month
* Add an example, derived from the basic demo phk once sent me.joerg2010-01-251-0/+33
|
* Upgrade to BIND 9.6.1-P3.dougb2010-01-2539-7581/+7874
| | | | | | | | | | | | | | | | | | | | | This version address the following vulnerabilities: BIND 9 Cache Update from Additional Section https://www.isc.org/advisories/CVE-2009-4022v6 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-4022 A nameserver with DNSSEC validation enabled may incorrectly add unauthenticated records to its cache that are received during the resolution of a recursive client query BIND 9 DNSSEC validation code could cause bogus NXDOMAIN responses https://www.isc.org/advisories/CVE-2010-0097 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0097 There was an error in the DNSSEC NSEC/NSEC3 validation code that could cause bogus NXDOMAIN responses (that is, NXDOMAIN responses for records proven by NSEC or NSEC3 to exist) to be cached as if they had validated correctly These issues only affect systems with DNSSEC validation enabled.
* Commit copyright-only changes to generated files as part of thedougb2010-01-254-4/+4
| | | | 9.6.1-P3 update
* - Call post-boot fixup function in order to get proper staticgonzo2010-01-257-20/+33
| | | | | | | symbols resolving in DDB - When zeroing .bss/.sbss do not round end address to page boundary, it's not neccessary and might destroy data pased by trampoline or boot loader
* Fixes for ls(1) long format (-l) output:jh2010-01-243-21/+50
| | | | | | | | | | - Allow -h option to work if the listing contains at least one device file. - Align major and minor device numbers correctly to the size field. PR: bin/125678 Approved by: trasz (mentor) MFC after: 1 month
* Print full path in the error message. It's possible that fts(3)jh2010-01-241-1/+1
| | | | | | | | | | provides an empty fts_name and reporting the full path is more appropriate especially with the -R option. PR: bin/107515 Submitted by: bde Approved by: trasz (mentor) MFC after: 1 week
* Add man pages for the gpib(4), pcii(4), and tnt4882(4) drivers.joerg2010-01-244-0/+222
| | | | MFC after: 3 days
* Split out an invariant in order to better check that newtd, whenattilio2010-01-241-2/+4
| | | | | | | | | provided, must be on a runqueue. Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com> MFC: 2 weeks X-MFC: r202889
* o Write the soft reset bit in the cavium core to reset. [1]imp2010-01-242-5/+5
| | | | | | o panic if the board boot descriptor is too old... Obtained from: [1] looking at the cavium sdk's executive code
* While flushing the multicast filter of an interface, do not zero the relevantsyrinx2010-01-243-5/+25
| | | | | | | | | | ifmultiaddr structures' reference to the parent interface, unless the parent interface is really detaching. While here, program only link layer multicast filters to a wlan's hardware parent interface. PR: kern/142391, kern/142392 Reviewed by: sam, rpaolo, bms MFC after: 1 week
* Move out code that does POSIX.1e ACL inheritance into separate routines.trasz2010-01-241-186/+171
| | | | Reviewed by: rwatson
* - Fix the kthread_{suspend, resume, suspend_check}() locking.attilio2010-01-243-26/+57
| | | | | | | | | | | | | | | | | | | | | | | In the current code, the locking is completely broken and may lead easilly to deadlocks. Fix it by using the proc_mtx, linked to the suspending thread, as lock for the operation. Keep using the thread_lock for setting and reading the flag even if it is not entirely necessary (atomic ops may do it as well, but this way the code is more readable). - Fix a deadlock within kthread_suspend(). The suspender should not sleep on a different channel wrt the suspended thread, or, otherwise, the awaker should wakeup both. Uniform the interface to what the kproc_* counterparts do (sleeping on the same channel). - Change the kthread_suspend_check() prototype. kthread_suspend_check() always assumes curthread and must only refer to it, so skip the thread pointer as it may be easilly mistaken. If curthread is not a kthread, the system will panic. In collabouration with: jhb Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com> MFC: 2 weeks
* Add support for four more nfsmb controllers, shipping on at least thegavin2010-01-241-0/+12
| | | | | | | | | ASUS Atom ION boards. PR: kern/142571 Submitted by: oliver Approved by: ed (mentor) MFC after: 1 week
* Improve the ttyname(3) manual page.ed2010-01-241-20/+5
| | | | | | - Remove unrelated references to tty(5). - Remove unneeded relation with FILE *. - Add better cross references.
* Remove unneeded setpassent() calls.ed2010-01-241-4/+0
| | | | lastlogin no longer requires the use of the passwd database.
* Add files to remove when MK_DICT=no.antoine2010-01-241-3/+8
|
* Add files to remove when MK_CVS=no.antoine2010-01-241-3/+28
|
* Add files to remove when MK_CTM=no.antoine2010-01-241-0/+12
|
* Add files to remove when MK_CPP=no.antoine2010-01-241-3/+4
|
* Fix array overflow. This routine is only called from procfs,trasz2010-01-241-2/+0
| | | | | | | which is not mounted by default, and I've been unable to trigger a panic without this fix applied anyway. Reviewed by: kib, cperciva
* Shrink encoded line length from 76 to 72 characters.mckay2010-01-241-1/+1
| | | | | | | Some Exchange systems wrap lines over 75 characters long while converting messages to quoted-printable, preventing ctm_rmail from reassembling emailed deltas. For a negligible loss of encoding efficiency, this change allows ctm deltas to once more pass through Exchange undamaged.
* Add support for the NM10 chipset.remko2010-01-242-0/+2
| | | | | | | PR: kern/143118 Submitted by: Koshin sumitani <ksumitani at mui dot biglobe dot ne dot jp> Approved by: imp (mentor, implicit) MFC after: 3 days
* Make strsignal(3) thread-safe.ume2010-01-241-4/+48
| | | | MFC after: 2 weeks
* Correct a typo.bz2010-01-241-1/+1
| | | | | Submitted by: kensmith MFC after: 3 days
* - Introduce kernel_kseg0_end variable that marks first address in KSEG0gonzo2010-01-242-0/+35
| | | | | | | | | | | available for use. All data below this address considered to be used by kernel. Along with kernel own data it might be symbol tables prepeared by trampoline code, boot loader service data passed for further analysis by kernel, etc... By default kernel_kseg0_end points to the end of loaded kernel. - Introduce mips_postboot_fixup function. It checks for symbol information copied by ELF trampoline and passes it to KDB
* - Copy symbol-related tables (.symtab and .strtab) to the end ofgonzo2010-01-242-1/+64
| | | | | relocated kernel. We use magic number to signal kernel that symbol data is present.
* Changes the order of the setting the int happened (insiderrs2010-01-241-1/+1
| | | | the lock).
* Remove cpu_boot() and call efi_reset_system() directly frommarcel2010-01-231-8/+1
| | | | cpu_reset().
* On LP64 struct ifid is 64-bit aligned while struct fid is 32-bit alignedmarius2010-01-232-10/+17
| | | | | | | | so on architectures with strict alignment requirements we can't just simply cast the latter to the former but need to copy it bytewise instead. PR: 143010 MFC after: 3 days
* Merge r202882 from amd64/i386:marius2010-01-231-69/+104
| | | | | | | | | | | | | | | | | | | | For PT_TO_SCE stop that stops the ptraced process upon syscall entry, syscall arguments are collected before ptracestop() is called. As a consequence, debugger cannot modify syscall or its arguments. In syscall(), reread syscall number and arguments after ptracestop(), if debugger modified anything in the process environment. Since procfs stopevent requires number of syscall arguments in p_xstat, this cannot be solved by moving stop/trace point before argument fetching. Move the code to read arguments into separate function fetch_syscall_args() to avoid code duplication. Note that ktrace point for modified syscall is intentionally recorded twice, once with original arguments, and second time with the arguments set by debugger. PT_TO_SCX stop is executed after cpu_syscall_set_retval() already. Reviewed by: kib
* Fix breakage introduced to the tnt4882 driver in r202870. This PCIjoerg2010-01-234-6/+13
| | | | | | | | | | | | frontend uses the same uPD7210 backend as the pcii ISA frontend, so the backend has to cope with both situations. Also, hide the first printf in pcii_probe (address mismatch) behind bootverbose as the ISA bus parent tries to probe all configured ISA devices against each driver, so a the console has been cluttered with this message for a bunch of unrelated driver probes. MFC after: 3 days
* Simplify the mapping of the system message buffer. Use the direct map justalc2010-01-232-12/+4
| | | | like ia64 does.
* Unbreak world:antoine2010-01-231-4/+9
| | | | | | | | | | | - WITHOUT_OPENSSH (and WITH_KERBEROS) - WITHOUT_KERBEROS and WITH_GSSAPI PR: 137483 Submitted by: bf MFC after: 2 weeks Note: this breaks harder world WITHOUT_GSSAPI (and WITH_KERBEROS), but well
* Handle a race between pmap_kextract() and pmap_promote_pde(). This race isalc2010-01-232-4/+44
| | | | | | | | known to cause a kernel crash in ZFS on i386 when superpage promotion is enabled. Tested by: netchild MFC after: 1 week
* EMPTY records don't have a timestamp.ed2010-01-231-1/+2
|
* Unbreak world WITHOUT_OPENSSL:antoine2010-01-231-2/+4
| | | | the new dc(1) depends on crypto(3) and bc(1) depends on dc(1).
* - Fix a race in sched_switch() of sched_4bsd.attilio2010-01-233-25/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In the case of the thread being on a sleepqueue or a turnstile, the sched_lock was acquired (without the aid of the td_lock interface) and the td_lock was dropped. This was going to break locking rules on other threads willing to access to the thread (via the td_lock interface) and modify his flags (allowed as long as the container lock was different by the one used in sched_switch). In order to prevent this situation, while sched_lock is acquired there the td_lock gets blocked. [0] - Merge the ULE's internal function thread_block_switch() into the global thread_lock_block() and make the former semantic as the default for thread_lock_block(). This means that thread_lock_block() will not disable interrupts when called (and consequently thread_unlock_block() will not re-enabled them when called). This should be done manually when necessary. Note, however, that ULE's thread_unblock_switch() is not reaped because it does reflect a difference in semantic due in ULE (the td_lock may not be necessarilly still blocked_lock when calling this). While asymmetric, it does describe a remarkable difference in semantic that is good to keep in mind. [0] Reported by: Kohji Okuno <okuno dot kohji at jp dot panasonic dot com> Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com> MFC: 2 weeks
* Document pthread_timedjoin_np.kib2010-01-231-4/+38
| | | | | | | Note implementation-defined EOPNOTSUPP error [1]. PR: threads/143115 [1] MFC after: 3 days
* Reapply r201145 to lib/libc/gen/sem.cantoine2010-01-231-1/+1
|
* For PT_TO_SCE stop that stops the ptraced process upon syscall entry,kib2010-01-235-190/+306
| | | | | | | | | | | | | | | | | | | | | | syscall arguments are collected before ptracestop() is called. As a consequence, debugger cannot modify syscall or its arguments. For i386, amd64 and ia32 on amd64 MD syscall(), reread syscall number and arguments after ptracestop(), if debugger modified anything in the process environment. Since procfs stopeven requires number of syscall arguments in p_xstat, this cannot be solved by moving stop/trace point before argument fetching. Move the code to read arguments into separate function fetch_syscall_args() to avoid code duplication. Note that ktrace point for modified syscall is intentionally recorded twice, once with original arguments, and second time with the arguments set by debugger. PT_TO_SCX stop is executed after cpu_syscall_set_retval() already. Reported by: Ali Polatel <alip exherbo org> Briefly discussed with: jhb MFC after: 3 weeks
* Staticise sigqueue manipulation functions used only in kern_sig.c.kib2010-01-232-17/+9
| | | | MFC after: 1 week
* Do not check for existence of symlink source for the link action. Thiskib2010-01-231-1/+1
| | | | | | | does not work for link in subdirectory, and sometimes it is useful to create symlink in advance for dynamically created device node. MFC after: 1 week
* Just ignore the timestamps given to pututxline().ed2010-01-233-23/+12
| | | | | | | | | | | | | I've noticed many applications do a bad job at timekeeping, for several reasons: - Applications like screen(1) don't update time records when restoring the old user login record. - Many applications only set ut_tv.tv_sec, not ut_tv.tv_usec. This causes many problems for tools such as ac(8), which require the timestamps to be properly ordered. This is why I've decided to let the utmpx code obtain valid timestamps itself.
OpenPOWER on IntegriCloud