Implement @MAIN, @/path/name -e selectors, make former default for now
- the default might become "*" in future, but keep things more or less
the same as they always were for now
diff --git a/handle_event.c b/handle_event.c
index cfb2ad0..28992d4 100644
--- a/handle_event.c
+++ b/handle_event.c
@@ -426,7 +426,8 @@
free(syscall);
return NULL;
}
- library_init(syscalls, "SYS", 0);
+ library_init(syscalls);
+ library_set_soname(syscalls, "SYS", 0);
library_symbol_init(syscall, 0, name, 0, LS_TOPLT_NONE);
library_add_symbol(syscalls, syscall);
return syscall;