diff options
author | Samuel Thibault <sthibault@debian.org> | 2009-04-18 15:35:22 +0000 |
---|---|---|
committer | Samuel Thibault <sthibault@debian.org> | 2009-04-18 15:35:22 +0000 |
commit | 69d674705a5d831446fa982a4aaebe83181acc51 (patch) | |
tree | c16baa39680ec67c7f75d25947b1d71e59ceb983 | |
parent | ac998e8ce3f3d20037da9016944b6554db866212 (diff) |
* debian/patches/dir_acces_fix.patch: New patch, fixes ext2fs crashes.
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/patches/dir_acces_fix.patch | 16 | ||||
-rw-r--r-- | debian/patches/series | 1 |
3 files changed, 18 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index abba4087..41898dff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -44,6 +44,7 @@ hurd (20080921-1) UNRELEASED; urgency=low * debian/control (Build-Depends): Bump libc0.3-dev to (>= 2.9). * debian/patches/stat_round.patch: New temporary patch, fixes symlink issues with tar. + * debian/patches/dir_acces_fix.patch: New patch, fixes ext2fs crashes. -- Michael Banck <mbanck@debian.org> Sat, 13 Sep 2008 23:43:27 +0200 diff --git a/debian/patches/dir_acces_fix.patch b/debian/patches/dir_acces_fix.patch new file mode 100644 index 00000000..c87b3663 --- /dev/null +++ b/debian/patches/dir_acces_fix.patch @@ -0,0 +1,16 @@ +Index: libfshelp/perms-access.c +=================================================================== +RCS file: /cvsroot/hurd/hurd/libfshelp/perms-access.c,v +retrieving revision 1.2 +diff -u -p -r1.2 perms-access.c +--- libfshelp/perms-access.c 14 Jul 2008 22:38:13 -0000 1.2 ++++ libfshelp/perms-access.c 18 Apr 2009 15:28:45 -0000 +@@ -30,7 +30,7 @@ fshelp_access (struct stat *st, int op, + { + int gotit; + if (idvec_contains (user->uids, 0)) +- gotit = (op != S_IEXEC) || (st->st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)); ++ gotit = (op != S_IEXEC) || S_ISDIR(st->st_mode) || (st->st_mode & (S_IXUSR | S_IXGRP | S_IXOTH)); + else if (user->uids->num == 0 && (st->st_mode & S_IUSEUNK)) + gotit = st->st_mode & (op << S_IUNKSHIFT); + else if (!fshelp_isowner (st, user)) diff --git a/debian/patches/series b/debian/patches/series index cb7902a7..fae76eac 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -23,3 +23,4 @@ uptime_w_path_fix.patch -p1 stat-fix.patch -p0 in6_addr.patch -p1 stat_round.patch -p0 +dir_acces_fix.patch -p0 |