-
Qemu Sparc64
想先在Sparc虚拟机上装ubuntu,发现qemu模拟sparc还要麻烦些。 像装x86系统那样装sparc版的ubuntu,卡在了load kernel上。 在qemu手册上找到了模拟sparc的方法。 Sparc64 System emulator Use the executable qemu-system-sparc64 to simulate a Sun4u (UltraSPARC PC-like machine), Sun4v (T1 PC-like machine), or generic Niagara (T1) machine. The Sun4u emulator is mostly complete, being able to run Linux, NetBSD and OpenBSD in headless (-nographic) mode. The Sun4v emulator is still...
-
strcmp in Linux
(gdb) disassemble Dump of assembler code for function __strcmp_avx2: => 0x00007ffff7f30ae0 <+0>: endbr64 0x00007ffff7f30ae4 <+4>: mov %edi,%eax 0x00007ffff7f30ae6 <+6>: xor %edx,%edx 0x00007ffff7f30ae8 <+8>: vpxor %ymm7,%ymm7,%ymm7 0x00007ffff7f30aec <+12>: or %esi,%eax 0x00007ffff7f30aee <+14>: and $0xfff,%eax 0x00007ffff7f30af3 <+19>: cmp $0xf80,%eax 0x00007ffff7f30af8 <+24>: jg 0x7ffff7f30e50 <__strcmp_avx2+880> 0x00007ffff7f30afe <+30>: vmovdqu (%rdi),%ymm1 0x00007ffff7f30b02 <+34>: vpcmpeqb (%rsi),%ymm1,%ymm0...
-
Linux PAM
正在看linux系统密码验证的部分,现在的问题是ubuntu系统是也用linux-pam,还是用自己shadow-4.5 package自带的功能。 LFS (Linux From Scratch): Shadow was indeed installed in LFS and there is no reason to reinstall it unless you installed CrackLib or Linux-PAM after your LFS system was completed. If you have installed CrackLib after LFS, then reinstalling Shadow will enable strong password support. If you have...