<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/lib/modechange.c, branch v6.0</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v6.0</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v6.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2006-07-28T07:25:44Z</updated>
<entry>
<title>(mode_compile): Numeric modes now affect setuid and</title>
<updated>2006-07-28T07:25:44Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-07-28T07:25:44Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=fa78395b2a80c96a5cc2459e4ec4da17cd2b8352'/>
<id>urn:sha1:fa78395b2a80c96a5cc2459e4ec4da17cd2b8352</id>
<content type='text'>
setgid on directories only if they set these bits.
</content>
</entry>
<entry>
<title>In comment: bits bits -&gt; bits.</title>
<updated>2006-07-17T05:56:28Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-07-17T05:56:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f8e8d8dd69c47ea85860ca12e1dd76ff974a7db5'/>
<id>urn:sha1:f8e8d8dd69c47ea85860ca12e1dd76ff974a7db5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(octal_to_mode): New function.</title>
<updated>2006-07-17T03:07:23Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2006-07-17T03:07:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=44ba013923f50d2d53459cb3393a4fc200fb2a91'/>
<id>urn:sha1:44ba013923f50d2d53459cb3393a4fc200fb2a91</id>
<content type='text'>
(struct mode_change): New member mentioned.
(make_node_op_equals): New arg mentioned.  All callers changed.
(mode_compile): Keep track of which mode bits the user has explicitly
mentioned.
(mode_adjust): New arg DIR, so that we implement the X op correctly.
New arg PMODE_BITS, to keep track of which mode bits the user
mentioned; it treats S_ISUID and S_ISGID speciall.
All callers changed.
</content>
</entry>
<entry>
<title>(mode_compile): Reject an invalid mode string that</title>
<updated>2005-10-20T14:20:34Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-10-20T14:20:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a4667affc0129753b5f852d1ec2f02b5dee8040f'/>
<id>urn:sha1:a4667affc0129753b5f852d1ec2f02b5dee8040f</id>
<content type='text'>
starts with an octal digit.  From Andreas Gruenbacher.
</content>
</entry>
<entry>
<title>Sync from gnulib.</title>
<updated>2005-09-22T06:05:39Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-09-22T06:05:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2d0c5eefd05ebe38eaf003940b4fd0feaa3e7b2f'/>
<id>urn:sha1:2d0c5eefd05ebe38eaf003940b4fd0feaa3e7b2f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update FSF postal mail address.</title>
<updated>2005-05-14T07:58:06Z</updated>
<author>
<name>Jim Meyering</name>
<email>jim@meyering.net</email>
</author>
<published>2005-05-14T07:58:06Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=116e6fb2443d140959ea042865cd67b95aab3c47'/>
<id>urn:sha1:116e6fb2443d140959ea042865cd67b95aab3c47</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(mode_free): Remove; all callers changed to invoke 'free'.</title>
<updated>2005-05-01T14:26:50Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-05-01T14:26:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d4502755f4e738af6ff0a2e53176ab94d0c6c620'/>
<id>urn:sha1:d4502755f4e738af6ff0a2e53176ab94d0c6c620</id>
<content type='text'>
xstrtol.h, stdbool.h, stddef.h: Don't include; no longer needed.
(MODE_DONE): New constant.
(struct mode_change): Remove 'next' member.
(make_node_op_equals): New function; like the old one of the
same name, except it allocates an array.
(mode_compile, mode_create_from_ref): Use it.
(mode_compile): Allocate result as an array, not a linked list.
Parse octal string ourself, so that we catch mistakes like "+0".
(mode_adjust): Arg is an array, not a linked list.
</content>
</entry>
<entry>
<title>Include stat-macros.h, xalloc.h.</title>
<updated>2005-04-28T16:29:00Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2005-04-28T16:29:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=498bb2796fa76d15ad29d3fc15eff67c6abfa80b'/>
<id>urn:sha1:498bb2796fa76d15ad29d3fc15eff67c6abfa80b</id>
<content type='text'>
(S_ISDIR, S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR):
(S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH, S_IRXWU):
(S_IRWXG, S_IRWXO, CHMOD_MODE_BITS):
Remove.  This is now stat-macros.h's job.
(talloc): Remove.  All callers replaced by xalloc, so that
our invokers don't have to worry about reporting memory failures.
(make_node_op_equals): Remove.
(MODE_ORDINARY_CHAGE, MODE_X_IF_ANY_X, MODE_COPY_EXISTING):
New constants.
(struct mode_change): Moved here from modechange.h.
(mode_append_entry): Remove.
(mode_compile): Remove MASKED_OPS arg, since it encouraged
apps to have incorrect behavior.  Use simpler algorithm for head
and tail.  Don't futz with umask; that's now the job of mode_adjust.
Detect more invalid usages rather than having somewhat-random behavior.
Don't insert an "a=" action, as that leads to incorrect behavior.
(mode_compile, mode_create_from_ref): Return NULL on error instead
of an enum, since now there's only one way to have an error.  All
callers changed.
(mode_adjust): Accept new arg UMASK_VALUE, and interpret it
at the correct time.  Simplify calculation of "+u" and its ilk.
Don't mishandle "+X".
(mode_free): Remove "register" and localize decls.
</content>
</entry>
<entry>
<title>(mode_compile): Don't decrement a pointer that</title>
<updated>2004-09-24T07:00:59Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2004-09-24T07:00:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=d7caebfe16375066910e6eb9818dd62a9ee169d5'/>
<id>urn:sha1:d7caebfe16375066910e6eb9818dd62a9ee169d5</id>
<content type='text'>
points to the start of a string, as the C Standard says the
resulting behavior is undefined.
</content>
</entry>
<entry>
<title>Update copyright.</title>
<updated>2004-07-30T04:06:16Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2004-07-30T04:06:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=6d02317a83678aca779d643e6645bd7ddafe1d5b'/>
<id>urn:sha1:6d02317a83678aca779d643e6645bd7ddafe1d5b</id>
<content type='text'>
</content>
</entry>
</feed>
