aboutsummaryrefslogtreecommitdiffstats
path: root/resume.c
AgeCommit message (Expand)AuthorFilesLines
2012-02-12s2disk / resume: Add grace period to allow resume device to come onlineRodolfo kix Garcia1-0/+14
2011-05-21s2disk: Fix build problem after removing platform_finish()Rafael J. Wysocki1-3/+0
2010-08-31Fix warnings about unused variables and printf argumentsRodolfo Garcia1-2/+1
2010-01-28Use direct 64-bit conversion when computing shiftRafael J. Wysocki1-2/+2
2009-01-27Patch from Luca Tettamanti :Pavel Machek1-4/+4
2008-08-10Allow the user to test the image saving and loading functionality of s2disk byRafael J. Wysocki1-1/+6
2008-08-10Add configuration option "theads = " that makes s2disk/s2both use additionalRafael J. Wysocki1-0/+7
2008-06-11Allow the user to reboot and try again if the freezing of tasks fails duringRafael J. Wysocki1-50/+73
2008-06-01Add the "debug verify image" option making it possible to verify the imageRafael J. Wysocki1-649/+23
2008-05-18Introduce a simple memory allocator for managing the memory pool used forRafael J. Wysocki1-57/+78
2008-05-18Clean up resume.c a bit.Rafael J. Wysocki1-38/+33
2008-05-18Make resume use posix_fadvise() to allow the kernel to optimize image loading.Rafael J. Wysocki1-0/+8
2008-05-18Add a new configuration file for s2disk/s2both option, "resume pause", that isRafael J. Wysocki1-2/+40
2008-05-11It turns out that we can cut the times of saving compressed images by half,Rafael J. Wysocki1-151/+249
2008-05-05Make s2disk and resume use the remaining new ioctls introduced inRafael J. Wysocki1-4/+11
2008-05-05The ioctls used by s2disk and resume were reworked in the 2.6.25Rafael J. Wysocki1-15/+10
2008-04-21Fix signed/unsigned-comparison compiler warnings (Patch by Alon Bar-Lev)Stefan Seyfried1-5/+6
2007-11-05From: Alon Bar-Lev <alon.barlev@gmail.com>Rafael J. Wysocki1-1/+16
2007-10-29Use AC_SYS_LARGEFILE macro for largefile detection.Arkadiusz Miskiewicz1-1/+1
2007-09-30Patch from Alon Bar-Lev <alon.barlev@gmail.com> to add a switch to printRafael J. Wysocki1-2/+8
2007-09-30Patch from Alon Bar-Lev <alon.barlev@gmail.com> to avoid printing warningsRafael J. Wysocki1-4/+16
2007-09-13From: Alon Bar-Lev <alon.barlev@gmail.com>Rafael J. Wysocki1-3/+1
2007-09-02Reduce the level of indentation in read_image().Rafael J. Wysocki1-92/+98
2007-09-02Modify decrypt_key() in analogy with the encryption code in suspend.c .Rafael J. Wysocki1-37/+37
2007-09-02Miscellaneous cleanups in resume.c .Rafael J. Wysocki1-9/+8
2007-09-02Clean up read_area() in resume.c .Rafael J. Wysocki1-10/+8
2007-09-02resume.c: Rename variable "decrypt" to "do_decrypt", in analogy with suspend.c .Rafael J. Wysocki1-8/+8
2007-09-02resume.c: Rename variable "decompress" do "do_decompress", in analogy withRafael J. Wysocki1-4/+4
2007-09-02resume.c: Use variable my_name to print the program name in messages.Rafael J. Wysocki1-28/+39
2007-09-02Add missing calls to lzo_init() in suspend.c and resume.c (thanks toRafael J. Wysocki1-1/+7
2007-08-31Command line processing fix for s2disk/s2both and resume from Alon Bar-LevRafael J. Wysocki1-1/+1
2007-08-30Patch from Alon Bar-Lev <alon.barlev@gmail.com> to add a command line optionRafael J. Wysocki1-5/+16
2007-08-30Patch from Alon Bar-Lev <alon.barlev@gmail.com> to clean up command lineRafael J. Wysocki1-20/+25
2007-08-17Fix checksum printing in resume.c .Rafael J. Wysocki1-4/+5
2007-08-17Use LZO for compression instead of LZF.Rafael J. Wysocki1-15/+12
2007-08-15Patch from Alon Bar-Lev <alon.barlev@gmail.com> to make the array of parametersRafael J. Wysocki1-2/+8
2007-08-15Patch from Alon Bar-Lev <alon.barlev@gmail.com> to rename config.c toRafael J. Wysocki1-1/+1
2007-05-13Fix handeling of long options. The recently introduced comments would makeTim Dijkstra1-11/+19
2007-05-12Adept to new libsplashy ABI. Add support for different splashy mode betweenTim Dijkstra1-0/+2
2007-05-02Add support for descriptions of the options in the output of the usage()Tim Dijkstra1-8/+21
2007-04-01Make usage() print both long and short options. Short options only whenTim Dijkstra1-3/+4
2007-03-16Make resume use pm_ops if the platform mode has been used for suspending.Rafael J. Wysocki1-1/+17
2007-01-25Split the opening of resume_dev and retrieval of the header fromTim Dijkstra1-23/+51
2007-01-25Move functions to modify the kernel console loglevel to a new file. MakeTim Dijkstra1-29/+13
2007-01-24The if(!error || !ret) condition in read_image() should always be true.Tim Dijkstra1-20/+25
2006-12-03Patch from Daniel Drake <ddrake@brontes3d.com> to print the resume deviceRafael J. Wysocki1-2/+3
2006-11-07Adds some command line options to s2disk/s2both and resume so that they areRafael J. Wysocki1-14/+66
2006-10-16Fix the handling of swap files located above 2 GB from the beginning ofRafael J. Wysocki1-1/+3
2006-10-12Add support for swap files and update documentation.Rafael J. Wysocki1-1/+7
2006-10-11From Tim Dijkstra:Pavel Machek1-1/+1
2006-09-24From Jason Lunz <lunz@falooley.org>:Pavel Machek1-0/+5
2006-09-22From Jason Lunz <lunz@falooley.org>Pavel Machek1-1/+23
2006-09-18This introduces splash.dialog() it replaces calls likeTim Dijkstra1-5/+4
2006-09-14Splashy can display a popup if it needs user interaction. Make userTim Dijkstra1-6/+5
2006-09-14- Change some printf(...)s into fprintf(stderr,...)sTim Dijkstra1-17/+18
2006-07-23Make s2disk, s2ram and resume use libgcrypt for encryption instead of openssl.Rafael J. Wysocki1-46/+152
2006-07-18Make splash work properly on resume when RSA encryption is used.Rafael J. Wysocki1-4/+4
2006-06-28Rename suspend to s2disk/s2both. Patch from Tim Dijkstra <newsuser@famdijkst...Pavel Machek1-5/+0
2006-05-01Patch from Holger Macht <hmacht@suse.de> to add bootsplash support.Rafael J. Wysocki1-1/+24
2006-04-25Patch from Michal Schmidt <xschmi00@stud.feec.vutbr.cz> to make suspendRafael J. Wysocki1-0/+10
2006-04-13Patch from Michal Schmidt <xschmi00@stud.feec.vutbr.cz> to make resume.cRafael J. Wysocki1-0/+29
2006-04-04Make resume check if the read buffer size is sufficient (if resume and suspendRafael J. Wysocki1-0/+2
2006-04-04Eliminate PAGE_SIZE and related constants from suspend.c and resume.cRafael J. Wysocki1-57/+96
2006-03-26Avoid mangling of errno by *printf in suspend and resume.Rafael J. Wysocki1-3/+4
2006-03-14Add two extra checks that should prevent suspend and resume from segfaultingRafael J. Wysocki1-0/+5
2006-03-14Clean up compression-related code.Rafael J. Wysocki1-13/+13
2006-03-12Add the ability to generate a random session key and initialization vectorRafael J. Wysocki1-13/+81
2006-03-08Add salting to encryption.Rafael J. Wysocki1-2/+5
2006-02-25Add Blowfish encryption for suspend and resume with the help of OpenSSL.Rafael J. Wysocki1-22/+78
2006-02-20Make compression optional.Pavel Machek1-1/+14
2006-02-19Implement the ability to compress the system snapshot image using the LZFRafael J. Wysocki1-26/+68
2006-02-16Add the ability to compute and verify an MD5 checksum of the snapshot image.Rafael J. Wysocki1-9/+47
2006-02-14Teach suspend and resume to write/read more than one page at a time.Rafael J. Wysocki1-18/+42
2006-02-14Make resume and suspend use configuration files.Rafael J. Wysocki1-13/+48
2006-02-09Fix resume: do not as whether to boot if there's no suspend signatureRafael J. Wysocki1-5/+3
2006-02-09Add some warnings so people don't trash their filesystems.Pavel Machek1-2/+5
2006-02-08Two safety features:Rafael J. Wysocki1-16/+46
2006-02-08Allow suspend and resume to set the kernel console loglevel and make suspendRafael J. Wysocki1-3/+31
2006-02-03Fix some problems related to implicit type conversionsRafael J. Wysocki1-6/+7
2006-01-25Updates from rafael:Pavel Machek1-7/+5
2006-01-17Hardcode /dev/snapshot, and add README.Pavel Machek1-2/+2
2006-01-17Initial revisionPavel Machek1-0/+236