Commit Graph

296422 Commits

Author SHA1 Message Date
rin b858ac1337 Do not warn for ELF note for FDO packaging metadata
(https://systemd.io/COREDUMP_PACKAGE_METADATA/),
found in userland binaries of Fedora 36.
2022-06-08 10:12:42 +00:00
nia 65d5dda139 doc: More various changes from other developers 2022-06-08 07:24:12 +00:00
ryo 8fa8ce9324 Functionalize frame pointer backtrace. 2022-06-07 23:55:25 +00:00
martin d8682db5b9 This kernel has no midi, so comment out pseudo-device sequencer 2022-06-07 18:50:28 +00:00
martin fd2f23e6a4 This kernels have no midi configured, so comment out pseudo-device sequencer 2022-06-07 18:33:41 +00:00
martin 9359559e9a This kernel has no midi configured, so comment out pseudo-device sequencer 2022-06-07 18:30:49 +00:00
christos 712e653ad8 Add method to initialize errinfo so that npfctl does not print random strings. 2022-06-07 16:27:24 +00:00
ryo fad1a5aff3 On aarch64, ddb backtrace can be performed without framepointer by specifying
the /s modifier to the ddb trace command (trace/s, bt/s).
The default is trace with framepointer (same as before).

This allows backtracing even on kernels compiled with -fomit-frame-pointer.
2022-06-07 08:08:31 +00:00
skrll e12dad7beb Whitespace 2022-06-07 06:06:46 +00:00
skrll a4e4e3ca93 PR/56865: hppa: t_ptrace_core_wait test doesn't know it must advance PC after breakpoint
Add __hppa__ to the list of architectures that need to advance to the instruction
after the breakpoint

Thanks to Tom Lane for the fix.
2022-06-07 05:39:16 +00:00
ryo c1c8ca87d3 use stp if possible. 2022-06-07 04:12:10 +00:00
nia 402b924225 revert bits and pieces I accidentally included in my last commit
from hannken
2022-06-06 13:28:55 +00:00
nia 3299e8e2bf Remove accidentally committed merge conflict line. 2022-06-06 10:57:05 +00:00
nia b7957d1677 build system: Revert all the recent additions of MK[...] knobs that
allow conditionally disabling the building of certain user space
programs in the 'base' set.

There is not enough consensus that this is the right way and a few
people had strong objections, see source-changes-d@.
2022-06-06 10:56:27 +00:00
skrll 09be482eb3 Don't index outside the mdocs array of function pointers. Analysis and
suggested fixes from Tom Lane.  I played it safe and went with (my
variation of) the minimal fix.

port-hppa/56118: sporadic app crashes in HPPA -current
2022-06-06 07:41:23 +00:00
skrll e918cd4134 Match up PTRACE_BREAKPOINT_ASM with PTRACE_BREAKPOINT which is the
gdb breakpoint instruction.
2022-06-06 07:22:31 +00:00
rin 0685b389ae PR kern/51254
uvm_map_findspace(): Output current value of "entry" when KASSERT fires.
2022-06-06 07:00:02 +00:00
skrll 842a178846 Define a PTRACE_ILLEGAL_ASM 2022-06-06 06:41:43 +00:00
skrll e59cbf3301 Save and restore %r19 the "linkage table pointer register" across the call
to __cerror so if the ptrace syscall fails we can call __cerror again with
the correct %r19 value.

Do this even though the call of __cerror doesn't go via the PLT because
__cerror calls __errno which does.

Analysis and fix from Tom Lane in

port-hppa/56864: hppa: ptrace(2) dumps core when returning an error

I changed the location of where %r19 is stored on the stack to follow the
ABI.
2022-06-06 06:32:44 +00:00
msaitoh 826cda6802 s/filer/filter/ in comment. No functional change. 2022-06-06 02:16:37 +00:00
riastradh fe47d13dc0 uvm(9): Sprinkle assertions into uvm_map_findspace.
May help to diagnose PR kern/51254.
2022-06-05 13:45:28 +00:00
rjs afb36e9a1f bwfm(4) uses firmload. 2022-06-05 13:35:52 +00:00
skrll 390eeae316 Match explicit section names and not .{text,data}.* for example.
This test now passes on hppa.
2022-06-05 08:42:25 +00:00
mrg 2fbb47700a gcc 9 is no longer relevant here.
(may be in gcc.old, but soon after netbsd-10 branch we'll both
obsolete it on the branch and likely upgrade -current gcc.)
2022-06-05 05:16:57 +00:00
riastradh ccc4828b62 uvm(9): Don't duplicate vm_map_min/max in `show map' output.
Didn't notice these were already there, oops!
2022-06-05 01:45:45 +00:00
riastradh 83bf6df709 uvm(9): Sprinkle more info into hint/orig_hint assertions.
May help to diagnose PR kern/51254.
2022-06-04 23:26:05 +00:00
riastradh 13b1639b38 uvm(9): Print min/max address and first_free entry in ddb `show map'.
May help to diagnose PR kern/51254.
2022-06-04 23:09:57 +00:00
riastradh d86c108395 tests/lib/libc: Test mmap(2) with bad hints. 2022-06-04 23:09:18 +00:00
rin 23b26afd96 - Use register prefix (%r).
- Remove workaround for old gas(1) bug.

No binary changes.
2022-06-04 22:32:20 +00:00
riastradh c496eb7a0d uvm(9): Fix mmap optimization for topdown case.
PR kern/51393
2022-06-04 20:54:53 +00:00
riastradh 22753e6166 uvm(9): Fix 19-year-old bug in assertion about mmap hint.
Previously this would _first_ remember the original hint, and _then_
clamp the hint to the VM map's range:

	orig_hint = hint;
	if (hint < vm_map_min(map)) {	/* check ranges ... */
		if (flags & UVM_FLAG_FIXED) {
			UVMHIST_LOG(maphist,"<- VA below map range",0,0,0,0);
			return (NULL);
		}
		hint = vm_map_min(map);
	...
	KASSERTMSG(!topdown || hint <= orig_hint, "hint: %#jx, orig_hint: %#jx",
	    (uintmax_t)hint, (uintmax_t)orig_hint);

Even if nothing else happens in the ellipsis, taking the branch
guarantees the assertion will fail in the topdown case.
2022-06-04 20:54:24 +00:00
riastradh f8a9f49a15 mmap(2): If we fail with a hint, try again without it.
`Hint' here means nonzero addr, but no MAP_FIXED or MAP_TRYFIXED.

This is suboptimal -- we could teach uvm_mmap to do a fancier search
using the address as a hint.  But this should do for now.

Candidate fix for PR kern/55533.
2022-06-04 20:54:03 +00:00
pgoyette 36267b45c1 Fix syntax error 2022-06-04 20:32:49 +00:00
pgoyette a352468a15 Include sequencer code conditionally. Fixes build for sparc and sparc64
(and anything else that has a midi but no sequencer).
2022-06-04 20:12:10 +00:00
pgoyette c1b2d682cf Add sets-lists entries for the new combined midi_seq module 2022-06-04 03:32:04 +00:00
pgoyette d2d4d4364b Combine the midi and sequencer modules into a single midi_seq module
to avoid a circular dependency as noted in kern/56772.  Retain minimal
modules of the original names to accomodate auto-loading upon access
to the /dev/xxx nodes.
2022-06-04 03:31:10 +00:00
gutteridge 7e1677552f ipf(8): document all -l options
References to "none", "state", and "nat" were missing in places.
Addresses PR bin/36763 from Wolfgang Stukenbrock.
2022-06-03 21:43:37 +00:00
ryo c8cf0c03e3 optimize. reduce 2 instructions. 2022-06-03 19:59:59 +00:00
andvar 0dadf84f61 remove reference to gatekeeper.dec.com ftp. 2022-06-03 17:04:54 +00:00
andvar 7a3188d95f some srm firmware (including legacy platforms) still available at hp ftp.
not sure if HPE selling firmware CDs, but it is definitely not Compaq anymore.
2022-06-03 15:36:36 +00:00
andvar c8f8b6bbdf fix link to pkgsrc.tar.gz file in postinstall section. 2022-06-03 14:02:48 +00:00
andvar b9acd6afaf fix the title of the boot tape creation section. 2022-06-03 13:50:32 +00:00
andvar 001ca8836d fix folloing->following typos in more files.
also s/begginning/beginning/.
2022-06-03 12:10:50 +00:00
bouyer 3ecd3c34a4 Restore (again) support for grant tables v1: pvshim doesn't support
v2 (it doesn't even support GNTTABOP_set_version) some setups will
likely require pvshim in the future.
2022-06-03 10:42:17 +00:00
dholland 83b0be480b typo in comment 2022-06-03 00:21:44 +00:00
msaitoh 0c0b6f4ed6 Modify comment. ixgbe_enable_queue() can be used on both MSI-X and legacy intr. 2022-06-02 17:20:21 +00:00
msaitoh 335b99d5ce KNF. Modify comment. No functional change. 2022-06-02 16:56:22 +00:00
macallan 4245aa3c68 check platform-do-*-mute properties to find out the resp. GPIO's polarity
now this works properly on pmac7,3
2022-06-02 16:22:27 +00:00
martin 6ce5826744 If we get the disk description via device properties, the strings may
have arbitrary length - make sure the "available disks" menu fits
on the current screen.
2022-06-02 15:36:08 +00:00
skrll 5e1c0b154c Increase the resource limit so these tests pass on hppa.
LGTM from Roland
2022-06-02 07:34:39 +00:00