{"push_id":1285610668,"size":38,"distinct_size":38,"ref":"refs/heads/master","head":"7208ef864bf903ae4eb16491e7cfd24cf792baad","before":"f066f32aaec26e96f88e8043692fdb3214dfd14f","commits":[{"sha":"9a94b634a343e83bfa2a9d311074e3e520abdddd","author":{"name":"Karel Zak","email":"fdcdf0654c555e5cd5b30a29823703d0e5f1ab17@redhat.com"},"message":"losetup: add --nooverlap options\n\nThis patch introduces overlap detections and loop devices\nre-use for losetup(8). We already support this feature for mount(8)\nwhere it's enabled by default (because we mount filesystems and it's\nalways mistake to share the same filesystem between more loop\ndevices).\n\nStanislav has suggested to enable this feature also for losetup by\ndefault. I'm not sure about it, IMHO it's better to keep losetup(8)\nsimple and stupid by default, and inform users about possible problems\nand solutions in the man page.\n\nThe feature forces losetup to scan all loop devices always when new\none is requested. This maybe disadvantage (especially when we use\ncontrol-loop  to avoid /sys or /dev scans) on system with huge number\nof loop devices.\n\nCo-Author: Stanislav Brabec <sbrabec@suse.cz>\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/9a94b634a343e83bfa2a9d311074e3e520abdddd"},{"sha":"bfd4e1f75898510f93779766688cc5086404c23b","author":{"name":"Stanislav Brabec","email":"0ca7227034a739180ade19e37b120fadb4d28ce4@suse.cz"},"message":"loopdev: Implememt loopcxt_set_status()\n\nImplement stand-alone loopcxt_set_status(). It allows manipulation with some\nloop device parameters even if it is initialized.\n\nIts function is limited by the kernel implementation, and only a small subset of\nchanges is allowed.\n\nFor more see linux/drivers/block/loop.c:loop_set_status()\n\nSigned-off-by: Stanislav Brabec <sbrabec@suse.cz>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/bfd4e1f75898510f93779766688cc5086404c23b"},{"sha":"f27d989c67eb0d85b3bfc54807e626ff16e71f56","author":{"name":"Stanislav Brabec","email":"0ca7227034a739180ade19e37b120fadb4d28ce4@suse.cz"},"message":"losetup: Prevent AUTOCLEAR detach race\n\nKernel needs some time to delete a device after losetup --detach. If\nthe losetup --find --nooverlay is called just after losetup --delete,\nit can sometimes attempt to recycle the device that is just being\nreleased.  To prevent this race, clear the AUTOCLEAR flag of the\ndevice.\n\n[kzak@redhat.com: - rebase to the new version of the code]\n\nSigned-off-by: Stanislav Brabec <sbrabec@suse.cz>\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/f27d989c67eb0d85b3bfc54807e626ff16e71f56"},{"sha":"912d50b3bec755d8b4f08aec69d255dbb5fe5e31","author":{"name":"Stanislav Brabec","email":"0ca7227034a739180ade19e37b120fadb4d28ce4@suse.cz"},"message":"tests: Add losetup-loop test suite\n\nAdd losetup loop test suite that tests proper behavior of conflicting and\nre-used loop devices.\n\nSigned-off-by: Stanislav Brabec <sbrabec@suse.cz>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/912d50b3bec755d8b4f08aec69d255dbb5fe5e31"},{"sha":"d8ba61fcb43effb310f9d59627125118a453ef74","author":{"name":"Karel Zak","email":"fdcdf0654c555e5cd5b30a29823703d0e5f1ab17@redhat.com"},"message":"losetup: allow to use --nooverlap when device specified\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/d8ba61fcb43effb310f9d59627125118a453ef74"},{"sha":"0e0e167704365f7723f92260d82ee8c1be2f8730","author":{"name":"Karel Zak","email":"fdcdf0654c555e5cd5b30a29823703d0e5f1ab17@redhat.com"},"message":"tests: fix losetup tests for --nooverlap\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/0e0e167704365f7723f92260d82ee8c1be2f8730"},{"sha":"c424fd834b4845971e9ce5ef3d7325f6f4e6b163","author":{"name":"Karel Zak","email":"fdcdf0654c555e5cd5b30a29823703d0e5f1ab17@redhat.com"},"message":"su, runuser, setpriv: create links between man pages\n\n.. and add notes about differences between the utuils.\n\nReported-by: Lennart Poettering <lennart@poettering.net>\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/c424fd834b4845971e9ce5ef3d7325f6f4e6b163"},{"sha":"e215d467ca828498109d178eb0e7cbe4a835cd99","author":{"name":"Karel Zak","email":"fdcdf0654c555e5cd5b30a29823703d0e5f1ab17@redhat.com"},"message":"lib/pager: cleanup and extend API\n\n* clean up function names\n\n* add functions to temporary redirect to the pager and then restore\n  original terminal output\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/e215d467ca828498109d178eb0e7cbe4a835cd99"},{"sha":"8d2f449818df988c1ca100e8f775cf24810a643e","author":{"name":"Karel Zak","email":"fdcdf0654c555e5cd5b30a29823703d0e5f1ab17@redhat.com"},"message":"fdisk: use PAGER for 'l' command.\n\nThe list of the partition types is too long. Let's try to use $PAGER.\n\nReported-by: Bruce Dubbs <bruce.dubbs@gmail.com>\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/8d2f449818df988c1ca100e8f775cf24810a643e"},{"sha":"a9fcbf6f6a892c872a57b9d24e9ceb28e6e3c032","author":{"name":"Karel Zak","email":"fdcdf0654c555e5cd5b30a29823703d0e5f1ab17@redhat.com"},"message":"lib/pager: restore signals setting by pager_close()\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/a9fcbf6f6a892c872a57b9d24e9ceb28e6e3c032"},{"sha":"e132ae59cae70f5500e39d995ae6fdee044ffeee","author":{"name":"Karel Zak","email":"fdcdf0654c555e5cd5b30a29823703d0e5f1ab17@redhat.com"},"message":"lib/pager: fix test\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/e132ae59cae70f5500e39d995ae6fdee044ffeee"},{"sha":"848018183869d908ddfa59ce7362272f65baa860","author":{"name":"Tobias Stoeckmann","email":"36c5bbefeb290c7a456f392d21ced31cf0271e32@stoeckmann.org"},"message":"libfdisk: Fix assert error in free space handling\n\nAn off-by-one issue exists in fdisk_get_freespaces. It can trigger an\nassert, as seen here:\n\n$ dd if=/dev/zero of=cfdisk.iso bs=1M count=1\n$ losetup -f cfdisk.iso\n$ echo w | fdisk /dev/loop0\n$ echo '1,2' | sfdisk /dev/loop0 --append\n$ echo '3,' | sfdisk /dev/loop0 --append\n$ sfdisk --list-free /dev/loop0\nAborted\n$ _\n\nProblem here is an invalid \"grain\" processing. A grain is considered\nexpected free space between partitions which can be required for proper\nalignment. Normally, it's 1 MB but in this case our iso is merely 1 MB\nso the grain is reduced to 1 byte.\n\nThe if-condition in question checks for \"last + grain <= pa->start\" and\ntherefore even triggers if there is no space between them (due to equal\ncheck). Eventually, the start block address is higher than the end block\naddress which triggers the assert().\n\nSigned-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/848018183869d908ddfa59ce7362272f65baa860"},{"sha":"1037269fec43e8055c530c13d4fd58819e86b233","author":{"name":"Tobias Stoeckmann","email":"36c5bbefeb290c7a456f392d21ced31cf0271e32@stoeckmann.org"},"message":"libfdisk: Distinguish between first LBA sector and partition\n\nAn insufficient check leads to an invalid free space output, as seen here:\n\n$ dd if=/dev/zero of=cfdisk.iso bs=1M count=1\n$ losetup -f cfdisk.iso\n$ echo w | fdisk /dev/loop0\n$ echo '1,1' | sfdisk /dev/loop0 --append\n$ echo '3,' | sfdisk /dev/loop0 --append\n$ sfdisk --list-free /dev/loop0\nStart End Sectors Size\n    1   2       2   1K\n$ _\n\nIn this case, libfdisk fails to notice that it tries to calculate space\nbetween two partitions, not between start of disk and first partition.\nCurrently, the code tries to achieve that by checking the address of the\nlast \"partition\", which is the first_lba block.  Now if the first\npartition is merely 1 block in size, the \"last\" address is still equal\nto the first_lba block, which renders the check in libfdisk for the next\npartition invalid.\n\nI chose to use \"nparts == 0\" for this check, because the partitions are\nproperly sorted before iterating over them.\n\nSigned-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/1037269fec43e8055c530c13d4fd58819e86b233"},{"sha":"8fa57ab0b5696031da800e243def32bc5265ff6d","author":{"name":"Tobias Stoeckmann","email":"36c5bbefeb290c7a456f392d21ced31cf0271e32@stoeckmann.org"},"message":"libblkid: Avoid OOB access on illegal ZFS superblocks\n\n64 bit systems can trigger an out of boundary access while performing\na ZFS superblock probe.\n\nThis happens due to a possible integer overflow while calculating\nthe remaining available bytes. The variable is of type \"int\" and the\nstring length is allowed to be larger than INT_MAX, which means that\navail calculation can overflow, circumventing the \"avail < 0\" check and\ntherefore accessing memory outside the \"buff\" array later on.\n\nSigned-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/8fa57ab0b5696031da800e243def32bc5265ff6d"},{"sha":"d00eb87ba284635e72b10880dfcf409276fa41b0","author":{"name":"Karel Zak","email":"fdcdf0654c555e5cd5b30a29823703d0e5f1ab17@redhat.com"},"message":"umount: fix obsolete info about loop= in umount.8\n\nAddresses: https://bugzilla.redhat.com/show_bug.cgi?id=1370959\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/d00eb87ba284635e72b10880dfcf409276fa41b0"},{"sha":"29ad8689b8084cfcbd3bfa6c40d2f87557a51b13","author":{"name":"Karel Zak","email":"fdcdf0654c555e5cd5b30a29823703d0e5f1ab17@redhat.com"},"message":"umount: cleanup umount.8 about mtab\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/29ad8689b8084cfcbd3bfa6c40d2f87557a51b13"},{"sha":"a1df9c9d4e8908ef5942ca0d58ee490352930c5b","author":{"name":"Karel Zak","email":"fdcdf0654c555e5cd5b30a29823703d0e5f1ab17@redhat.com"},"message":"libblkid: remove unused function\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/a1df9c9d4e8908ef5942ca0d58ee490352930c5b"},{"sha":"4db236f7e4b9c54b04cb1bb4e4dcdbdc11aec2cc","author":{"name":"Karel Zak","email":"fdcdf0654c555e5cd5b30a29823703d0e5f1ab17@redhat.com"},"message":"libblkid: ignore empty MBR on LVM device\n\nIt's possible to use boot sector and empty MBR on LVM physical volume\nto make LVM disk bootable. In this case MBR should be ignored and disk\nreported as LVM.\n\nJust for the record, this is ugly non-default LVM setup maintained for\nbackward compatibility (yes, LVM guys don't like it too).\n\nUnfortunately people still use it. The proper way is to use regular\npartitioned disk.\n\nReported-by: Xen <list@xenhideout.nl>\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/4db236f7e4b9c54b04cb1bb4e4dcdbdc11aec2cc"},{"sha":"f98b563268624a94a7e8a6ed0a6b06b78c676ba1","author":{"name":"Rostislav Skudnov","email":"c08b6f7e4dbb86f32fbd101bf33a53e9c8128b84@tuxera.com"},"message":"libblkid: [exfat] Limit maximum number of iterations in find_label\n\nDo not hang if there is a cluster chain loop in rootdir\n\n[kzak@redhat.com: - add return NULL]\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/f98b563268624a94a7e8a6ed0a6b06b78c676ba1"},{"sha":"2480b52743409a09277ecae47259b57804232e25","author":{"name":"Karel Zak","email":"fdcdf0654c555e5cd5b30a29823703d0e5f1ab17@redhat.com"},"message":"mount: add note about paths verification to mount.8\n\nSigned-off-by: Karel Zak <kzak@redhat.com>","distinct":true,"url":"https://api.github.com/repos/kerolasa/lelux-utiliteetit/commits/2480b52743409a09277ecae47259b57804232e25"}]}
{"actor":{"display_login":"kerolasa"}}