Parent: fb811a090bb3d86b21654ebb0051fb0ec0b7bb97
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2020-02-07 19:22:47
Tree: ff99fbd6acfc850bd5cc8bd6c990cdd0781a1881
mesh: Fix keyring app keys directory iteration This fixes how app key files are accessed when finalizing Key Refresh procedure. Instead of using open(entry->d_name, ...) to get file descriptor, use openat(dir_fd, entry->d_name, ...) since entry->d_name contains a relative app key filename, not an absolute path.
Diffstat
| M | mesh/keyring.c | | | 11 | +++++++- - - - |
1 files changed, 7 insertions(+), 4 deletions(-)