ozaki-r
0bc5ae37c7
Introduce rump.rtadvd
...
It is used to write ATF tests for RA.
From s-yamaguchi@IIJ.
2015-11-11 07:48:41 +00:00
christos
a21a8a4ef3
CID 1338514: Check NULL returns
2015-11-10 18:04:51 +00:00
christos
8f21cd691f
Since now the kernel returns ENXIO again for devices exceeding the
...
number of devices configured in the kernel, use that instead of
scanning /dev.
XXX: pullup to 7 together with the kernel change.
2015-11-09 17:39:20 +00:00
christos
2761cda93e
Again copying code is bad; the second copy of mountd was completely stale.
2015-11-08 21:03:16 +00:00
christos
017f121465
Some of the puffs mount programs don't need RUMP, re-enable them.
2015-11-08 20:00:22 +00:00
christos
1e8cf51077
merge RUMP changes.
2015-11-08 16:36:28 +00:00
pgoyette
513f488856
Update to keep up with reality. In NetBSD 7, the vnconfig command was
...
renamed. So add this fact to the HISTORY section and remove BUGS.
XXX Pull-up to NetBSD-7 !
2015-11-05 22:35:24 +00:00
shm
269fc1573a
Added missed break statement. (Missed break in -z option implicitly implies
...
-P option)
2015-10-26 08:53:45 +00:00
mrg
80a4e936b5
extend the "tout" column to 5 characters, it's really common on a modern
...
machine to have eg, build output way more than 9999 chars/sec.
this doesn't affect the default disk list on an 80-char wide screen.
2015-10-25 02:47:17 +00:00
msaitoh
df71a53179
Add 6th gen Core, Xeon E3-1500 v5 and Xeon D-1500 from the latest Intel SDM.
2015-10-19 02:47:05 +00:00
martin
e082252485
PR 50342: if there is no current partition manage, assume we are running
...
from an already installed system.
2015-10-18 09:21:55 +00:00
christos
50b513f12f
remove clause 3.
2015-10-16 16:40:02 +00:00
dholland
5191580c7d
Enable lfs64 in dumplfs. Print LFS32/64 in the output header.
2015-10-15 06:24:46 +00:00
christos
55b72e0a94
this is syslog-like
2015-10-14 16:02:03 +00:00
christos
a2e2b1306b
eliminate %m complexity. __format_arg__ thinks it is handling a format for
...
printf, so it does not like %m.
2015-10-14 15:50:48 +00:00
dholland
f3729261c1
Track down and fix two missing uses of SEGSUM_FINFOBASE().
2015-10-10 22:34:09 +00:00
dholland
4cb9c64ab0
Use accessors for another batch of indirect block accesses, this time
...
in dumplfs.
2015-10-03 08:28:56 +00:00
dholland
7f7a5fa1e3
Apply IINFO in the other userland tools.
2015-10-03 08:28:46 +00:00
joerg
a309080e06
Make usage static and dead.
2015-10-02 20:42:15 +00:00
isaki
8950e44dd3
Fix typo. display.contrast is 0-15, not 0-1.
2015-09-21 08:04:43 +00:00
wiz
c20b084d18
Add -s to getopt(3)-string.
...
Noted missing by Henning Petersen in PR 50255.
While here, clean up usage.
2015-09-20 17:45:25 +00:00
joerg
7d8085e8a5
Typo
2015-09-12 13:50:55 +00:00
plunky
bd4132cd78
according to C99 6.5.15 in a conditional expression, both
...
operands should be of compatible types.
So, use ((void)0) here to match `void dbprintf()'
2015-09-08 18:33:12 +00:00
dholland
64fc2fa3fc
tidy/fix printing of paths from sockaddr_un
2015-09-05 20:19:43 +00:00
ozaki-r
3296ce621c
Fix rump.ndp -I options by rump-ifying if_nametoindex(3)
...
From s-yamaguchi@IIJ
2015-09-01 09:54:34 +00:00
dholland
eb2560adae
The ifile's inode number is constant. (it is always 1)
...
Therefore, storing the value in the superblock and reading it out
again is silly and offers the opportunity for it to become corrupted.
So, don't do that (most of the code already didn't) and use the
existing constant instead. Initialize new 32-bit superblocks with
the value for the sake of old userland programs, but don't keep the
value in the 64-bit superblock at all.
(approved by Margo Seltzer)
2015-09-01 06:12:04 +00:00
dholland
4b344787e1
Make the inode fields in the 64-bit superblock 64 bits wide.
...
Reasoning as before.
Note that I am not going through and checking for 64->32 truncations
in inode numbers; I'm sure there are quite a few, but that's a project
for later.
2015-09-01 06:11:06 +00:00
dholland
d0cadc370c
Bypass the ifile's double indirect block if the ifile size in blocks
...
is less than or equal to NDADDR + NINDIR, the number of blocks mapped
without getting to the double indirect block.
The code here was instead using NINDIR * ifpb (ifile entries per
block); this gives the number of ifile entries the indirect block can
map, but that isn't a useful number.
Caught by mlelstv.
2015-08-29 05:33:20 +00:00
joerg
10100b028a
Simplify.
2015-08-28 12:04:08 +00:00
christos
795680b973
handle blacklistd properly.
2015-08-24 07:21:14 +00:00
christos
cb8ff824c3
fix bogus %m
...
use EXIT_FAILURE
2015-08-21 15:41:38 +00:00
jnemeth
5923cd0eff
PR/50158 - Simon Burge -- postinstall does not know about blacklistd
2015-08-21 12:02:07 +00:00
christos
df1774464d
Put back a Trusted Computing Platform Alliance table pretty printer.
2015-08-19 07:37:17 +00:00
christos
7e168b655c
comment out end comment printing.
2015-08-18 17:49:49 +00:00
christos
8c2dc81004
comment out tcpa printout since it has been split between server and client
...
struct.
2015-08-18 17:46:09 +00:00
wiz
18805f9978
Fix a typo. Sort commands. End list correctly.
2015-08-17 17:47:22 +00:00
knakahara
a1136117a8
Add intrctl(8) man.
2015-08-17 06:50:03 +00:00
knakahara
84f76c9c0f
Add intrctl(8).
2015-08-17 06:42:45 +00:00
uebayasi
2d6876178b
Whitespace.
2015-08-15 09:33:55 +00:00
dholland
b1828e0ba3
Hack up dinode usage to be 64 vs. 32 as needed. Part 1.
...
(This part changes the native lfs code; the ufs-derived code already
has 64 vs. 32 logic, but as aspects of it are unsafe, and don't
entirely interoperate cleanly with the lfs 64/32 stuff, pass 2 will be
rehashing that.)
2015-08-12 18:28:00 +00:00
dholland
e54b457c15
Provide 32-bit and 64-bit versions of FINFO.
...
This also entailed sorting out part of struct segment, as that
contains a pointer into the current FINFO data.
2015-08-12 18:27:01 +00:00
dholland
2e090556c4
Make 32-bit and 64-bit versions of SEGSUM.
...
Also fix some of the FINFO handling as it's closely entangled.
2015-08-12 18:26:26 +00:00
dholland
32577c4f1c
Add IFILE32 and IFILE64 structures for the on-disk ifile entries.
...
Add and use accessors. There are also a bunch of places that cast and
I hope I've found them all...
2015-08-12 18:25:51 +00:00
dholland
f11e4edeba
Make 32-bit and 64-bit versions of CLEANERINFO.
...
XXX: while this is written to disk, it seems like much of it would
XXX: be better set up as a commpage shared with the cleaner.
2015-08-12 18:25:03 +00:00
tsutsui
37c170c28e
Remove unused es message files.
2015-08-12 18:22:22 +00:00
tsutsui
7ec466b181
Drop ancient AOUT2ELF option. Saves ~280 bytes.
2015-08-12 18:20:02 +00:00
jnemeth
494e3bc90d
PR/50125 - Jarle Greipsland -- Incorrect PID in /var/run/mountd.pid
...
Move call to pidfile() after daemon() so that correct (child) pid is
written to pidfile.
2015-08-05 23:23:47 +00:00
ozaki-r
10613e2fe6
Introduce rump.ndp
...
ndp(8) uses RTM that requires that getpid(2) works correctly. Unfortunately
supporting getpid(2) in librumphijack will be tricky so that we rump-ify
ndp(8) as well as arp(8).
2015-08-03 09:51:40 +00:00
dholland
9e5184b86b
Add a (draft) 64-bit superblock. Make things build again.
...
Add pieces of support for using both superblock types where
convenient, and specifically to the superblock accessors, but don't
actually enable it anywhere.
First substantive step on PR 50000.
2015-08-02 18:18:09 +00:00
dholland
992b9a23af
Use accessor functions for the version field of the lfs superblock.
...
I thought at first maybe the cases that test the version should be
rolled into the accessors, but on the whole I think the conclusion on
that is no.
2015-08-02 18:14:16 +00:00