Commit Graph

  • e80cace874 * src/c99-to-c89.diff: Adjust offsets. Jim Meyering 2007-01-13 18:12:01 +01:00
  • 23c34b8bd9 * AUTHORS: Add chcon. Jim Meyering 2007-01-13 17:49:17 +01:00
  • e4779654bd * src/c99-to-c89.diff: Remove trailing blanks. Jim Meyering 2007-01-13 17:22:57 +01:00
  • da538a3975 * src/chcon.c: Don't include "dirname.h". system.h already includes it. Jim Meyering 2007-01-13 17:19:16 +01:00
  • 5349e96a32 * gl/lib/selinux-at.c: Remove a use of HAVE_CONFIG_H. Jim Meyering 2007-01-13 17:17:19 +01:00
  • 5a233cb81e * src/c99-to-c89.diff: Handle a new c99'ism in ls.c. Jim Meyering 2007-01-13 17:13:49 +01:00
  • 5dd7f137b7 * src/id.c (main): Tweak id -Z diagnostic. Jim Meyering 2007-01-13 16:43:07 +01:00
  • 1532bea5b5 * POTFILES.in: Add src/chcon.c. Jim Meyering 2007-01-13 16:30:04 +01:00
  • 5320d0fef1 id: Add SELinux support: -Z option. Jim Meyering 2007-01-13 16:15:41 +01:00
  • bc5faec34a Keep SELinux-related ChangLog entries here. Jim Meyering 2007-01-13 12:12:03 +01:00
  • 4010e2d077 stat: Add support for SELinux in the form of a %C format directive. Jim Meyering 2007-01-07 09:15:42 +01:00
  • 8c94771b88 add chcon Jim Meyering 2007-01-06 18:38:51 +01:00
  • 3ea540c757 ls: Add support for SELinux and a slightly modified -Z option. Jim Meyering 2007-01-05 18:23:54 +01:00
  • 85d6c618b0 * man/chcon.x: New file. Jim Meyering 2007-01-04 16:41:46 +01:00
  • 7e591c1009 .cvsignore, .gitignore: update Jim Meyering 2007-01-04 16:35:31 +01:00
  • 87516b80a5 New program: chcon Jim Meyering 2007-01-04 16:33:43 +01:00
  • 56fc172d11 Merge branch 'master' of /cu Jim Meyering 2007-03-29 21:36:38 +02:00
  • 8487f9c6bd * .vg-suppressions: Add libc-getpwuid-leak. Jim Meyering 2007-03-29 21:35:20 +02:00
  • 0f63eebd1e Merge branch 'master' of /cu Jim Meyering 2007-03-28 23:39:18 +02:00
  • a0faff1a58 Help translators include translation team's web or email address. * src/system.h (emit_bug_reporting_address): New function. * src/base64.c: Use it rather than a literal printf. * src/basename.c, src/cat.c, src/chgrp.c, src/chmod.c: * src/chown.c, src/chroot.c, src/cksum.c, src/comm.c, src/cp.c: * src/csplit.c, src/cut.c, src/date.c, src/dd.c, src/df.c: * src/dircolors.c, src/dirname.c, src/du.c, src/echo.c, src/env.c: * src/expand.c, src/expr.c, src/factor.c, src/fmt.c, src/fold.c: * src/head.c, src/hostid.c, src/hostname.c, src/id.c, src/install.c: * src/join.c, src/kill.c, src/link.c, src/ln.c, src/logname.c: * src/ls.c, src/md5sum.c, src/mkdir.c, src/mkfifo.c, src/mknod.c: * src/mv.c, src/nice.c, src/nl.c, src/nohup.c, src/od.c: * src/paste.c, src/pathchk.c, src/pinky.c, src/pr.c, src/printenv.c: * src/printf.c, src/ptx.c, src/pwd.c, src/readlink.c, src/rm.c: * src/rmdir.c, src/seq.c, src/setuidgid.c, src/shred.c, src/shuf.c: * src/sleep.c, src/sort.c, src/split.c, src/stat.c, src/stty.c: * src/su.c, src/sum.c, src/sync.c, src/system.h, src/tac.c: * src/tail.c, src/tee.c, src/test.c, src/touch.c, src/tr.c: * src/true.c, src/tsort.c, src/tty.c, src/uname.c, src/unexpand.c: * src/uniq.c, src/unlink.c, src/uptime.c, src/users.c, src/wc.c: * src/who.c, src/whoami.c, src/yes.c: Likewise. Jim Meyering 2007-03-28 08:50:29 +02:00
  • 59312fa3f9 Add to .cvsignore and .gitignore files. Jim Meyering 2007-03-28 08:46:01 +02:00
  • 2fa23f1f86 * src/stty.c: Don't include "vasprintf.h", now that its declarations are guaranteed to be in gnulib's stdio.h. * src/who.c: Likewise. Jim Meyering 2007-03-28 08:34:03 +02:00
  • 311b6df344 * README: Use "install", not "ginstall" in the list of program names. * src/Makefile.am (check-README): Substitute s/ginstall/install/. Jim Meyering 2007-03-27 16:08:29 +02:00
  • 2e6e036896 Add to .cvsignore and .gitignore files. Jim Meyering 2007-03-25 10:56:24 +02:00
  • b60a32376e * src/c99-to-c89.diff: Regenerate. Jim Meyering 2007-03-25 10:20:43 +02:00
  • 1efda4faf3 Avoid the need for euidaccess and/or lstat on every directory entry with 'rm -r dir' (without -f), if we are root, or if we are removing a directory tree that is full of symbolic links. * bootstrap.conf (gnulib_modules): Add write-any-file. * src/copy.c: Include write-any-file.h. (UNWRITABLE): Remove macro, replacing with.... (writable_destination): New function, which uses can_write_any_file to avoid the need for euidaccess when we are privileged. (overwrite_prompt, abandon_move): Use it. * src/remove.c: Include write-any-file.h. (D_TYPE): New macro. (DT_UNKNOWN, DT_DIR, DT_LNK) [!HAVE_STRUCT_DIRENT_D_TYPE]: New macros. (write_protected_non_symlink): Don't bother to stat if we can write any file. (prompt): New arg PDIRENT_TYPE. All callers changed. Use readdir dirent type to avoid the need for 'lstat' on each directory entry in cases like 'rm -r dir', if we are root, or if the tree is full of symbolic links. (DT_IS_KNOWN, DT_MUST_BE): Remove. (remove_entry): New arg DIRENT_TYPE_ARG. All callers changed. Paul Eggert 2007-03-25 09:52:57 +02:00
  • de73024977 If strace malfunctions, skip the test rather than failing it. * tests/mv/atomic: Required on a mips-unknown-linux-gnu system running the aging linux-2.4.27-mipscvs-20040814. Jim Meyering 2007-03-24 11:25:15 +01:00
  • beeade1473 * src/pathchk.c: Don't include euidaccess.h, as we don't call euidaccess. Jim Meyering 2007-03-23 21:40:11 +01:00
  • c634bb97af * README-package-renamed-to-coreutils: Add a URL for the FAQ, and a couple more archive links. Jim Meyering 2007-03-23 11:08:59 +01:00
  • c3abd70c67 Post-release version change. * NEWS: Add a line for 6.9+. * configure.ac (AC_INIT): Set new version string. Jim Meyering 2007-03-23 08:22:35 +01:00
  • 85fb8411dd .prev-version: Record previous version: 6.9. Jim Meyering 2007-03-22 22:37:06 +01:00
  • 804bdc3001 Version 6.9. * NEWS: Record release date and new version number. * configure.ac (AC_INIT): New version number. v6.9 COREUTILS-6_9 Jim Meyering 2007-03-22 22:20:02 +01:00
  • 25cdc8248d * tests/mv/hard-3: Correct the preceding change: $3 -> $2. Jim Meyering 2007-03-22 22:11:03 +01:00
  • 826ff082db * coreutils.texi (md5sum invocation): Document escapes in output format. Reported by Armijn Hemel. Eric Blake 2007-03-22 21:46:54 +01:00
  • 59e889f0f3 Improve a test script. * tests/mv/hard-3: Check for 'ls' failure, too. Generate more-useful debugging output when 'ls' fails. Paul Eggert 2007-03-22 21:29:30 +01:00
  • 3440b65ecf Fix a test script not to claim an ext2 file system is of type xfs. * tests/du/slink: When using df --local and df --type=TYPE, test only the exit code. Don't bother with stdout. Prompted by a report by Thomas Schwinge of an inaccurate diagnostic. Jim Meyering 2007-03-21 17:19:30 +01:00
  • a59975a3fd Add to .cvsignore and .gitignore files. Jim Meyering 2007-03-21 15:41:58 +01:00
  • 373c95c45a * gl/lib/savewd.c: Remove this file, since the savewd_save change is now in gnulib. The other wasn't useful. Jim Meyering 2007-03-21 09:09:34 +01:00
  • c63f4506cc Skip part of this test when "." is not a local file system. * tests/mkdir/p-3: Likewise. Jim Meyering 2007-03-20 16:47:36 +01:00
  • 85de525557 * gl/lib/acl.c: Remove this file, now that gnulib's version subsumes it. Jim Meyering 2007-03-20 15:51:21 +01:00
  • 13e4c87ff6 Fix a typo in the handling of %x and %X. * vasnprintf.c (VASNPRINTF): When adding 2 to buffer length, don't double it. Jim Meyering 2007-03-20 15:21:08 +01:00
  • de540a76eb Skip part of this test when "." is not a local file system. * tests/install/basic-1: Otherwise, it would fail on some NFS file systems. Jim Meyering 2007-03-20 13:26:28 +01:00
  • 02b2e48b12 * src/Makefile.am (dir_LDADD, ls_LDADD, vdir_LDADD): Add $(LIB_ACL_TRIVIAL). Paul Eggert 2007-03-20 13:21:33 +01:00
  • 5bc4b89be8 Fix a generic NFS-related test failure. Jim Meyering 2007-03-18 21:27:47 +01:00
  • 9aee8e78ea * src/runcon.c (main): Don't reorder arguments. Reported by selinux Jim Meyering 2007-03-18 18:04:30 +01:00
  • ab511a2106 * src/runcon.c (main): Remove "." at end of a diagnostic. Jim Meyering 2007-03-18 17:52:00 +01:00
  • 5e711ff948 Arrange for "make check-root" to run the new root-only test. Jim Meyering 2007-02-12 19:35:25 +01:00
  • 6f5700ac8a * src/runcon.c: New program. Jim Meyering 2007-02-02 18:58:41 +01:00
  • 8daf081cd2 Regenerate .cvsignore and .gitignore files. Jim Meyering 2007-02-01 18:07:36 +01:00
  • 3f619c59cf mkfifo, mknod: Accept new "-Z, --context=C" option. Jim Meyering 2007-02-01 00:26:07 +01:00
  • 0db199df69 mkdir: Accept new "-Z, --context=C" option. Jim Meyering 2007-01-31 23:59:46 +01:00
  • beb12e09f3 * tests/cp/cp-a-selinux: New file. Test for the bug reported in Jim Meyering 2007-01-31 23:01:50 +01:00
  • 65ba507e17 * src/system.h (GETOPT_SELINUX_CONTEXT_OPTION_DECL): Define. Jim Meyering 2007-01-20 16:33:00 +01:00
  • 795c052e33 cp, mv, install: add SELinux support, but unlike with the Red Hat Jim Meyering 2007-01-20 16:10:43 +01:00
  • 09ef5a443f * tests/misc/selinux [VERBOSE]: Print version info for each Jim Meyering 2007-01-13 19:29:21 +01:00
  • 3765e5a26e * src/c99-to-c89.diff: Remove the ls.c patch, now that I've Jim Meyering 2007-01-13 19:27:41 +01:00
  • b64a11dc76 * src/chcon.c (usage): Split a string literal that was longer than 509. Jim Meyering 2007-01-13 18:24:06 +01:00
  • 82d98da743 * src/ls.c (gobble_file): Don't call getfilecon unless print_scontext. Jim Meyering 2007-01-13 18:22:46 +01:00
  • ecf70125f9 * src/c99-to-c89.diff: Adjust offsets. Jim Meyering 2007-01-13 18:12:01 +01:00
  • 1b569150c5 * AUTHORS: Add chcon. Jim Meyering 2007-01-13 17:49:17 +01:00
  • 4269a52c1a * src/c99-to-c89.diff: Remove trailing blanks. Jim Meyering 2007-01-13 17:22:57 +01:00
  • b23de86834 * src/chcon.c: Don't include "dirname.h". system.h already includes it. Jim Meyering 2007-01-13 17:19:16 +01:00
  • 7782da7bf5 * gl/lib/selinux-at.c: Remove a use of HAVE_CONFIG_H. Jim Meyering 2007-01-13 17:17:19 +01:00
  • 2b5e4cb837 * src/c99-to-c89.diff: Handle a new c99'ism in ls.c. Jim Meyering 2007-01-13 17:13:49 +01:00
  • 5f997760c9 * src/id.c (main): Tweak id -Z diagnostic. Jim Meyering 2007-01-13 16:43:07 +01:00
  • 10ca93af8f * POTFILES.in: Add src/chcon.c. Jim Meyering 2007-01-13 16:30:04 +01:00
  • 0278a4d7d3 id: Add SELinux support: -Z option. Jim Meyering 2007-01-13 16:15:41 +01:00
  • 2aab34d486 Keep SELinux-related ChangLog entries here. Jim Meyering 2007-01-13 12:12:03 +01:00
  • 2912097e82 stat: Add support for SELinux in the form of a %C format directive. Jim Meyering 2007-01-07 09:15:42 +01:00
  • 3238605998 add chcon Jim Meyering 2007-01-06 18:38:51 +01:00
  • 1e9098dc83 ls: Add support for SELinux and a slightly modified -Z option. Jim Meyering 2007-01-05 18:23:54 +01:00
  • 27940f5d02 * man/chcon.x: New file. Jim Meyering 2007-01-04 16:41:46 +01:00
  • 561c3a2b75 .cvsignore, .gitignore: update Jim Meyering 2007-01-04 16:35:31 +01:00
  • c1fb4bcb2a New program: chcon Jim Meyering 2007-01-04 16:33:43 +01:00
  • 93ff956de7 Merge branch 'master' of /cu Jim Meyering 2007-03-18 18:14:49 +01:00
  • 553d347d3e Fix a bug in how pr -m -s works. * NEWS: Describe how the fix affects pr. * src/pr.c (init_parameters): The --merge (-m) option does not imply --expand-tabs (-e), so don't set "untabify_input". Reported by Wis Macomson. * tests/misc/pr: New file. Test for the above fix. * tests/misc/Makefile.am (TESTS): Add pr. * THANKS: Update. Jim Meyering 2007-03-18 16:21:26 +01:00
  • b1d89070f6 Fix a silly syntax error introduced in last change. Jim Meyering 2007-03-17 13:15:17 +01:00
  • 20bc0790a7 fix a syntax error Jim Meyering 2007-03-17 13:01:56 +01:00
  • 7828d1b4e2 Detect use of AC_CONFIG_AUX_DIR also when its argument is quoted. * bootstrap: Put ""s around use of $build_aux, in case someone uses a name containing shell meta-characters. Reported by Alfred M. Szmidt. Jim Meyering 2007-03-17 12:54:28 +01:00
  • 5b3313c120 * tests/misc/tty-eof: Add shuf to the list of tested commands. Jim Meyering 2007-03-17 12:23:14 +01:00
  • 0edae5eee6 Avoid test failure on NFS-mounted Solaris ZFS file system. * tests/du/basic: Skip a test if "." is on a non-local file system. Jim Meyering 2007-03-17 11:44:42 +01:00
  • 11f43d2e22 Avoid an obscure build failure, prefer waitpid over wait. * src/install.c (strip): Use waitpid, not wait. It's equivalent, but feels less obsolescent. Jim Meyering 2007-03-17 10:43:04 +01:00
  • 87c54fa0ae * bootstrap: Don't use \> in grep regexp. For HP-UX. Jim Meyering 2007-03-17 09:46:54 +01:00
  • 3715c01f8e Begin adding support for Solaris ZFS (4 entries per trivial ACL) * gl/lib/acl.c (ACL_NOT_WELL_SUPPORTED): New macro. (file_has_acl, copy_acl): Use it, rather than enumerating errno values. (is_trivial_acl): New function. Incomplete, for now. (file_has_acl, copy_acl): Use the new function, rather than counting the number of entries in an ACL. Jim Meyering 2007-03-16 22:24:09 +01:00
  • d2c7d7b58f * bootstrap: Update from gnulib. Jim Meyering 2007-03-16 22:06:27 +01:00
  • d1e5a7af56 * .x-sc_prohibit_atoi_atof: Add TODO here, too. Jim Meyering 2007-03-16 22:06:04 +01:00
  • 369aaf7e5d * src/copy.c: Include filemode.h. (overwrite_prompt): Say "try to overwrite", not "overwrite", to make it clearer that the attempt may fail. Problem reported by Dan Jacobson in: http://lists.gnu.org/archive/html/bug-coreutils/2007-03/msg00130.html Output symbolic mode as well as numeric. * tests/mv/i-2 (fail): Adjust to new prompt format. Paul Eggert 2007-03-16 21:41:50 +01:00
  • 39e85b7258 Fix manual in response to bug reports by Dan Jacobson. * coreutils.texi (sort invocation): Explain numeric sorts better. Compress self-congratulation into a simple "comparison is exact" notice; the --general-numeric-sort option already explains the tradeoffs. (seq invocation): Add example of -f. Paul Eggert 2007-03-16 06:30:32 +01:00
  • 487e5317be Enforce policy: don't use *scanf functions. * Makefile.maint (sc_prohibit_atoi_atof): Add to regexp and diagnostic. * .x-sc_prohibit_atoi_atof: Give stty a temporary pass. * TODO: note that stty.c needs this small clean-up. Jim Meyering 2007-03-15 09:19:10 +01:00
  • 112b9537dd Prepare to work on ACL-related failure when using Solaris ZFS. * gl/lib/acl.c: New file, copied from gnulib. Jim Meyering 2007-03-13 19:52:13 +01:00
  • 24045feb85 Work around a failing test due to an NFS-based race condition. * tests/cp/sparse: Accept a report that the copy is *smaller*. Jim Meyering 2007-03-13 19:51:47 +01:00
  • 64f972e94b * coreutils.texi (cp invocation): Mention that --preserve=timestamps doesn't preserve time stamps on symbolic links. Reported by Polo Talnir in <https://bugzilla.redhat.com/230866>. Jim Meyering 2007-03-12 14:26:24 +01:00
  • 0c1e917d6c Merge branch 'master' of /cu Jim Meyering 2007-03-12 10:36:01 +01:00
  • 1e7a0f088b Make bootstrap.conf a tiny bit more generic. * bootstrap.conf (XGETTEXT_OPTIONS): Exclude gettext-related .m4 files when e.g., AM_GNU_GETTEXT([external] appears in configure.ac. Jim Meyering 2007-03-12 09:47:36 +01:00
  • fd6fc97156 Try to fix today's NFS-related failure: Treat ESTALE like EACCES. * gl/lib/savewd.c: Copy this file from gnulib, then change "errno != EACCES" to (errno != EACCES && errno != ESTALE). The symptom was this failure in tests/install/basic-1: ginstall: cannot create directory `rel/a': Stale NFS file handle Jim Meyering 2007-03-10 11:39:50 +01:00
  • 04131454e3 The preceding change solved part of the problem. Now ginstall fails. * tests/install/basic-1: Temporarily, don't redirect ginstall's stderr to /dev/null, so I can see why the NFS autobuilder's NFS test is failing. Jim Meyering 2007-03-10 10:36:25 +01:00
  • bc86cb44e3 * tests/install/basic-1: When setting up an unreadable "." in an inaccessible parent, make the parent inaccessible *after* making "." unreadable. Otherwise, running "chmod a-r ." in an already- inaccessible parent would fail on NFS with "Stale NFS file handle". Reported by Bob Proulx. Jim Meyering 2007-03-10 09:53:49 +01:00
  • 0a538a2488 remove trailing blanks Jim Meyering 2007-03-10 00:45:30 +01:00
  • ca4f28bc83 * Makefile.maint (po-check): Exclude c99-to-c89.diff. Jim Meyering 2007-03-10 00:43:50 +01:00
  • 36aeb30081 Mention that both Jay Soffian and Charles Randall wrote early versions of sort's temp-file-compression code. Jim Meyering 2007-03-10 00:43:36 +01:00