<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/chroot.c, branch v7.6</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v7.6</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v7.6'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2009-08-25T07:21:00Z</updated>
<entry>
<title>global: convert indentation-TABs to spaces</title>
<updated>2009-08-25T07:21:00Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-08-22T16:56:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5e778f7c8d1ecf3d8f11385db013af2ba026e2a5'/>
<id>urn:sha1:5e778f7c8d1ecf3d8f11385db013af2ba026e2a5</id>
<content type='text'>
Transformed via this shell code:
t=$'\t'
git ls-files \
  | grep -vE '(^|/)((GNU)?[Mm]akefile|ChangeLog)|\.(am|mk)$' \
  | grep -vE 'tests/pr/|help2man' \
  | xargs grep -lE "^ *$t" \
  | xargs perl -MText::Tabs -ni -le \
    '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
</content>
</entry>
<entry>
<title>diag: say "failed to...", rather than "cannot..." in a few diagnostics</title>
<updated>2009-06-13T14:37:13Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-06-13T14:36:48Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=358aca5fb9cb67c593aa5f1ddf166dbefcf55f0c'/>
<id>urn:sha1:358aca5fb9cb67c593aa5f1ddf166dbefcf55f0c</id>
<content type='text'>
* src/chroot.c (main): ...it's more precise.
* src/nohup.c (main): Likewise.
* src/setuidgid.c (main): Likewise.
* src/timeout.c (main): Likewise.
</content>
</entry>
<entry>
<title>chroot: make --groups= work without --userspec=;  be more robust</title>
<updated>2009-06-02T14:34:54Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-05-29T06:44:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b96cd035ffe636f95cffc4beb7c043c62a687045'/>
<id>urn:sha1:b96cd035ffe636f95cffc4beb7c043c62a687045</id>
<content type='text'>
* src/chroot.c (set_additional_groups): Add comments.
Given an empty or all-comma group list, diagnose it and return nonzero.
When more than one group is invalid, diagnose all of them,
not just the first.
(main): Honor --groups= also when --userspec= is not specified.
Now that set_additional_groups consistently diagnoses its failures,
don't diagnose it separately here.
* tests/chroot/credentials: Do not invoke with an empty group list.
</content>
</entry>
<entry>
<title>chroot: don't set bogus user-ID or group-ID for --u=U: or --u=:G</title>
<updated>2009-06-02T14:34:53Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-05-27T21:06:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2e62250e987dfb2e6253f512ef52707edc626719'/>
<id>urn:sha1:2e62250e987dfb2e6253f512ef52707edc626719</id>
<content type='text'>
* src/chroot.c (main): Initialize both "uid" and "gid".  To -1.
This also allows one to set the user-ID or primary group-ID to 0,
in case it's not that already.
* tests/chroot/credentials: Test for the above.
</content>
</entry>
<entry>
<title>chroot: set-*-ID failure must provoke nonzero exit before execvp</title>
<updated>2009-06-02T14:34:53Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-05-27T20:06:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=bb7ff3bccdf643bbe4ae01c09db996e79092da80'/>
<id>urn:sha1:bb7ff3bccdf643bbe4ae01c09db996e79092da80</id>
<content type='text'>
* src/chroot.c (main): Exit upon set-group-ID or set-user-ID failure.
</content>
</entry>
<entry>
<title>chroot: accept new options --userspec=U:G and --groups=G1,G2,G3</title>
<updated>2009-05-26T13:10:22Z</updated>
<author>
<name>Giuseppe Scrivano</name>
<email>gscrivano@gnu.org</email>
</author>
<published>2009-05-01T21:50:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c45c51fe97193898f3909dcf5e4c0e117ab239a2'/>
<id>urn:sha1:c45c51fe97193898f3909dcf5e4c0e117ab239a2</id>
<content type='text'>
* NEWS: Note chroot's new options.
* doc/coreutils.texi: Document them.
* src/chroot.c (main): Add support for --userspec and --groups.
* tests/Makefile.am (root-tests): Add chroot/credentials.
* tests/chroot/credentials: New file.
* tests/test-lib.sh: Define NON_ROOT_GROUP to a default value.
</content>
</entry>
<entry>
<title>option handling: make exceptions more consistent</title>
<updated>2009-01-08T14:57:36Z</updated>
<author>
<name>Eric Blake</name>
<email>ebb9@byu.net</email>
</author>
<published>2009-01-08T13:33:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a99c35b04d9ab601e4fa98319c56fbdbde6b420a'/>
<id>urn:sha1:a99c35b04d9ab601e4fa98319c56fbdbde6b420a</id>
<content type='text'>
* doc/coreutils.texi (Common options): Not all utilities reject
option abbreviations.
* src/chroot.c (main): Report correct name on failure.
* src/echo.c (usage): Clarify long option usage.
* src/setuidgid.c (usage): Likewise.
* src/hostid.c (usage): Condense.
</content>
</entry>
<entry>
<title>avoid warnings about discarding "qualifiers from pointer target type"</title>
<updated>2008-11-10T07:11:59Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-10-28T21:06:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=854284f7887677395239c1085b27a09e834291b7'/>
<id>urn:sha1:854284f7887677395239c1085b27a09e834291b7</id>
<content type='text'>
Use the new "bad_cast" function or an actual cast-to-"(char *)"
to avoid warnings.
* src/system.h (bad_cast): Define.
* src/chown.c (main):
* src/chroot.c (main):
* src/date.c (main):
* src/du.c (main):
* src/expand.c (stdin_argv):
* src/ls.c (decode_switches):
* src/md5sum.c (main):
* src/paste.c (main):
* src/pr.c (col_sep_string, column_separator, line_separator, main):
* src/sort.c (main):
* src/split.c (main):
* src/tail.c (main):
* src/unexpand.c (stdin_argv):
* src/yes.c (main):
</content>
</entry>
<entry>
<title>use new global, "Version", rather than macro, VERSION</title>
<updated>2008-08-26T16:45:06Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2008-08-13T20:30:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0c1fc1c715aa18605eb11c6c25867277824e8f8d'/>
<id>urn:sha1:0c1fc1c715aa18605eb11c6c25867277824e8f8d</id>
<content type='text'>
With this change, a version-string update no longer
forces recompilation of 100+ src/*.o files.
* src/version.c (Version): New global.  New file.
* src/version.h: Declare it.
* src/Makefile.am: Put it in a library that everyone links to.
(noinst_LIBRARIES, libver_a_SOURCES): Define.
(LDADD): Add libver.a.
(sc_tight_scope): Use perl (was sed), and a more relaxed regexp
to build the global-variable-name-recognizing regexp list.
* src/system.h: Include "version.h".
(case_GETOPT_VERSION_CHAR): Use Version rather than VERSION.
* src/basename.c (main): Use Version rather than VERSION.
* src/chroot.c (main): Likewise.
* src/cksum.c (main): Likewise.
* src/dd.c (main): Likewise.
* src/dirname.c (main): Likewise.
* src/echo.c (main): Likewise.
* src/hostid.c (main): Likewise.
* src/hostname.c (main): Likewise.
* src/link.c (main): Likewise.
* src/logname.c (main): Likewise.
* src/nice.c (main): Likewise.
* src/nohup.c (main): Likewise.
* src/printenv.c (main): Likewise.
* src/printf.c (main): Likewise.
* src/pwd.c (main): Likewise.
* src/setuidgid.c (main): Likewise.
* src/sleep.c (main): Likewise.
* src/sync.c (main): Likewise.
* src/test.c (main): Likewise.
* src/timeout.c (main): Likewise.
* src/true.c (main): Likewise.
* src/tsort.c (main): Likewise.
* src/unlink.c (main): Likewise.
* src/uptime.c (main): Likewise.
* src/users.c (main): Likewise.
* src/whoami.c (main): Likewise.
* src/yes.c (main): Likewise.
</content>
</entry>
<entry>
<title>doc: correct and normalize --help output of several tools</title>
<updated>2008-08-04T09:10:14Z</updated>
<author>
<name>Benno Schulenberg</name>
<email>bensberg@justemail.net</email>
</author>
<published>2008-08-04T08:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f4bffea5e95fbb008402c156e50f81a887423250'/>
<id>urn:sha1:f4bffea5e95fbb008402c156e50f81a887423250</id>
<content type='text'>
* src/chroot.c (usage): Add "[ARG]" to synopsis.
* src/cut.c (usage): Remove an inconsistent period in an option
description.
* src/du.c (usage): Remove superfluous argument after short option -X.
Also remove inconsistent uppercase and final period.
Use a single indent level for prettiness.
* src/shred.c (usage): Normalize the synopsis.
* src/stty.c (usage): Options -F and --file are alternatives, cannot
both be used.
* src/sum.c (usage): -r does not overrule -s; the last one counts.
* src/uptime.c (usage): Remove inconsistent space from the synopsis.
* src/users.c: Likewise.
</content>
</entry>
</feed>
