Commit Graph

163681 Commits

Author SHA1 Message Date
bouyer
400aed76df Add Xen devices 2007-11-22 16:25:04 +00:00
bouyer
b91280f3d6 Note amd64 support in NetBSD/Xen 2007-11-22 16:22:07 +00:00
bouyer
ae4f126a81 Update bouyer-xenamd64 status 2007-11-22 16:20:39 +00:00
bouyer
4e54134323 Pull up the bouyer-xenamd64 branch to HEAD. This brings in amd64 support
to NetBSD/Xen, both Dom0 and DomU.
2007-11-22 16:16:40 +00:00
sborrill
ccf6d08a57 i386 and amd64 share a bootloader, so this should work on both.
Thanks to xtraeme@ and bouyer@ for pointing out this oversight.
2007-11-22 15:27:22 +00:00
jnemeth
309fa09200 comment out com*/lpt* at acpi? as they cause these ports to move from
their traditional location and imminent changes in -current will cause
them to move back
2007-11-22 14:33:53 +00:00
pooka
bc3b2e6a39 PUD_CONF_IOCTL is a goner. Noticed by dillo. 2007-11-22 13:51:59 +00:00
hpeyerl
078cd4b352 Optimize copyin/copyout to transfer as many words as possible before doing
residual bytes. This improves small transfers. As a result, we can avoid
doing bigcopyin/bigcopyout until len>1024 instead of len>256.

Reviewed by: simonb.

(everybody run, Herb's in the kernel again).
2007-11-22 13:33:08 +00:00
yamt
99e9015b80 nfssvc_nfsd: remove a wrong assertion. 2007-11-22 13:30:39 +00:00
yamt
9f6672e12b fix changes which i forgot to commit with sys/arch/vax/include/mutex.h rev.1.9. 2007-11-22 13:13:15 +00:00
skrll
e2b2bdc928 Define PT_MACHDEP_STRINGS for kdump(1) 2007-11-22 11:58:48 +00:00
jmmv
513f77f76c Add the debug files for id's h_id helper tool. 2007-11-22 11:32:12 +00:00
pooka
a4b032e2c8 quick & dirty support & tests for ioctl 2007-11-22 11:28:48 +00:00
pooka
2bde3fa647 Support bdev/cdev ioctl. 2007-11-22 11:26:27 +00:00
yamt
a3dbd70683 lfs_mountroot: use vfs_destroy. 2007-11-22 10:51:44 +00:00
yamt
33e66db218 fix lockdebug_mem_check. 2007-11-22 10:47:37 +00:00
xtraeme
f517956d37 Print the error if sysmon_envsys_register() fails and add a missing
return in that case.
2007-11-22 08:15:00 +00:00
yamt
44cbe3d429 remove lock_machdep.c 2007-11-22 07:44:40 +00:00
xtraeme
efb076273b kthread_create1 is no more, ok thx. 2007-11-21 23:11:06 +00:00
elad
6887492c26 Make securelevel a "secmodel" of its own.
While it's true that it's part of the traditional 4.4BSD security model,
there may come a time where a different "primary" security model used for
fine-grained privileges (ie., splitting root's responsibilities to various
privileges that can be assigned) may want to still have a securelevel
setting.

Idea from Daniel Carosone:

  http://mail-index.netbsd.org/tech-security/2006/08/25/0001.html

The location of the removed files, for reference, was:

  src/secmodel/bsd44/secmodel_bsd44_securelevel.c
  src/secmodel/bsd44/securelevel.h
2007-11-21 22:49:05 +00:00
drochner
e3e9b75351 Fix in6_pcbrtentry() for the case of IPv6-mapped IPv4 addresses:
don't assume that the cached route is a sockaddr_in6, and do the
right comparisions so that no out-of-bounds memory is accessed.

btw, the use of "#ifdef INET" throughout the source doesn't look clean
to me: There are 2 cases -- whether AF_INET is usable by userland
programs, and whether IPv4 is supported as on-wire protocol.
2007-11-21 21:18:25 +00:00
jmmv
72ff826442 Add the debug directory for tests/util/id. Noted by drochner@. 2007-11-21 20:49:12 +00:00
bjs
27bbf3c565 Remove #ifdef __OpSys__ sections to make this readable. Add RCS tags.
Nothing done in header files, nor in dev/pci/drm (we might not want to
touch this for the sake of merging) yet.  Compile tested; please let
me know if this broke anything.
2007-11-21 19:22:12 +00:00
pooka
45f44fab6d note major daemons: putter & pud (one of these days I'll commit demogorgon) 2007-11-21 19:12:17 +00:00
pooka
8bd7c98c05 A very terse manual for pud(4) (it leaves almost everything as
an exercise to the reader).
2007-11-21 19:10:23 +00:00
pooka
b21e075586 Short description of putter(9) 2007-11-21 18:40:58 +00:00
pooka
cf9f5c8530 Register a block device and support read/write to it. 2007-11-21 18:11:17 +00:00
pooka
750d633918 Add support for block devices. 2007-11-21 18:10:48 +00:00
is
dc3828d089 de-__P()ify 2007-11-21 16:49:08 +00:00
matt
1d4dffbc51 Make rb_tree_insert_node return true/false whether the node was inserted
or not.
2007-11-21 16:42:51 +00:00
pooka
bc7c4b36bc use BUF_ISREAD/WRITE instead of homegrown variants 2007-11-21 16:30:40 +00:00
pooka
4a5167232c Add BUF_ISREAD() and BUF_ISWRITE() macros to avoid silly code checking
for the B_WRITE pseudo-flag: (bp->b_flags & B_READ) == B_WRITE
2007-11-21 16:30:01 +00:00
njoly
8bb343aabb Add tests to the obsolete files list to be installed. 2007-11-21 16:23:29 +00:00
dsieger
c3e2c70373 Update the list of the core group (s/uwe/cube/). 2007-11-21 15:43:57 +00:00
jmmv
1a8b914c59 No need to set a value for TESTSDIR any more as this is explicitly set
wherever it is needed.
2007-11-21 15:40:09 +00:00
jmmv
80c834ed18 Explicitly define TESTSDIR, because the automatic deduction of its value
breaks the build if some component of NETBSDSRCDIR is a symlink.  Reported
by drochner@.
2007-11-21 15:39:33 +00:00
dsieger
1f9f59ed34 Remove extraneous .Ed 2007-11-21 14:21:31 +00:00
tnozaki
fca38949e4 fix lib/37290
- don't call abort(3) when there's no suitable charset found.
- use iso-8859-1(or INIT1 if specified) for C1 control char.
2007-11-21 14:19:32 +00:00
ginsbach
a3a3ad0162 Changes for standards compliance:
- Accept "-" for msgfile (STDIN) and catfile (STDOUT)

- Merge msgfile into formatted catfile.  The catfile is created if
  it does not exist (current behavior).  If the catfile exists,
  its messages are included in the new catfile.  Collisions between
  set and message numbers cause the msgfile message text to replace
  the existing message text.

  (The $delset directive now makes more sense.)

Standards: The Open Group Base Specifications Issue 6
           IEEE Std 1003.1, 2004 Edition

- Replace corrupt()/nomem() with errx().  The replaced routines
  called local error() -> warning() which prints an input file line
  number.  This probably makes no sense for these conditions (it
  is not a syntax error in msgfile).  Line numbers are completely
  nonsense when dealing with reading a formatted catfile.

- Modify warning() to only print line number when reading from a
  message file.  Also print the current file being processed.

- Don't issue a warning when processing a line with only a message
  number and no trailing space.  This is valid and will delete any
  existing message with that number from the current set.

- Reset lineno for each msgfile processed.
2007-11-21 13:40:09 +00:00
tsutsui
58babb9c75 Roundup e2fs_ipg to make it use whole inode table blocks since
it's still reasonable and some kernel code seems to assume it
(otherwise some inode numbers of directories could be corrupted).

XXX: not sure if odd e2fs_ipg is valid or not in ext2fs spec.
2007-11-21 13:14:06 +00:00
yamt
671754cc2e lockdebug_alloc: detect double initialization explicitly. 2007-11-21 11:33:11 +00:00
pooka
2f06310f4b mmap should return -1 on error. Also, shuffle functions around to
make this more feng shui.
2007-11-21 11:19:44 +00:00
yamt
aebd6aa5c9 add comments 2007-11-21 11:15:50 +00:00
jnemeth
91954fd117 PR/35238 - tls@ -- add _proxy to uid and gid checks 2007-11-21 10:41:03 +00:00
yamt
51e523b832 re-enable lockdebug_mem_check. ad@ said disabling it was a mistake
in the first place.
the implementation has been changed to use rb-tree rather than hash
so that it can check regions larger than page size as well.
2007-11-21 10:25:51 +00:00
yamt
87fcbb0fe8 remove #if 0'ed code. 2007-11-21 10:21:40 +00:00
yamt
f3ea2e999d 4.99.37: kmutex_t and krwlock_t changes. 2007-11-21 10:20:55 +00:00
yamt
38d5e34116 make kmutex_t and krwlock_t smaller by killing lock id.
ok'ed by Andrew Doran.
2007-11-21 10:19:06 +00:00
rillig
55bf992f36 The e* functions don't call the error handler in every case, just in
case of an error.

Mentioned the error conditions for the various functions.
2007-11-21 09:17:24 +00:00
sborrill
3a63ee360d While boot.cfg support is currently i386 only, it is hoped that its use
will be extended to other appropriate ports in future. Note as such in the
bugs section.

This is an MI man page, so should not be flagged as i386 in the header.
2007-11-21 08:14:10 +00:00