Commit Graph

140434 Commits

Author SHA1 Message Date
tsutsui e955c959e4 Add (commented out) file-system TMPFS. 2005-10-06 14:59:13 +00:00
simonb 9e2441db78 Add a full-stop to the end of a sentence. 2005-10-06 13:45:12 +00:00
wiz 1638f02bd8 Add missing comma. 2005-10-06 11:17:38 +00:00
wiz 77a08e3909 Fix typo. Add some commas. Improve markup. 2005-10-06 11:17:11 +00:00
wiz 42a77e996d Punctuation nits; bump date for previous. 2005-10-06 10:43:45 +00:00
yamt 793a63d824 - remove a ufs dependency.
- bump readdir block size to 1024.  (the same value as userland DIRBLKSIZ)
2005-10-06 10:23:01 +00:00
yamt e10443f324 nfs_bioread: handle file truncation on the server a little more gracefully. 2005-10-06 10:20:58 +00:00
dyoung 92b3793d65 Add an example of using installboot(8) and makefs(8) with bootxx_cd9660
to create a bootable CD-ROM for an i386 host with a serial console.
2005-10-06 08:42:12 +00:00
dogcow 7048389b15 restore missing .S sources that disappeared in the last commit. 2005-10-06 08:37:56 +00:00
dyoung 00d2915456 Build and install /usr/mdec/bootxx_cd9660, a primary boot loader
for ISO9660 filesystems.
2005-10-06 08:22:58 +00:00
dyoung 310a1a8dcf Change the layout of cdboot to meet installboot(8)'s expectations:
MBR+NetBSD disklabel+boot parameters.  Invoke the secondary boot
loader with a pointer to the boot parameters.
2005-10-06 08:19:46 +00:00
yamt 2975f576b9 uninline scheduler hooks. 2005-10-06 07:02:13 +00:00
xtraeme fff95ff31d Misc grammar and typos fixes. 2005-10-06 06:46:03 +00:00
simonb 5c33a825aa KNF. 2005-10-06 02:23:51 +00:00
jmc a356b27a84 Add SHA512 into sums lists 2005-10-06 02:22:11 +00:00
jmc b62b30c668 Correct comments to line up with SHA512 generation now 2005-10-06 02:12:49 +00:00
rpaulo 2f7f9ca516 Regen (PR security/13953). 2005-10-05 23:51:53 +00:00
rpaulo e3886d37ea Add "openssl_" to man page references if they are available.
Fixes part of PR security/13953. Fixing the rest of the PR requires
adding more man pages.
2005-10-05 23:47:30 +00:00
christos c2bd98ebb5 From Liam Foy:
- Check for errno being set to ENOTDIR from execvp. This
  will stop an incorrect value being returned if a component
  of the new process image file's path is not a directory.
- Cleanup and KNF
2005-10-05 21:20:46 +00:00
christos c81227bb08 call pw_abort() on failure (from Liam Foy) 2005-10-05 21:17:53 +00:00
christos f5df298a97 _setjmp and _longjmp are not compat functions. Noticed by Havard Eidnes 2005-10-05 20:16:43 +00:00
hubertf 8457054037 Make it clear where this program can be found.
Requested by wiz.
2005-10-05 17:38:49 +00:00
rpaulo 44fb629a49 Add idea about installing binary snapshots from releng. 2005-10-05 16:44:39 +00:00
elad 314759431d Don't forget to unmap memory once we're done with it.
Pointed out by yamt@.
2005-10-05 16:21:46 +00:00
elad 4daa338c1a Don't use static variables here.
Pointed out by yamt@.
2005-10-05 15:59:31 +00:00
yamt d6d16da423 remove a redundant assignment in the previous. 2005-10-05 15:46:00 +00:00
cube b82dcdacf5 tap doesn't expose any locator... It's just a trick to get a cfdriver
structure.
2005-10-05 14:16:46 +00:00
wiz 42c5a0b8fd Make sentence more readable. 2005-10-05 13:58:49 +00:00
elad 8fc0d7a9c3 Introduce per-page fingerprints in Veriexec.
This closes a hole pointed out by Thor Lancelot Simon on tech-kern ~3
years ago.

The problem was with running binaries from remote storage, where our
kernel (and Veriexec) has no control over any changes to files.

An attacker could, after the fingerprint has been verified and
program loaded to memory, inject malicious code into the backing
store on the remote storage, followed by a forced flush, causing
a page-in of the malicious data from backing store, bypassing
integrity checks.

Initial implementation by Brett Lymn.
2005-10-05 13:48:48 +00:00
christos 9152d0e109 PR/31478: YOMURA Masanori: Inconsistent default value of net.inet.ipsec.dfbit
Changed to match netinet6 (0->2)
2005-10-05 12:59:24 +00:00
hubertf e533c36a54 Add locate.updatedb(8).
Discovered missing while sorting things out for BSDcertification.org.
Ran through wizd(8).
2005-10-05 06:29:03 +00:00
jonathan 0f632be919 Regen with PCI ids for Intel pro/1000 PT pci-e gigabit ethernet. 2005-10-05 00:46:00 +00:00
jonathan 14da49c8be Add PCI ids for Intel Pro/1000 PT PCI-Express gigabit ethernet controllers:
82571EB 2-port, 82572EI single-port, both in copper, fibre, and SERDES versions,
and 82573 embedded chip.
2005-10-05 00:43:58 +00:00
cube b7505c1571 Stop walking the tree when two conditions are met: we've seen the device
already (one of its instances has been changed), and we have made no change
on any of the instances.

Previously, it stopped as soon as it detected the device had been seen.
While all the instances of the device at stake were eventually seen, the
same wasn't true for its children...

Fixes hpcmips's GENERIC.
2005-10-04 23:00:34 +00:00
cube ce2b6bfe08 Add a test to make sure loops are handled properly. 2005-10-04 22:56:20 +00:00
cube a31ff6b408 - Make sure to try aliases of removed device instances when walking
deaddevitab.
- Record the position in the config file of device instances so it is
  possible to tell if a device instance was declared before or after its
  parent's removal.

  E.g.:

     child* at parent?
     no parent

   will have the child instance ignored as an explicit orphan, while

     no parent
     child* at parent?

   will error out because now the child instance is a real orphan.

  That let the POSTPONED_ORPHAN regression test pass.
2005-10-04 20:13:39 +00:00
martin f531688ba9 Make sgimipscd.iso bootable. 2005-10-04 19:29:34 +00:00
christos a9c3ad6f5c PR/31455: Robert Elz: ex (905[BC]) cards can hang in -current kernels
- fix bus_space_read_1 -> bus_space_read_2 since revision 1.27 changed
  the bit defines to assume 2 byte reads.
- Increment oerrors in case of collisions
- Clamp success counter to 100, instead of letting rotate freely.
2005-10-04 17:37:26 +00:00
martin c1a47858e9 Better size estimation (the previous code counted the compressed kernels,
but we only need the constant size volume header)
2005-10-04 16:11:15 +00:00
tsutsui 17b2c3c86e On converting sgimips disklabel into BSD disklabel, don't take
dp_secbytes in the SGI volume header because the ARCS firmware ignores it.
Instead, leave the hardware default value set by each driver and
adjust offset values in the SGI volhdr according to the real sector size.

Fixes "resource shortage" messages on mounting a bootable CD-ROM image
which has the SGI volhdr. See posts on port-sgimips for details:
http://mail-index.netbsd.org/port-sgimips/2005/09/12/0000.html
http://mail-index.netbsd.org/port-sgimips/2005/09/12/0001.html
http://mail-index.netbsd.org/port-sgimips/2005/09/14/0000.html
2005-10-04 14:47:50 +00:00
cube 6b80161bb5 Add a comment explaining exactly what is being tested here. 2005-10-04 13:45:16 +00:00
cube b31e2ad635 Add a test, POSTPONED_ORPHAN, that should fail (although it currently
does not).  Rework the Makefile magic to have failing and succeeding tests.

POSTPONED_ORPHAN is an example of a configuration where the user starts
negating an instance, and then adding an instance of a child of the negated
one.  The latter should be found as an erroneous orphan, as the parent was
negated beforewards.
2005-10-04 13:44:23 +00:00
cube 47161e3118 Descend into 'config', too. 2005-10-04 13:34:14 +00:00
cube 9ea755eb2f Remove extra new line. 2005-10-04 13:33:20 +00:00
cube 5ec393e9ef Add a flag to mark broken instances. That might happen when there is a
syntax error in the file, yet we want to somehow gracefully go on in order
to print out all the errors in the file, which means we have to take
special care with those structures.

Reported by Simon Burge in private mail.
2005-10-04 13:06:45 +00:00
cube 0dbd1c0e04 - Keep track of the file in which we find the device instance
- Introduce xwarn() for delayed warnings
- Use xerror() and xwarn() in fixdevis() to notify about orphans

That way the correct file is printed when listing orphaned devices.

Reported by Juergen Hannken-Illjes in private mail.
2005-10-04 12:35:00 +00:00
jmc 70200ecd34 Fix previous commit. Broken logic 2005-10-04 04:56:19 +00:00
jmc 2ae0c61239 Make the tools using Makefile.disklabel wait so they don't stomp each other.
Also for now add a dependency to Makefile.disklabel so this doesn't run
3 times. (XXX this really should just be done differently)
2005-10-04 04:27:32 +00:00
elad 8358410265 Document security level for sysctl and security.curtain.
Hi Hubert! :)
2005-10-03 22:22:10 +00:00
bouyer 181bca1deb Fix problem pointed out by YAMAMOTO Takashi:
In theory mbufs can have an infinite life time and could block the transmit
ring (as slots are released when the mbuf external storage is freed). To
avoid this, when we're processing the last slot of the ring copy the buffer
and release the slot immediatly.
2005-10-03 22:15:44 +00:00