Commit Graph

196429 Commits

Author SHA1 Message Date
dholland
13fc777536 Remove the special refcount behavior (adding an extra reference to the
parent dir) associated with SAVESTART in relookup().

Check all call sites to make sure that SAVESTART wasn't set while
calling relookup(); if it was, adjust the refcount behavior. Remove
related references to SAVESTART.

The only code that was reaching the extra ref was msdosfs_rename,
where the refcount behavior was already fairly broken and/or gross;
repair it.

Add a dummy 4th argument to relookup to make sure code that hasn't
been inspected won't compile. (This will go away next time the
relookup semantics change, which they will.)
2011-01-02 05:09:30 +00:00
tsutsui
04a4956fe1 Remove disabled code for VAC. No such news68k models. 2011-01-02 05:09:27 +00:00
dholland
bf71879ee8 Regen again. 2011-01-02 05:05:42 +00:00
dholland
b845056678 Add an INRELOOKUP namei flag. Sigh. (We don't need more namei flags.)
However, because of a protocol deficiency puffs relies on being able
to keep track of VOP_LOOKUP calls by inspecting their contents, and
this at least allows it to use something vaguely principled instead of
making wild guesses based on whether SAVESTART is set.

Update libp2k to use INRELOOKUP instead of SAVESTART.
2011-01-02 05:04:58 +00:00
dholland
ef568a47eb Regen. 2011-01-02 05:02:04 +00:00
tsutsui
7beb97cf13 Pull code that maps the kernel segment table cache invalidated for 040/060,
to reduce diffs from other m68k ports.
(though news68k doesn't have 040/060 models)
2011-01-02 05:01:57 +00:00
dholland
a508b19c66 Remove unused nameidata field ni_startdir. 2011-01-02 05:01:20 +00:00
pgoyette
97fdaa0a16 The unmatchedvarparens test actually generates a blank link as output,
so make sure we have a matching blank line in the "golden" output match
file.
2011-01-02 04:41:24 +00:00
pgoyette
f6e425415c The ieeefp stuff has been atf-ified, with the exception of ieeefp/testfloat
(which was never hooked into the build anyway).
2011-01-02 03:59:34 +00:00
pgoyette
7e8d350761 Add the ieeefp tests to everything EXCEPT for vax and m68000 architectures. 2011-01-02 03:52:15 +00:00
pgoyette
f9886d18eb Atf-ify several of the ieeefp tests.
Note that t_round is currently mostly disabled, due to PR/44293.  Also,
testfloat has not been converted.
2011-01-02 03:51:20 +00:00
matt
1b9f1d30ee Make these 64-bit clean. 2011-01-02 02:58:52 +00:00
jakllsch
1eadcd7347 Relocate cdboot (aka bootxx_cd9660) to 0x1000 instead of 0x600.
A similar change was made in v1.38 of Makefile.bootxx about 13 months ago,
no reason these shouldn't be consistent with each other, like they were before.
2011-01-02 02:31:32 +00:00
jakllsch
9b838cd935 Correct comments referencing PRIMARY_LOAD_ADDRESS to match current reality. 2011-01-02 02:01:58 +00:00
pgoyette
fc1c4666a3 Typo - it is h_getopt_long and not h_getoptlong 2011-01-02 01:58:31 +00:00
pgoyette
d7a6e9b3f2 The last of the libc/stdlib tests have been atf-ified 2011-01-01 23:59:19 +00:00
pgoyette
9a073313c7 Convert a few more tests from regress to atf 2011-01-01 23:56:48 +00:00
pgoyette
247905d351 Build t_ldexp test always. The test itself determines if it is running
on an unsupported platform (vax) and exits.
2011-01-01 23:45:01 +00:00
agc
03e4221328 clean up lint (on amd64) 2011-01-01 23:00:24 +00:00
agc
8f197579aa get rid of some lint on amd64 platform 2011-01-01 22:29:00 +00:00
haad
082dce313a Remove optional keyword from directory definition. 2011-01-01 22:11:45 +00:00
pooka
08421f3eea Update comment and inspired by that update variable naming too.
no functional change.
2011-01-01 22:05:11 +00:00
pooka
7dce29201f Guess-fix a signed vs. unsigned compiler warning report by pgoyette
(it doesn't trigger in my src working copy for whatever reason).
2011-01-01 20:43:01 +00:00
pooka
4a54a2b61f fill in number of PR kern/44307 2011-01-01 20:30:56 +00:00
pooka
69eba09f50 Check that extending a file grows its size (with and without O_APPEND). 2011-01-01 20:26:22 +00:00
agc
f14b9450fa Fix a problem with overrunning a base64 decoded number when decoding ssh
keys, from Anthony Bentley.

	% netpgpkeys --ssh -l --hash=md5
	1 key found
	signature  1024/RSA (Encrypt or Sign) 666f47feddcdb77d 2002-07-02
	Key fingerprint: e1d6 b328 8126 e8e3 666f 47fe ddcd b77d
	uid              machinename.com (/home/user/.ssh/id_rsa.pub) <user@machinename.com>

	% ssh-keygen -l -f ~/.ssh/id_rsa.pub
	1024 e1:d6:b3:28:81:26:e8:e3:66:6f:47:fe:dd💿b7:7d /home/user/.ssh/id_rsa.pub (RSA)
	%

ssh keys and netpgp work as above.
2011-01-01 19:53:53 +00:00
pooka
d015d3f957 Report correct file size + deal with ftruncate() and O_APPEND. 2011-01-01 19:47:22 +00:00
jym
8d179afa97 Document MDSET_NOIMAGE. 2011-01-01 16:56:18 +00:00
plunky
f302f6417c the Name for this manpage is "ld.aout_so". Use it. 2011-01-01 16:34:52 +00:00
wiz
365fe27c35 groff-1.21 out. 2011-01-01 14:25:47 +00:00
haad
1d0e6bab66 Add /var/lock/lvm subdir for LVM it can be created automagically but I think
that it's better to have it created before.
2011-01-01 13:09:13 +00:00
haad
9ec41ae5fa Add /var/lock directory to base set it's used by LVM and other tools.
Change group owner to operator to enable LVM locking for him.
2011-01-01 12:49:48 +00:00
nisimura
dcfa49c7d6 - leave lwp0 trapframe zerod since it's never used.
- 64bit op SR[KX] bit is for !o32 cases.
- build struct sigframe_siginfo locally and then operate single copyout()
  to user stack as other ports do.
2011-01-01 02:08:10 +00:00
uwe
cfaf20150d Revert previous. Add 2011 to the list in old format.
Let board@ decide if it's ok to switch to the range format.
2011-01-01 01:36:10 +00:00
he
914db8430e Protect the include of <sys/cpu_data.h> with a test for either _KERNEL
or _KMEMUSER.  This should fix the build problem in libkvm for our m68k
ports.
2011-01-01 00:37:16 +00:00
rmind
304c5ab65d Welcome to 2011! Happy New Year!
Do not forget to update copyright notices when you add new code.
2011-01-01 00:29:23 +00:00
tsutsui
5e750e3881 Regen from diodevs rev 1.11:
> Use more specific info and names for 362/382 internal framebuffers.
2010-12-31 22:49:55 +00:00
tsutsui
4a634b4174 Use more specific info and names for 362/382 internal framebuffers.
Taken from various WWW pages (and my 362/382):
http://www.hpmuseum.net/collection_document.php
http://www.ambry.com/page/model.asp?model_nu=A1473A
http://mail-index.NetBSD.org/port-hp300/2003/11/03/0005.html
http://www.ambry.com/page/model.asp?model_nu=A1474A
http://mail-index.NetBSD.org/port-hp300/1999/07/16/0000.html
http://mail-index.NetBSD.org/port-hp300/1999/07/16/0001.html
http://mail-index.NetBSD.org/port-hp300/2009/04/30/msg000018.html
2010-12-31 22:48:59 +00:00
tsutsui
0d350c51a1 According to the 362/382 Service Handbook by HP, only 382 has a utility chip
(i.e. frodo and apci) for RS-232C so don't try to attach frodo on HP362.

XXX: HP362 detection code in locore.s and bootloader still doesn't work
XXX: if on-board framebuffer is disabled by a jumper switch, though
XXX: it's still detected as HP360 and just works.
2010-12-31 22:41:55 +00:00
phx
84715b6c09 Support for reading disklabels from RDB partitions in the kernel.
The code will check for a raw disklabel first, then tries to find the
disklabel in an MBR partition and finally constructs it from RDB
partitions.
RDB is probably only needed for the Pegasos platform, so it can be
disabled in the config file (RDB_PART).
2010-12-31 21:50:27 +00:00
pooka
04cb16e7f3 fill in PR kern/44302 2010-12-31 18:26:25 +00:00
pooka
6574800027 Add some elementary tests for r/o file systems. More in 2011! 2010-12-31 18:20:32 +00:00
pooka
1b60b72463 Introduce r/o tests. They do two mounts: the first one is r/w and
runs a generator which primes the fs.  The second one is r/o and
does the actual testing.  Also, introduce a nfsro fstype which does
a clientside r/w mount for a r/o server export.

requested by yamt

(one nfsro test currently fails with EROFS vs. EACCES.  Hopefully
someone else can debate the correct errno)
2010-12-31 18:16:41 +00:00
pooka
02c3d76e8b Sprinkle some KNF. No functional change. 2010-12-31 18:12:51 +00:00
pooka
9dec851430 Configure two network addresses for the nfs server. One exports
/myexport r/w to the client in the same subnet and the other one
exports /myexport r/o to the client in the same subnet.
2010-12-31 18:11:27 +00:00
pooka
6198422889 Don't broadcast unmntall with SIGTERM -- it just makes the atf default
cleanup kill hang for a while.
2010-12-31 17:59:24 +00:00
pooka
ff21e05c48 avoid temp file per clue-by-four from jmmv 2010-12-31 15:21:49 +00:00
pgoyette
1ee3be1187 Correct a typo that creept in 4 weeks ago. This removes the 1 "Bogus Test"
currently being reported.
2010-12-31 14:55:07 +00:00
mlelstv
9f9ca3aac9 return from an SIGFPE handler is not defined when the hardware
caused the exception. Use sigsetjmp/siglongjmp to resume the
test function instead.
2010-12-31 14:54:55 +00:00
pgoyette
f4dac2e1a2 More tests have been atf-ified 2010-12-31 14:37:37 +00:00