Skip to content

用户态中断发送者状态表的内存申请问题 #3

Description

@wangzhankun
  1. 需要将内存pin到物理内存中,防止该页面被换出换入导致其起始物理地址被修改,同时也可以防止攻击者通过修改换出的页面篡改发送者状态表
  2. 需要分配4KB对齐的连续物理内存

建议代码可以修改为

uist = alloc_pages(GFP_HIGHUSER, 1);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions