Commit 3a37bec0 authored by Samuel Thibault's avatar Samuel Thibault

Rename patches commited upstream

  * hurd-i386/tg-NOFOLLOW.diff: Rename to hurd-i386/git-NOFOLLOW.diff.
  * hurd-i386/tg-NOFOLLOW-DIRECTORY.diff: Rename to
    hurd-i386/git-NOFOLLOW-DIRECTORY.diff.
  * hurd-i386/tg-WRLCK-upgrade.diff: rename to
    hurd-i386/git-WRLCK-upgrade.diff.
  * hurd-i386/tg-_dl_random.diff: Rename to hurd-i386/git-_dl_random.diff.
  * hurd-i386/tg-exec-static.diff: Rename to hurd-i386/git-exec-static.diff.
  * hurd-i386/tg-futimens.diff: Rename to hurd-i386/git-futimens.diff.
  * hurd-i386/tg-gai_misc.diff: Rename to hurd-i386/git-gai_misc.diff.
  * hurd-i386/tg-grantpt.diff: Rename to hurd-i386/git-grantpt.diff.
  * hurd-i386/tg-gscope.diff: Rename to hurd-i386/git-gscope.diff.
  * hurd-i386/tg-libpthread-gsync-mutex.diff: Rename to
    hurd-i386/git-libpthread-gsync-mutex.diff.
  * hurd-i386/tg-libpthread-gsync-spin.diff: Rename to
    hurd-i386/git-libpthread-gsync-spin.diff.
  * hurd-i386/tg-mlockall.diff: Rename to hurd-i386/git-mlockall.diff.
  * hurd-i386/tg-pagesize.diff: Rename to hurd-i386/git-pagesize.diff.
  * hurd-i386/tg-reboot-startup.diff: Rename to
    hurd-i386/git-reboot-startup.diff.
  * hurd-i386/tg-thread-linkspace.diff: Rename to
    hurd-i386/git-thread-linkspace.diff.
  * hurd-i386/tg-timer_routines.diff: Rename to
    hurd-i386/git-timer_routines.diff.
  * hurd-i386/tg-tls-threadvar.diff: Rename to
    hurd-i386/git-tls-threadvar.diff.
  * hurd-i386/tg-tls.diff: Rename to hurd-i386/git-tls.diff.
  * hurd-i386/tg-tls_thread_leak.diff: Rename to
    hurd-i386/git-tls_thread_leak.diff.
  * hurd-i386/tg2.25-tls.diff: Rename to hurd-i386/git2.25-tls.diff.
  * hurd-i386/submitted-hurd-abilist.diff: Rename to
    hurd-i386/git-hurd-abilist.diff.
  * hurd-i386/local-libpthread-stacksize.diff: Rename to
    hurd-i386/git-libpthread-stacksize.diff.
parent 30e3eb4d
glibc (2.27-3) UNRELEASED; urgency=medium
* hurd-i386/tg-NOFOLLOW.diff: Rename to hurd-i386/git-NOFOLLOW.diff.
* hurd-i386/tg-NOFOLLOW-DIRECTORY.diff: Rename to
hurd-i386/git-NOFOLLOW-DIRECTORY.diff.
* hurd-i386/tg-WRLCK-upgrade.diff: rename to
hurd-i386/git-WRLCK-upgrade.diff.
* hurd-i386/tg-_dl_random.diff: Rename to hurd-i386/git-_dl_random.diff.
* hurd-i386/tg-exec-static.diff: Rename to hurd-i386/git-exec-static.diff.
* hurd-i386/tg-futimens.diff: Rename to hurd-i386/git-futimens.diff.
* hurd-i386/tg-gai_misc.diff: Rename to hurd-i386/git-gai_misc.diff.
* hurd-i386/tg-grantpt.diff: Rename to hurd-i386/git-grantpt.diff.
* hurd-i386/tg-gscope.diff: Rename to hurd-i386/git-gscope.diff.
* hurd-i386/tg-libpthread-gsync-mutex.diff: Rename to
hurd-i386/git-libpthread-gsync-mutex.diff.
* hurd-i386/tg-libpthread-gsync-spin.diff: Rename to
hurd-i386/git-libpthread-gsync-spin.diff.
* hurd-i386/tg-mlockall.diff: Rename to hurd-i386/git-mlockall.diff.
* hurd-i386/tg-pagesize.diff: Rename to hurd-i386/git-pagesize.diff.
* hurd-i386/tg-reboot-startup.diff: Rename to
hurd-i386/git-reboot-startup.diff.
* hurd-i386/tg-thread-linkspace.diff: Rename to
hurd-i386/git-thread-linkspace.diff.
* hurd-i386/tg-timer_routines.diff: Rename to
hurd-i386/git-timer_routines.diff.
* hurd-i386/tg-tls-threadvar.diff: Rename to
hurd-i386/git-tls-threadvar.diff.
* hurd-i386/tg-tls.diff: Rename to hurd-i386/git-tls.diff.
* hurd-i386/tg-tls_thread_leak.diff: Rename to
hurd-i386/git-tls_thread_leak.diff.
* hurd-i386/tg2.25-tls.diff: Rename to hurd-i386/git2.25-tls.diff.
* hurd-i386/submitted-hurd-abilist.diff: Rename to
hurd-i386/git-hurd-abilist.diff.
* hurd-i386/local-libpthread-stacksize.diff: Rename to
hurd-i386/git-libpthread-stacksize.diff.
-- Samuel Thibault <sthibault@debian.org> Sun, 18 Mar 2018 19:31:42 +0100
glibc (2.27-2) unstable; urgency=medium
[ Samuel Thibault ]
......
From: Samuel Thibault <samuel.thibault@ens-lyon.org>
Subject: [PATCH] hurd: Fix O_DIRECTORY | O_NOFOLLOW
Appending / to the path to be looked up makes us always follow a final
Appending / to the path to be looked up would make us always follow a final
symlink, even with O_NOTRANS (since the final resolution is after the
'/'). In the O_DIRECTORY | O_NOFOLLOW case, we thus have to really open
the node and stat it, which we already do anyway, and check for
......@@ -23,7 +23,7 @@ index dbff009..bd720c2 100644
flags |= O_NOTRANS;
- if (flags & O_DIRECTORY)
+ if (flags & O_DIRECTORY && !(flags & O_NOFOLLOW))
+ if (flags & O_DIRECTORY && (flags & O_NOFOLLOW) == 0)
{
/* The caller wants to require that the file we look up is a directory.
We can do this without an extra RPC by appending a trailing slash
......
......@@ -2,7 +2,7 @@ Subject: [PATCH] t/pagesize
From: Thomas Schwinge <thomas@schwinge.name>
WIP. id:"87mxd9hl2n.fsf@kepler.schwinge.homeip.net"
Fixed another in glibc 2.28
---
elf/dl-support.c | 2 +-
......
https://sourceware.org/ml/libc-alpha/2016-07/msg00175.html
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 1f5f166..beb97e9 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -2600,13 +2600,12 @@ sysmalloc (INTERNAL_SIZE_T nb, mstate av)
{
/*
Skip over some bytes to arrive at an aligned position.
- We don't need to specially mark these wasted front bytes.
- They will never be accessed anyway because
- prev_inuse of av->top (and any chunk created from its start)
- is always true after initialization.
+ We zero them for malloc_set_state to properly find the
+ first chunk.
*/
correction = MALLOC_ALIGNMENT - front_misalign;
+ memset (brk, 0, correction);
aligned_brk += correction;
}
@@ -2661,13 +2660,13 @@ sysmalloc (INTERNAL_SIZE_T nb, mstate av)
{
/*
Skip over some bytes to arrive at an aligned position.
- We don't need to specially mark these wasted front bytes.
- They will never be accessed anyway because
- prev_inuse of av->top (and any chunk created from its start)
- is always true after initialization.
+ We zero them for malloc_set_state to properly find
+ the first chunk.
*/
- aligned_brk += MALLOC_ALIGNMENT - front_misalign;
+ correction = MALLOC_ALIGNMENT - front_misalign;
+ memset (brk, 0, correction);
+ aligned_brk += correction;
}
}
@@ -2682,6 +2681,7 @@ sysmalloc (INTERNAL_SIZE_T nb, mstate av)
if (snd_brk != (char *) (MORECORE_FAILURE))
{
av->top = (mchunkptr) aligned_brk;
+ prev_size(av->top) = 0;
set_head (av->top, (snd_brk - aligned_brk + correction) | PREV_INUSE);
av->system_mem += correction;
......@@ -40,21 +40,21 @@ hppa/local-inlining.diff
hurd-i386/local-enable-ldconfig.diff
hurd-i386/tg-context_functions.diff
hurd-i386/tg-tls.diff
hurd-i386/tg-tls-threadvar.diff
hurd-i386/git-tls.diff
hurd-i386/git-tls-threadvar.diff
hurd-i386/tg-sysvshm.diff
hurd-i386/tg-_dl_random.diff
hurd-i386/git-_dl_random.diff
hurd-i386/tg-thread-cancel.diff
hurd-i386/tg-bigmem.diff
hurd-i386/local-disable-ioctls.diff
hurd-i386/tg-locarchive.diff
hurd-i386/tg-sendmsg-SCM_RIGHTS.diff
hurd-i386/tg-sendmsg-SCM_CREDS.diff
hurd-i386/tg-grantpt.diff
hurd-i386/git-grantpt.diff
hurd-i386/tg-mach-hurd-link.diff
hurd-i386/local-ED.diff
hurd-i386/tg-posix_thread.diff
hurd-i386/tg-gai_misc.diff
hurd-i386/git-gai_misc.diff
hurd-i386/local-madvise_warn.diff
hurd-i386/tg-hurdsig-fixes.diff
hurd-i386/tg-hurdsig-global-dispositions.diff
......@@ -74,7 +74,7 @@ hurd-i386/tg-setitimer.diff
hurd-i386/tg-pie-sbrk.diff
hurd-i386/tg-ifaddrs_v6.diff
hurd-i386/tg-remap_getcwd.diff
hurd-i386/tg-exec-static.diff
hurd-i386/git-exec-static.diff
hurd-i386/tg-EIEIO-fr.diff
hurd-i386/tg-EGREGIOUS-fr.diff
hurd-i386/tg-io_select_timeout.diff
......@@ -85,35 +85,35 @@ hurd-i386/tg-socket_flags.diff
hurd-i386/tg-socketpair_flags.diff
hurd-i386/tg-pipe2.diff
hurd-i386/tg-libc_getspecific.diff
hurd-i386/tg-futimens.diff
hurd-i386/git-futimens.diff
hurd-i386/tg-sigstate_thread_reference.diff
hurd-i386/tg-tls_thread_leak.diff
hurd-i386/git-tls_thread_leak.diff
hurd-i386/submitted-bind_umask2.diff
hurd-i386/local-libpthread-stacksize.diff
hurd-i386/tg-WRLCK-upgrade.diff
hurd-i386/tg-reboot-startup.diff
hurd-i386/git-libpthread-stacksize.diff
hurd-i386/git-WRLCK-upgrade.diff
hurd-i386/git-reboot-startup.diff
hurd-i386/cvs-revert-gnu-gnu-cleanup.diff
hurd-i386/libpthread_pthread_types.diff
hurd-i386/tg-bootstrap.diff
hurd-i386/local-mach_print.diff
hurd-i386/submitted-hurd-abilist.diff
hurd-i386/git-hurd-abilist.diff
#hurd-i386/submitted-anon-mmap-shared.diff
hurd-i386/tg-eintr.diff
hurd-i386/tg-gsync-libc.diff
hurd-i386/tg-pthread_deps.diff
hurd-i386/tg-libpthread-gsync-spin.diff
hurd-i386/git-libpthread-gsync-spin.diff
hurd-i386/tg-ONSTACK.diff
hurd-i386/tg-libpthread-gsync-mutex.diff
hurd-i386/tg-NOFOLLOW.diff
hurd-i386/tg-NOFOLLOW-DIRECTORY.diff
hurd-i386/git-libpthread-gsync-mutex.diff
hurd-i386/git-NOFOLLOW.diff
hurd-i386/git-NOFOLLOW-DIRECTORY.diff
hurd-i386/tg-libc_rwlock_recursive.diff
hurd-i386/tg-magic-pid.diff
hurd-i386/tg-mlockall.diff
hurd-i386/git-mlockall.diff
hurd-i386/local-no_unsupported_ioctls.diff
hurd-i386/tg2.25-tls.diff
hurd-i386/git2.25-tls.diff
hurd-i386/local-nocheck-installed-headers.diff
hurd-i386/git-libpthread-2.26.diff
hurd-i386/tg-thread-linkspace.diff
hurd-i386/git-thread-linkspace.diff
hurd-i386/libpthread_includes.diff
hurd-i386/local-exec_filename.diff
hurd-i386/git-libpthread-trylock.diff
......
hurd-i386/submitted-net.diff
hurd-i386/tg-gscope.diff
hurd-i386/git-gscope.diff
hurd-i386/tg-bits_atomic.h_multiple_threads.diff
hurd-i386/tg-unlockpt-chroot.diff
hurd-i386/local-clock_gettime_MONOTONIC.diff
hurd-i386/submitted-AF_LINK.diff
hurd-i386/unsubmitted-mremap.diff
hurd-i386/tg-verify.h.diff
hurd-i386/tg-pagesize.diff
hurd-i386/git-pagesize.diff
hurd-i386/local-no-bootstrap-fs-access.diff
hurd-i386/tg-timer_routines.diff
hurd-i386/git-timer_routines.diff
hurd-i386/local-versions-hack.diff
hurd-i386/unsubmitted-prof-eintr.diff
#hurd-i386/submitted-malloc-setstate.diff
hurd-i386/tg-glibc-2.24-restore-malloc-hook.diff
hurd-i386/tg2.26-sched_param.diff
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment