summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Cleanup of netatalk atalk layer includes, protocol definitions, andrwatson2007-01-125-127/+115
| | | | | | | | | | | | | | | | | | | routing: - style(9) cleanup -- white space, braces, etc. - Make include guards consistent with our more general naming convention. - Rearrange and complete forward structure declarations in at_extern.h, remove testing of guards of various other include files to protect function declarations. This leaves an ifdef _KERNEL in at_var.h, but from inspection it seems likely that this file is not actually safe for inclusion in user space still. However, since it's not included from within src/ so this does not appear to be an issue (ifconfig, etc, have migrated to the generic cross-protocol ioctls for address operations).
* Re-style aarp with style(9): normal plethora of white space, brace,rwatson2007-01-123-531/+516
| | | | | | | | | | etc, changes. Remove a small amount of #if !defined(__FreeBSD__) code. Add missing include guard for _NETATALK_AARP_H_. Remove unneeded (and conflicting) extern prototype for aarptfree().
* Fix typos.joel2007-01-122-6/+6
|
* When ntp_gettime() was converted from a sysctl + wrapper to a systemimp2007-01-121-0/+1
| | | | | | | | | | | | call, its semantics were unintentionally changed. It went from returning the time state to returning 0 or -1. Since 0 means time normal, and non-zero effectively only shows up around leap seconds, this went unnoticed until now. At least unnoticed until someone was trying to run a binary they didn't have source for and it was misbehaving... Submitted by: Judah Levine MFC After: 2 weeks
* Remove 3rd clause, renumber, ok per emailimp2007-01-125-20/+5
|
* Remove 3rd clause, renumber, ok per emailimp2007-01-12230-924/+231
|
* Marking this as __packed was needed to get the alignment and offset ofimp2007-01-121-1/+1
| | | | | | | | | | members right. However, it also said it was aligned(1), which meant that gcc generated really bad code. Mark this as aligned(4). This makes things a little faster on arm (a couple percent), but also saves about 30k on the size of the kernel for arm. I talked about doing this with bde, but didn't check with him before the commit, so I'm hesitant say 'reviewed by: bde'.
* Marked these as packed correctlyimp2007-01-122-2/+2
|
* add man pagesam2007-01-124-2/+364
|
* fix typosam2007-01-122-2/+2
| | | | MFC after: 1 week
* Add a device ID for the 631xESB/6321ESB SMBus controller.jhb2007-01-111-0/+4
| | | | Submitted by: Reed A. Cartwright <reed scit.us>
* Fix re_setmulti() so that it works correctly for PCIe chips wherewpaul2007-01-111-2/+19
| | | | | the multicast hash table are in reverse order compared to older devices.
* Fix build on architectures where off_t is signed by casting to uintmax_tbrooks2007-01-111-1/+1
| | | | before comparing with a size_t.
* Various updates to most of the smbus(4) drivers:jhb2007-01-119-578/+765
| | | | | | | | | | | | | | | | | | - Use printf() and device_printf() instead of log() in ichsmb(4). - Create the mutex sooner during ichsmb(4) attach. - Attach the interrupt handler later during ichsmb(4) attach to avoid races. - Don't try to set PCIM_CMD_PORTEN in ichsmb(4) attach as the PCI bus driver does this already. - Add locking to alpm(4), amdpm(4), amdsmb(4), intsmb(4), nfsmb(4), and viapm(4). - Axe ALPM_SMBIO_BASE_ADDR, it's not really safe to write arbitrary values into BARs, and the PCI bus layer will allocate resources now if needed. - Merge intpm(4) and intsmb(4) into just intsmb(4). Previously, intpm(4) attached to the PCI device and created an intsmb(4) child. Now, intsmb(4) just attaches to PCI directly. - Change several intsmb functions to take a softc instead of a device_t to make things simpler.
* New release note: SA-07:01.jail.bmah2007-01-111-0/+5
|
* Remove magic from rman_activate_resource() that uses the direct map atjhb2007-01-112-48/+12
| | | | | | | | KERNBASE for the first 1 MB of RAM instead of calling pmap_mapdev(). pmap_mapdev() knows how to handle the first 1 MB (and has known for a while now) and properly maps the memory as UC to boot. MFC after: 2 weeks
* Wrap propagate_priority() in a critical section to prevent unwantedjhb2007-01-111-0/+4
| | | | | | | | | preemptions when adjusting the priority of a thread that is on a run queue. This was only observed when FULL_PREEMPTION was enabled. Reported by: kris Diagnosed by: ups MFC after: 1 week
* o Document SO_TIMESTAMP and SO_BINSTAMP socket options.maxim2007-01-111-2/+46
| | | | | | | | PR: docs/107696 Submitted by: Rob Robertson Reviewed by: ru Obtained from: NetBSD (mostly) MFC after: 1 week
* Fix jail rc.d script privilege escalation via symlink attack againstsimon2007-01-111-12/+116
| | | | | | /var/log/console.log and mount points. Security: FreeBSD-SA-07:01.jail
* Fix head -c ### where ### is greater than 2^31. Unlike the submittedbrooks2007-01-112-4/+8
| | | | | | | | | | patch this uses off_t. WARNSify and add $FreeBSD$ to Makefile. PR: bin/107824 Submitted by: Brian Cornell <briancornell at earthlink dot net> MFC after: 3 days
* Add Wise Words from Colin on irregular verbs and code quality. :-)philip2007-01-111-0/+3
| | | | Submitted by: cperciva
* Remove 3rd clause, per email from bmsimp2007-01-112-8/+2
|
* Space cleanup.delphij2007-01-111-1/+1
|
* - Instead of if_watchdog/if_timer interface use our own timerdelphij2007-01-112-29/+28
| | | | | | | | | that piggybacks on bce_tick() callout. - Instead of unconditionally resetting the controller, try to skip the reset in case we got a pause frame, like em(4) did. - Lock bce_tick() using callout_init_mtx(). Discussed with/Reviewed by: glebius, scottl, davidch
* Correct the comment describing the BGE_PCISTATE_PCI_BUSSPEED bit.jdp2007-01-111-1/+1
| | | | It had the sense of the bit reversed.
* Add regression tests for exec.c rev 1.30.stefanf2007-01-114-3/+12
|
* Return an error status (127) from the builtins 'type' and 'command' (withstefanf2007-01-111-2/+5
| | | | | | | | | | either -v or -V) if a file with a slash in the name doesn't exist (if there is no slash we already did that). Additionally, suppress the error message for command -v for files with a slash. PR: 107674 Submitted by: Martin Kammerhofer
* - Use the correct test in the ipi bitmask handler for IPI_PREEMPT so thatjeff2007-01-112-13/+5
| | | | | | | | | | | | | we actually issue preemptions. - Remove the #ifdef IPI_PREEMPTION so it is always compiled in. Leave the option which optionally enables support in sched_4bsd. sched_ule.c will soon use this functionality as a run time rather than compile time option. - Compare against the idlethread rather than the priority. There are some idle prio tasks that we can preempt. Discussed with: ups Tested on: i386, amd64
* Remove uma_zalloc_arg() hack, which coerced M_WAITOK to M_NOWAIT whenrwatson2007-01-101-22/+3
| | | | | | | | | | allocations were made using improper flags in interrupt context. Replace with a simple WITNESS warning call. This restores the invariant that M_WAITOK allocations will always succeed or die horribly trying, which is relied on by many UMA consumers. MFC after: 3 weeks Discussed with: jhb
* Correct the VGA_NO_MODE_CHANGE end marker comment.marius2007-01-101-1/+1
|
* Add missing SC_NO_MODE_CHANGE option. Disable it in the powerpcmarius2007-01-103-0/+3
| | | | | | | NOTES though, as ofw_syscons(4) doesn't properly interface with syscons(4) regarding loading the font specified with SC_DFLT_FONT, causing a kernel with both options SC_OFWFB and SC_NO_MODE_CHANGE to not link.
* Fix accounting of incoming octets.glebius2007-01-101-1/+2
| | | | Submitted by: Alexander Motin <mav alkar.net>
* Sync the hardware list with the driver and with what I could find onbrueffer2007-01-101-8/+20
| | | | | | | | the Areca website. Also remove the module from the FILES section, it's already covered in the SYNOPSIS. MFC after: 3 days
* The pc98 porting team's copyright year should be 2003, whendelphij2007-01-101-1/+1
| | | | | | | 5.0-RELEASE, the first release including pc98 is released. Noticed by: hrs Confirmed by: nyan
* Boris Popov has granted permission to remove the advertising clauseimp2007-01-0914-56/+14
| | | | from lib/libncp. Make it so. Also, renumbered clauses.
* Remove two lines that somehow snuck back in after testing.julian2007-01-091-2/+0
| | | | ip is now an argument to the function ipfw_log()
* Add SSSE3 extensions and correct CNXT-ID spelling for Intel processors.jkim2007-01-094-6/+8
|
* Add various utrace's for use with ktrace to the ELF runtime linker. Tojhb2007-01-092-0/+174
| | | | | | | | activate the traces, set the LD_UTRACE (or LD_32_UTRACE) environment variable. This also includes code in kdump(8) to parse the traces. Reviewed by: kan, jdp MFC after: 2 weeks
* Document recent changes about supported compression and encryption modes.glebius2007-01-091-9/+45
| | | | Wording by: rwatson
* Update for japanese holidays.bland2007-01-091-2/+2
| | | | PR: 107703
* Correct the copyright messages: Make this a standard vanillakientzle2007-01-0911-34/+21
| | | | 2-clause BSD license, update the year to 2007.
* Fix the copyright notice; it was always intended to bekientzle2007-01-0951-136/+93
| | | | | | | | | a vanilla 2-clause BSD license, but somehow some confusing extra verbage get copied from somewhere. Also, update the copyright dates to 2007 for all of the files. Prompted by: several questions about what those extra words really mean
* reduce user-visible namespace to just what is neededsam2007-01-091-0/+2
| | | | MFC after: 2 weeks
* Capitalize thisimp2007-01-091-1/+1
|
* Julian says that he doesn't need the advertising clause, so out it goes.imp2007-01-091-5/+1
|
* Remove duplicated legacy SYS_RES_IRQ resources assignment.yongari2007-01-091-3/+1
| | | | Noticed by: jhb
* Remove California Regent's clause 3, per letterimp2007-01-09100-400/+14
|
* Remove silly n that crept inimp2007-01-091-1/+1
|
* bandaid to unbreak build (user code includes this file)sam2007-01-091-0/+1
|
* Per Regents of the University of Calfornia letter, remove advertisingimp2007-01-09749-3005/+1
| | | | | | clause. # If I've done so improperly on a file, please let me know.
OpenPOWER on IntegriCloud