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

*: xattr can Update() #135

Merged
merged 1 commit into from
Jun 26, 2017
Merged

*: xattr can Update() #135

merged 1 commit into from
Jun 26, 2017

Conversation

vbatts
Copy link
Owner

@vbatts vbatts commented Jun 24, 2017

This is a gnarly patchset that has been mashed together.
It uncovered that some aspects of Check were never really working
correctly for xattr keywords, but also the Update() had been left
undone for a while.

This includes some API changes around the Keyword and KeyVal types.

Also I would like to update the signature for the UpdateKeywordFunc to
just accept a KeyVal as an argugment, rather than a keyword AND the
value. with this context there would be no need to guess on the value of
what's passed to the xattr update function of whether it needs or
already is base64 encoded.

Signed-off-by: Vincent Batts vbatts@hashbangbash.com

@vbatts
Copy link
Owner Author

vbatts commented Jun 24, 2017

cc @cyphar

This is a gnarly patchset that has been mashed together.
It uncovered that some aspects of Check were never really working
correctly for `xattr` keywords, but also the `Update()` had been left
undone for a while.

This includes some API changes around the `Keyword` and `KeyVal` types.

Also I would like to update the signature for the `UpdateKeywordFunc` to
just accept a `KeyVal` as an argugment, rather than a keyword AND the
value. with this context there would be no need to guess on the value of
what's passed to the xattr update function of whether it needs or
already is base64 encoded.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
@vbatts
Copy link
Owner Author

vbatts commented Jun 26, 2017

tests pass.

@vbatts vbatts merged commit 0b5038d into master Jun 26, 2017
@vbatts vbatts deleted the xattr-updates branch June 26, 2017 18:21
@cyphar
Copy link
Contributor

cyphar commented Jun 27, 2017

Sorry for not reviewing this earlier (I had exams the past few days). I'll take a look at this and send a patch if necessary. 😸

@vbatts
Copy link
Owner Author

vbatts commented Jun 27, 2017 via email

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

Successfully merging this pull request may close these issues.

2 participants