|
c7833c44
|
2001-01-07T09:20:47
|
|
normalize spelling in comment
|
|
43b0594f
|
2000-12-29T10:32:09
|
|
Do not assume that mode_t uses the
traditional octal encoding. E.g. "chmod 1 FOO" should set
the other-execute bit of FOO even if S_IXOTH != 1.
(SUID, SGID, SVTX, RUSR, WUSR, XUSR, RGRP, WGRP, XGRP, ROTH,
WOTH, XOTH, ALLM): New macros.
(S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR,
S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH):
Use them.
(S_ISGID): Fix typo; it was defaulting to the same value as S_ISUID.
(S_IRWXU, S_IRWXG, S_IRWXO): Specify defaults in terms of the above.
(mode_compile):
No need to use uintmax_t; unsigned long is long enough.
Don't bother to get suffix since we don't use it.
|
|
e0a31ac6
|
2000-10-31T07:09:02
|
|
Remove "2000" from Copyright line, as the file hasn't been
changed this year other than in the copyright notice.
|
|
cf8c8ba4
|
2000-01-12T06:49:59
|
|
(mode_compile): Use uintmax_t, not unsigned
long, to parse numeric modes. Check for any unknown bits, not
just unknown bits left of the leftmost known bit.
|
|
050d93b8
|
1999-04-26T13:19:37
|
|
(make_node_op_equals, mode_compile, mode_create_from_ref, mode_adjust):
Use proper mode_t types and macros.
Don't assume the traditional Unix values for mode bits.
modechange.h now includes sys/types.h.
Include xstrtol.h.
(isodigit, oatoi): Remove.
(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_IRWXU, S_IRWXG,
S_IRWXO): Define if not defined.
(CHMOD_MODE_BITS): New macro.
(mode_compile): Convert from octal with xstrtoul, not our own routine.
|
|
23f5c010
|
1999-03-30T04:51:08
|
|
(make_node_op_equals): New function.
(mode_append_entry): Likewise.
(mode_compile): When none of [ugoa] is specified in an `=OP' change
mode request, insert a `=0' entry into the linked list so that all
bits are cleared first. Use the new functions.
|
|
833b6069
|
1999-03-28T05:44:33
|
|
(mode_compile): Upon allocation failure, free
everything starting with the head, not the tail.
|
|
e1937c32
|
1998-09-19T13:11:23
|
|
Fix post-protoization typo.
|
|
c6eaa6fd
|
1998-09-09T15:39:13
|
|
(oatoi): declare arg to be const
|
|
e1f48778
|
1998-09-09T14:21:16
|
|
Protoize.
|
|
f8e6bdbf
|
1997-08-03T20:28:45
|
|
(mode_create_from_ref): Remove dcl of unused local, I.
|
|
7e9dbaf8
|
1997-07-29T03:03:49
|
|
(mode_create_from_ref): Don't use umask.
Don't use MODE_X_IF_ANY_X.
|
|
68fa88b9
|
1997-07-06T21:28:04
|
|
(mode_create_from_ref): New function.
|
|
5c4a5649
|
1996-10-29T14:24:52
|
|
.
|
|
fa86aecf
|
1996-09-28T18:31:00
|
|
.
|
|
6d8337bf
|
1996-07-15T03:36:16
|
|
update FSF address in copyright
|
|
40399360
|
1996-05-16T03:57:49
|
|
(mode_compile): Declare parameter MODE_STRING const.
Remove register attribute.
(mode_adjust): Likewise for CHANGES.
|
|
300424a2
|
1994-10-02T05:43:03
|
|
merge with 3.9h
|
|
d2577763
|
1994-08-27T21:34:13
|
|
.
|
|
8dcddcc0
|
1994-07-01T13:46:42
|
|
.
|
|
d87c3946
|
1992-10-31T20:42:48
|
|
Initial revision
|