We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to PMS and the Devmanual, only a single item is allowed as argument for addread, addwrite, adddeny and addpredict: https://projects.gentoo.org/pms/8/pms.html#x1-12300012.3.3 https://devmanual.gentoo.org/function-reference/sandbox-functions/
addread
addwrite
adddeny
addpredict
Especially, multiple path items should not be passed as a colon-separated list.
Corresponding Portage PR: gentoo/portage#1213
https://github.com/gentoo/gentoo/blob/fb8ecab9407d58520dd4c4658879f00e52e26d02/dev-db/sqlite/sqlite-3.44.2-r1.ebuild#L367 https://github.com/gentoo/gentoo/blob/fb8ecab9407d58520dd4c4658879f00e52e26d02/sys-boot/grub/grub-2.12.ebuild#L289
No response
None
The text was updated successfully, but these errors were encountered:
SandboxCallCheck: new check for invalid sandbox calls
09f7098
Catches multiple arguments passed to function, and colon separated path. Resolves: pkgcore#644 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
4007f00
arthurzam
Successfully merging a pull request may close this issue.
Is there an existing such new check request for this?
Explain
According to PMS and the Devmanual, only a single item is allowed as argument for
addread
,addwrite
,adddeny
andaddpredict
:https://projects.gentoo.org/pms/8/pms.html#x1-12300012.3.3
https://devmanual.gentoo.org/function-reference/sandbox-functions/
Especially, multiple path items should not be passed as a colon-separated list.
Corresponding Portage PR: gentoo/portage#1213
Examples
https://github.com/gentoo/gentoo/blob/fb8ecab9407d58520dd4c4658879f00e52e26d02/dev-db/sqlite/sqlite-3.44.2-r1.ebuild#L367
https://github.com/gentoo/gentoo/blob/fb8ecab9407d58520dd4c4658879f00e52e26d02/sys-boot/grub/grub-2.12.ebuild#L289
Output message
No response
Documentation
No response
Result level
None
The text was updated successfully, but these errors were encountered: