Skip to content

Comments

Fix reading info permission deny bugs.#39

Merged
lian-bo merged 1 commit intonima:smbios-3.3.0from
HuO50:fix_bug_patch
Sep 4, 2022
Merged

Fix reading info permission deny bugs.#39
lian-bo merged 1 commit intonima:smbios-3.3.0from
HuO50:fix_bug_patch

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 <hzzjoshua@gmail.com>
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