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

Fix reading info permission deny bugs. #39

Merged
merged 1 commit into from
Sep 4, 2022

Conversation

HuO50
Copy link
Collaborator

@HuO50 HuO50 commented Sep 3, 2022

Details:
1. Change default /dev/mem to sysfs tables, if /dev/mem is unavailable, use sysfs tables instead.
2. Modify init method from dmidecodemodule.
3. Add read_file function instead memchunk.
4. Add SM3 reading function and get version function.
5. Test physical machine and KVM machine

Details:
    1. Change default /dev/mem to sysfs tables, if /dev/mem is unavailable, use sysfs tables instead.
    2. Modify init method from dmidecodemodule.
    3. Add read_file function instead memchunk.
    4. Add SM3 reading function and get version function.
    5. Test physical machine and KVM machine
@lian-bo lian-bo merged commit 0528519 into nima:smbios-3.3.0 Sep 4, 2022
@lian-bo
Copy link
Collaborator

lian-bo commented Sep 4, 2022

Hi, Zhongze
Thank you for the update. But, this patch is still problematic. Can you check it again carefully? Thanks.

lian-bo pushed a commit that referenced this pull request Sep 4, 2022
Details:
    1. Change default /dev/mem to sysfs tables, if /dev/mem is unavailable, use sysfs tables instead.
    2. Modify init method from dmidecodemodule.
    3. Add read_file function instead memchunk.
    4. Add SM3 reading function and get version function.
    5. Test physical machine and KVM machine

Resolves: #39
Signed-off-by: Huzz <[email protected]>
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