diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-12-09 04:52:52 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-12-09 04:52:52 +0000 |
commit | 87f9f15180b1dbc9dbdc447c48764fd26fd7c9b0 (patch) | |
tree | aedae72355979ff9a4b07aab7a10b1a1717b0d06 /ChangeLog.pre-2-4 | |
parent | b9da696ea0ff0c3ba31b5c7ea56481e62c6f6f9c (diff) | |
download | glib-87f9f15180b1dbc9dbdc447c48764fd26fd7c9b0.tar.gz |
Guard against the POSIX allowed behavior where access (file, X_OK)
Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com>
* glib/gfileutils.c (g_file_test): Guard against
the POSIX allowed behavior where access (file, X_OK)
succeeds for uid==0 when no executable bits are set.
* glib/gfileutils.c (g_file_test): Add doc notes
about the possibility of race conditions, and the
fact that EXISTS and IS_EXECUTABLE give results
for the real uid not the effective user ID.
(#81854, Morten Welinder.)
Diffstat (limited to 'ChangeLog.pre-2-4')
-rw-r--r-- | ChangeLog.pre-2-4 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index e040a6dab..2bcf7ca94 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,15 @@ +Sun Dec 8 23:36:12 2002 Owen Taylor <otaylor@redhat.com> + + * glib/gfileutils.c (g_file_test): Guard against + the POSIX allowed behavior where access (file, X_OK) + succeeds for uid==0 when no executable bits are set. + + * glib/gfileutils.c (g_file_test): Add doc notes + about the possibility of race conditions, and the + fact that EXISTS and IS_EXECUTABLE give results + for the real uid not the effective user ID. + (#81854, Morten Welinder.) + Fri Dec 6 14:34:42 2002 Owen Taylor <otaylor@redhat.com> Avoid literal UTF-8. (Allow it to build with |