how to avoid memory being swapped (locking memory pages)

1 mlockall() 2 how to do this after program started and program does not call mlockall() ? 3 内核实现 3.1 mlockall() 3.2 内存区域标记 4 Swap 4.1 Swap info 4.2 Locks 4.3 fork 时候复制 swap… 4.4 进程退出时候清理 swap 。。。 5 RLIMIT_MEMLOCK 本文为摘录,...

December 16, 2023 · Yang, Ying-chao

Lock out user after three failed login attempts

1 Lock out user after three failed login attempts 本文为摘录,原文为: https://wiki.archlinux.org/title/Security#Lock_out_user_after_three_failed_login_attempts 1 Lock out user after three failed login attempts 截至 pambase 20200721.1-2 版本,pam_faillock.so 已默认启用,当用户在 15 分钟内尝试 3 次登...

August 21, 2023