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 (1h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

2024-05-09 22:39:46 UTC Now

2010-11-19 17:47:44 UTC MAIN commitmail json YAML

squelch the compiler whine

(pooka)

2010-11-19 17:46:02 UTC MAIN commitmail json YAML

Convert skipped tests into proper xfails (a lazy bum is me).

prompted by pgoyette

(pooka)

2010-11-19 17:35:04 UTC MAIN commitmail json YAML

document RUMP_NVNODES

(pooka)

2010-11-19 17:11:20 UTC MAIN commitmail json YAML

remove no longer necessary code

(pooka)

2010-11-19 17:09:45 UTC MAIN commitmail json YAML

Support multithreaded clients and fix a few bugs.

(pooka)

2010-11-19 17:06:57 UTC MAIN commitmail json YAML

Pass routines necessary for multithreaded operation down to rumpuser_sp.

(pooka)

2010-11-19 15:47:32 UTC MAIN commitmail json YAML

2010-11-19 15:40:56 UTC MAIN commitmail json YAML

2010-11-19 15:25:50 UTC MAIN commitmail json YAML

Start working on making the syscall proxy code threadsafe.  The
basics are there, but a few more tweaks are needed.  The reason
I'm committing it now is that the code was mindnumbingly boring to
write (no wonder it took me almost 3 years to get it done), and I
might burn it if it's not in a safe place.

(pooka)

2010-11-19 15:25:37 UTC uebayasi-xip commitmail json YAML

genfs_*_xip_io: Adjust start offset.

(uebayasi)

2010-11-19 13:38:18 UTC MAIN commitmail json YAML

add PCI_MAGIC_IO_RANGE so non-x86 machines can map the IO range belonging to
the console vga
thanks to nick for reminding me to commit this and for confirming that it works as intended

(macallan)

2010-11-19 12:37:48 UTC MAIN commitmail json YAML

2010-11-19 12:36:50 UTC MAIN commitmail json YAML

2010-11-19 12:31:36 UTC MAIN commitmail json YAML

Since /usr/games is rarely in one's $PATH, provide an absolute path to the
test-program.  This lets automated testing reach and execute a couple more
tests rather than skipping them.

Discussed privately with pooka@

(pgoyette)

2010-11-19 09:11:45 UTC MAIN commitmail json YAML

Fix previous, was all wrong. noticed by enami.

(dholland)

2010-11-19 09:08:26 UTC MAIN commitmail json YAML

add missing pathbuf_destroy on error path, noticed by enami

XXX: this code is wrong; it should not be calling namei and then
XXX: vn_open on the same nameidata.

(dholland)

2010-11-19 08:39:25 UTC uebayasi-xip commitmail json YAML

2010-11-19 08:12:12 UTC uebayasi-xip commitmail json YAML

2010-11-19 08:11:04 UTC uebayasi-xip commitmail json YAML

More adjustment.

Reorder
genfs_node_unlock() -> putiobuf()
to
putiobuf() -> genfs_node_unlock()
but I don't think there's any constraint between these two.

(uebayasi)

2010-11-19 07:44:01 UTC MAIN commitmail json YAML

bump date for previous (thanks jnemeth)

(dholland)

2010-11-19 07:09:50 UTC uebayasi-xip commitmail json YAML

Share mode code.  Care glock.

(uebayasi)

2010-11-19 06:46:33 UTC MAIN commitmail json YAML

5.99.40: nameidata changed.

(dholland)

2010-11-19 06:45:29 UTC MAIN commitmail json YAML

2010-11-19 06:44:48 UTC MAIN commitmail json YAML

Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is
complete.

Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).

The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.

(dholland)

2010-11-19 06:38:53 UTC uebayasi-xip commitmail json YAML

2010-11-19 05:43:30 UTC uebayasi-xip commitmail json YAML

2010-11-19 05:38:10 UTC MAIN commitmail json YAML

2010-11-19 05:22:29 UTC uebayasi-xip commitmail json YAML

2010-11-19 04:46:24 UTC uebayasi-xip commitmail json YAML

Call XIP getpages() from within the generic one.

(uebayasi)

2010-11-19 04:14:30 UTC uebayasi-xip commitmail json YAML

2010-11-19 04:13:21 UTC uebayasi-xip commitmail json YAML

Comment out XIP hole page redirection code.  Since makefs(8) doesn't
support hole, and these code paths can be never tested.

(The current XIP is read-only, so hole pages are pointless in
practice.)

(uebayasi)

2010-11-19 03:31:25 UTC MAIN commitmail json YAML

Correct definition of leap year.  Make yeartonum and numtoyear use
full years so that year 2000 is correctly counted as a leap year.

Now NetBSD under SIMH picks up correct time-of-day clock value.  It
used to be a day behind, since 2000 - 1900 = 100 and naive leap year
test wouldn't count it as a leap year.

(uwe)

2010-11-19 02:30:41 UTC uebayasi-xip commitmail json YAML

Adjust XIP putpages to I/O XIP getpages.

(uebayasi)

2010-11-19 02:29:56 UTC uebayasi-xip commitmail json YAML

- Check FFS fragment size to be page-aligned too.
- Hook the new cdev_mmap() method.

(uebayasi)

2010-11-19 01:44:48 UTC uebayasi-xip commitmail json YAML

Make XIP genfs_getpages_xip() return pages in I/O path, preparing
merge into the generic genfs_getpages().

(uebayasi)

2010-11-19 00:44:19 UTC MAIN commitmail json YAML

PR/44113: Nicolas Joly: printf(3) should ignore zero padding for nan/inf

(christos)

2010-11-18 18:48:05 UTC MAIN commitmail json YAML

Add new X.org manual pages from "xorg-docs" package.

(tron)

2010-11-18 18:47:36 UTC MAIN commitmail json YAML

Build and install the following manual pages from the "xorg-docs" package:
- Consortium(7)
- Standards(7)
- X(7)
- XOrgFoundation(7)
- XProjectTeam(7)
- Xsecurity(7)
This fixes PR xsrc/44034 by Martin Neitzel.

(tron)

2010-11-18 18:16:15 UTC MAIN commitmail json YAML

previous fixed one HP laptop and broke an other HP laptop.
The one which got fixed RuntimeCount is 1. The one which broke RuntimeCount is 0.
So only decrement RuntimeCount when RuntimeCount is non-zero.

(cegger)

2010-11-18 18:12:23 UTC MAIN commitmail json YAML

Implement footbridge_io_bs_mmap.

(skrll)

2010-11-18 18:06:21 UTC MAIN commitmail json YAML

2010-11-18 18:01:20 UTC MAIN commitmail json YAML

2010-11-18 18:00:41 UTC MAIN commitmail json YAML

Remove commented out setting of SDRAM_MEMORY_ADDR - it's set later on.

(skrll)

2010-11-18 16:16:37 UTC uebayasi-xip commitmail json YAML

2010-11-18 16:09:46 UTC uebayasi-xip commitmail json YAML

2010-11-18 16:07:53 UTC uebayasi-xip commitmail json YAML

2010-11-18 14:40:32 UTC MAIN commitmail json YAML

fix AcpiEnableGpe:
GPEs get enabled at ACPI initialization. AcpiInstallGpeHandler() disables
GPEs using AcpiEvDisableGpe() w/o decrementing RuntimeCount.
So when acpiec(4) enables the GPE after installing the GPE Handler then
AcpiEnableGpe() does not call AcpiEvEnableGpe() because RuntimeCount
says it is already enabled which is wrong.
So decrement the RuntimeCount in AcpiInstallGpeHandler() right
before calling AcpiEvDisableGpe().

(cegger)

2010-11-18 11:49:42 UTC MAIN commitmail json YAML

build fix: vm_physmem_index is only used with DEBUG.
Fix build when DIAGNOSTIC is enabled but not DEBUG

(cegger)

2010-11-18 09:59:33 UTC MAIN commitmail json YAML

mention module noautoload property

(jnemeth)

2010-11-18 09:50:47 UTC MAIN commitmail json YAML

if autoloading check for a noautoload=true property and if found,
deny the autoload

(jnemeth)

2010-11-18 08:57:32 UTC MAIN commitmail json YAML

xsrc/external/mit/xorg-docs/ChangeLog@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/MAINTAINERS@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/Makefile.am@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/Makefile.in@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/README@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/aclocal.m4@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/config.guess@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/config.sub@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/configure@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/configure.ac@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/install-sh@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/man/Makefile.am@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/man/Makefile.in@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/man/general/Consortium.man@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/man/general/Makefile.am@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/man/general/Makefile.in@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/man/general/Standards.man@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/man/general/X.man@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/man/general/XOrgFoundation.man@1.1.1.1 / diff / nxr@1.1.1.1
xsrc/external/mit/xorg-docs/man/general/XProjectTeam.man@1.1.1.1 / diff / nxr@1.1.1.1
      :
(more 140 files)
Import version 1.5 of the "xorg-docs" package:
The documentation in this package is from xc/doc in the monolithic
source tree.

Status:

Vendor Tag: xorg
Release Tags: xorg-docs-1-5

(tron)

2010-11-18 08:42:40 UTC MAIN commitmail json YAML

add the ofppc bits for Xorg server.  this should be complete now,
but needs to be tested still.

(mrg)

2010-11-18 08:41:54 UTC MAIN commitmail json YAML

build the dri libraries on ofppc, same as macppc.

(mrg)

2010-11-18 08:41:11 UTC MAIN commitmail json YAML

Optimize DIAGNOSTIC check code.

(uebayasi)

2010-11-18 08:20:17 UTC MAIN commitmail json YAML

2010-11-18 08:18:32 UTC MAIN commitmail json YAML

Fix DIAGNOSTIC physseg find check.

(uebayasi)

2010-11-18 07:52:45 UTC MAIN commitmail json YAML

make this actually correct for an xorg world.

(mrg)

2010-11-18 04:47:01 UTC MAIN commitmail json YAML

when trying to map a ROM go through the appropriate /dev/pci* instance
instead of opening /dev/mem
With this Xorg should be able to read graphics card ROMs on all ports.

(macallan)

2010-11-18 01:53:05 UTC uebayasi-xip commitmail json YAML

2010-11-17 21:57:33 UTC MAIN commitmail json YAML

Remove unused rump_set_vmspace.  An equivalent needs to come back
later, though, but in its current form it's just unusable garbage.

(pooka)

2010-11-17 21:52:29 UTC MAIN commitmail json YAML

Provide a special rump_proxy_syscall for handling received proxy
syscalls and retire unused rump_syscall.

(pooka)

2010-11-17 21:50:34 UTC MAIN commitmail json YAML

2010-11-17 21:49:52 UTC MAIN commitmail json YAML

remove rump_pub_syscall -- unused/unusable

(pooka)

2010-11-17 21:48:08 UTC MAIN commitmail json YAML

2010-11-17 21:47:11 UTC MAIN commitmail json YAML

Skip one extra function in the rump syscall local path and use
sy_call() directly from rump_syscalls.c.

(pooka)

2010-11-17 20:19:25 UTC MAIN commitmail json YAML

do not produce an error when connections are closed normally

for L2CAP sockets, this solves an irritating error message from sdpd(8),
which can now differentiate between normal closure and error.

(plunky)

2010-11-17 20:07:51 UTC MAIN commitmail json YAML

2010-11-17 19:54:09 UTC MAIN commitmail json YAML

2010-11-17 19:36:54 UTC MAIN commitmail json YAML

Fix build when NATA_DMA is 0.

(dholland)

2010-11-17 18:22:17 UTC MAIN commitmail json YAML

2010-11-17 18:03:49 UTC MAIN commitmail json YAML

Capitalize the Internet's importance.

(wiz)

2010-11-17 18:02:20 UTC MAIN commitmail json YAML

Convert manual list to Bl; fix typo; remove dot at end of SEE ALSO.

(wiz)

2010-11-17 17:59:25 UTC MAIN commitmail json YAML

2010-11-17 17:55:00 UTC MAIN commitmail json YAML

note that shmif can be destroyed now

(pooka)

2010-11-17 17:51:22 UTC MAIN commitmail json YAML

2010-11-17 17:36:15 UTC MAIN commitmail json YAML

free syscall data after use

(pooka)

2010-11-17 13:41:52 UTC MAIN commitmail json YAML

since the fix was reverted, revert the test.

(christos)

2010-11-17 13:40:48 UTC MAIN commitmail json YAML

revert again, since this breaks libtool amongst other things.

(christos)

2010-11-17 13:25:54 UTC MAIN commitmail json YAML

Include "namespace.h" to get namespace protection.

(tron)

2010-11-17 13:19:32 UTC MAIN commitmail json YAML

Provide proper namespace protection for rbtree(3) because it is now
used by "libc" internally.

(tron)

2010-11-17 12:09:34 UTC MAIN commitmail json YAML

apply patch from http://www.openssl.org/news/secadv_20101116.txt
to fix a race condition which can be exploited in a buffer
overrun attack (CVE-2010-3864)

(drochner)

2010-11-17 10:40:41 UTC MAIN commitmail json YAML

Fix my previous patch to not call purge_remote() twice. Change the place
where purge_remote() is called. This fixes also a possible crash from the
same patch since ph1->remote can be NULL (when we are responder and config
is not yet selected).

(tteras)

2010-11-17 08:55:27 UTC MAIN commitmail json YAML

Put my name in the author section.

(tron)

2010-11-17 00:20:50 UTC MAIN commitmail json YAML

Cosmetic: fix indentation.

(dyoung)

2010-11-16 23:59:02 UTC MAIN commitmail json YAML

Fix Dd argument.

(wiz)

2010-11-16 23:58:12 UTC MAIN commitmail json YAML

Fix a bug in ptcread() that stopped a pty(4) in TIOCPKT_IOCTL mode from
sending a termios(4) structure like it was supposed to: ptcread() used
to copy pti->pt_send and zero it before testing it for TIOCPKT_IOCTL.
Test for TIOCPKT_IOCTL in the pti->pt_send copy in local variable c
instead of in pti->pt_send itself.

(dyoung)

2010-11-16 20:08:24 UTC MAIN commitmail json YAML

Use vmem for keeping track of unit numbers so that wildcard allocation
works correctly.

(pooka)

2010-11-16 18:25:03 UTC MAIN commitmail json YAML

Fixed test that was expected to fail.

(christos)

2010-11-16 18:17:32 UTC MAIN commitmail json YAML

PR/43469: Antii Kantee: test/util/sh/t_expand:strip fails.
Bring back fixes from revision 1.75:

- Fix a couple of bugs to make the following two echo statements print the
  same output as they should:

    line='#define bindir "/usr/bin" /* comment */'
    echo "${line%%/\**}"
    echo ${line%%/\**}

1. ISDBLQUOTE() was not working properly for non VSNORMAL expansions because
  varnest was incremented before the variable was completely parsed. Add
  an insub adjustment to keep track of that.
2. When we have a quoted backslash, we either need to escape twice, because
  one level of escaping will be stripped later (in the variable substitution
  case) or simply enter the backslash.

(christos)

2010-11-16 17:55:56 UTC MAIN commitmail json YAML

Pull up 702fa99a25c1b27e4c501e4a504f36b74106ea97 from upstream

This reverts the default timeout for test cases back to 300 seconds.
The change in the release was quite blind because it did not anticipate
many existing tests to be slow enough to overflow the modified timeout
(30 seconds), specially in anita.

My plan to really fix this is to let test cases specify their sizes in
a declarative way instead of specifying timeouts in seconds (the timeout
being defined by atf-run on a size basis), so I'm not going to bother to
go over all existing tests trying to figure out which ones need a higher
timeout for now.  It is just easier to revert.

(jmmv)

2010-11-16 17:23:10 UTC MAIN commitmail json YAML

Implement mark & sweep garbage collection as suggested by Enami Tsugutomo
on "current-users" mailing list. Garbage collection is performed if:
1.) We previously allocated memory for the environment array which
    is no longer used because the application overwrote "environ".
2.) We find a non-NULL pointer in the allocated environment array after
    the end of the environment. This happens if the applications attempts
    to clear the environment with something like "environ[0] = NULL;".

(tron)

2010-11-16 14:25:54 UTC MAIN commitmail json YAML

+libsparc_v8.so.0.0.debug

(njoly)

2010-11-16 14:04:12 UTC MAIN commitmail json YAML

Add new "t_environment_pth" test to the set lists.

(tron)

2010-11-16 14:03:47 UTC MAIN commitmail json YAML

Split threaded environment test for the other environment tests as
suggested by Nicolas Joly in private e-mail. Linking a binary with
"libpthread" effects the beaviour of "libc" and we really want to
test both cases.

(tron)

2010-11-16 13:08:31 UTC MAIN commitmail json YAML

Add missing xorg debug modules. While here, sort list.

(njoly)

2010-11-16 09:35:14 UTC MAIN commitmail json YAML

sys/mutex.h includes machine/intr.h via sys/intr.h, so no need here.

(uebayasi)

2010-11-16 09:34:25 UTC MAIN commitmail json YAML

MD interrupt implementation is not VM parameter.

(uebayasi)

2010-11-16 08:59:30 UTC MAIN commitmail json YAML

Don't expose spl* symbols to userland.  Should fix build.

(uebayasi)

2010-11-16 07:44:26 UTC uebayasi-xip commitmail json YAML

Factor out the part which lookups physical page "identity" from
UVM object, into sys/uvm/uvm_vnode.c:uvn_findpage_xip().  Eventually
this will become a call to cdev UVM object pager.

(uebayasi)

2010-11-16 03:49:54 UTC MAIN commitmail json YAML

Nowadays, comparing priority against PZERO doesn't make any sense.
Instead, see if a process waits uninterruptibly like ps does,
so that the second column (`b') of default vmstat output prints
some useful value (-t is still broken though).

(enami)

2010-11-16 03:03:28 UTC uebayasi-xip commitmail json YAML

2010-11-16 03:02:20 UTC MAIN commitmail json YAML

Fix typos in comment.

(enami)

2010-11-16 02:53:49 UTC MAIN commitmail json YAML

2010-11-16 02:53:02 UTC MAIN commitmail json YAML

make SMDK2410 kernel compile again after changes to sys/param.h

(bsh)

2010-11-16 02:50:15 UTC uebayasi-xip commitmail json YAML

2010-11-16 02:47:54 UTC uebayasi-xip commitmail json YAML

2010-11-16 02:47:40 UTC uebayasi-xip commitmail json YAML

2010-11-16 02:47:24 UTC uebayasi-xip commitmail json YAML

2010-11-16 01:12:57 UTC MAIN commitmail json YAML

Define uvmexp_pagemask and friends used by sparc to set PAGE_SIZE,
PAGE_MASK, PAGE_SHIFT dynamically.

(uebayasi)

2010-11-15 23:59:06 UTC MAIN commitmail json YAML

"fix" completely crackheaded code w/ uninitialized use,
missed as usual by the wonderful -g -O0

(pooka)

2010-11-15 23:51:07 UTC MAIN commitmail json YAML

remember to commit this file too

(pooka)

2010-11-15 23:19:33 UTC MAIN commitmail json YAML

explicitly set and clear the backlight on bit, just in case someone messes
with it while we're not looking

(macallan)

2010-11-15 23:10:52 UTC MAIN commitmail json YAML

2010-11-15 23:07:38 UTC MAIN commitmail json YAML

2010-11-15 22:49:33 UTC MAIN commitmail json YAML

2010-11-15 22:48:06 UTC MAIN commitmail json YAML

* make interface a cloner
* use SIOCSLINKSTR for supplying bus filename in case of cloned if

TODO: downing interface, unclone, and some tweaks for robustness

(pooka)

2010-11-15 22:45:24 UTC MAIN commitmail json YAML

add -h which prints only the bus header info

(pooka)

2010-11-15 22:42:38 UTC MAIN commitmail json YAML

2010-11-15 22:01:45 UTC MAIN commitmail json YAML

Add another set of problematic offsets from the quoted thread.

(pooka)

2010-11-15 21:56:47 UTC MAIN commitmail json YAML

diudau, remember that setlists have feelings too and make files match reality

(pooka)

2010-11-15 21:52:47 UTC MAIN commitmail json YAML

Exploit the fact that wizd is currently running and add a manpage
for the rump virtif.

(pooka)

2010-11-15 21:39:53 UTC MAIN commitmail json YAML

2010-11-15 21:39:12 UTC MAIN commitmail json YAML

Wording improvements.

(wiz)

2010-11-15 21:29:39 UTC MAIN commitmail json YAML

double the timeout for slow hosts (from 1 to 2 seconds)

(pooka)

2010-11-15 21:29:21 UTC MAIN commitmail json YAML

2010-11-15 21:24:32 UTC MAIN commitmail json YAML

don't increment i twice in the loop. From Michael Byrnes

(christos)

2010-11-15 21:19:59 UTC MAIN commitmail json YAML

New sentence, new line; add serial comma.

(wiz)

2010-11-15 20:39:00 UTC MAIN commitmail json YAML

Add test case for PR kern/44093 (fixed already, but tested to fail
without fix applied).

(pooka)

2010-11-15 20:37:22 UTC MAIN commitmail json YAML

Add a new signal model RUMP_SIGMODEL_RECORD which records all
signals which are posted to a process.

(pooka)

2010-11-15 20:31:41 UTC MAIN commitmail json YAML

Apply patch from PR kern/44093 by yamt:

Interrupt server wait only on certain signals (same set at nfs -i)
instead of all signals.  According to the PR this helps with
"git clone" run on a puffs file system.

(pooka)

2010-11-15 20:24:09 UTC MAIN commitmail json YAML

2010-11-15 20:23:12 UTC MAIN commitmail json YAML

Make interface support ifconfig {down,destroy} and generally make
it a little less eager to panic.

(pooka)

2010-11-15 18:21:19 UTC MAIN commitmail json YAML

add an option for system clock frequency (used by timer driver)

(bsh)

2010-11-15 18:19:20 UTC MAIN commitmail json YAML

2010-11-15 18:18:39 UTC MAIN commitmail json YAML

GPIO register definitions are now in imxgpioreg.h to share them with
imx51

(bsh)

2010-11-15 17:32:02 UTC uebayasi-xip commitmail json YAML

Move zero-page into a common place, in the hope that it's shared
for other purposes.

According to Chuck Silvers, zero-page mappings don't need to be
explicitly unmapped in putpages().  Follow that advice.

(uebayasi)

2010-11-15 15:23:32 UTC MAIN commitmail json YAML

Make int *error and optional parameter (i.e. it can be NULL).
Sometimes the caller just doesn't care which errno close() might
throw.

(pooka)

2010-11-15 15:11:54 UTC uebayasi-xip commitmail json YAML

2010-11-15 14:40:36 UTC MAIN commitmail json YAML

uebayasi-xip: rebase.

(uebayasi)

2010-11-15 14:38:24 UTC uebayasi-xip commitmail json YAML

2010-11-15 12:26:36 UTC MAIN commitmail json YAML

2010-11-15 12:23:06 UTC MAIN commitmail json YAML

2010-11-15 11:58:10 UTC MAIN commitmail json YAML

add interrupt EAPIC register definitions

(cegger)

2010-11-15 09:34:28 UTC MAIN commitmail json YAML

don't include <arm/cpu.h> which requires SOFTINT_COUNT before <sys/intr.h>
is fully included.
This change makes Beagleboard kernel compile again after uebayashi's change
to sys/param.h.

(bsh)

2010-11-15 09:25:58 UTC MAIN commitmail json YAML

fix compile error about missing evcnt definition.
picvar.h is now included very early because of uebayashi's change to sys/param.h.

(bsh)

2010-11-15 08:56:30 UTC MAIN commitmail json YAML

2010-11-15 08:50:32 UTC MAIN commitmail json YAML

2010-11-15 08:41:44 UTC uebayasi-xip commitmail json YAML

Hide uvm/uvm_page.h here again.

(uebayasi)

2010-11-15 08:35:52 UTC MAIN commitmail json YAML

uebayasi-xip: update.

(uebayasi)

2010-11-15 08:27:40 UTC MAIN commitmail json YAML

Use a regular expression to match the various ASCII-armoured headers we
may encounter - fixes PR 44074 from Peter Pentchev in a different way.

(agc)

2010-11-15 08:03:40 UTC MAIN commitmail json YAML

Changes to help with netpgp key generation and interoperability:

+ use plain SHA1 for session key s2k negotiation
+ don't warn on some conditions when inflating (reading a compressed file)
  since the conditions don't hold for partial block lengths
+ prompt for a passphrase when generating a new key - used in the upcoming
  secret-sharing functionality for netpgp

(agc)

2010-11-15 06:32:38 UTC MAIN commitmail json YAML

struct lwp * deref needs sys/lwp.h.

(uebayasi)

2010-11-15 06:30:04 UTC MAIN commitmail json YAML

sys/lwp.h for lwp0, sh3/proc.h for sh_proc0_init.

(uebayasi)

2010-11-15 06:27:41 UTC MAIN commitmail json YAML

struct cpu_info * deref needs sys/cpu.h.

(uebayasi)

2010-11-15 06:26:58 UTC MAIN commitmail json YAML

struct cpu_info * deref needs sys/cpu.h.

(uebayasi)

2010-11-15 06:25:43 UTC MAIN commitmail json YAML

2010-11-15 06:24:54 UTC MAIN commitmail json YAML

struct proc * deref needs sys/proc.h.

(uebayasi)

2010-11-15 06:23:05 UTC MAIN commitmail json YAML

2010-11-15 06:22:13 UTC MAIN commitmail json YAML

struct cpu_info * deref needs sys/cpu.h.

(uebayasi)

2010-11-15 06:14:02 UTC MAIN commitmail json YAML

struct lwp * deref (for kauth).

(uebayasi)

2010-11-15 06:13:16 UTC MAIN commitmail json YAML

2010-11-15 06:12:28 UTC MAIN commitmail json YAML

struct lwp * and struct proc * derefs.

(uebayasi)

2010-11-15 06:08:32 UTC MAIN commitmail json YAML

2010-11-15 06:07:41 UTC MAIN commitmail json YAML

2010-11-15 06:06:51 UTC MAIN commitmail json YAML

struct proc * and struct lwp * derefs.

(uebayasi)

2010-11-15 06:05:27 UTC MAIN commitmail json YAML

Dereferencing struct proc * and struct lwp *, include them

(uebayasi)

2010-11-15 06:01:30 UTC MAIN commitmail json YAML

Dereferencing struct lwp * needs sys/lwp.h.

(uebayasi)

2010-11-15 06:01:07 UTC MAIN commitmail json YAML

Dereferencing struct lwp * needs sys/lwp.h.

(uebayasi)

2010-11-15 05:59:57 UTC MAIN commitmail json YAML

This doesn't use uvm(9) API.

(uebayasi)

2010-11-15 05:58:18 UTC MAIN commitmail json YAML

wakeup needs sys/proc.h.

(uebayasi)

2010-11-15 05:57:39 UTC MAIN commitmail json YAML

tsleep needs sys/proc.h.

(uebayasi)

2010-11-15 05:57:25 UTC MAIN commitmail json YAML

tsleep needs sys/proc.h.

(uebayasi)

2010-11-15 05:57:07 UTC MAIN commitmail json YAML

tsleep needs sys/proc.h.

(uebayasi)

2010-11-15 05:56:31 UTC MAIN commitmail json YAML

Socket ioctl definitions need sys/sockio.h.

(uebayasi)

2010-11-15 05:54:38 UTC MAIN commitmail json YAML

2010-11-15 05:53:29 UTC MAIN commitmail json YAML

2010-11-15 05:52:41 UTC MAIN commitmail json YAML

curlwp needs sys/lwp.h.

(uebayasi)

2010-11-14 22:25:24 UTC MAIN commitmail json YAML

Don't use internal libc function __findenv().

(tron)

2010-11-14 22:09:16 UTC MAIN commitmail json YAML

Don't use internal libc function __findenv().

(tron)

2010-11-14 22:04:37 UTC MAIN commitmail json YAML

1.) Rename internal function __findvar() to __findenvvar().
2.) Add a wrapper function __findenv() which implements the previous
    *internal* interface. It turns out that ld.elf_so(1) and pthread(3)
    both use it.

Stripping e.g. "LD_LIBRARY_PATH" from the environment while running
setuid binaries works again now.

(tron)

2010-11-14 20:53:54 UTC MAIN commitmail json YAML

bin/44088

Change the initialization state of gtagsmode to 0, (unset).

This brings about least astonishment for users, permittings tags
functionality to work as expected.

(schnoebe)

2010-11-14 20:37:02 UTC MAIN commitmail json YAML

Set errno to ENOENT if we reject the environment variable name in
getenv_r() instead of leaving it unchanged.

(tron)

2010-11-14 19:49:17 UTC MAIN commitmail json YAML

revert previous. breaks other stuff.

(christos)

2010-11-14 19:43:38 UTC MAIN commitmail json YAML

- Fix a couple of bugs to make the following two echo statements print the
  same output as they should:

    line='#define bindir "/usr/bin" /* comment */'
    echo "${line%%/\**}"
    echo ${line%%/\**}

1. ISDBLQUOTE() was not working properly for non VSNORMAL expansions because
  varnest was incremented before the variable was completely parsed. Add
  an insub adjustment to keep track of that.
2. When we have a quoted backslash, we need to escape twice, because one
  level of escaping will be stripped later. (XXX: Do that when insub == 1
  only?)

- Make macros statements

(christos)

2010-11-14 19:36:07 UTC MAIN commitmail json YAML

don't core-dump if we cannot open the trace file.

(christos)

2010-11-14 19:19:25 UTC MAIN commitmail json YAML

Add a new regression test "t_threaded" which tests using getenv_r(3),
putenv(3), setenv(3) and unsetenv(3) concurrently.

(tron)

2010-11-14 18:15:08 UTC MAIN commitmail json YAML

Update tests for *env(3):
- Introduce randomness into "t_setenv" to avoid freeing environment
  variables exactly in the order they have been allocated.
  Also call unsetenv(3) twice to make sure it behaves well if the
  environment variable doesn't exist.
- "t_getenv" is no longer a known failure after getenv(3) and getenv_r(3)
  have been fixed.

(tron)

2010-11-14 18:11:43 UTC MAIN commitmail json YAML

Improve and simplify implementation of *env(3) functions:
- Use RB tree to keep track of memory allocated via setenv(3) as
  suggested by Enami Tsugutomo in private e-mail.
  This simplifies the code a lot as we no longer need to keep the size
  of "environ" in sync with an array of allocated environment variables.
  It also makes it possible to free environment variables in unsetenv(3)
  if something has changed the order of the "environ" array.
- Fix a bug in getenv(3) and getenv_r(3) which would return bogus
  results e.g. for " getenv("A=B") " if an environment variable "A"
  with value "B=C" exists.
- Clean up the internal functions:
  - Don't expose the read/write lock for the environment to other parts
    of "libc". Provide locking functions instead.
  - Use "bool" to report success or failure.
  - Use "ssize_t" or "size_t" instead of "int" for indexes.
  - Provide internal functions with simpler interfaces e.g. don't
    combine return values and reference arguments.
  - Don't copy "environ" into an allocated block unless we really need
    to grow it.

Code reviewed by Joerg Sonnenberger and Christos Zoulas, tested by
Joerg Sonnenberger and me. These changes also fix problems in
zsh 4.3.* and pam_ssh according to Joerg.

(tron)

2010-11-14 15:47:20 UTC MAIN commitmail json YAML

2010-11-14 15:36:47 UTC MAIN commitmail json YAML

Include sys/ioccom.h directly because it's used.

(uebayasi)

2010-11-14 15:18:24 UTC MAIN commitmail json YAML

2010-11-14 15:18:07 UTC MAIN commitmail json YAML

2010-11-14 15:16:53 UTC MAIN commitmail json YAML

Fix build caused by a last minute change.

(uebayasi)

2010-11-14 15:06:34 UTC MAIN commitmail json YAML

Be a little more friendly to dynamic physical segment registration.

Maintain an array of pointer to struct vm_physseg, instead of struct
array.  So that VM subsystem can take its pointer safely.  Pointer
to this struct will replace raw paddr_t usage in the future.

Dynamic removal is not supported yet.

Only MD data structure changes, no kernel bump needed.

Tested on i386, amd64, powerpc/ibm40x, arm11.

(uebayasi)

2010-11-14 13:43:05 UTC MAIN commitmail json YAML

Boot vs AP processors don't make sense for physical CPUs, these are
handled by the hypervisor and all CPUs are running when the dom0 is started.
In addition, we don't have a reliable way to determine the boot CPU as
- we may not be running on the boot CPU
- we don't have access to the lapic id
So simplify by ignoring the information and assign phycpu_info_primary to the
first attached CPU.

(bouyer)

2010-11-14 13:40:36 UTC MAIN commitmail json YAML

rlphy fails to work without autonegotiation.

Reason is that ifm_data does not store BMCR data but a media index
that gets poked into the BMCR register.

Setting the BMCR and ANAR registers is correctly handled by the
generic function mii_phy_setmedia.

(mlelstv)

2010-11-14 13:40:32 UTC MAIN commitmail json YAML

Explain why we hardwire lapic_cpu_number() to 0 on Xen.

(bouyer)

2010-11-14 13:33:23 UTC MAIN commitmail json YAML

2010-11-14 11:19:50 UTC MAIN commitmail json YAML

2010-11-14 06:30:59 UTC MAIN commitmail json YAML

This actually uses only PAGE_SIZE, remove uvm/uvm_extern.h again.

(uebayasi)