Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (3m)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

2024-05-09 21:31:40 UTC Now

2011-05-13 22:28:40 UTC MAIN commitmail json YAML

2011-05-13 22:22:56 UTC MAIN commitmail json YAML

- Replace shmmap_entry_pool with kmem(9), as pool is not worth.
- Sprinkle __cacheline_aligned and __read_mostly.

(rmind)

2011-05-13 22:22:03 UTC MAIN commitmail json YAML

Sprinkle __cacheline_aligned and __read_mostly, also const-ify.

(rmind)

2011-05-13 22:19:41 UTC MAIN commitmail json YAML

Sprinkle __cacheline_aligned and __read_mostly, make some functions static.

(rmind)

2011-05-13 22:16:44 UTC MAIN commitmail json YAML

2011-05-13 21:15:34 UTC MAIN commitmail json YAML

2011-05-13 19:14:18 UTC MAIN commitmail json YAML

Create sd0, wd1 and cd0 devices, to allow mounting installation media via
USB, a second disk or a CDROM drive.

(phx)

2011-05-13 17:36:39 UTC matt-nb5-mips64 commitmail json YAML

2011-05-13 17:30:43 UTC matt-nb5-mips64 commitmail json YAML

2011-05-13 17:10:36 UTC matt-nb5-mips64 commitmail json YAML

Remove #error which were there for debugging

(matt)

2011-05-13 06:39:39 UTC MAIN commitmail json YAML

new mdocml-1.11.2 out.

(wiz)

2011-05-13 01:58:35 UTC MAIN commitmail json YAML

2011-05-13 01:56:28 UTC MAIN commitmail json YAML

2011-05-13 01:52:13 UTC MAIN commitmail json YAML

2011-05-13 01:34:05 UTC MAIN commitmail json YAML

2011-05-13 01:33:11 UTC MAIN commitmail json YAML

add entries for 82579LM and 82579V

(msaitoh)

2011-05-12 20:47:16 UTC MAIN commitmail json YAML

2011-05-12 15:07:42 UTC MAIN commitmail json YAML

Make intiobase and intiolimit unsigned for consistency.

(tsutsui)

2011-05-12 14:56:25 UTC MAIN commitmail json YAML

2011-05-12 10:32:41 UTC MAIN commitmail json YAML

Mont FUSE filesystem with proprer source and fstype so that df and mount
display something that makes sense

(manu)

2011-05-12 08:42:25 UTC MAIN commitmail json YAML

Sort options. Remove unnecessary quotes and Bk/Ek.

(wiz)

2011-05-12 08:40:25 UTC MAIN commitmail json YAML

Remove trailing whitespace; consistency; add comma in SEE ALSO; sort options.

(wiz)

2011-05-12 08:40:02 UTC MAIN commitmail json YAML

Remove trailing whitespace.

(wiz)

2011-05-12 08:14:36 UTC MAIN commitmail json YAML

Fix spl0().  Our IPL_NONE is not 0.

(kiyohara)

2011-05-12 07:06:01 UTC MAIN commitmail json YAML

remove a sparc-specific comment.

(mrg)

2011-05-12 05:46:44 UTC MAIN commitmail json YAML

add a test with a sector size of 1024000 bytes

(agc)

2011-05-12 05:44:09 UTC MAIN commitmail json YAML

first steps towards fujitsu SPARC64 support:

- use cputyp when writing the kernel core

(mrg)

2011-05-12 05:43:54 UTC MAIN commitmail json YAML

first steps towards fujitsu SPARC64 support:

- SPARC64 systems have interrupts with upto 14 bits set, but we only look
  at the first 11 bits.  trim non IPI interrupts to 11 bits

(mrg)

2011-05-12 05:43:40 UTC MAIN commitmail json YAML

first steps towards fujitsu SPARC64 support:

- use CPU_IS_USIIIi()
- only apply spitfire erratum #54 on CPU_IS_SPITFIRE() systems (this faults
  on SPARC64 cpus)
- sun4us and sun4v systems don't need dcache_flush_page or
  blast_dcache ops

(mrg)

2011-05-12 05:43:06 UTC MAIN commitmail json YAML

first steps towards fujitsu SPARC64 support:

- use INTVEC() for the interrupt number, avoids overflow in the (normally)
  11 bit interrupt number (from openbsd)

(mrg)

2011-05-12 05:42:42 UTC MAIN commitmail json YAML

first steps towards fujitsu SPARC64 support:

- sun4us and sun4v systems don't need dcache_flush_page or
  blast_icache ops

(mrg)

2011-05-12 05:42:22 UTC MAIN commitmail json YAML

first steps towards fujitsu SPARC64 support:

- re-add cputyp, default to sun4u
- set cputyp for sun4us or sun4v systems (from openbsd)

(mrg)

2011-05-12 05:42:18 UTC MAIN commitmail json YAML

catch up in dynamic buffer size changes in driver program.

add some tests for larger files, one with large sector sizes

(agc)

2011-05-12 05:42:05 UTC MAIN commitmail json YAML

first steps towards fujitsu SPARC64 support:

- add IMPL_* defines for fujitsu SPARC64 processors (mostly from openbsd)
- rename CPU_IS_JALAPENO() as CPU_IS_USIIIi()
- add GETVER_CPU_MANUF()
- add CPU_IS_SPITFIRE() and CPU_IS_SPARC64_V_UP()

(mrg)

2011-05-12 05:41:50 UTC MAIN commitmail json YAML

first steps towards fujitsu SPARC64 support:

- add CPU_SUN4US and CPU_SUN4V defines
- re-introduce "cputyp" and use it for sun4u/sun4us/sun4v

(mrg)

2011-05-12 04:23:05 UTC MAIN commitmail json YAML

keep the documentation in sync with the library

(agc)

2011-05-12 04:12:54 UTC MAIN commitmail json YAML

clear up space after we've finished using it

(agc)

2011-05-12 04:11:15 UTC MAIN commitmail json YAML

move c1 and c3 data arrays into the circa struct, and allocate them
dynamically once at initialisation time.

add a separate function to free up this space at finalisation time.

this allows use of dynamic sector sizes, if desired

(agc)

2011-05-12 01:59:16 UTC MAIN commitmail json YAML

use err(3) and warn(3) for error and warning printing, tiny knf.

(christos)

2011-05-11 23:20:46 UTC MAIN commitmail json YAML

Fix two rather obviousbuffer overflows, one of them hitting all the time.
Inspired by corresponding FreeBSD patch.

(joerg)

2011-05-11 22:26:46 UTC MAIN commitmail json YAML

when looking for a device's node we want to start with the child nodes of the
root bus, not its peers

(macallan)

2011-05-11 22:21:59 UTC MAIN commitmail json YAML

Suppress whitespace at EOL to fix lib/librumphijack/t_tcpip.

(dyoung)

2011-05-11 22:08:12 UTC MAIN commitmail json YAML

2011-05-11 19:06:46 UTC MAIN commitmail json YAML

Typo in error message.

(njoly)

2011-05-11 18:13:12 UTC MAIN commitmail json YAML

convert the main raidPtr mutex to a kmutex, and add a couple of cv's to
cover the old sleep/wakeup points for adding_hot_spare and waitForReconCond.
convert all remaining simple_lock's to kmutexes (they're not used or compiled
right now... even with all options enabled) and remove the support for them.

this leaves just a pair of tsleep()/wakeup() calls using old scheduling APIs.

(mrg)

2011-05-11 17:49:31 UTC MAIN commitmail json YAML

2011-05-11 16:23:40 UTC MAIN commitmail json YAML

2011-05-11 16:03:56 UTC MAIN commitmail json YAML

Make ${DBSYM} failure fatal.

(jakllsch)

2011-05-11 15:09:00 UTC MAIN commitmail json YAML

use getmicrouptime(9) rather than microtime(9) for TIME_WAIT duration
calculation, because this doesn't get confused by system time changes,
and uses less CPU cycles
reviewed by dyoung

(drochner)

2011-05-11 14:52:48 UTC MAIN commitmail json YAML

2011-05-11 14:17:30 UTC MAIN commitmail json YAML

Defer fpu_probe() call until curlwp and related variables are initialized.
Fixes pre-consinit KASSERT() in trap() caused by fnop instruction in
fpu_probe() on machines without FPU, including XM6i.

(tsutsui)

2011-05-11 12:22:34 UTC MAIN commitmail json YAML

Commit the patch from
<http://mail-index.netbsd.org/current-users/2010/09/12/msg014289.html>,
fixing a "panic: pool 'pfrktable' is IPL_NONE, but called from
interrupt context" that occurred on NetBSD/sparc.

(hauke)

2011-05-11 10:11:11 UTC MAIN commitmail json YAML

Heimdal has been upgraded to 1.5pre1.

(elric)

2011-05-11 09:37:52 UTC MAIN commitmail json YAML

Postfix has been updated to version 2.8.3.

(tron)

2011-05-11 09:12:44 UTC MAIN commitmail json YAML

Import Postfix 2.8.3:
Postfix releases 2.8.3, 2.7.4, 2.6.10 and 2.5.13 are available. These contain
a fix for CVE-2011-1720 which affects Postfix SMTP server configurations that
use Cyrus SASL authentication. Besides full releases, patches are available
for Postfix 1.1 and later.

This defect was introduced with the Postfix SASL patch, and is present in all
Postfix versions where the command "postconf mail_release_date" reports a
value of 20000314 (March 14, 2000) or greater.

Note: CVE-2011-1720 does not affect Postfix SMTP servers that use Dovecot
SASL authentication. It also does not affect the common Postfix SMTP server
configurations that use only Cyrus SASL mechanisms PLAIN and LOGIN.

More details will be available at http://www.postfix.org/CVE-2011-1720.html.

Status:

Vendor Tag: VENEMA
Release Tags: PFIX-2-8-3

(tron)

2011-05-11 08:11:36 UTC MAIN commitmail json YAML

2011-05-11 07:07:41 UTC MAIN commitmail json YAML

Do also a small functional verification that user did not succeed in writing
garbage values, even if sysctl(8) reported a failure.

(jruoho)

2011-05-11 06:20:33 UTC MAIN commitmail json YAML

convert regionBufferPool.mutex/cond and parityBufferPool.mutex/cond
to kmutex/cv.

(mrg)

2011-05-11 06:03:06 UTC MAIN commitmail json YAML

2011-05-11 05:14:07 UTC MAIN commitmail json YAML

2011-05-11 03:38:32 UTC MAIN commitmail json YAML

2011-05-11 03:23:26 UTC MAIN commitmail json YAML

2011-05-11 00:38:28 UTC MAIN commitmail json YAML

Don't use a static buffer for ifaddrs (and not check for overflowing it!)
(speciallly if you are setuid!)

(christos)

2011-05-11 00:38:03 UTC MAIN commitmail json YAML

sync from matt-nb5-mips64 branch

(cliff)

2011-05-11 00:37:20 UTC matt-nb5-mips64 commitmail json YAML

simplify rmixl_com_initmap() a bit

(cliff)

2011-05-11 00:17:55 UTC MAIN commitmail json YAML

Constify pci_attach_args.

(dyoung)

2011-05-11 00:12:41 UTC MAIN commitmail json YAML

Constify pci_attach_args.

(dyoung)

2011-05-10 23:58:25 UTC MAIN commitmail json YAML

Add to tags some assembly files in common/.

(dyoung)

2011-05-10 23:48:33 UTC MAIN commitmail json YAML

Constify pci_attach_args.

(dyoung)

2011-05-10 23:33:07 UTC MAIN commitmail json YAML

According to their home page, N of IANA is plural.

(enami)

2011-05-10 19:18:19 UTC MAIN commitmail json YAML

Use the same conditional check from <fenv.h> to fix an immediate build error
pointed out by cliff@. (This does not however sound like a sane thing to
mandate from a C99 header.)

(jruoho)

2011-05-10 19:02:27 UTC MAIN commitmail json YAML

Add require.progs unifdef, to avoid failure if comp set is not
installed.

(njoly)

2011-05-10 18:31:34 UTC MAIN commitmail json YAML

Stop abuse of PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED.  The flags
specifically tell a driver that bridges upstream forward PCI I/O (or
memory) transactions to the device."  Only bus drivers have any business
modifying these.

(dyoung)

2011-05-10 17:00:44 UTC MAIN commitmail json YAML

2011-05-10 15:20:19 UTC MAIN commitmail json YAML

Verify that strtod(3) honors the current rounding mode set by fesetround(3).
Passes on amd64. Prompted by a bug in the GNU C library.

(jruoho)

2011-05-10 14:45:28 UTC MAIN commitmail json YAML

Move isrinit() call from early next68k_init() to cpu_configure(9)
since interrupt service routines would want evcnt(9).

(tsutsui)

2011-05-10 14:41:55 UTC MAIN commitmail json YAML

Move isrinit() call from early news68k_init() to cpu_configure(9)
since interrupt service routines would want evcnt(9).

(tsutsui)

2011-05-10 14:38:08 UTC MAIN commitmail json YAML

Move intr_init() call from early hp300_init() to cpu_configure(9)
since interrupt functions would want evcnt(9).

(tsutsui)

2011-05-10 13:03:06 UTC MAIN commitmail json YAML

2011-05-10 12:43:42 UTC MAIN commitmail json YAML

Add also a simplistic stress unit test.

(jruoho)

2011-05-10 12:16:19 UTC MAIN commitmail json YAML

Fix prologue macros order.

(njoly)

2011-05-10 12:14:37 UTC MAIN commitmail json YAML

Small typo in macro (Xd -> Xr).

(njoly)

2011-05-10 12:09:00 UTC MAIN commitmail json YAML

Xref div(3) and remainder(3).

(jruoho)

2011-05-10 09:07:51 UTC MAIN commitmail json YAML

Remove trailing '\'.

(jruoho)

2011-05-10 08:29:32 UTC MAIN commitmail json YAML

Fix filesystem root leaked lock when using UFS_EXTATTR_AUTOSTART.
This way, statvfs(2) calls obtained by df(1) or umount(8) will no
longer sleep forever in the kernel to acquire the lock.

(manu)

2011-05-10 07:04:17 UTC MAIN commitmail json YAML

2011-05-10 06:58:17 UTC MAIN commitmail json YAML

Fix comment/string typos.

(jruoho)

2011-05-10 06:55:27 UTC MAIN commitmail json YAML

2011-05-10 06:42:13 UTC MAIN commitmail json YAML

2011-05-10 06:41:26 UTC MAIN commitmail json YAML

Occasional MAN definitions can hold multiple pages (see src/bin/pax for one
example).

Change the parsing of the contents of MAN definitions so that both single
and multiple definitions of man pages can be recognised.

(agc)

2011-05-10 06:39:46 UTC MAIN commitmail json YAML

2011-05-10 06:38:33 UTC MAIN commitmail json YAML

Split out the ilogb(3) family out of ieee(3) and properly document it.

(jruoho)

2011-05-10 05:08:51 UTC MAIN commitmail json YAML

print "raidN: detached" when unconfiguring a raid device.

(mrg)

2011-05-10 04:40:16 UTC MAIN commitmail json YAML

Use ptrdiff_t to hold pointer difference to avoid coredump on LP64 system.

(enami)

2011-05-10 01:58:58 UTC MAIN commitmail json YAML

AS additions from Zafer Aydogan to print the AS path. Minor cleanups to compile
without WARNS=1 hackery.

(christos)

2011-05-10 00:34:26 UTC MAIN commitmail json YAML

yes, more C99 please (back out previous change).

(matt)

2011-05-10 00:33:58 UTC MAIN commitmail json YAML

Make rump compile things with -std=gnu99 like the kernel and modules.

(matt)

2011-05-09 19:39:19 UTC netbsd-4 commitmail json YAML

2011-05-09 19:37:30 UTC netbsd-4 commitmail json YAML

Pull up following revision(s) (requested by taca in ticket #1429):
lib/libc/resolv/res_init.c: revisions 1.11, 1.12 via patch
Don't check for ext being NULL to destroy the res_state. Instead check
the option bits like we did before.
Only try free-ing a version of res if it is not supposed to be pre-inited
like before. Fixes issues with programs passing random uninitialized data
as res_state.

(bouyer)

2011-05-09 19:15:29 UTC MAIN commitmail json YAML

rearrange variable usage to kill __UNCONST
reviewed by sjg

(drochner)

2011-05-09 17:55:38 UTC MAIN commitmail json YAML

Add one missing cleanup routine declaration.

(jruoho)

2011-05-09 17:53:54 UTC MAIN commitmail json YAML

Add a test case for PR kern/44946. This tests that common first level sysctl
nodes (ddb, hw, machdep, etc.) are not writable by a normal user.

(jruoho)

2011-05-09 17:13:21 UTC MAIN commitmail json YAML

2011-05-09 15:03:58 UTC MAIN commitmail json YAML

derive syspkg category (CATEGORY) from LIB or PROG if one of them is defined

don't try to be smart with the gensetlist invocation, just call it when
needed.

(agc)

2011-05-09 14:47:15 UTC MAIN commitmail json YAML

Add a ".debug" extension to all compat debug libraries - as pointed out by
Nicholas Joly on tech-userlevel.

Many thanks!

(agc)

2011-05-09 14:45:45 UTC MAIN commitmail json YAML

Mention MKPERFUSE keyword here, too. I have forgot to commit this file before.

(haad)

2011-05-09 14:36:48 UTC MAIN commitmail json YAML

Add MKPERFUSE flag to those who are enabled by default.

(haad)

2011-05-09 12:45:25 UTC MAIN commitmail json YAML

Postfix 2.8.3 has released.

(taca)

2011-05-09 11:55:34 UTC MAIN commitmail json YAML

Small typo (perfuse.debug -> perfused.debug).

(njoly)

2011-05-09 11:05:36 UTC MAIN commitmail json YAML

On a second thought, require that close(2) fails for a descriptor already
closed with closefrom(3). For some odd reason (yet to be determined), this
check fails on 5.99.51 (amd64).

(jruoho)

2011-05-09 10:50:03 UTC MAIN commitmail json YAML

Remove superfluous close(2) pointed out by martin@.

(jruoho)

2011-05-09 09:27:37 UTC MAIN commitmail json YAML

Add one more naive unit test.

(jruoho)

2011-05-09 09:06:28 UTC MAIN commitmail json YAML

Alter the sync-on-green and composite-sync settings:

  if the monitor doesn't support composite sync, enable sync-on-green

  then, if the monitor supports separate sync, disable composite vsync

(Prompted by macallan@.)

(jdc)

2011-05-09 09:06:21 UTC MAIN commitmail json YAML

Xref raise_default_signal(3).

(jruoho)

2011-05-09 08:51:18 UTC MAIN commitmail json YAML

2011-05-09 08:44:22 UTC MAIN commitmail json YAML

Correc the "enable pedestal" register definition.

(jdc)

2011-05-09 07:31:51 UTC MAIN commitmail json YAML

2011-05-09 06:05:54 UTC MAIN commitmail json YAML

List the ATF_TC_() thins in the order of appearance.

(jruoho)

2011-05-09 06:04:14 UTC MAIN commitmail json YAML

2011-05-09 05:17:12 UTC MAIN commitmail json YAML

2011-05-08 18:42:54 UTC MAIN commitmail json YAML

update (unused) ND option identifiers and corresponding comments

(spz)

2011-05-08 18:37:15 UTC MAIN commitmail json YAML

Revert previous commit.  Locking the snapshot vnode while the file system
is suspended extends the suspension until the vnode gets unlocked by
the caller of ffs_snapshot().

Resuming the file system before expunging all snapshots and syncing the
snapshot creates races and deadlocks with journaling file systems at least.

(hannken)

2011-05-08 17:32:20 UTC netbsd-4 commitmail json YAML

Tickets 1422, 1423, 1428

(bouyer)

2011-05-08 17:26:14 UTC netbsd-4 commitmail json YAML

Pull up following revision(s) (requested by christos in ticket #1428):
lib/libc/db/hash/hash_page.c: revision 1.24
lib/libc/db/btree/bt_open.c: revision 1.25
Correct check for snprintf() overflow via Maksymilian Arciemowicz from FreeBSD.
(the bt one was ok, but set errno and make it the same for consistency).
[to be pulled up]

(bouyer)

2011-05-08 17:24:55 UTC netbsd-4 commitmail json YAML

Pull up following revision(s) (requested by fair in ticket #1423):
distrib/sets/lists/man/mi: revision 1.1305 via patch
I missed the .0 and .html changes for mr.4 replacement by gtp.4 in PR =
kern/40070
Now corrected.

(bouyer)

2011-05-08 17:19:01 UTC netbsd-4 commitmail json YAML

Pull up following revision(s) (requested by fair in ticket #1422):
share/man/man4/gtp.4: revision 1.1
share/man/man4/mr.4: delete
distrib/sets/lists/man/mi: revision 1.1304
share/man/man4/Makefile: revision 1.556
The mr(4) driver was replaced by gtp(4) in 2002, but the documentation
did not follow; fix PR kern/40070

(bouyer)

2011-05-08 17:18:20 UTC netbsd-4 commitmail json YAML

Pull up following revision(s) (requested by fair in ticket #1422):
share/man/man4/gtp.4: revision 1.1
distrib/sets/lists/man/mi: revision 1.1304
share/man/man4/Makefile: revision 1.556
The mr(4) driver was replaced by gtp(4) in 2002, but the documentation
did not follow; fix PR kern/40070

(bouyer)

2011-05-08 14:22:16 UTC MAIN commitmail json YAML

Fix parsing of -A option so that the [/ptn_0_offset] part is optional, as
described in the man page.

(pgoyette)

2011-05-08 13:51:31 UTC MAIN commitmail json YAML

aarpprobe() is called before MOWNER_ATTACH(&aarp_mowner), leading
to a DIAGNOSTIC panic when MBUFTRACE is defined and atalkd is started.
Fix by moving MOWNER_ATTACH(&aarp_mowner) to ddp_init().
Should fix PR kern/44734

(bouyer)

2011-05-08 13:19:09 UTC MAIN commitmail json YAML

babylon5 ssh key changed (due to reinstall)

(spz)

2011-05-08 01:49:33 UTC MAIN commitmail json YAML

Add a no_stack_protector function attribute to localize the effect
of disabling stack protection on a function-by-function level, as
opposed to per source file.

(christos)

2011-05-08 00:18:26 UTC MAIN commitmail json YAML

Print the PGD address in the debug message.

(jym)

2011-05-08 00:03:35 UTC MAIN commitmail json YAML

2011-05-07 23:59:13 UTC MAIN commitmail json YAML

Do as the comment says, use ilog2(). This gets optimized directly at
compile time, no call to fls() is needed.

(jym)

2011-05-07 19:15:48 UTC MAIN commitmail json YAML

Use a correct register to save/restore MIPS_COP_0_TLB_HI in
mips1_tlb_record_asids().

(tsutsui)

2011-05-07 18:17:19 UTC MAIN commitmail json YAML

minor formatting and explanation changes

(agc)

2011-05-07 18:16:55 UTC MAIN commitmail json YAML

Tweak some comments in mipsN_tlb_record_asids() to reduce diffs.

(tsutsui)

2011-05-07 17:52:43 UTC MAIN commitmail json YAML

2011-05-07 17:52:26 UTC jym-xensuspend commitmail json YAML

Fix the (recurring) problem with APDPs and Xen: unmap all of them at
suspend, and let MD parts remap them when they are needed.

The issue is not PAE specific, this can be triggered with i386 and amd64.
Xen evaluates mappings in a lazy fashion, and it can incorrectly detects
recursive ones when they are pointing to inactive pmaps.

Move a comment that explains the L2 shadow page unmapping code closer to
the associated function, it makes more sense.

Now, you can save/suspend all kind of NetBSD domUs, with xbd(4) and
xennet(4) devices. Remaining bugs are in xbd(4) and xennet(4) resuming,
where the mappings have to be updated before issuing more I/Os. More
Linux code reading I guess... Stay tuned.

XXX (note to myself): move away from the machdep.sleep_state sysctl.

(jym)

2011-05-07 17:47:34 UTC MAIN commitmail json YAML

2011-05-07 17:42:09 UTC jym-xensuspend commitmail json YAML

When it successfully resume a device, return true instead of 0 aka false.

(jym)

2011-05-07 17:39:47 UTC jym-xensuspend commitmail json YAML

2011-05-07 17:38:35 UTC jym-xensuspend commitmail json YAML

Implement pmf(9) suspend/resume routines for balloon(4). Trivial, heh.

(jym)

2011-05-07 14:37:46 UTC MAIN commitmail json YAML

Fix a MIPS3 dependent KASSERT.

(tsutsui)

2011-05-07 11:12:48 UTC MAIN commitmail json YAML

2011-05-07 07:16:08 UTC MAIN commitmail json YAML

2011-05-07 02:35:28 UTC MAIN commitmail json YAML

Fixup pre-req lib path now that this is in-tree.

(agc)

2011-05-07 02:33:58 UTC MAIN commitmail json YAML

Fixup pre-req lib path now that this is in-tree.

(agc)

2011-05-07 02:31:24 UTC MAIN commitmail json YAML

Initial import of libcirca(3) and circa(1) into othersrc.

The circa(3) library encodes data, protecting against damage in
transit or at rest.  The data size expands by 4/3 to provide
protection.  The library is based loosely on the protection scheme
used by CD-ROMs, and employs two Reed-Solomon erasure codings (one
inner and one outer), and a number of dispersal, delay lines and
scattering of bytes.

There are numerous areas in which single bit errors can cause
re-transmission of large amounts of data, or cause file system
data errors - encoding with libcirca(3) can protect against this.

To illustrate its use:

% wc dist/circa.h
      81    425    2898 dist/circa.h
% circa -o h2 dist/circa.h
% hd h2 | grep n | wc -l
    101
% sed -e 's|n|o|g' h2 > h2e
% hd h2e | grep n | wc -l
      0
% hd h2e | grep o | wc -l
    157
% circa -d -o h3 h2e
% diff dist/circa.h h3
%

i.e. circa(1) can recover completely from all 101 instances of the 'n'
character being transformed into 'o', in a file of 2898 characters.

(hd is a shell alias for the "codecs hexdump" transformation described
elsewhere).

Taken from the libcirca(3) man page:


DESCRIPTION
    The libcirca library implements a number of functions designed to protect
    data against errors and erasures.  It uses a number of methods of doing
    this, and is loosely based on Cross-Interleaved Reed-Solomon Coding, as
    found in CDs.  The libcirca draws heavily on the librs(3) library inter-
    nally.

    The aim of this library is to encode data in preparation for transmission
    or storage.  Various erasure codes and checksums are added to the origi-
    nal data, in an effort to recover the original data in the face of errors
    in individual bits and bytes in the encoded data.  This is the same idea
    as implemented in CD CIRC encoding.

    Internally, two Reed-Solomon erasure codes are employed, a 28,24 erasure
    code acting on the original data, and a 32,28 erasure code acting on the
    output from that.  The net effect of these two erasure codes is that the
    size of the encoded data increases by (32 / 24) or (4 / 3)

    The circa_init() function should be called prior to using the encoding
    and decoding functions.  circa_encode() is used to encode data so that it
    is protected against data corruption.  It returns the number of bytes
    produced in the out array.  To decode the original data, circa_decode()
    is called.

    When creating output files, the two functions circa_get_header() and
    circa_put_header() are used.

INTERNALS
    The libcirca library performs a number of transformations, when encoding
    data.  These transformations are modelled on the Cross Interleaved
    Reed-Solomon Coding as used in CDs.  Delay lines can straddle sectors in
    CIRC encoding for CDs, whilst libcirca strictly keeps all sector data
    within the same sector.  This has implications about integrity of data
    cross-sector, although other means, such as libthreshold(3) and
    libssss(3) can be used to replicate data at a sector level, to say noth-
    ing of protection by other means such as RAID raid(4).

    A default sector is 3136 bytes in length, although this can be changed at
    circa_init() time with the sectorsize argument.

    Each 24 bytes of input data is transformed into 32 bytes of encoded data.
    The 24 bytes of input data is known as a C3 frame, and the 32 bytes of
    encoded data is known as a C1 frame.

    The transformations are, in encoding order:

    delay1    Every other 4 bytes in the input stream are put into a delay
              slot of 1 frame.

    scramble  Within a C3 frame, the bytes are changed to occupy different
              positions.  This is done to mitigate the problem where a number
              of bytes next to each other are the subject of errors.

    Q-Parity  A Reed Solomon 28,24 erasure code is calculated over the 24
              bytes of the C3 frame.  This erasure code is inserted at the
              half-way point of the C3 frame.  This creates a C2 frame of 28
              bytes.

    Dispersal
              Each bytes is striped across the sector, according to the byte
              offset from the start of the C2 frame.  Byte b in C2 frame f
              will end up in frame (f + b) and byte b in the output sector.

    P-Parity  A Reed Solomon 32,28 erasure code is calculated on the C2
              frame, to create a 32-byte C1 frame.

    delay2    Even bytes are delayed 1 frame in the output.

    At decoding time, the transformations to the bytes occur in the opposite
    order.

The circa(1) utility is also provided to encode and decode data. Another example
of its use is provided below:

    % circa Makefile > Makefile.circa
    % hd Makefile.circa | head -20
    00000 | 00 a0 4c c1 40 0c 00 00 00 5a 31 74 63 31 00 fd  | ..L.@....Z1tc1..
    00016 | 00 00 00 00 00 35 00 3f 00 00 00 63 7f 00 00 7d  | .....5.?...c...}
    00032 | 00 00 00 00 ac 5c e4 9c 37 00 00 0a 61 49 00 00  | .......7...aI..
    00048 | 42 00 00 00 7e 32 99 00 63 00 00 64 00 00 00 00  | B...~2..c..d....
    00064 | 55 00 00 00 fd 1d 05 71 00 20 9f 24 20 17 31 00  | U......q. .$ .1.
    00080 | 2f fd 00 ff 52 00 16 00 63 00 00 52 00 00 00 00  | /...R...c..R....
    00096 | 69 4d 00 00 c3 9a 12 cc 97 20 70 2e 28 c1 61 2e  | iM....... p.(.a.
    00112 | 24 53 60 66 af 00 7d 00 20 00 00 00 69 00 00 00  | $S`f..}. ...i...
    00128 | 69 36 00 00 af 71 b1 84 76 63 57 55 90 6b 69 67  | i6...q..vcWU.kig
    00144 | 49 30 ff 3a a3 00 ff 00 20 20 00 00 34 00 00 00  | I0.:....  ..4...
    00160 | 7d 42 00 00 22 18 74 74 36 75 64 74 00 00 c0 72  | }B..".tt6udt...r
    00176 | 73 0a 65 2b ea 00 c2 00 41 20 00 00 3d 00 00 00  | s.e+....A ..=...
    00192 | 00 72 00 00 4e 20 0f 72 62 09 43 00 00 00 00 65  | .r..N .rb.C....e
    00208 | 52 54 35 0a 64 c2 0c 00 00 20 00 00 2e 00 00 00  | RT5.d.... ......
    00224 | 00 72 00 00 2c 1e 13 5f 6c 24 20 00 00 00 00 00  | .r..,.._l$ .....
    00240 | 40 75 52 3e 22 e9 f1 3c 00 61 00 00 0a 6c 00 00  | @uR>"..<.a...l..
    00256 | 00 2f 65 00 38 b9 86 3b 0a 00 00 00 00 00 00 00  | ./e.8..;........
    00272 | c0 44 0a 63 00 54 63 e2 00 3c 00 00 61 31 00 00  | .D.c.Tc..<..a1..
    00288 | 00 00 3a 00 09 69 9d 52 20 00 00 00 00 00 00 00  | ..:..i.R .......
    00304 | 00 00 6b 00 00 41 ad 27 00 24 00 00 00 20 00 00  | ..k..A.'.$... ..
    % sed -e 's|M|N|g' Makefile.circa > Makefile.damaged
    % cmp Makefile.circa Makefile.damaged
    Makefile.circa Makefile.damaged differ: char 98, line 2
    % circa -d -o Makefile.recon Makefile.damaged
    % diff Makefile Makefile.recon
    %


Status:

Vendor Tag: CROOKS
Release Tags: circa-base

(agc)

2011-05-06 22:24:41 UTC MAIN commitmail json YAML

Do not return for early failures; otherwise the testcase will be
reported as passed, even if not really run.

(njoly)

2011-05-06 21:51:19 UTC MAIN commitmail json YAML

write-only mapping is not portable, change it to read/write. Unbreaks
mprotect_write testcase on alpha.

(njoly)

2011-05-06 21:48:46 UTC MAIN commitmail json YAML

As a first step towards more fine-grained locking, don't require
crypto_{new.free}session() to be called with the "crypto_mtx"
spinlock held.
This doesn't change much for now because these functions acquire
the said mutex first on entry now, but at least it keeps the nasty
locks local to the opencrypto core.

(drochner)

2011-05-06 18:33:59 UTC MAIN commitmail json YAML

Specify DGB=-Os to make libhack a bit smaller.

(tsutsui)

2011-05-06 18:33:00 UTC MAIN commitmail json YAML

Use /sbin/dmesg directly rather than kernfs and /kern/msgbuf as other ports.

(tsutsui)

2011-05-06 17:22:09 UTC MAIN commitmail json YAML

remove excess newlines in debug output

(drochner)

2011-05-06 15:29:06 UTC MAIN commitmail json YAML

BIND 9.8.0-P1 has released.

(taca)

2011-05-06 15:28:20 UTC MAIN commitmail json YAML

2011-05-06 13:45:35 UTC MAIN commitmail json YAML

Display actual error from FUSE on failures

(manu)

2011-05-06 12:52:43 UTC MAIN commitmail json YAML

remove an empty function

(drochner)

2011-05-05 20:15:15 UTC MAIN commitmail json YAML

2011-05-05 18:40:25 UTC MAIN commitmail json YAML

2011-05-05 17:49:48 UTC MAIN commitmail json YAML

decode camellia-cbc in stats histogram

(drochner)

2011-05-05 17:48:29 UTC MAIN commitmail json YAML

support camellia-cbc as ESP cipher

(drochner)

2011-05-05 17:46:48 UTC MAIN commitmail json YAML

add IANA number for camellia-cbc, copied from FreeBSD

(drochner)

2011-05-05 17:44:39 UTC MAIN commitmail json YAML

2011-05-05 17:42:17 UTC MAIN commitmail json YAML

2011-05-05 17:38:36 UTC MAIN commitmail json YAML

2011-05-05 16:20:56 UTC MAIN commitmail json YAML

Adapt to new PCU based FPU code.

(matt)

2011-05-05 13:44:35 UTC MAIN commitmail json YAML

Add a comment for the previous change.

(tsutsui)

2011-05-05 13:36:05 UTC MAIN commitmail json YAML

Try to mirror the real source with the test directory structure (otherwise
the latter carries a risk of becoming a difficult mess to manage.)

(jruoho)

2011-05-05 13:22:56 UTC MAIN commitmail json YAML

2011-05-05 09:08:00 UTC MAIN commitmail json YAML

2011-05-05 08:46:12 UTC MAIN commitmail json YAML

Don't check device numbers.

(nonaka)

2011-05-05 08:21:29 UTC MAIN commitmail json YAML

2011-05-05 08:21:10 UTC MAIN commitmail json YAML

RF_BROADCAST_COND() is no more.

(mrg)

2011-05-05 07:36:45 UTC MAIN commitmail json YAML

Add missing preposition.

(wiz)

2011-05-05 07:12:58 UTC MAIN commitmail json YAML

2011-05-05 06:04:09 UTC MAIN commitmail json YAML

2011-05-05 05:58:15 UTC MAIN commitmail json YAML

2011-05-05 05:39:12 UTC MAIN commitmail json YAML

2011-05-05 05:28:52 UTC MAIN commitmail json YAML

Fix some glitches (a human doing machine's work).

(jruoho)

2011-05-05 05:24:45 UTC MAIN commitmail json YAML

2011-05-05 04:38:20 UTC MAIN commitmail json YAML

Fix buffer overrun in readdisklabel(9) (and writedisklabel(9))
that causes unexpected panic during installation and
DIAGNOSTIC pool assertions.
Also fix bp->b_flags in writedisklabel(9) error path.

The problem was reported from Y.Sugahara during XM6i development,
and this fix is confirmed on both X68030 (by me) and XM6i (by Sugahara).

XXX: broken dkbad support (which makes struct cpu_disklabel larger
XXX: than 512 bytes) should be removed...

(tsutsui)

2011-05-05 04:20:51 UTC MAIN commitmail json YAML

finish porting mcpair users to kmutex, and fix a couple of declarations
in rf_netbsdkintf.c.  fixes i386/conf/ALL build.

(mrg)

2011-05-04 23:36:21 UTC MAIN commitmail json YAML

add support for (ancient) Mach64 CX and GX, while there make sure the visible
vram area starts at the same offset as the area we're going to draw into -
zero that is.
from David Riley

(macallan)

2011-05-04 21:24:59 UTC MAIN commitmail json YAML

Remove trailing whitespace.

(wiz)

2011-05-04 21:14:56 UTC MAIN commitmail json YAML

Document what I wrote for PR/40115

(christos)

2011-05-04 20:38:32 UTC MAIN commitmail json YAML

Add .MAKE.META.BAILIWICK - to identify the scope of make's control.
meta_oodate: if a file that was written or linked within our bailiwick,
but outside of .OBJDIR is missing, add it to missingFiles.
If we get to the end of the .meta file without seeing it [re]moved,
then consider the target out-of-date.

(sjg)

2011-05-04 12:27:03 UTC MAIN commitmail json YAML

Don't call mfp_init() in mfp_attach().
It's already called from early mfp_config_console() via config_console()
and reinitializing MFP could sometimes cause silent hang.

(tsutsui)

2011-05-04 11:44:25 UTC MAIN commitmail json YAML

2011-05-04 04:33:37 UTC MAIN commitmail json YAML

add access functions for the Instruction Cache Throttling Control register
found in 750 and newer CPUs

(macallan)

2011-05-04 03:43:30 UTC MAIN commitmail json YAML

Use %zx for _both_ size_t formats!

(pgoyette)

2011-05-04 01:45:48 UTC MAIN commitmail json YAML

Invalidate the vestigital PCB at the top of in6_pcblookup_connect() to
fix the bug where incoming TCPv6 connections were reset.

(dyoung)

2011-05-04 01:31:40 UTC MAIN commitmail json YAML

On second thought, make a more conservative change: use %zx instead of
%x for size_t.

(dyoung)

2011-05-04 01:30:01 UTC MAIN commitmail json YAML

Use %zu format for size_t instead of %x.

(dyoung)

2011-05-04 01:13:35 UTC MAIN commitmail json YAML

Always try to open kmem, do not always set use_sysctl to 1, and do not
fail if opening kmem fails unless !use_sysctl.  Fixes netstat(1) options
such as -s.

(dyoung)

2011-05-04 01:11:29 UTC MAIN commitmail json YAML

Access the kvm_t using get_kvmd(), only.

(dyoung)

2011-05-04 00:55:20 UTC MAIN commitmail json YAML

Don't use type qualifier 'register'.

(dyoung)

2011-05-03 23:57:41 UTC MAIN commitmail json YAML

Remove #ifdef INET6 throughout.

(dyoung)

2011-05-03 23:36:26 UTC MAIN commitmail json YAML

Do not display expired or reclaimed vestigial TIME_WAIT entries.

(dyoung)