Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Custom] 请问 ksud sepolicy check 如何使用命令 #1408

Closed
androiddisk opened this issue Mar 2, 2024 · 2 comments
Closed

[Custom] 请问 ksud sepolicy check 如何使用命令 #1408

androiddisk opened this issue Mar 2, 2024 · 2 comments

Comments

@androiddisk
Copy link

Describe your problem.

houji:/ # /data/adb/ksud sepolicy check "allow zygote zygote capability sys_chroot"
houji:/ #
houji:/ #
houji:/ # /data/adb/ksud sepolicy check "allow zygote zygote capability 1111111"
houji:/ # /data/adb/ksud sepolicy check "allow 111 zygote capability 1111111"
houji:/ # /data/adb/ksud sepolicy check "allow 111 zygote 1111 1111111"
houji:/ # /data/adb/ksud sepolicy check "allow 111 2 1111 1111111"

我想检测是否已经加载某个selinux规则 但是无论输入正确的规则还是错误的 都没有任何报错 。 源码里面搜了几圈确实没有搜索到这个命令如何使用。 请大佬解答一下,感谢!

@tiann
Copy link
Owner

tiann commented Mar 2, 2024

这个命令只 check 表达式是否合法,不 check 是否有某个规则。

@tiann tiann closed this as completed Mar 2, 2024
@androiddisk
Copy link
Author

好的 感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants