projects
/
project
/
procd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
init: Check chroot return value in sysupgrade_exec_upgraded()
[project/procd.git]
/
jail
/
elf.h
diff --git
a/jail/elf.h
b/jail/elf.h
index
ddbe234
..
78fedcd
100644
(file)
--- a/
jail/elf.h
+++ b/
jail/elf.h
@@
-10,13
+10,12
@@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
+#ifndef _JAIL_ELF_H_
+#define _JAIL_ELF_H_
-#ifndef _ELF_H__
#include <libubox/avl.h>
#include <libubox/avl-cmp.h>
#include <libubox/avl.h>
#include <libubox/avl-cmp.h>
-#include "log.h"
-
struct library {
struct avl_node avl;
char *name;
struct library {
struct avl_node avl;
char *name;
@@
-30,9
+29,10
@@
struct library_path {
extern struct avl_tree libraries;
extern struct avl_tree libraries;
-void alloc_library
_path(const char *path
);
-int elf_load_deps(const char *
library
);
+void alloc_library
(const char *path, const char *name
);
+int elf_load_deps(const char *
path, const char *map
);
const char* find_lib(const char *file);
const char* find_lib(const char *file);
-void load_ldso_conf(const char *conf);
+void init_library_search(void);
+int lib_open(char **fullpath, const char *file);
#endif
#endif