search for: resumelib

Displaying 12 results from an estimated 12 matches for "resumelib".

Did you mean: resumebit
2006 Jul 11
0
[rfc] standalone kinit/resume
git mv resume.c resumelib.c and the addition of a minimal resume.c, which calls resume() from resumelib produces a small standalone resume. happy to hear feedback on the needed kinit/Kbuild changes. resulting resume bin is small: ls -l /usr/lib/klibc/bin/resume -rwxr-xr-x 1 root root 2904 2006-07-11 02:11 /usr/lib/klibc/bi...
2018 Mar 30
0
[PATCH] resume: Use the kernel API from 4.17 for setting resume offset
...under /sys/power/resume_offset specifically for setting this value. https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?h=linux-next&id=648464076160ee7a4112d05eea13621790ab9d04 Signed-off-by: Mario Limonciello <mario.limonciello at dell.com> --- usr/kinit/resume/resumelib.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/usr/kinit/resume/resumelib.c b/usr/kinit/resume/resumelib.c index e557b05..5fc2019 100644 --- a/usr/kinit/resume/resumelib.c +++ b/usr/kinit/resume/resumelib.c @@ -45,7 +45,9 @@ int resume(const char *resume_f...
2019 Jan 20
0
[klibc:master] resume: Write resume_offset attribute
...a mainline kernel. However, since Linux 4.17 there is a separate resume_offset attribute that we can use to set the offset before attempting to resume. Change resume() to write the resume_offset attribute instead. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/kinit/resume/resumelib.c | 42 +++++++++++++++++++++++++++++++----------- 1 file changed, 31 insertions(+), 11 deletions(-) diff --git a/usr/kinit/resume/resumelib.c b/usr/kinit/resume/resumelib.c index e557b05..03e596a 100644 --- a/usr/kinit/resume/resumelib.c +++ b/usr/kinit/resume/resumelib.c @@ -44,8 +44,8 @@ int do...
2010 Nov 20
3
[PATCH 1/4] utils: cleanup unused includes
several errno.h for no good reasons. cleanup losesetup which is not using getopt_long, thus doesn't need getopt.h included. Move stdarg.h include up in losesetup to more proper place. Signed-off-by: maximilian attems <max at stro.at> --- usr/utils/dmesg.c | 1 - usr/utils/losetup.c | 4 +--- usr/utils/mkfifo.c | 1 - usr/utils/nuke.c | 1 - usr/utils/umount.c | 1
2010 Apr 25
2
[git pull] small fixes, sh4, getruage() README's
...et.h minor stylistic fix [klibc] fstype: list the includes in alphabetic order git diff -M --stat --summary master...maks usr/include/sys/resource.h | 2 ++ usr/kinit/fstype/fstype.c | 18 +++++++++--------- usr/kinit/ipconfig/bootp_packet.h | 2 +- usr/kinit/resume/resumelib.c | 2 +- usr/klibc/SYSCALLS.def | 3 ++- usr/klibc/arch/sh/Kbuild | 2 +- usr/klibc/arch/sh/pipe.S | 35 +++++++++++++++++++++++++++++++++++ usr/klibc/arch/sh/syscall.S | 14 +++++++------- 8 files changed, 58 insertions(+), 20 deletions(-) cre...
2010 Jul 07
0
[git pull v2] x86_32, sh4, getrusage()
...| 2 + usr/include/sys/socket.h | 80 +++++++++++++++++++++++++++++++++++++ usr/kinit/fstype/fstype.c | 18 ++++---- usr/kinit/ipconfig/bootp_packet.h | 2 +- usr/kinit/ipconfig/netdev.c | 1 + usr/kinit/ipconfig/packet.c | 19 +++++---- usr/kinit/resume/resumelib.c | 2 +- usr/klibc/SYSCALLS.def | 3 +- usr/klibc/arch/i386/MCONFIG | 3 + usr/klibc/arch/sh/Kbuild | 2 +- usr/klibc/arch/sh/pipe.S | 35 ++++++++++++++++ usr/klibc/arch/sh/syscall.S | 14 +++--- usr/klibc/arch/x86_64/MCONFIG |...
2010 Apr 16
0
[git pull v4] dash, sh4, ipconfig, dprintf, fstype, README's
...it/nfsmount/nfsmount.h | 16 +- usr/kinit/nfsmount/portmap.c | 4 +- usr/kinit/nfsmount/sunrpc.c | 6 +- usr/kinit/nfsroot.c | 5 +- usr/kinit/ramdisk_load.c | 12 +- usr/kinit/resume/resumelib.c | 2 +- usr/klibc/.gitignore | 1 + usr/klibc/{README => README.klibc} | 5 +- usr/klibc/SYSCALLS.def | 2 +- usr/klibc/arch/{README => README.klibc.arch} | 0 usr/klibc/tests/Kbuild...
2010 Apr 16
0
[PATCH] pull faccessat() system call
...it/nfsmount/nfsmount.h | 16 +- usr/kinit/nfsmount/portmap.c | 4 +- usr/kinit/nfsmount/sunrpc.c | 6 +- usr/kinit/nfsroot.c | 5 +- usr/kinit/ramdisk_load.c | 12 +- usr/kinit/resume/resumelib.c | 2 +- usr/klibc/.gitignore | 1 + usr/klibc/{README => README.klibc} | 5 +- usr/klibc/SYSCALLS.def | 3 +- usr/klibc/arch/{README => README.klibc.arch} | 0 usr/klibc/tests/Kbuild...
2010 Mar 28
1
[git pull v3] dash, sh4, ipconfig, dprintf, fstype, README's
...it/nfsmount/nfsmount.h | 16 +- usr/kinit/nfsmount/portmap.c | 4 +- usr/kinit/nfsmount/sunrpc.c | 6 +- usr/kinit/nfsroot.c | 5 +- usr/kinit/ramdisk_load.c | 12 +- usr/kinit/resume/resumelib.c | 2 +- usr/klibc/.gitignore | 1 + usr/klibc/{README => README.klibc} | 5 +- usr/klibc/arch/{README => README.klibc.arch} | 0 usr/klibc/tests/Kbuild | 1 + usr/klibc/tests/socket.c...
2010 Mar 22
1
[git pull] dash, sh4, README's
hello hpa, pushed out new patch queue :) It contains the sync with latest dash git, renaming of some README's to ease their packaging, sparc32 socket test and a sh4 fix by Debian porters (numbers of changes is huge, but mostly contained in dash). git pull git://git.debian.org/users/maks/klibc.git maks initramfs-tools seems happy with that version of dash, saw no regression on boot test with
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...ude -D__KLIBC__=2 -D__KLIBC_MINOR__=0 -D_BITSIZE=32 -fno-stack-protector -fwrapv -m32 -Os -W -Wall -Wno-sign-compare -Wno-unused-parameter -I/root/ofs/trunk/packages/klibc-2.0.2/usr/kinit/resume/.. -c -o usr/kinit/resume/resume.o usr/kinit/resume/resume.c ppc-linux-gcc -Wp,-MD,usr/kinit/resume/.resumelib.o.d -nostdinc -iwithprefix include -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/arch/ppc -Iusr/include/arch/ppc -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/bits32 -Iusr/include/bits32 -I/root/ofs/trunk/packages/klibc-2.0.2/usr/klibc/../include -Iusr/klibc/../include -I/root/ofs/tr...
2013 Aug 21
5
Build problems: klibc with Linux 3.10.7
On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote: > > > Find attached two patches I have in order to build klibc 2.0.2 > against kernel 3.8.13 > We had to introduce those patches when going from kernel 3.6 to kernel 3.7 > Hope it helps. > those patches are wrong and again very brittle. just use the way it is described in `make help': A) cd ~/src/linux