glibc/sysdeps/mach/hurd
Pino Toscano 986cab95e0 Hurd: fixes for ptsname and ptsname_r
ptsname_r on failure returns the value that is also set as errno; furthermore,
add more checks to it:
- set errno and return it on __term_get_peername failure
- set errno to ERANGE other than returning it
- change the type of PEERNAME to string_t, and check its length with __strnlen

In ptsname:
- change the type of PEERNAME to string_t
- do not set errno manually, since ptsname_r has set it already
2012-11-20 00:49:11 +01:00
..
bits [BZ #3665] Regenerate sysdeps/mach/hurd/bits/errno.h. 2012-11-04 22:15:29 +01:00
i386 [BZ #5246] Conditionalize use of PTR_DEMANGLE. 2012-11-04 21:46:30 +01:00
net Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
_exit.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
accept4.c [BZ #13673] Replace FSF snail mail address with URL. 2012-05-11 17:39:57 +08:00
accept.c Hurd: accept4 2012-05-10 15:57:22 -07:00
access.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
adjtime.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
bind.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
brk.c Hurd: Fix sbrk beyond 128MB 2012-05-10 15:57:27 -07:00
chdir.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
check_fds.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
chflags.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
chmod.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
chown.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
chroot.c Hurd: empty file names fail with ENOENT 2012-05-10 15:57:26 -07:00
clock.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
close.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
closedir.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
configure Add missing magic to GLIBC_PROVIDES. 2012-10-09 15:41:30 -07:00
configure.in Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO. 2012-08-17 09:35:15 -07:00
connect.c Remove use of INTDEF/INTUSE in socket 2012-05-31 00:34:41 +02:00
cthreads.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
device-nrs.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dirfd.c Hurd: Missing critical region locks. 2012-05-10 15:57:23 -07:00
dirstream.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-execstack.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-sysdep.c Move _dl_important_hwcaps to dl-hwcaps.c 2012-10-05 10:26:29 -07:00
dl-sysdep.h Hurd: Fix value of __libc_stack_end 2012-05-10 15:57:24 -07:00
dup2.c Hurd: dup3 2012-05-10 15:57:23 -07:00
dup3.c [BZ #13673] Replace FSF snail mail address with URL. 2012-05-11 17:39:57 +08:00
eloop-threshold.h Distinguish ELOOP diagnosis threshold from SYMLOOP_MAX. 2012-08-03 11:39:30 -07:00
enbl-secure.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
err_hurd.sub
errlist.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
errno-loc.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
errno.c
errnos.awk Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
euidaccess.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
execve.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
faccessat.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fchdir.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fchflags.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fchmod.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fchmodat.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fchown.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fchownat.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fcntl.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fdatasync.c Hurd: fix fdatasync/fsync if the fd does not support file_sync 2012-10-29 19:35:56 +01:00
fdopendir.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fexecve.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fgetxattr.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
flistxattr.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
flock.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fork.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fpathconf.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fremovexattr.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fsetxattr.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fstatfs64.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fstatfs.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fstatvfs64.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fstatvfs.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fsync.c Hurd: fix fdatasync/fsync if the fd does not support file_sync 2012-10-29 19:35:56 +01:00
ftruncate.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
futimes.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fxstat64.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fxstat.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fxstatat64.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
fxstatat.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getclktck.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getcwd.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getdents.c
getdomain.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getdtsz.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getegid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
geteuid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getgid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getgroups.c Hurd: compliance fixes for getgroups 2012-07-21 00:06:33 +02:00
gethostid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
gethostname.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getitimer.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getlogin_r.c Hurd: compliance fixes for getlogin_r 2012-07-21 00:16:11 +02:00
getlogin.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getpeername.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getpgid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getpid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getppid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getpriority.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getresgid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getresuid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getrlimit.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getrusage.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getsid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getsockname.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getsockopt.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getuid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
getxattr.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
group_member.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
if_index.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
ifreq.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
ifreq.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
Implies
init-posix.c
ioctl.c Hurd: ioctl() incorrectly decodes argument 2012-05-10 15:57:23 -07:00
isatty.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
jmp-unwind.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
kernel-features.h Hurd: dup3 2012-05-10 15:57:23 -07:00
kill.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
lchmod.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
lchown.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
lgetxattr.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
libc_p-ldscript
libc-ldscript
link.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
linkat.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
listen.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
listxattr.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
llistxattr.c Hurd: provide llistxattr 2012-07-21 00:00:20 +02:00
lremovexattr.c Hurd: provide lremovexattr 2012-07-21 00:01:57 +02:00
lseek64.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
lseek.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
lsetxattr.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
lutimes.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
lxstat64.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
lxstat.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
Makeconfig Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO. 2012-08-17 09:35:15 -07:00
Makefile Fix build of test cases on GNU Hurd that are statically linked. 2012-11-01 21:24:45 +01:00
malloc-machine.h Name space hygeine for madvise. 2012-10-04 16:31:43 -07:00
mig-reply.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
mkdir.c Hurd: Fix mkdir / error value 2012-05-10 15:57:25 -07:00
mkdirat.c Hurd: Fix mkdir / error value 2012-05-10 15:57:25 -07:00
mlock.c Hurd: Fix mlock in all cases except non-readable pages. 2012-05-10 15:57:25 -07:00
mmap.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
munlock.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
open64.c * sysdeps/mach/hurd/faccessat.c: New file. 2006-03-06 07:59:23 +00:00
open.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
openat64.c * sysdeps/mach/hurd/faccessat.c: New file. 2006-03-06 07:59:23 +00:00
openat.c Hurd: fix mode type for openat 2012-05-10 15:57:29 -07:00
opendir.c Hurd: opendirat 2012-05-10 15:57:26 -07:00
pathconf.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
pipe.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
poll.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
ppoll.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
pread64.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
pread.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
prof-freq.c
profil.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
pselect.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
ptrace.c Hurd: ptrace: use __hurd_fail for EOPNOTSUPP 2012-10-25 18:47:38 +02:00
ptsname.c Hurd: fixes for ptsname and ptsname_r 2012-11-20 00:49:11 +01:00
pwrite64.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
pwrite.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
read.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
readdir64_r.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
readdir64.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
readdir_r.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
readdir.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
readlink.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
readlinkat.c [BZ #13673] Replace FSF snail mail address with URL. 2012-05-11 17:39:57 +08:00
reboot.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
recv.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
recvfrom.c Hurd: recvfrom(): take into account null address ports 2012-05-10 15:57:27 -07:00
recvmsg.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
removexattr.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
rename.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
renameat.c Hurd: implement renameat 2012-07-31 19:59:03 +02:00
revoke.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
rewinddir.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
rmdir.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
sbrk.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
seekdir.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
select.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
send.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
sendfile64.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
sendfile.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
sendmsg.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
sendto.c Hurd: sendto: do not crash when ADDR is null 2012-07-20 23:56:58 +02:00
setdomain.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
setegid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
seteuid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
setgid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
setgroups.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
sethostid.c Move stdio-common/_itoa.h to sysdeps/generic 2012-03-20 16:00:23 -07:00
sethostname.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
setitimer.c Hurd: setitimer.c: Fix unlock in error patch 2012-05-10 15:57:24 -07:00
setlogin.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
setpgid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
setpriority.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
setregid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
setresgid.c Hurd: Fix setres[ug]id handling of -1 2012-05-10 15:57:27 -07:00
setresuid.c Hurd: Fix setres[ug]id handling of -1 2012-05-10 15:57:27 -07:00
setreuid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
setrlimit.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
setsid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
setsockopt.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
settimeofday.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
setuid.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
setxattr.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
shutdown.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
sigaction.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
sigaltstack.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
siglist.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
sigpending.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
sigprocmask.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
sigstack.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
sigsuspend.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
sigwait.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
socket.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
socketpair.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
spawni.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
statfs64.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
statfs.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
statfsconv.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
statvfs64.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
statvfs.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
Subdirs * sysdeps/mach/hurd/Subdirs: Use "first hurd". 2006-03-01 08:52:13 +00:00
symlink.c Hurd: fix symlink/symlinkat error case not to do an extraneous __mach_port_deallocate. 2012-04-24 13:13:16 -07:00
symlinkat.c Hurd: fix symlink/symlinkat error case not to do an extraneous __mach_port_deallocate. 2012-04-24 13:13:16 -07:00
sync.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
syncfs.c Hurd: implement syncfs 2012-11-19 19:34:07 +01:00
sysconf.c Distinguish ELOOP diagnosis threshold from SYMLOOP_MAX. 2012-08-03 11:39:30 -07:00
telldir.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
times.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tls.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tmpfile64.c
tmpfile.c Rename __secure_getenv to secure_getenv 2012-07-25 19:46:22 +02:00
truncate.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
ttyname_r.c [BZ #12340] Fix return code of the Hurd's ttyname_r. 2012-04-05 00:35:19 +02:00
ttyname.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
umask.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
uname.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
unlink.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
unlinkat.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
utimes.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
Versions
wait4.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
write.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
xmknod.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
xmknodat.c Hurd: Fix port deallocation on mknod error. 2012-05-10 15:57:28 -07:00
xstat64.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
xstat.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
xstatconv.c Hurd: struct timespec members in struct stat 2012-05-10 15:57:28 -07:00