career
如何使用 Landlock 对 Linux 进程进行沙箱隔离,无需 root 权限
下面这个程序先限制自身,然后尝试读取两个文件: without landlock: read /etc/hostname ok read /tmp/secret.txt ok with landlock, /etc allowed: read /etc/hostname
请在原站确认免费范围。本站只整理公开课程目录并承担会员审核;课程正文、账号和证书服务由原发布平台提供。
career
下面这个程序先限制自身,然后尝试读取两个文件: without landlock: read /etc/hostname ok read /tmp/secret.txt ok with landlock, /etc allowed: read /etc/hostname