{"push_id":661124672,"size":398,"distinct_size":189,"ref":"refs/heads/master","head":"b28ff6a3c6ad25d877b63013af245de5d6c70b10","before":"65f8a39d90dd223e52c1077a6a37eabf05e95e21","commits":[{"sha":"2da7009d70693d830393021f2751729d06ce5551","author":{"email":"1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@bernhard-voelker.de","name":"Bernhard Voelker"},"message":"doc: enhance diagnostic when rm skips \".\" or \"..\" arguments\n\nThe error diagnostic\n  \"rm: cannot remove directory: '.'\"\ndoes not give the user a hint for the reason.\nIssue a clearer error message.\n\n* src/remove.c (rm_fts): Enhance the error diagnostic in the above\ncase to emphasize that skipping is done deliberately.\nIn the corresponding comment, mention that POSIX mandates this\nbehavior.  Likewise in the subsequent comment for skipping \"/\".\n* doc/coreutils.texi (rm invocation): In the paragraph describing\nthe above behavior, mention that POSIX mandates it.","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/2da7009d70693d830393021f2751729d06ce5551"},{"sha":"eb8b45f443380b496d82f1976a7203d6c7828db5","author":{"email":"1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@bernhard-voelker.de","name":"Bernhard Voelker"},"message":"maint: avoid perl warning in sc_check-AUTHORS\n\nWith newer perl, \"make syntax-check\" issues many warnings like:\n  -i used with no filenames on the command line, reading from STDIN.\n\n* cfg.mk (sc_check-AUTHORS): Remove the -i flag in the perl\ninvocation as it is reading from a pipe.","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/eb8b45f443380b496d82f1976a7203d6c7828db5"},{"sha":"2fa074ebd43cbfea0f6b4bc92a4099a273458562","author":{"email":"1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@bernhard-voelker.de","name":"Bernhard Voelker"},"message":"tests: enhance rm test regarding \".\" and \"..\"\n\nRecent commit 2da7009d changed the error diagnostic of rm(1) trying\nto remove \".\" or \"..\".  Enhance the corresponding test.\n\n* tests/rm/r-4.sh: Ensure rm(1) outputs the expected error diagnostic.","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/2fa074ebd43cbfea0f6b4bc92a4099a273458562"},{"sha":"ebea85b49c244c8bff69297efc02d9485420087e","author":{"email":"57138af856e8a0f4bf1b4a35bbd2ca8b9de4fb19@yahoo.com","name":"John"},"message":"dircolors: add a new entry to colorize 'lz4' files\n\n* src/dircolors.hin: Add entry for the speed optimized 'lz4' compressor.","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/ebea85b49c244c8bff69297efc02d9485420087e"},{"sha":"17bce8c63e9e0f85b48ca62b63413ce9102af5c1","author":{"email":"511993d3c99719e38a6779073019dacd7178ddb9@draigBrady.com","name":"Pádraig Brady"},"message":"doc: clarify the operation of ls -k\n\n* src/ls.c (usage): Mention -k only changes the display\nfor disk usage (directory total, and ls -s), and imply\nthat it can be overridden (by --block-size, and -h).\n* doc/coreutils.texi (block size): Mention that ls -k\nhandling is different to other utilities.\nAddresses http://bugs.gnu.org/14525","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/17bce8c63e9e0f85b48ca62b63413ce9102af5c1"},{"sha":"39e0c9ba5d7a37401a30e1304282142e525e334c","author":{"email":"511993d3c99719e38a6779073019dacd7178ddb9@draigBrady.com","name":"Pádraig Brady"},"message":"sort: avoid issues when issuing diagnostics from child processes\n\n* src/sort.c: (async_safe_die): A new limited version of error(),\nthat outputs fixed strings and unconverted errnos to stderr.\nThis is safe to call in the limited context of a signal handler,\nor in this particular case, between the fork() and exec() of\na multithreaded process.\n(move_fd_or_die): Use the async_safe_die() rather than error().\n(maybe_create_temp): Likewise.\n(open_temp): Likewise.\nFixes http://bugs.gnu.org/15970","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/39e0c9ba5d7a37401a30e1304282142e525e334c"},{"sha":"6b91f64ed9e15c9df0767f4658de9ba4532456cf","author":{"email":"511993d3c99719e38a6779073019dacd7178ddb9@draigBrady.com","name":"Pádraig Brady"},"message":"tests: ensure factor tests can be regenerated\n\n* tests/local.mk (factor-tests:) Add -f to the mv command that\nreplaces any existing generated tests.  This is required to avoid\nprompts when root initially generates the tests, and they subsequently\nneed to be regenerated by a non root user.","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/6b91f64ed9e15c9df0767f4658de9ba4532456cf"},{"sha":"c3523181bd487539f308113620564756c29279cc","author":{"email":"511993d3c99719e38a6779073019dacd7178ddb9@draigBrady.com","name":"Pádraig Brady"},"message":"timeout: avoid unlikely issues with --kill-after\n\n* src/timeout.c (cleanup): When calling settimeout() from\nthis signal handler, ensure we don't call out to error()\nor gettext(), which are not async-signal-safe.\nAlso reset the errno which may be cleared by settimeout().","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/c3523181bd487539f308113620564756c29279cc"},{"sha":"799e10f3619ea7949a4f606b2f29b662daf31e3c","author":{"email":"511993d3c99719e38a6779073019dacd7178ddb9@draigBrady.com","name":"Pádraig Brady"},"message":"df: add --output=file to directly output specified arguments\n\n* src/df.c (usage): Document the new 'file' --output field.\n(get_dev): Add a new parameter to pass the specified\nargument from the command line through.  Use '-' if a\ncommand line parameter is not being used.\n* doc/coreutils.texi (df invocation): Describe the new 'file' field.\n* tests/df/df-output.sh: Adjust all fields test, and\nadd a specific test for --output=file.\n* NEWS: Mention the new feature.","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/799e10f3619ea7949a4f606b2f29b662daf31e3c"},{"sha":"ba6582e95ce2a041423e1ff34c93abe7b4702332","author":{"email":"511993d3c99719e38a6779073019dacd7178ddb9@draigBrady.com","name":"Pádraig Brady"},"message":"tail: improve inotify handling of symlinks\n\nPrevious behavior failed to read contents of a (re)appearing file,\nwhen symlinked by tail's watched file.  Also we now diagnose other\nedge cases when running in inotify mode, where an initially\nmissing or regular file changes to a symlink.\n\n* src/tail.c (main): If any arg is a symlink, use polling mode.\n(recheck): Diagnose the edge case where a symlink appears during\ninotify processing.\n* tests/tail-2/symlink.sh: Test the fix. Mention the edge cases.\n* tests/local.mk: Reference the new test.\n* NEWS: Mention the fix.\nReported by: Ondrej Oprala","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/ba6582e95ce2a041423e1ff34c93abe7b4702332"},{"sha":"569b4edd18cddb5a8cc1f9549a7c1eed91b674f7","author":{"email":"511993d3c99719e38a6779073019dacd7178ddb9@draigBrady.com","name":"Pádraig Brady"},"message":"shred: provide --remove methods to avoid excessive syncing\n\nA sync operation is very often expensive.  For illustration\nI timed the following python script which indicated that\neach ext4 dir sync was taking about 2ms and 12ms, on an\nSSD and traditional disk respectively.\n\n  import os\n  d=os.open(\".\", os.O_DIRECTORY|os.O_RDONLY)\n  for i in range(1000):\n     os.fdatasync(d)\n\nSo syncing for each character for each file can result\nin significant delays.  Often this overhead is redundant,\nas only the data is sensitive and not the file name.\nEven if the names are sensitive, your file system may\nemploy synchronous metadata updates, which also makes\nexplicit syncing redundant.\n\n* tests/misc/shred-remove.sh: Ensure all the new parameters\nactually unlink the file.\n* doc/coreutils.texi (shred invocation): Describe the new\nparameters to the --remove option.\n* src/shred.c (Usage): Likewise.\n(main): Parse the new options.\n(wipename): Inspect the new enum to see which of\nthe now optional tasks to perform.\n* NEWS: Mention the new feature.\n* THANKS.in: Add reporter Joseph D. Wagner","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/569b4edd18cddb5a8cc1f9549a7c1eed91b674f7"},{"sha":"d8e27ab0be8e84ec2287b41dff48073cc13012c3","author":{"email":"7800de746fd39599bc46177380ea6aede7e31e16@redhat.com","name":"Daniel J Walsh"},"message":"selinux: a new module implementing \"restorecon\" functionality\n\n* src/selinux.c: A new module implementing \"restorecon\" functionality.\nThere are two main functions to adjust the type of the referenced\nfile system item.  defaultcon() will setup the process context so\nthat new items will have the required context without races.  This is\nthe preferred method.  For existing files, the equivalent restorecon()\nis available which has two modes.  With the \"local\" parameter set to\nfalse, restorecon() will adjust the type according to the system\nconfiguration for that file, and set to true will update the context\nas per the context for the current process (disregarding type).\n* src/selinux.h: Likewise.\n* po/POTFILES.in: Reference the new module.","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/d8e27ab0be8e84ec2287b41dff48073cc13012c3"},{"sha":"7958a4a4fe234f9787daf178a60bc83449605dac","author":{"email":"511993d3c99719e38a6779073019dacd7178ddb9@draigBrady.com","name":"Pádraig Brady"},"message":"selinux: adjust utils to run restorecon with -Z\n\ncp, mv, install, mkdir, mkfifo, mknod are adjusted so that:\n -Z no longer accepts an argument.\n -Z or --context without an argument do not warn without SELinux.\n --context with an argument will warn without SELinux.\n\n* src/local.mk: Reference the new selinux module where required.\n* src/system.h: Make the argument to --context optional.\n* src/mkdir.c: Likewise.  Also handle the SMACK case for --context.\nNote we currently silently ignore -Z with SMACK.\n* src/mkfifo.c: Likewise.\n* src/mknod.c: Likewise.\n* src/install.c: Likewise.  Note install(1) by default already\nset the context for target files to their system default,\nalbeit with an older method.  Use the -Z option to select between\nthe old and new context restoration behavior, and document\nthe differences and details for how context restoration\nis done in new and old methods, with a view disabling the\nold method entirely in future.\n* src/cp.c: Make the argument to --context optional.\nNote -Z implies --no-preserve=context.  I.E. -Z overrides\nthat aspect of -a no matter what order specified.\n(struct cp_options): Document the context handling options.\n(main): Check/adjust option combinations after all\noptions are processed, to both simplify processing\nand to make handling independent of order of options\non the command line.  Also improve the diagnostics\nfrom a failed call to setfscreatecon().\n(set_process_security_ctx): A new function,\nrefactored to set the default context from the source file,\nor with the type adjusted as per the system default for\nthe destination path.\n(set_file_security_ctx): A new function refactored to\nset the security context of an existing file, either based on\nthe process context or the default system context for a path.\n(copy_internal): Use the refactored functions to simplify\nerror handling and consistently fail or warn as needed.\n(copy_reg): Likewise.\n(copy_internal): With --preserve=context, also copy\ncontext from non regular files.  Note for directories this may\nimpact the copying of subsequent files to that directory?\n(copy_attr): If we're handling SELinux explicitly,\nthen exclude to avoid the redudant copy with --preserve=context,\nand the problematic copy with -Z.  Note SELinux attribute exclusion\nalso now honors cp -a --no-preserve=context.  Note there was a\nvery small window over 10 years ago, where attr_copy_file was\navailable, while attr_copy_check_permissions was not, so we\ndon't bother adding an explicit m4 check for the latter function.\n* src/mv.c: Support --context, but don't allow specifying an argument.\n* src/chcon.c: Adjust a comment to be specific to SELinux.\n* src/runcon.c: Likewise.\n* src/copy.c: Honor the context settings to \"restorecon\" as appropriate.\n* src/copy.h: Add a new setting to select \"restorecon\" functionality.\n* tests/mkdir/selinux.sh: s/-Z/--context=/\n* tests/cp/cp-a-selinux.sh: Augment this test with cases\ntesting basic -Z functionality, and also test the various\ninvalid option combinations and option precedence.\n* tests/mkdir/restorecon.sh: Add a new test for the\nmore involved mkdir -Z handling, since the directory changing\nand non existent directories need to be specially handled.\nAlso check the similar but simpler handling of -Z by mk{nod,fifo}.\n* tests/local.mk: Reference the new test.\n* doc/coreutils.texi (cp invocation): Update as per interface changes.\n(mv invocation): Likewise.\n(install invocation): Likewise.\n(mkfifo invocation): Likewise.\n(mknod invocation): Likewise.\n(mkdir invocation): Likewise.\n* NEWS: Mention the new feature and change in behavior.","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/7958a4a4fe234f9787daf178a60bc83449605dac"},{"sha":"1e16de1de4a9172cf9a13a469cfc8a58738ec8fa","author":{"email":"511993d3c99719e38a6779073019dacd7178ddb9@draigBrady.com","name":"Pádraig Brady"},"message":"build: avoid build failure on non selinux systems\n\n* src/selinux.c: This module introduced in commit v8.21-159-gd8e27ab\ndoesn't need to include <selinux/flask.h>.  That header file\nisn't catered for by gnulib, but is not needed as we're not\nexplicitly referencing any class IDs.\nPrompted by the continuous integration build failure at:\nhttp://hydra.nixos.org/build/6920020","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/1e16de1de4a9172cf9a13a469cfc8a58738ec8fa"},{"sha":"7e39ef9f883ed788ce98329383ab071398e28b6d","author":{"email":"511993d3c99719e38a6779073019dacd7178ddb9@draigBrady.com","name":"Pádraig Brady"},"message":"build: avoid more selinux build failures\n\nHandle both newer selinux libraries with mode_to_security_class(),\nand systems without selinux at all.  We could easily adjust\ngnulib to provide the necessary stubs for use by this module,\nbut it's more efficient to just stub out the module completely,\nwhen not using selinux.\n\n* src/selinux.h: Define stubs for the two module functions,\nwhen SELinux is not available.\n* src/selinux.c: Exclude all logic in preference for the stubs\nwhen selinux isn't used.  Also when newer selinux libs are used,\ndon't use our conflicting static version of mode_to_security_class().\nm4/jm-macros.m4: Check for the system mode_to_security_class().","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/7e39ef9f883ed788ce98329383ab071398e28b6d"},{"sha":"142baf67407e1766f83cf000c9269a66048773b5","author":{"email":"511993d3c99719e38a6779073019dacd7178ddb9@draigBrady.com","name":"Pádraig Brady"},"message":"build: fix selinux.c build failure on 32 bit\n\n* src/selinux.c: Don't include the system \"fts.h\" as\nthat disallows _FILE_OFFSET_BITS=64 which gnulib auto enables\nto support large files on 32 bit systems.  Instead include\nour \"xfts.h\" which includes the less limited gnulib replacement,\nand also a checked version of xfts_open().\n(restorecon): Use the checked xfts_open() rather than the standard\nfts_open().\nPrompted by the continuous integration build failure at:\nhttp://hydra.nixos.org/build/6934169","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/142baf67407e1766f83cf000c9269a66048773b5"},{"sha":"64520354bbd36614d8091dcf654c2e69e686bc64","author":{"email":"1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@bernhard-voelker.de","name":"Bernhard Voelker"},"message":"df: remove long-obsolescent --megabytes option\n\nThis option has been undocumented for 12 years [1], and warned\nabout for a year [2].\n\n[1] commit FILEUTILS-4_1_4-23-gd177203\n[2] commit v8.17-43-g453ce92\n\n* src/df.c (MEGABYTES_OPTION): Remove.\n(long_options): Remove \"megabytes\" element.\n(main): In the option parsing loop, remove the MEGABYTES_OPTION case.\n* NEWS: Mention the change.","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/64520354bbd36614d8091dcf654c2e69e686bc64"},{"sha":"e11df57c3b9ccd7dff5e3953544371a6bf9b6178","author":{"email":"1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@bernhard-voelker.de","name":"Bernhard Voelker"},"message":"maint: remove various FIXME comments\n\n* src/extent-scan.c (extent_need_sync): Remove the FIXME comment about\nremoving the work around.  As discussed in [1], the needed FIEMAP fix\nnever made it into the Linux kernel.\n\n* src/realpath.c (longopts): Remove the FIXME comment about deprecating\nthe --strip option as it's a valid alias for --no-symlinks option.\nAlso discussed in [1].\n\n[1] http://lists.gnu.org/archive/html/coreutils/2013-11/msg00103.html","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/e11df57c3b9ccd7dff5e3953544371a6bf9b6178"},{"sha":"1b179421df864af61c9f4f4fb587c59947e67c22","author":{"email":"1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@bernhard-voelker.de","name":"Bernhard Voelker"},"message":"tests: add a test for rm -r \"/\"\n\n* tests/rm/r-root.sh: Add a non-root test.\n* tests/local.mk (all_tests): Mention the test.","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/1b179421df864af61c9f4f4fb587c59947e67c22"},{"sha":"e20d2ea1260ef1ecd086879548ef8ac2c573d785","author":{"email":"511993d3c99719e38a6779073019dacd7178ddb9@draigBrady.com","name":"Pádraig Brady"},"message":"build: fix potential factor build failure on arm and powerpc\n\n* src/longlong.h: Sync with the latest longlong.h from libgmp to:\n- avoid arm asm when being compiled for the thumb instruction [sub]set\n- avoid old powerpc assembly that is incompatible with newer GCC\n- add arm64 optimized count_trailing_zeros()\n- add sparc64 optimized add_ssaaaa() and umul_ppmm()","distinct":false,"url":"https://api.github.com/repos/pixelb/coreutils/commits/e20d2ea1260ef1ecd086879548ef8ac2c573d785"}]}