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 (24m)  netbsd-8 (6d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 21:01:25 UTC Now

2011-12-22 02:13:08 UTC MAIN commitmail json YAML

Transfer some static from my winter coat to more structures/functions
in this file.

(jakllsch)

2011-12-22 02:00:19 UTC MAIN commitmail json YAML

Fix up changes commited in kttcp.c 1.29.

(jakllsch)

2011-12-21 22:18:43 UTC MAIN commitmail json YAML

don't include pcap/bpf.h

(christos)

2011-12-21 19:27:47 UTC MAIN commitmail json YAML

don't change the layout of the struct, it is used by fstat. (from yamt)

(christos)

2011-12-21 19:04:19 UTC MAIN commitmail json YAML

PR/45730: David Holland: Avoid having 2 copies of bpf.h in /usr/include.
This adds the missing entries from libpcap to make libpcap compile with
our bpf.h.

(christos)

2011-12-21 19:00:28 UTC MAIN commitmail json YAML

Don't use libpcap's bpf file, but use our own:
1. include <net/dlt.h> where needed since we have the information in a separate
  file.
2. #error in pcap/bpf.h to make sure it is not being used.
3. If we don't include <pcap/bpf.h> include <net/bpf.h> instead.
4. Install symlinks instead of copies of files.

(christos)

2011-12-21 15:27:50 UTC MAIN commitmail json YAML

only set CANTRCVMORE if no error.

(christos)

2011-12-21 15:26:57 UTC MAIN commitmail json YAML

2011-12-21 14:33:13 UTC MAIN commitmail json YAML

bootmenu doesn't parse "prompt" as part of a command list, it must
stand alone.

(mlelstv)

2011-12-21 11:53:07 UTC MAIN commitmail json YAML

move the (now 1024 byte) printing buffer off the stack

(jmcneill)

2011-12-21 10:02:45 UTC MAIN commitmail json YAML

Increase printing buffer of ttycons from 80 to 1024 significantly increasing
console output on large dumps.

(reinoud)

2011-12-21 07:36:03 UTC MAIN commitmail json YAML

Include the fifofs Atffile

(pgoyette)

2011-12-21 02:16:57 UTC MAIN commitmail json YAML

relax the test for analog devices analog pcbeep widgets

(jmcneill)

2011-12-21 01:58:46 UTC MAIN commitmail json YAML

2011-12-21 01:57:56 UTC MAIN commitmail json YAML

2011-12-21 01:56:17 UTC MAIN commitmail json YAML

correct install dir

(christos)

2011-12-21 00:23:31 UTC MAIN commitmail json YAML

2011-12-21 00:17:07 UTC MAIN commitmail json YAML

2011-12-20 23:56:29 UTC MAIN commitmail json YAML

- Eliminate so_nbio and turn it into a bit SS_NBIO in so_state.
- Introduce MSG_NBIO so that we can turn non blocking i/o on a per call basis
- Use MSG_NBIO to fix the XXX: multi-threaded issues on the fifo sockets.
- Don't set SO_CANTRCVMORE, if we were interrupted (perhaps do it for all
  errors?).

(christos)

2011-12-20 22:48:59 UTC MAIN commitmail json YAML

on second thought, set machine and machine_arch both from the host and
override module_machine

(jmcneill)

2011-12-20 21:35:16 UTC MAIN commitmail json YAML

check return value of write, make sure we send the whole buffer to stdout

(jmcneill)

2011-12-20 21:27:29 UTC MAIN commitmail json YAML

Mark all of the Rx descriptor fields 'volatile' so that the compiler
will not re-order accesses.  Some versions of GCC (such as one in NetBSD
5.x) definitely do re-order reads from these fields if they're not
marked volatile.

(dyoung)

2011-12-20 21:26:37 UTC MAIN commitmail json YAML

2011-12-20 21:07:56 UTC MAIN commitmail json YAML

thunk_pollchar: use read instead of getchar

(jmcneill)

2011-12-20 21:01:39 UTC MAIN commitmail json YAML

2011-12-20 19:49:36 UTC MAIN commitmail json YAML

If we need to set the PK_CHKNOSYSCALL flag in struct proc be so nice to first
take the mutex. Tnx for pointing it out to me.

(reinoud)

2011-12-20 17:09:04 UTC MAIN commitmail json YAML

Put the path to the compat/common directory in a .PATH line, not in
an element of the SRCS list.  This should fix a problem in which build
products were created in the source tree.

Also add a comment about where COMPAT_50 is defined.

(apb)

2011-12-20 16:49:37 UTC MAIN commitmail json YAML

Move the diagnostic check for a missing VOP_CLOSE() to the top of vrelel().
As long as we hold the vnode interlock there is no chance for this vnode
to gain new references.

Fixes false alarms observed by Thor Lancelot Simon and reported on tech-kern.

Ok: David Holland <dholland@netbsd.org>

(hannken)

2011-12-20 16:43:14 UTC MAIN commitmail json YAML

New sentence, new line. Bump date for previous.

(wiz)

2011-12-20 16:38:06 UTC MAIN commitmail json YAML

allow kernels w/o COMPAT_50 to build

(drochner)

2011-12-20 15:45:37 UTC MAIN commitmail json YAML

Use to the MAP_NOSYSCALLS argument to mmap() to allow for NetBSD/usermode to
execute bog-standard native programs.

(reinoud)

2011-12-20 15:43:52 UTC MAIN commitmail json YAML

Add int $80 and sysenter opcodes to the x86 SIGILL opcode detector

(reinoud)

2011-12-20 15:41:50 UTC MAIN commitmail json YAML

Part 2 - x86 implementation of MAP_NOSYSCALLS

Currently the MAP_NOSYSCALLS is only implemented for x86 but other
architectures are easy to adapt; see the sys/arch/x86/x86/syscall.c patch.
Port maintainers are encouraged to add them for their processor ports too.
When this feature is not yet implemented for an architecture the
MAP_NOSYSCALLS is simply ignored with virtually no cpu cost..

(reinoud)

2011-12-20 15:41:01 UTC MAIN commitmail json YAML

Ooops forgot the uvm_map.h

(reinoud)

2011-12-20 15:39:36 UTC MAIN commitmail json YAML

Add a MAP_NOSYSCALLS flag to mmap. This flag prohibits executing of system
calls from the mapped region. This can be used for emulation perposed or for
extra security in the case of generated code.

Its implemented by adding mapping-attributes to each uvm_map_entry. These can
then be queried when needed.

Currently the MAP_NOSYSCALLS is only implemented for x86 but other
architectures are easy to adapt; see the sys/arch/x86/x86/syscall.c patch.
Port maintainers are encouraged to add them for their processor ports too.
When this feature is not yet implemented for an architecture the
MAP_NOSYSCALLS is simply ignored with virtually no cpu cost..

(reinoud)

2011-12-20 13:47:38 UTC MAIN commitmail json YAML

comment and assertion

(yamt)

2011-12-20 13:46:17 UTC yamt-pagecache commitmail json YAML

2011-12-20 13:42:19 UTC MAIN commitmail json YAML

Revert previous; the #include was already present, and I got confused
by a merge error.

(apb)

2011-12-20 13:17:05 UTC MAIN commitmail json YAML

from http://www.freshbsd.org/commit/openbsd/ae7f934ae5bdf57dcf3431ba55fd1da93b8f1963

Initialize abridged tag word properly. x87 spec says FNINIT says tag word
contains FFFFh (all stack locations empty) which would make abridged tag
word 00h. From the Intel 64 and IA-32 Architectures Software Developer's
Manual:

"The FXSAVE instruction saves an abridged version of the x87 FPU tag word
in the FTW field (unlike the FSAVE instruction, which saves the complete
tag word). The tag information is saved in physical register order (R0
through R7), rather than in top-of- stack (TOS) order. With the FXSAVE
instruction, however, only a single bit (1 for valid or 0 for empty) is
saved for each tag."

ok rmind@

(jmcneill)

2011-12-20 12:45:00 UTC MAIN commitmail json YAML

#include "opt_compat_netbsd.h"

(apb)

2011-12-20 11:18:36 UTC MAIN commitmail json YAML

note new OpenPAM release

(drochner)

2011-12-19 22:25:46 UTC MAIN commitmail json YAML

- make all the ifdefs match
- make it compile, and test

(christos)

2011-12-19 21:59:46 UTC MAIN commitmail json YAML

Put back setitimer based code for the have-nots: (OS/X Lion)

(christos)

2011-12-19 21:56:18 UTC MAIN commitmail json YAML

SRCS += ${.CURDIR}/../../../../compat/common/rndpseudo_50.c
to fix build errors like this:

DESTDIR/usr/lib/librumpdev_rnd.so: undefined reference to
`rumpns_compat_50_rnd_ioctl'

(apb)

2011-12-19 21:53:52 UTC MAIN commitmail json YAML

Add COMPAT_50 and COMPAT_NETBSD32 compatibility code for rnd(4)
ioctl commands.

Tested with "rndctl -ls" using an old 32-bit version of rndctl(8)
(built for NetBSD-5.99.56/i386) and a new 64-bit kernel
(NetBSD-5.99.59/amd64).

(apb)

2011-12-19 21:44:08 UTC MAIN commitmail json YAML

Return ENOTTY, not EINVAL, when the ioctl command is unrecognised.

(apb)

2011-12-19 19:39:51 UTC MAIN commitmail json YAML

It's tp->t_dev, not tp->tp_dev.  Corrects commit prior to previous.

(jakllsch)

2011-12-19 19:34:52 UTC MAIN commitmail json YAML

const-ify struct ucom_methods pointer within ucom(4).

(jakllsch)

2011-12-19 19:30:12 UTC MAIN commitmail json YAML

Make commented-out code in ucomstop() compilable.

(jakllsch)

2011-12-19 19:09:16 UTC MAIN commitmail json YAML

Add knob to turn MULTIPROCESSOR build on for XEN

(cherry)

2011-12-19 16:52:27 UTC MAIN commitmail json YAML

c99: do not warn about trailing comma in enum declaration.

(njoly)

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

2011-12-19 15:36:27 UTC MAIN commitmail json YAML

Fix error reporting in puffs_framev_enqueue_waitevent and callers.

ok christos

(riastradh)

2011-12-19 15:09:52 UTC MAIN commitmail json YAML

Add eeprom.debug, and while here sort list.

(njoly)

2011-12-19 14:07:40 UTC MAIN commitmail json YAML

2011-12-19 14:06:17 UTC MAIN commitmail json YAML

Move Clang-warning flags for ah_regdomain.c into sys/conf, they are
platform independent. Use the selective -Wno-* flags instead of
-Wno-error.

(joerg)

2011-12-19 14:04:56 UTC MAIN commitmail json YAML

libgcc_pic is still needed for GCC 4.1.

(joerg)

2011-12-19 12:19:27 UTC MAIN commitmail json YAML

for analog devices codecs, mark the analog beeper pin as a beep generator
to help the parser. makes pcppi beep work again.

(jmcneill)

2011-12-19 11:59:59 UTC MAIN commitmail json YAML

2011-12-19 11:47:17 UTC MAIN commitmail json YAML

as in netkey/key.c, just use cprng_fast() to get a random number
(which is used to choose an SPI), kill the dummy seeding code

(drochner)

2011-12-19 11:10:08 UTC MAIN commitmail json YAML

make this build with RND_DEBUG

(drochner)

2011-12-19 10:57:00 UTC MAIN commitmail json YAML

2011-12-19 03:16:06 UTC MAIN commitmail json YAML

fix killing code I just broke, and give program a chance to cleanup.

(christos)

2011-12-19 03:02:31 UTC MAIN commitmail json YAML

don't produce different output if we are super user.

(christos)

2011-12-18 22:51:00 UTC MAIN commitmail json YAML

Remove unused variable

(joerg)

2011-12-18 22:34:06 UTC MAIN commitmail json YAML

Don't use antiquated BSD API's that require global variable, use posix timers
instead.

(christos)

2011-12-18 22:30:25 UTC MAIN commitmail json YAML

2011-12-18 22:25:20 UTC MAIN commitmail json YAML

2011-12-18 17:19:57 UTC MAIN commitmail json YAML

Add two late entries:
- x68k bootloader fix for X68060
- m68k FPE hyperbotic and trigonometric functions

(tsutsui)

2011-12-18 14:45:24 UTC MAIN commitmail json YAML

Rename FRAME* macro to TRFS_FRAME* for readability and
workaround for powerpc builds. Pointed out by phx@.

XXX: <powerpc/frame.h> shouldn't pollute userland namespace anyway.

(tsutsui)

2011-12-18 14:29:00 UTC MAIN commitmail json YAML

2011-12-18 13:40:08 UTC MAIN commitmail json YAML

Lowercase arch strings, and add missing ones.

(njoly)

2011-12-18 11:10:33 UTC MAIN commitmail json YAML

2011-12-18 09:12:18 UTC MAIN commitmail json YAML

Restore __HAVE_MM_MD_READWRITE which was added for 5.99.53 in rev 1.14
but removed by merge botch on __HAVE_NEW_STYLE_BUS_H changes in rev 1.15.

Fixes "/dev/nvram: Device not configured" problem on installboot(8)
reported by David Ross.

(tsutsui)

2011-12-18 05:49:34 UTC MAIN commitmail json YAML

2011-12-18 04:51:13 UTC MAIN commitmail json YAML

Explicitly specify -m68020-60 to avoid possible 060SP instructions,
especially 64 bit integer mul/div ops in standalone bootloaders. From x68k.

(tsutsui)

2011-12-18 04:29:32 UTC MAIN commitmail json YAML

2011-12-18 03:46:02 UTC MAIN commitmail json YAML

PR port-next68k/45719 from Jaime Fournier:
Fix RELOC() (awful VA -> PA conversion) usage introduced to appease gcc45
in rev 1.22.

(tsutsui)

2011-12-18 02:31:51 UTC MAIN commitmail json YAML

adjust English usage in comment

(dholland)

2011-12-18 01:12:55 UTC MAIN commitmail json YAML

2011-12-17 21:25:12 UTC MAIN commitmail json YAML

New sentence, new line. Fix some markup. Bump date for previous.

(wiz)

2011-12-17 21:24:41 UTC MAIN commitmail json YAML

Use more markup. Bump date for previous.

(wiz)

2011-12-17 21:21:59 UTC MAIN commitmail json YAML

New sentence, new line.
Bump date for previous.

(wiz)

2011-12-17 20:20:38 UTC MAIN commitmail json YAML

2011-12-17 20:05:40 UTC MAIN commitmail json YAML

Separate /dev/random pseudodevice implemenation from kernel entropy pool
implementation.  Rewrite pseudodevice code to use cprng_strong(9).

The new pseudodevice is cloning, so each caller gets bits from a stream
generated with its own key.  Users of /dev/urandom get their generators
keyed on a "best effort" basis -- the kernel will rekey generators
whenever the entropy pool hits the high water mark -- while users of
/dev/random get their generators rekeyed every time key-length bits
are output.

The underlying cprng_strong API can use AES-256 or AES-128, but we use
AES-128 because of concerns about related-key attacks on AES-256.  This
improves performance (and reduces entropy pool depletion) significantly
for users of /dev/urandom but does cause users of /dev/random to rekey
twice as often.

Also fixes various bugs (including some missing locking and a reseed-counter
overflow in the CTR_DRBG code) found while testing this.

For long reads, this generator is approximately 20 times as fast as the
old generator (dd with bs=64K yields 53MB/sec on 2Ghz Core2 instead of
2.5MB/sec) and also uses a separate mutex per instance so concurrency
is greatly improved.  For reads of typical key sizes for modern
cryptosystems (16-32 bytes) performance is about the same as the old
code: a little better for 32 bytes, a little worse for 16 bytes.

(tls)

2011-12-17 19:42:41 UTC MAIN commitmail json YAML

- In cfi_probe() iterate over all chip widths for every port width to find
  x8/x16 configurations, or two x8 chips forming a x16 port width.
- The offset in cfi_cmd() is now always given for 64-bit port width.
  It will be scaled down for the actual port width to avoid problems
  with 0x2aa -> 0x554 instead of 0x555.
- Added missing cfi_reset_default() in cfi_jedec_id(). The reset is
  needed, because the chip was still in CFI-Query mode.
- Removed everything dealing with cfi_opmodes. It only complicates things
  and I found no reason for keeping them. The port width and chip width
  is known, so I just introduced a new cfi_read_qry() function which reads
  a single word using bus_space_read_N() from the QRY structure, which
  can be checked for 'Q', 'R' and 'Y'. That's all we need, before
  reading and unpacking the whole QRY and PRI structures.
- Added two new fields, cfi_unlock_addr1 and cfi_unlock_addr2 to
  the cfi struct. The unlock offsets should be kept variable, depending
  on the manufacturer or command set version.

Changes have been discussed with cliff@.

(phx)

2011-12-17 19:34:07 UTC MAIN commitmail json YAML

Allow defining a bus space with pbs_limit=0, which will have the effect to
create a space which ends with 0xffffffff.
This is needed, because pbs_limit=0xffffffff ends the space with 0xfffffffe.

(phx)

2011-12-17 19:14:10 UTC MAIN commitmail json YAML

Use mktime(3) instead of hand-coded equivalent.
Don't treat negative results as errors (we should be able
to handle years before 1970).

XXX: This still fails on 1969-12-31 23:59:59.

(apb)

2011-12-17 19:07:34 UTC MAIN commitmail json YAML

Add some tests for dates several centures into the past and future.
These currently fail, but I'll fix that soon.

(apb)

2011-12-17 19:04:07 UTC MAIN commitmail json YAML

Add some tests for timegm(3) close to the epoch.  In
particular, 1969-12-31 23:59:59 should convert to (time_t)-1
with errno = 0.

(apb)

2011-12-17 15:40:22 UTC MAIN commitmail json YAML

Update ftp.NetBSD.org IPv4/IPv6 addresses.
(should be pulled up to all release branches?)

(tsutsui)

2011-12-17 14:51:08 UTC MAIN commitmail json YAML

Fix panic early call rasops_init().  Move into arcvideo_attach().
Also early attach arcvideo.

(kiyohara)

2011-12-17 14:25:32 UTC MAIN commitmail json YAML

Fix Bl/El unmatch.  Pointed out by kano@.

(tsutsui)

2011-12-17 14:12:44 UTC MAIN commitmail json YAML

Remove trailing whitespace.

(wiz)

2011-12-17 13:37:50 UTC MAIN commitmail json YAML

2011-12-17 13:29:50 UTC MAIN commitmail json YAML

Note isibootd(8) netboot server for luna68k.

(tsutsui)

2011-12-17 13:27:52 UTC MAIN commitmail json YAML

2011-12-17 13:24:18 UTC MAIN commitmail json YAML

Add isibootd(8) command, which is a dumb network boot server program
for the OMRON LUNA clients, like ndbootd(8) for Sun2 machines.

No particular comment on tech-userlevel@:
http://mail-index.NetBSD.org/tech-userlevel/2011/12/15/msg005872.html

(tsutsui)

2011-12-17 13:18:21 UTC MAIN commitmail json YAML

Make "rndctl -L" overwrite the file with zeros, not with the
same data that was just read from the file.

(apb)

2011-12-17 12:59:22 UTC MAIN commitmail json YAML

Add comments for some ioctls and structs; fix a typo in another comment.

(apb)

2011-12-17 12:45:14 UTC MAIN commitmail json YAML

Commit regenerated configuration file after COPTS=-Os shuffle.

(he)

2011-12-17 12:44:12 UTC MAIN commitmail json YAML

Drop makeoptions COPTS=-Os for the SMALL030 kernel now that std.atari
contains it.

(he)

2011-12-17 12:27:42 UTC MAIN commitmail json YAML

Add option to include daily insecurity output in daily output.
PR bin/17029

(darcy)

2011-12-17 04:43:45 UTC MAIN commitmail json YAML

The :@ example gives the impression that we encourage the ODE
convention of naming loop variables like .LINK., when in fact
single char variables are far more common in NetBSD.

(sjg)

2011-12-16 23:19:28 UTC MAIN commitmail json YAML

Request always_inline for rumpclient__dofork, it won't work correctly
for vfork otherwise. Also give it the returns twice attribute to ensure
that the stack tainting is done recursively.

(joerg)

2011-12-16 23:15:39 UTC matt-nb5-mips64 commitmail json YAML

Fix a bug spotted by a user (resident flag becoming stale).
Add a few more KSEGX tests.
Only set pmap_page_colormask if virtual caches aliases are possible.

(matt)

2011-12-16 20:45:07 UTC MAIN commitmail json YAML

provide a root entry if one was not found.

(christos)

2011-12-16 17:37:14 UTC MAIN commitmail json YAML

2011-12-16 17:35:09 UTC MAIN commitmail json YAML

disallow empty passphrases per default, and implement the "nullok"
option to allow it if the administator wishes, from FreeBSD

(drochner)

2011-12-16 17:30:12 UTC MAIN commitmail json YAML

-remove remainders of the misguided changes in revs 1.5-1.9
-iron out more unnecessary differences to FreeBSD

(drochner)

2011-12-16 15:59:57 UTC MAIN commitmail json YAML

Increase SYMTAB_SPACE.

(kiyohara)

2011-12-16 15:21:13 UTC MAIN commitmail json YAML

Do not tell about specific errno, as all xattr copying function
retuenrs error from extattr_list_file and extattr_get_file.

(manu)

2011-12-16 14:17:41 UTC MAIN commitmail json YAML

2011-12-16 13:38:44 UTC MAIN commitmail json YAML

2011-12-16 12:51:44 UTC MAIN commitmail json YAML

Sort sections. Remove trailing whitespace.

(wiz)

2011-12-16 12:46:02 UTC MAIN commitmail json YAML

Split extattr(3) into two man pages to get rid of ugly duplicate Nd.
Work done by Abhinav Upadhyay with minimal cleanup.

(wiz)

2011-12-16 12:45:04 UTC MAIN commitmail json YAML

2011-12-16 11:19:20 UTC MAIN commitmail json YAML

Apparently mknative didn't work right. Fix up losses.

(mlelstv)

2011-12-16 10:57:43 UTC MAIN commitmail json YAML

Document a bug when processes hang on uvn_fp2. FWIW, hung process exhibit
this stack backtrace:
sleepq_block
mtsleep
uvn_findpage
uvn_findpages
genfs_getpages
puffs_vnop_getpages
puffs_vnop_checkop
VOP_GETPAGES
uvn_get
uvm_fault_internal
trap
copyin
uiomove
ubc_uiomove
puffs_vnop_write
puffs_vnop_checkop
VOP_WRITE
vn_write
dofilewrite
sys_write
syscall

(manu)

2011-12-16 05:34:54 UTC MAIN commitmail json YAML

Rework puffs_framebuf management toremove leaks and abusive reuses. On
exchange error, the puffs_framebuf is now freed immediatly, before
requeuing outstanding requests.

(manu)

2011-12-16 03:05:23 UTC MAIN commitmail json YAML

make comment reflect reality

(christos)

2011-12-16 00:58:00 UTC MAIN commitmail json YAML

Take softnet_lock and kernel lock in frag6_slowtimo and frag6_fasttimo,
similar to how it's done with other protocols.

If we don't do this sending ICMPv6 messages in this path can cause races
in network interface drivers.

(jakllsch)

2011-12-15 22:20:26 UTC MAIN commitmail json YAML

don't leak mbufs.

(christos)

2011-12-15 20:55:02 UTC MAIN commitmail json YAML

PR/45700: use dostatvfs instead of grabbing the latest cached copy of
struct statvfs from the mount point, so that chroot is handled properly.

(christos)

2011-12-15 16:45:21 UTC MAIN commitmail json YAML

Remove nonexistent (probably HP-UX specific) Xref rmp(4).

(tsutsui)

2011-12-15 16:14:18 UTC MAIN commitmail json YAML

increase SYMTAB_SPACE.

(oki)

2011-12-15 16:06:18 UTC MAIN commitmail json YAML

2011-12-15 14:25:14 UTC MAIN commitmail json YAML

2011-12-15 13:27:06 UTC MAIN commitmail json YAML

Specify COPTS="-Os" for rich gcc 4.5 as bsd.sys.mk does for userland binaries
so that gzipped atari kernels still fit into floppies.
Noticed by David Ross.

(tsutsui)

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

USERCONF works but it isn't very useful, so remove it

(jmcneill)

2011-12-15 11:23:52 UTC MAIN commitmail json YAML

add required trace_enter/trace_exit calls in syscall() to make ktrace work

(jmcneill)

2011-12-15 11:13:25 UTC MAIN commitmail json YAML

Like intrleave_to_user:, intrleave_to_kernel: should also restore PID.
Moreover, disable transration.

(kiyohara)

2011-12-15 11:01:45 UTC MAIN commitmail json YAML

Store r30 and r31 beforehand to restore.

(kiyohara)

2011-12-15 09:38:21 UTC MAIN commitmail json YAML

Increase MTRR_I686_NVAR_MAX from 8 to 16. Avoids
"FIXME: more than 8 MTRRs (10)" message on booting Thinkpad W520 and
similar. While here replace a magic number with MTRR_I686_NVAR_MAX * 2

(abs)

2011-12-15 08:36:06 UTC MAIN commitmail json YAML

2011-12-15 08:34:11 UTC MAIN commitmail json YAML

make sure m68010-netbsdelf chooses the right unwinder.

(mrg)

2011-12-15 08:33:55 UTC MAIN commitmail json YAML

make sure m68010-netbsdelf chooses the right unwinder.

(mrg)

2011-12-15 07:52:13 UTC MAIN commitmail json YAML

2011-12-15 07:51:29 UTC MAIN commitmail json YAML

build eeprom on shark
this has been working for ages, why did I never commit it?

(macallan)

2011-12-15 06:35:51 UTC MAIN commitmail json YAML

src/external/gpl3/gcc/lib/libgomp/arch/arm/config.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libgomp/arch/armeb/config.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libiberty/defs.mk@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libstdc++-v3/arch/alpha/c++config.h@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libstdc++-v3/arch/alpha/config.h@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libstdc++-v3/arch/alpha/gstdint.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm/c++config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm/config.h@1.5 / diff / nxr@1.5
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm/gstdint.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/c++config.h@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/config.h@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb/gstdint.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libstdc++-v3/arch/hppa/c++config.h@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libstdc++-v3/arch/hppa/config.h@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libstdc++-v3/arch/hppa/gstdint.h@1.3 / diff / nxr@1.3
src/external/gpl3/gcc/lib/libstdc++-v3/arch/i386/gstdint.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mips64eb/c++config.h@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mips64eb/config.h@1.4 / diff / nxr@1.4
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mips64eb/gstdint.h@1.2 / diff / nxr@1.2
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mips64el/c++config.h@1.3 / diff / nxr@1.3
      :
(more 63 files)
regenerate mknative-gcc files for most platforms, post skrll@ fix
and joerg@'s enable tls change.

missing: m68010 (coming shortly) and m68k (breaks the build)

XXX: didn't test i re-merged the powerpc by-hand changes properly

(mrg)

2011-12-15 04:52:59 UTC matt-nb5-mips64 commitmail json YAML

2011-12-15 03:43:36 UTC MAIN commitmail json YAML

actually put some relevant information in the man page

(macallan)

2011-12-15 03:42:33 UTC MAIN commitmail json YAML

Improve usermode timecounter. It's unreasonable to assume that we'll get
100 "SIGALRM" per second with an ITIMER_REAL at 100Hz on a HZ=100 host as
the timer may expire before a pending signal has been delivered.

Instead of setitimer, use timer_create + timer_settime and from our
intr handler use timer_getoverrun to determine how many ticks we have
missed.

(jmcneill)

2011-12-15 02:09:15 UTC MAIN commitmail json YAML

allocate msgbuf with kmem_zalloc instead of thunk_malloc, now dmesg works

(jmcneill)

2011-12-15 01:30:04 UTC MAIN commitmail json YAML

2011-12-15 01:25:41 UTC MAIN commitmail json YAML

2011-12-15 01:04:15 UTC MAIN commitmail json YAML

use write instead of putchar putchar putchar putchar putchar ... for console output

(jmcneill)

2011-12-15 00:40:03 UTC MAIN commitmail json YAML

2011-12-15 00:05:18 UTC MAIN commitmail json YAML

In lwp_create, copy l_sigstk from the template. Previously sigaltstack wasn't
inherited across fork (but SA_ONSTACK handlers was), causing the child
process to crash when the handler is invoked. ok martin@, christos@

(jmcneill)

2011-12-14 23:58:54 UTC MAIN commitmail json YAML

2011-12-14 21:22:24 UTC MAIN commitmail json YAML

2011-12-14 19:40:02 UTC MAIN commitmail json YAML

Cleanup i386 register printing and opcode extraction

(reinoud)

2011-12-14 18:51:39 UTC MAIN commitmail json YAML

2011-12-14 17:06:28 UTC MAIN commitmail json YAML

OK, this is a temporary patch so usermode can run on 5.1 or old 5.99's. The
workaround mentioned here is not needed on newer 5.99 since it has just been
patched.

(reinoud)

2011-12-14 14:18:19 UTC MAIN commitmail json YAML

Add missing x11 tag for xfree debug files, and add xorg debug files.

(njoly)

2011-12-14 13:24:14 UTC MAIN commitmail json YAML

2011-12-14 12:41:59 UTC MAIN commitmail json YAML

Indent.
Remove white-spaces and unnecessary semi-collons.

(kiyohara)

2011-12-14 12:29:59 UTC MAIN commitmail json YAML

only need to setup altstack after fork, not in lwp tramp

(jmcneill)

2011-12-14 07:20:31 UTC MAIN commitmail json YAML

include inttypes.h to get the fixed size integer types - from Gregor Riepl

(agc)

2011-12-14 04:12:22 UTC MAIN commitmail json YAML

2011-12-13 22:22:09 UTC MAIN commitmail json YAML

2011-12-13 20:59:20 UTC MAIN commitmail json YAML

Print the signal we are supposed to deliver!

(reinoud)

2011-12-13 20:58:48 UTC MAIN commitmail json YAML

Update kmempages; how does this relate to kvmspace though?

(reinoud)

2011-12-13 17:54:01 UTC MAIN commitmail json YAML

Remove old debugging cruft

(reinoud)

2011-12-13 17:48:31 UTC MAIN commitmail json YAML

Bump KVM size and add inet6 to surpress warnings from say postfix

(reinoud)

2011-12-13 15:53:47 UTC MAIN commitmail json YAML

Remove dead code. The error variable was no longer used.

(reinoud)

2011-12-13 15:50:17 UTC MAIN commitmail json YAML

No need for the bounce-buffer anymore since pmap bahaves like it ought to

(reinoud)

2011-12-13 15:43:55 UTC MAIN commitmail json YAML

Don't allow unmapping of WIRED pages!

Also on unwire, call pmap_update_page() though this propably is not needed.

(reinoud)

2011-12-13 14:46:07 UTC MAIN commitmail json YAML

2011-12-13 14:41:55 UTC MAIN commitmail json YAML

only try to attach child drivers if they're actually present

(macallan)

2011-12-13 14:39:37 UTC MAIN commitmail json YAML

an alternative clock implementation for Loongson2F and SM502, mostly
Gdium-specific.
This supports Loongson2F frequency scaling. The problem is that Gdium has
no CPU clock independent high resolution timer we can use as a timecounter
so we use one of the SM502's PWMs to generate a 100Hz timer interrupt, use
the cp0 counter to measure time and adjust for frequency changes.
Other Loongson-based machines will need something similar but hopefully
less hackish.

(macallan)

2011-12-13 14:23:43 UTC MAIN commitmail json YAML

add a hook to mips3_initclocks() to allow for time counters other than the
cp0 cycle counter

(macallan)

2011-12-13 13:32:16 UTC MAIN commitmail json YAML

- gc old aio implementation
- set busy before scheduling softint not after
- try not to write past end of backing file
- if B_PHYS flag is set, pread/write with bounce buffer and copyout/copyin
- use the correct offset in ld_thunkbus_dump

(jmcneill)

2011-12-13 12:55:51 UTC MAIN commitmail json YAML

Fix DIR21L relocations where we missed a bit of 'b'

Add support for DPREL relocations.

Modulo debug information in modules /usr/tests/modules now passes all
tests on NetBSD/hp700 (with a MODULAR kernel)

(skrll)

2011-12-13 12:29:19 UTC MAIN commitmail json YAML

Implement a new TLB system. This fixes the TLB issues that has been plaguing
the pmap.

(reinoud)

2011-12-13 12:27:06 UTC MAIN commitmail json YAML

Disable spl_intr() spamming when debug printing is enabled.

(reinoud)

2011-12-13 12:26:32 UTC MAIN commitmail json YAML

- convert the audio softintr's to SOFTINT_SERIAL.  right now they're on
  the same priority level as USB and if an audio softintr is blocked
  waiting for a usb event, they'll dead lock.  also, audio being higher
  priority is a fine idea.

- revert the previous audio.c changes as they were unsafe and this change
  obviates the need for them.

XXX:  convert the audio softint's to use a high priority thread or a
XXX:  workqueue would be better again.

(mrg)

2011-12-13 12:25:42 UTC MAIN commitmail json YAML

Just in case ease up the stack space a bit more

(reinoud)

2011-12-13 12:24:15 UTC MAIN commitmail json YAML

Diable DEBUG_EXEC to remove the spam :)

(reinoud)

2011-12-13 11:11:03 UTC MAIN commitmail json YAML

2011-12-13 11:03:53 UTC MAIN commitmail json YAML

2011-12-13 10:55:46 UTC MAIN commitmail json YAML

Fix the mistake in level and type.

(kiyohara)

2011-12-13 08:16:41 UTC MAIN commitmail json YAML

Match adm1030 too in dbcool_ki2c_match.

PR port-macppc/41916: dbcool at ki2c should support adm1030

ok macallan

(riastradh)

2011-12-13 08:00:36 UTC MAIN commitmail json YAML

Use cprng stub functions also for _RUMP_NATIVE_ABI which is used
for archs that use native kernel modules with rump.

(mlelstv)

2011-12-13 07:34:30 UTC matt-nb5-mips64 commitmail json YAML

If CID is RMI and we MIPS64R2, be sure to mips64_rmixl_*.

(matt)

2011-12-13 07:14:51 UTC matt-nb5-mips64 commitmail json YAML

Make MIPS64R2_RMIXL use .set arch=xlp

(matt)

2011-12-13 04:32:32 UTC MAIN commitmail json YAML

We don't have 'Secure' RPC, and we aren't going to get it, so set
HasSecureRPC to NO rather than YES.

(dholland)

2011-12-12 23:54:18 UTC MAIN commitmail json YAML

Remove bogus check that (a) depends uninitialised memory (b) overflows a
buffer.

(joerg)

2011-12-12 20:55:44 UTC MAIN commitmail json YAML

Don't try to figure out how the stack grows at run time. It's not
portable and fails badly if the test function is removed...

(joerg)

2011-12-12 19:59:21 UTC MAIN commitmail json YAML

Elaborate return value printing to include JUSTRETURN etc. instead of
reporting it as an error!

(reinoud)

2011-12-12 19:57:12 UTC MAIN commitmail json YAML

Fix error flag (carry) setting if its a pseudo error of EJUSTRETURN etc. Just
in case.

(reinoud)

2011-12-12 19:11:23 UTC MAIN commitmail json YAML

Start making fs read(2) fail with EISDIR if the implementation does
not allow read on directories (kernfs, rumpfs, ptyfs and sysvbfs).
Adjust man page accordingly, and add a small corresponding vfs
testcase.

(njoly)

2011-12-12 19:03:13 UTC MAIN commitmail json YAML

2011-12-12 18:59:06 UTC MAIN commitmail json YAML

Explicitly request TLS support for mknative.

(joerg)

2011-12-12 18:28:34 UTC MAIN commitmail json YAML

Fix:
  panic: kernel diagnostic assertion "usec >= 0 && usec < 1000000" failed: file "/usr/src/sys/kern/subr_time.c", line 92
by using timeradd(), rather than our own code, in the timeout calculating
loop.  Idea from joerg@.

(jdc)

2011-12-12 17:07:43 UTC MAIN commitmail json YAML

install a SIGINT handler and use it to emulate ^C

(jmcneill)

2011-12-12 16:53:53 UTC MAIN commitmail json YAML

Mark rumphijack_dlsym explicitly as weak to prevent optimisations based
on pointer (non-)identity of it and rumpclient__dlsym.

(joerg)

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

2011-12-12 16:06:15 UTC MAIN commitmail json YAML

use spl_intr from signal handler instead of calling softint_schedule directly

(jmcneill)

2011-12-12 15:21:33 UTC MAIN commitmail json YAML