On Mon, 4 Jul 2016, Martin Husemann wrote:
On Mon, Jul 04, 2016 at 03:14:51PM +0800, Paul Goyette wrote:
So, cd_play_msf the same as the last+1 byte of kassert. :)
Heh, I see. So which of the three KASSERT is it?
Working on tracking it down now.
It only happens on my production machine, with autoloaded exec_elf64.
It does not happen if I boot GENERIC.
And even if I boot a stripped down QEMU kernel which has to autoload the
module, it still works.
So I'm clueless.
But working my way slowly through exec_elfxx_makecmds() to see where we lose
l->l_cred pointer. (The pointer is valid when check_exec() calls
xxx_makecmds() so it gets lost somewhere after that.)
+------------------+--------------------------+------------------------+
| Paul Goyette | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+