You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a project that references EFI variables through efivarfs. It can run in a early user space environment where efivarfs is not mounted. My current code checks for efivarfs being mounted and if it isn't mounted, it mounts it before utilizing efivar.
Unfortunately, this doesn't work as libefivar actually probes for efivarfs when the library is loaded and not after my code mounts efivarfs if needed.
I can think of two methods to get around this:
dlopen libefivar instead of linking against it after efivarfs is mounted
If efivarfs isn't mounted, mount it and rexec myself
Neither of these is particularly attractive. Are there other methods I'm not aware of? If not would it be worth my implementing such?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Greetings,
I'm working on a project that references EFI variables through efivarfs. It can run in a early user space environment where efivarfs is not mounted. My current code checks for efivarfs being mounted and if it isn't mounted, it mounts it before utilizing efivar.
Unfortunately, this doesn't work as libefivar actually probes for efivarfs when the library is loaded and not after my code mounts efivarfs if needed.
I can think of two methods to get around this:
Neither of these is particularly attractive. Are there other methods I'm not aware of? If not would it be worth my implementing such?
Thanks in advance!
The text was updated successfully, but these errors were encountered: