协同设计工具的终止标志的用途是什么?

发布于 2024-09-13 06:39:22 字数 209 浏览 1 评论 0原文

我已阅读手册页,但无法理解 -o Kill 标志对 codesign 工具的作用。我最初将“设置了终止标志的代码在失去身份时死亡”这句话解释为,如果您使用终止标志对应用程序进行签名,然后以使签名无效的方式更改应用程序,那么操作系统将不再运行该应用程序。那就太好了,我看到博客文章表明其他人也相信这一点。但实验表明它并不能做到这一点。那么它有什么作用呢?

I've read the man page, but I'm having trouble understanding what the -o kill flag does to the codesign tool. I initially interpreted the sentence "Code with the kill flag set will die when it loses its identity" to mean that if you sign an app with the kill flag, and then change the app in a way that invalidates the signature, then the OS will no longer run the app. That would be nice, and I've seen blog posts indicating that other people believed that. But experiment shows that it doesn't do that. So what does it do?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文