Displaying 3 results from an estimated 3 matches for "read_module_deps".
2012 Jan 10
2
plug leaks in febootstrap
...9;m
guessing it was intended to do. As is, it was a no-op.
>From 7c2ff55613598a1295e213cef36600ad61da7ed6 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering at redhat.com>
Date: Tue, 10 Jan 2012 16:55:49 +0100
Subject: [PATCH 1/2] helper: plug three small leaks
* helper/ext2initrd.c (read_module_deps): Don't leak filename.
(ext2_make_initrd): Don't leak "outfile".
* helper/utils.c (load_file): Don't leak a file pointer.
---
helper/ext2initrd.c | 4 +++-
helper/utils.c | 3 ++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/helper/ext2initrd.c b/...
2011 Jun 04
3
[PATCH 1/3] febootstrap/helper/init: make sure /proc is mounted into chroot.
---
helper/init.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/helper/init.c b/helper/init.c
index 0ca3135..2b5dacf 100644
--- a/helper/init.c
+++ b/helper/init.c
@@ -163,8 +163,10 @@ main ()
chdir ("/");
- /* Run /init from ext2 filesystem. */
+ mount_proc ();
print_uptime ();
+
+ /* Run /init from ext2 filesystem. */
execl
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...-#include <errno.h>
-#include <assert.h>
-#include <fnmatch.h>
-
-#include "error.h"
-#include "full-write.h"
-#include "xalloc.h"
-#include "xvasprintf.h"
-
-#include "helper.h"
-#include "ext2internal.h"
-
-static void read_module_deps (const char *modpath);
-static void free_module_deps (void);
-static void add_module_dep (const char *name, const char *dep);
-static struct module * add_module (const char *name);
-static struct module * find_module (const char *name);
-static void print_module_load_order (FILE *f, FILE *pp, struc...