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

ebuild.sh: Warn about colon-separated argument in sandbox functions #1213

Merged
merged 1 commit into from Dec 27, 2023

Conversation

ulm
Copy link
Member

@ulm ulm commented Dec 24, 2023

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/

Bug: https://bugs.gentoo.org/920654

@thesamesam
Copy link
Member

Two comments:

  1. Could you add a reference to the commit where vapier added this?
  2. Could you file a bug (and reference it here) for pkgcheck support for detecting it?

Thank you!

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/

The previous usage message (contrary to Devmanual policy) had been
added in commit 0c64542.

Bug: https://bugs.gentoo.org/920654
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
@ulm
Copy link
Member Author

ulm commented Dec 27, 2023

1. Could you add a reference to the commit where vapier added this?
2. Could you file a bug (and reference it here) for pkgcheck support for detecting it?

Both done.

@gentoo-bot gentoo-bot merged commit cb788dd into gentoo:master Dec 27, 2023
10 checks passed
@ulm ulm deleted the sandbox-functions branch December 27, 2023 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants