su(1): Fix kerberized path with MKPAM=no MKKERBEROS=yes.
Fixes:
$ su riastradh
riastradh at EXAMPLE.COM's Password:
su: chown 0x7e3294e318a0: No such file or directory
After using the target user's password to get credentials (that is, a
ticket-granting ticket) into an in-memory cache and verifying the
credentials are valid, don't copy them into _another_ in-memory cache
and then chown it -- that makes no sense and doesn't work. Instead,
copy them into a _file_ cache.
This was broken in 2012 with a build fix that apparently nobody has
ever tested since:
https://mail-index.netbsd.org/source-changes/2012/04/12/msg033638.html
PR bin/61091: MKPAM=no kerberized su(1) is busted
Restructure virt68k clocks to be more or less the same way that clock
handling is structures in hb68k, with a few tweaks:
- Keep the "delay clock" that virt68k requires to implement delay().
- Add the notion of "clock priority"; higher-priority clocks get chosen
for duty before lower-priority clocks.
Save and restore X around BPF_COP/BPF_COPX calls whenever
the program uses X, not only when it has a BPF_LDX instruction.
Add new test-cases to t_cop.c files: load X, call a special
copprocessor function that clobbers registers and check X.
While here, fix copx_no_ctx to test BPF_COPX (it tested BPF_COP,
likely a copy/paste error).
news68k/fbbm: Implement WSDISPLAYIO_GETCMAP and PUTCMAP
Also allow passing planemask to the HWrite function for
future userland 'putbitmap' ioctls (currently not implemented).
Interprocessor interrupt infrastructure. Dispatch cribbed from Alpha
and streamlined a bit. Low-level interrupt stub assumes a vectored
interrupt and pushes a full FMT0 trap frame rather than the minimal
clockframe (since at least one of the IPI handlers needs it).
IPI polling (which can be required when sending synchronous IPIs from
an interrupt handler) is achieved with a small ipi_poll() stub that
either returns immediately if cpuinfo.ci_ipis == 0, or creates the base
FMT0 exception frame and jumping to the main ipi_intrstub; when complete,
the RTE will return directly to the caller of ipi_poll().
Revert yesterday's changes to lfs_vflush(), lfs_writevnodes_selector() and
ulfs_inactive() since these cause ATF failures. PR kern/61000 may be
affected.