Commit Graph

139961 Commits

Author SHA1 Message Date
elad 83057dc7cc Don't chown/unlink uninitialized lockfile if not uugetty.
From Dr. Wolfgang Stukenbrock, PR/31040.
2005-09-10 21:29:36 +00:00
wiz 85b45789bf Fix typo. 2005-09-10 21:14:18 +00:00
he e3c135df31 Provide a translation for set_kernel_2, copied from set_kernel_1. 2005-09-10 20:00:02 +00:00
jmmv c6a6458ca8 Lower the maximum number of vnodes while running this test. Otherwise,
it won't ever succeed with default values.
2005-09-10 19:39:18 +00:00
jmmv 5404fece05 Place mount_ptyfs.8 in man-sysutil-man (instead of man-miscfs-man) to
match mount_ptyfs.0, which is in man-sysutil-catman.
2005-09-10 19:26:18 +00:00
cube 644b990fb1 Regen (DiskOnChip 0x0012). 2005-09-10 19:24:36 +00:00
jmmv ec93365612 Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program.  This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*.  Therefore, it is disabled by
default in all kernels.  However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).
2005-09-10 19:20:48 +00:00
tsutsui 35f4830ff9 The length member in struct scsi_request_sense is uint8_t so
no need to swap byteorder.
Whele here, change style of some byteswap ops from
	foo = bar();
	foo = ahc_htole32(foo);
to
	foo = ahc_htole32(bar());

XXX: I leave ahc_htole32() usage for union ins_formats for now
XXX: though it may be better to use byte-shift ops rather than byteswap.
2005-09-10 19:15:44 +00:00
cube 555baacb2d Add a DiskOnKey revision. 2005-09-10 19:08:33 +00:00
christos 7b1ec62c27 Make fileno calculations use ino_t variables. 2005-09-10 18:35:56 +00:00
perry 43774cd98d Add TODO.nits file intended to document small
/*XXX this is straightforward to fix but I have no time right now */
tasks so we don't lose track of them.

Format and purpose are documented at the top of the file.

Discussed with Christos and others
2005-09-10 18:30:30 +00:00
bouyer b069bb656c The line number in the PCI interrupt register can be larger than 31 on
some hardware, depending on how Xen set things up. So bump NR_PIRQ from 32
to 256.
2005-09-10 18:24:35 +00:00
dsl 0437903aaf The 'padded by' number displayed for multi-floppy images has been out by 8k
per floppy for a while.  (The rest of the sums are ok).
Change the 'padded' size to include all the space in the last 8k block
of the tar file.
Similarly if the image doesn't fit, report the exact amount of overflow.
2005-09-10 18:05:51 +00:00
bouyer b75ba03dd4 Add a vm_prot_t parameter to pmap_remap_pages(), and use it for the new PTE
instead to always trying PG_RW and falling back to PG_RO if this fails.
Use uvm_map_checkprot() in IOCTL_PRIVCMD_MMAP and IOCTL_PRIVCMD_MMAP_BATCH
to compute the appropriate vm_prot_t for pmap_remap_pages().
Thanks to Jed Davis for pointing out uvm_map_checkprot().
2005-09-10 18:00:49 +00:00
christos a4b3d5864b PR/23773: Tero Kivinen: Cannot mount msdos filesystems if filesystem size >
128GB
PR/31287: Fabien Devaux: msdosfs now can mount >128MB filesystems
2005-09-10 17:33:45 +00:00
tsutsui f6ced662a1 Replace a magic number with proper macro. 2005-09-10 17:19:55 +00:00
bouyer ba9c8cd0c3 Apply patch from Jed Davis, posted to port-xen:
Implement IOCTL_PRIVCMD_MMAPBATCH, as a loop calling pmap_remap_pages().
XXX this should do the MMU operations in batch.
2005-09-10 15:48:10 +00:00
bouyer 8dfe5bc813 Apply patch from Jed Davis, posted to port-xen:
In pmap_remap_pages() new mappings are created (PG_RW|PG_M). When saving
a domain, the hypervisor will refuse to map the foreing pages RW.
As a temporary measure, retry the mapping read-only if PG_RW fails, so that
domain save will work. Also fix the PTP's wire_count if the MMU update
fails (prevent a kernel panic).
2005-09-10 15:46:04 +00:00
bouyer 7558bd0a7c Fix typo reported by Jed Davis on port-xen:
IOCTL_PRIVCMD_GET_MACH2PHYS_START_MFN is a read, not a write.
2005-09-10 15:41:54 +00:00
martin 6fd5c01546 Move package/cinclude/include handling from the parser to the scanner,
where it belongs. This has the side effect of fixing PR toolchain/30903.
2005-09-10 15:38:46 +00:00
dsl b92fde2f23 Remove KERNFS, it was only used to implement dmesg - the binary is smaller! 2005-09-10 14:53:34 +00:00
dsl 2a363c8fef Add the dmesg() program to all the i386 ramdisk images and remove the
shell function implemented dmesg using 'cat /kern/msgbuf'.
This means we don't need kernfs.
2005-09-10 14:50:08 +00:00
dsl 77b0988bd6 Generate a cross-reference map file for the crunched binary. 2005-09-10 14:47:15 +00:00
dsl f72d3abd91 For some reason this makefile descends into all the x_<prog> directories.
Since all the x_<prog> get build into crunched binaries (which does a
reachover build these days) I suspect this is entirely unnecessary.
But having deleted x_dmesg we must ensure it doesn't go there.
2005-09-10 13:24:38 +00:00
dsl b15df8278a Nothing tries to build x_dmesg (aka dmesg with -DSMALL) any more. 2005-09-10 13:10:23 +00:00
dsl f9535a65ed Delete the:
SPECIAL        dmesg           srcdir  distrib/utils/x_dmesg
line from all the ramdisk 'list' files.  dmesg/Makefile will add -DSMALL
if SMALLPROG is defined (which it is by Makefile.crunch).
2005-09-10 13:09:01 +00:00
wiz efd6948ad1 Whitespace nits. 2005-09-10 12:51:13 +00:00
blymn 9e306bafdf Remove message when no tape drives found 2005-09-10 11:10:21 +00:00
itohy 861ded3cb2 Make it compile for gcc 2.95. 2005-09-10 10:39:39 +00:00
jmmv e4f5206ced Add xge.{0,4}. Hi, ragge@! 2005-09-10 10:35:25 +00:00
jmmv c01fa667f5 Fix build: maskp should be a pointer to a sigset_t. Hi, christos@! 2005-09-10 09:04:11 +00:00
kiyohara e13c2b8b41 Add configuration file for 'PCMCIA adapter BOX' supported kernel. 2005-09-10 04:34:39 +00:00
uwe 45626bf3d9 ANSIfy. 2005-09-10 02:22:33 +00:00
uwe 8f3c0c67f1 Hanlde NMI on microSPARC-IIep.
We don't do much useful except reporting, but that's better than to
stupidly use sun4m handler and wedge the machine.  May need to revisit
what's fatal.

Prodding by macallan@
2005-09-10 01:27:54 +00:00
uwe 531fd682f7 Add definitions for microSPARC-IIep memory fault registers. 2005-09-10 01:23:19 +00:00
uwe 5820e018a3 Add bitmask string for system interrupt pending register. 2005-09-10 01:01:40 +00:00
uwe 3355ba0044 u_intN_t -> uintN_t 2005-09-10 00:44:08 +00:00
dsl d1c526b434 Change the message above the selection menu for root's shell to show
the correct default (ie what happens if you type enter) of /bin/sh.
Fixes PR install/32159
2005-09-09 23:20:33 +00:00
rpaulo d900564544 PR misc/31280: man 8 modstat is referencing itself. By Stefan Schumacher. 2005-09-09 22:47:26 +00:00
wiz 416b7d49ec Fix double if (from Alexey E. Suslikov via jmc@openbsd).
While here, re-word both H_[GS]ETUNIQUE descriptions so they make
more sense. Bump date.
2005-09-09 22:32:56 +00:00
wiz 3595891ed9 Remove unnecessary keeps (Bk/Ek). Sort options. Various minor fixes.
Bump date.
2005-09-09 22:23:49 +00:00
wiz ba3a0dadf1 Sync group* usages with man pages. 2005-09-09 22:04:09 +00:00
wiz ac4e0a8127 Reformulate slightly to match other man pages. Use standard
EXIT STATUS section. Bump date.
2005-09-09 22:02:12 +00:00
wiz a2bc89c87d Do not list all options for group* -- they are bound to get out of sync here.
Use standard EXIT STATUS section. Bump date.
2005-09-09 22:01:20 +00:00
wiz f629e1e94e Sync user* usage with man pages. Bonus grammar fix in comment. 2005-09-09 21:48:10 +00:00
wiz 31e0e03316 Improve -p description in second case. 2005-09-09 21:43:42 +00:00
wiz d0260f31e6 Reformulate slightly to match other man pages. 2005-09-09 21:31:25 +00:00
wiz 32587324af Use standard EXIT STATUS section.
Reformulate slightly to match other man pages. Bump date.
2005-09-09 21:31:00 +00:00
wiz d48b71a0a8 Sort options and option descriptions. Use standard EXIT STATUS section.
Reformulate slightly to match other man pages. Bump date.
2005-09-09 21:30:31 +00:00
wiz a431cb6155 Reformulate slightly to match other man pages. 2005-09-09 21:29:08 +00:00