-
Notifications
You must be signed in to change notification settings - Fork 218
SE Linux binary policy formats #678
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
base: master
Are you sure you want to change the base?
Conversation
Modules, Kernel and package, all versions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@angea Thanks for the submission! The first batch of comments is below (it's not everything I wanted to point out, but at least something to start with):
|
Updated - PTAL. |
|
Updated. PTAL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here comes some very general feedback, so I won't even directly highlight any specific occurrences - please check out https://doc.kaitai.io/ksy_style_guide.html#attr-id and try to conform to the naming conventions throughout both .ksy specs wherever possible. For example:
- most of the arrays I've seen don't have plural names as they should,
- fields denoting byte size of another field (most often a string) aren't called
len_+ subject as they're supposed to, but they sometimes use_lengthsuffix, sometimes_lensuffix, other times it's justlengthwithout specifying the subject field... - fields that designate the number / count of items are not called
num_+ subject as expected, but instead, it's sometimes "something +_count" (I call it something, not "subject", because "subject" is meant to exactly match the name of the array field, which should be a plural word, e.g.num_nodesspecifies the number of elements of anodeslist), sometimes justcount, other timeslength(which even clashes with the "convention" for byte size) etc.
|
I handled all your previous comments and applied the style guide. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated w/ all requested changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PTAL
|
Could you have another look? |
Modules, Kernel and package, all versions.