Displaying 6 results from an estimated 6 matches for "_binary_init_size".
2016 Jan 12
2
Re: Note regarding bin2s.pl
On Tue, Jan 12, 2016 at 07:57:03AM +0100, Hilko Bengen wrote:
> Helge,
>
> I have applied all the architecture-specific bits but not the bin2s
> script yet. TBH, so far I don't see what is wrong about export and use
> of the "_binary_init_size" constant.
[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809185]
I see it as a reasonable simplification - it allows us to get rid of
that conditional code for HP-UX in bin2s.pl.
However looking at the patch, I don't like the casts in:
- size_t n = (size_t) &_binary_init_size...
2016 Jan 12
2
Re: Note regarding bin2s.pl
...>> On Tue, Jan 12, 2016 at 07:57:03AM +0100, Hilko Bengen wrote:
>>> Helge,
>>>
>>> I have applied all the architecture-specific bits but not the bin2s
>>> script yet. TBH, so far I don't see what is wrong about export and use
>>> of the "_binary_init_size" constant.
>>
>> [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809185]
>>
>> I see it as a reasonable simplification - it allows us to get rid of
>> that conditional code for HP-UX in bin2s.pl.
>>
>> However looking at the patch, I don't like...
2016 Jan 12
0
Re: Note regarding bin2s.pl
...2016 at 07:57:03AM +0100, Hilko Bengen wrote:
> >>> Helge,
> >>>
> >>> I have applied all the architecture-specific bits but not the bin2s
> >>> script yet. TBH, so far I don't see what is wrong about export and use
> >>> of the "_binary_init_size" constant.
> >>
> >> [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809185]
> >>
> >> I see it as a reasonable simplification - it allows us to get rid of
> >> that conditional code for HP-UX in bin2s.pl.
> >>
> >> However look...
2016 Jan 12
0
Re: Note regarding bin2s.pl
...W.M. Jones wrote:
> On Tue, Jan 12, 2016 at 07:57:03AM +0100, Hilko Bengen wrote:
> > Helge,
> >
> > I have applied all the architecture-specific bits but not the bin2s
> > script yet. TBH, so far I don't see what is wrong about export and use
> > of the "_binary_init_size" constant.
>
> [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809185]
>
> I see it as a reasonable simplification - it allows us to get rid of
> that conditional code for HP-UX in bin2s.pl.
>
> However looking at the patch, I don't like the casts in:
>
>...
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.
...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, struct module *m);
-
-/* The init binary. */
-extern char _binary_init_start, _binary_init_end, _binary_init_size;
-
-/* The list of modules (wildcards) we consider for inclusion in the
- * mini initrd. Only what is needed in order to find a device with an
- * ext2 filesystem on it.
- */
-static const char *kmods[] = {
- "ext2.ko*",
- "ext4.ko*", /* CONFIG_EXT4_USE_FOR_EXT23=y option mig...