Commit Graph

143244 Commits

Author SHA1 Message Date
christos 25010febb3 Import am-utils; changes in ChangeLog.
Summary:
  - bound string operations
  - better detection of filesystem names
  - pawd call now gets the resolved directory in the rpc

All our local changes have been submitted and incorporated.
2006-02-05 16:12:04 +00:00
jmmv 9f3be9d257 Enable Multiboot support by default since this kernel is the one to most
likely benefit from this feature.  Per anonymous suggestion in my blog.
2006-02-05 15:39:20 +00:00
christos d8d9c20820 pass WARNS=4 2006-02-05 14:11:18 +00:00
christos f3d0b6c690 PR/32747: Michael van Elst: Set close on exec on /dev/power fd so that it
is not open from the child process. While I am here:
- KNF, pass lint.
- Fix a bug where the outer loop index was re-used in the inner loop.
- Check the return code of wait.
2006-02-05 14:03:46 +00:00
dsl 0283f98333 Match changes to vmstat.c (splitting of dkreadstats).
Read tape stats if there are no disks found - is this possible?
2006-02-05 09:58:39 +00:00
dsl 228802f437 Split dkreadstats() into dkreadstats(), tkreadstats() and cpureadstats().
Similarly for dkswap().
Allows code to only call one of these.
Rename struct _disk to _vminfo to be nearer its contents.
Change 'systat vm' so that it always shows the 'current' cpu times, even
after ':run' or ':boot' commands. The code in vmstat.c doesn't support :run.
2006-02-05 09:54:50 +00:00
dsl a6843277e3 Rename 'cur' to 'name' to avoid aliasing a global - this code has some
horrid globals...
2006-02-05 08:51:03 +00:00
ross b8bbfca272 Don't do DIAGASSERT against NULL if _KERNEL This puts us back to
kernel behavior before src/common where 0 was a valid dest addr.

This should fix the macppc (and other OEA ppc) silent-death-on-DIAGNOSTIC
issue, and possibly other DIAGNOSTIC failures.

XXX it might be worth thinking about an API where 0 is allowed in
documented cases and not allowed otherwise.
2006-02-05 06:47:48 +00:00
xtraeme fd8cfc5edb Add missing $NetBSD$ tags and __KERNEL_RCSID(). 2006-02-05 06:03:26 +00:00
mrg 9ceed4147f these configs have not been used for years. (in reality, the machine
splode is now more like the POWEROFSEVEN config.)
2006-02-05 05:47:17 +00:00
xtraeme 0511c26dfa openpam_dynamic(): add missing '/' between OPENPAM_MODULES_DIR and
the pam's name module, otherwise it will try to load the module as:

"/usr/lib/security<pam_module>"

Before christos' update we were using PAM_SOPREFIX = "/usr/lib/security/"
with the last '/', now we aren't. So be SAFE and add it to avoid
future problems.
2006-02-05 05:39:49 +00:00
cube 6ff13154dd Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
2006-02-05 05:01:48 +00:00
christos 533ea3e770 new openpam 2006-02-05 02:41:11 +00:00
christos e531452f6f define where the dynamic modules go. 2006-02-05 02:38:25 +00:00
christos aad78462b6 resolve conflicts 2006-02-05 02:37:45 +00:00
christos 70d3347b2d Import figwort: for changes read the HISTORY file. 2006-02-05 02:32:33 +00:00
uwe 0fc70b4831 Add bswap16.c and bswap32.c to SRCS. We need fallback versions for
kernels compiled without optimization (and thus without inlining of
bswap16 and bswap32)
2006-02-04 23:33:37 +00:00
dyoung e46f0f4008 In rtw_{rx,tx}ring_fixup, do not set the tx/rx ring index to
something out of bounds if we read an invalid pointer form the
hardware.  Prevents a panic when an rtw@cardbus is ejected.
2006-02-04 23:22:27 +00:00
reinoud 979954f179 VND and harddiscs have their own defect free space management. 2006-02-04 23:21:43 +00:00
uwe d78e2d9ed2 Define htonl &co as alternative names to bswap only if little endian.
I'm not sure if idempotent versions need to be defined for big endian,
as the man page says in that case they are defined idempotent macros.

PR port-arm/32734
2006-02-04 23:14:48 +00:00
uwe aa9f62b35d Use different wording as "null macro" is too ambiguous. 2006-02-04 22:47:28 +00:00
christos 32fd3812bb openssh and cvs 2006-02-04 22:40:12 +00:00
christos 741c0868b9 mention new openssh 2006-02-04 22:39:22 +00:00
christos 6d02ae65f5 Adjust sets for new libssh. 2006-02-04 22:36:11 +00:00
christos 12f096059f Update shared library version and adjust for new and removed files. 2006-02-04 22:34:16 +00:00
christos 55c58b142d bring in new file needed from the portable openssh. 2006-02-04 22:32:54 +00:00
christos fab0e5bf66 resolve conflicts 2006-02-04 22:32:13 +00:00
uwe e7b43156c5 Truncate the argument to 16 bit with extu.w 2006-02-04 22:24:26 +00:00
christos c7a1af8c71 From ftp.openbsd.org. 2006-02-04 22:22:31 +00:00
xtraeme 452f660f6f Add missing ';' missed in previous. 2006-02-04 22:08:01 +00:00
uwe c61d2c641d libc wants __bswapNN, kernel wants bswapNN. That was not accounted
for during the merge of kernel and libc versions.  Fix to match
e.g. i386 code.
2006-02-04 21:53:31 +00:00
reinoud 8c7d758cbc Change a comment into a TODO and fix up case where we could return an
illegal allready-freed memory space.
2006-02-04 21:29:11 +00:00
reinoud c0dbf19c1e Add support for SCSI MMC feature 0x0024: hardware assisted defect
management to be passed in mmc_discinfo's device capabilities.

When a device reports support for this the hardware will automatically
remap sectors on read- or write-errors. CD-MRW, DVD+MRW, DVD-RAM and BR-RE
support these.
2006-02-04 21:26:15 +00:00
uwe 708fa89a18 Revert previous. It just attempts to hide bugs in libkern of affected
ports: after the src/common merge, bswapNN are not renamed correctly
for some of the ports.
2006-02-04 21:23:43 +00:00
wiz 0b2d6f2449 Remove superfluous .Pp. 2006-02-04 20:23:17 +00:00
wiz a3b1d82cd0 Use .Ap. 2006-02-04 20:19:21 +00:00
christos 56e5fb3faa add cvs2netbsd script 2006-02-04 20:16:28 +00:00
wiz 82924459cb Use more markup, fix xref, serial comma, other misc. fixes. 2006-02-04 20:10:53 +00:00
apb 4b800fb1f5 Mention build.sh syspkgs and build.sh iso-image. 2006-02-04 19:57:04 +00:00
christos 41bcaabc05 mention cvs 2006-02-04 19:13:32 +00:00
wiz 648ad34cf7 Remove superfluous comma. 2006-02-04 18:52:18 +00:00
wiz bb3c26cb98 Remove bogus line (pasto?). 2006-02-04 18:50:39 +00:00
wiz a8a26906be Bump date for previous. 2006-02-04 18:49:47 +00:00
wiz 738c680f0d Serial comma, grammar fix. 2006-02-04 18:48:45 +00:00
wiz 4679714200 Sort SEE ALSO. 2006-02-04 18:48:01 +00:00
wiz 1fc051f36f Serial comma; bump date for previous. 2006-02-04 18:47:31 +00:00
wiz e1a202b1cb Bump date for security.* 2006-02-04 18:37:58 +00:00
wiz f95c736511 New sentence, new line. Fix typo. 2006-02-04 18:37:20 +00:00
wiz 298f5a67e2 New sentence, new line; sort SEE ALSO; other minor improvements 2006-02-04 18:35:49 +00:00
skrll d36eb258eb mknative re-run to pick up the binutils version from the sources
imported, i.e. the binutils-2.16.1 release and not the branch that
I worked with originally.

Lot of the changes are due to the update of the mknative script RCSId.
2006-02-04 17:03:02 +00:00