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
_exit.c
accept4.c
accept.c
access.c
adjtime.c
bind.c
brk.c
chdir.c
check_fds.c
chflags.c
chmod.c
chown.c
chroot.c
clock.c
close.c
closedir.c
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
cthreads.c
device-nrs.h
dirfd.c
dirstream.h
dl-execstack.c
dl-sysdep.c Move _dl_important_hwcaps to dl-hwcaps.c 2012-10-05 10:26:29 -07:00
dl-sysdep.h
dup2.c
dup3.c
eloop-threshold.h Distinguish ELOOP diagnosis threshold from SYMLOOP_MAX. 2012-08-03 11:39:30 -07:00
enbl-secure.c
err_hurd.sub
errlist.c
errno-loc.c
errno.c
errnos.awk
euidaccess.c
execve.c
faccessat.c
fchdir.c
fchflags.c
fchmod.c
fchmodat.c
fchown.c
fchownat.c
fcntl.c
fdatasync.c Hurd: fix fdatasync/fsync if the fd does not support file_sync 2012-10-29 19:35:56 +01:00
fdopendir.c
fexecve.c
fgetxattr.c
flistxattr.c
flock.c
fork.c
fpathconf.c
fremovexattr.c
fsetxattr.c
fstatfs64.c
fstatfs.c
fstatvfs64.c
fstatvfs.c
fsync.c Hurd: fix fdatasync/fsync if the fd does not support file_sync 2012-10-29 19:35:56 +01:00
ftruncate.c
futimes.c
fxstat64.c
fxstat.c
fxstatat64.c
fxstatat.c
getclktck.c
getcwd.c
getdents.c
getdomain.c
getdtsz.c
getegid.c
geteuid.c
getgid.c
getgroups.c Hurd: compliance fixes for getgroups 2012-07-21 00:06:33 +02:00
gethostid.c
gethostname.c
getitimer.c
getlogin_r.c Hurd: compliance fixes for getlogin_r 2012-07-21 00:16:11 +02:00
getlogin.c
getpeername.c
getpgid.c
getpid.c
getppid.c
getpriority.c
getresgid.c
getresuid.c
getrlimit.c
getrusage.c
getsid.c
getsockname.c
getsockopt.c
getuid.c
getxattr.c
group_member.c
if_index.c
ifreq.c
ifreq.h
Implies
init-posix.c
ioctl.c
isatty.c
jmp-unwind.c
kernel-features.h
kill.c
lchmod.c
lchown.c
lgetxattr.c
libc_p-ldscript
libc-ldscript
link.c
linkat.c
listen.c
listxattr.c
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
lseek.c
lsetxattr.c
lutimes.c
lxstat64.c
lxstat.c
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
mkdir.c
mkdirat.c
mlock.c
mmap.c
munlock.c
open64.c
open.c
openat64.c
openat.c
opendir.c
pathconf.c
pipe.c
poll.c
ppoll.c
pread64.c
pread.c
prof-freq.c
profil.c
pselect.c
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
pwrite.c
read.c
readdir64_r.c
readdir64.c
readdir_r.c
readdir.c
readlink.c
readlinkat.c
reboot.c
recv.c
recvfrom.c
recvmsg.c
removexattr.c
rename.c
renameat.c Hurd: implement renameat 2012-07-31 19:59:03 +02:00
revoke.c
rewinddir.c
rmdir.c
sbrk.c
seekdir.c
select.c
send.c
sendfile64.c
sendfile.c
sendmsg.c
sendto.c
setdomain.c
setegid.c
seteuid.c
setgid.c
setgroups.c
sethostid.c
sethostname.c
setitimer.c
setlogin.c
setpgid.c
setpriority.c
setregid.c
setresgid.c
setresuid.c
setreuid.c
setrlimit.c
setsid.c
setsockopt.c
settimeofday.c
setuid.c
setxattr.c
shutdown.c
sigaction.c
sigaltstack.c
siglist.h
sigpending.c
sigprocmask.c
sigstack.c
sigsuspend.c
sigwait.c
socket.c
socketpair.c
spawni.c
statfs64.c
statfs.c
statfsconv.c
statvfs64.c
statvfs.c
Subdirs
symlink.c
symlinkat.c
sync.c
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
times.c
tls.h
tmpfile64.c
tmpfile.c Rename __secure_getenv to secure_getenv 2012-07-25 19:46:22 +02:00
truncate.c
ttyname_r.c
ttyname.c
umask.c
uname.c
unlink.c
unlinkat.c
utimes.c
Versions
wait4.c
write.c
xmknod.c
xmknodat.c
xstat64.c
xstat.c
xstatconv.c