-
Committer:
Andreas Robinson
-
Date:
2009-05-15 12:53:30 UTC
-
mto:
(152.1.5)
-
mto:
This revision was merged to the branch mainline in
revision
178.
-
Revision ID:
git-v1:1f7b3782ba4292c821fbb2a7ce9ed19f568b8b04
elfops, depmod: add elf_file grab/release functions
This introduces constructor and destructor for struct elf_file,
following the grab/release naming pattern used elsewhere. Care is
taken to ensure the constructor returns a valid errno on failure.
The first user is grab_module() in depmod.c
Signed-off-by: Andreas Robinson <andr345@gmail.com>