glibc/sysdeps/mach/hurd
Roland McGrath 221dc560bb * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code
so the label is not considered unused.

	* sysdeps/mach/hurd/pwrite64.c: New file.
	* sysdeps/mach/hurd/pread64.c: New file.

	* sysdeps/mach/hurd/pread.c
	(__libc_pread): Define this name, with __pread as an alias.
	* sysdeps/mach/hurd/pwrite.c
	(__libc_pwrite): Define this name, with __pwrite as an alias.

	Implement POSIX "shared memory objects" as regular
	files residing in the /var/run/shm/ directory.
	This works on any system that supports _POSIX_MAPPED_FILES,
	to make it also support _POSIX_SHARED_MEMORY_OBJECTS.
	* sysdeps/posix/shm_open.c: New file.
	* sysdeps/posix/shm_unlink.c: New file.
	* sysdeps/mach/hurd/bits/posix_opt.h
	(_POSIX_SHARED_MEMORY_OBJECTS): Define it.

	* rt/aio_notify.c (__aio_notify_only) [! _POSIX_REALTIME_SIGNALS]:
	Use raise instead of __aio_sigqueue.
2001-06-14 05:32:26 +00:00
..
alpha Update. 1998-08-08 20:02:34 +00:00
bits * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code 2001-06-14 05:32:26 +00:00
hppa Update. 1998-08-08 20:02:34 +00:00
i386 * csu/Makefile ($(objpfx)g$(start-installed-name)): Turn this into a 2001-05-14 23:32:39 +00:00
mips Update. 2000-04-04 06:03:48 +00:00
net * sysdeps/mach/hurd/if_index.c: New file. 2000-03-24 20:59:00 +00:00
nfs 1999-11-14 Roland McGrath <roland@baalperazim.frob.com> 1999-12-02 19:50:42 +00:00
sys Update. 1999-06-08 21:20:07 +00:00
_exit.c Update. 1999-02-07 12:50:11 +00:00
.cvsignore
accept.c 1999-02-28 Mark Kettenis <kettenis@gnu.org> 1999-02-28 13:01:23 +00:00
access.c Update. 1997-06-23 21:55:26 +00:00
adjtime.c * hurd/privports.c (__get_privileged_ports): Renamed with __. 2001-04-19 22:53:58 +00:00
bind.c 1998-08-12 Roland McGrath <roland@baalperazim.frob.com> 1998-08-11 21:52:02 +00:00
brk.c * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When shrinking the program's data space, reallocate only the space that was just deallocated to release its backing space. 2000-07-23 21:18:46 +00:00
chdir.c 1999-02-27 Roland McGrath <roland@baalperazim.frob.com> 1999-02-27 20:06:34 +00:00
check_fds.c * sysdeps/mach/hurd/check_fds.c: New file. Implements file descriptor checking in SUID programs for the Hurd. 2000-07-10 21:08:06 +00:00
chflags.c 1998-08-12 Roland McGrath <roland@baalperazim.frob.com> 1998-08-11 21:52:02 +00:00
chmod.c Update. 1997-05-26 23:01:17 +00:00
chown.c Update. 1997-05-26 23:01:17 +00:00
chroot.c * sysdeps/mach/hurd/chroot.c (chroot): Revert 1999-02-27 changes, but change looking up the initial directory port in a similar way as done by _hurd_change_directory_port_from_name. * hurd/fchroot.c (fchroot): Likewise. 2001-01-19 09:37:23 +00:00
close.c Update. 1997-05-26 23:01:17 +00:00
closedir.c Update. 1997-06-23 21:55:26 +00:00
configure Regenerated: autoconf sysdeps/mach/hurd/configure.in 2001-03-12 02:39:35 +00:00
configure.in * sysdeps/mach/hurd/configure.in: Add a sanity check on $prefix. 2001-03-12 02:41:31 +00:00
connect.c Updated. 1997-06-26 22:23:01 +00:00
cthreads.c Update. 1997-09-30 17:10:40 +00:00
defs.c 2000-11-30 Roland McGrath <roland@frob.com> 2000-11-30 23:29:35 +00:00
dirfd.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
dirstream.h Update. 1997-06-23 21:55:26 +00:00
Dist * sysdeps/mach/hurd/fstatfs64.c: New file. * sysdeps/mach/hurd/fstatvfs64.c: New file. * sysdeps/mach/hurd/statfs64.c: New file. * sysdeps/mach/hurd/statvfs64.c: New file. * sysdeps/mach/hurd/statfsconv.c: New file. * sysdeps/mach/hurd/Dist: Add statfsconv.c. 2001-01-07 00:13:43 +00:00
dl-cache.c Update. 1998-09-16 17:54:34 +00:00
dl-sysdep.c Update. 2001-04-10 23:12:08 +00:00
dup2.c Update. 1997-05-26 23:01:17 +00:00
enbl-secure.c 1998-10-19 Roland McGrath <roland@baalperazim.frob.com> 1998-10-18 21:22:08 +00:00
err_hurd.sub Update. 1998-06-02 12:58:14 +00:00
errlist.c Update. 1998-06-02 12:58:14 +00:00
errnos.awk 2000-01-05 Roland McGrath <roland@baalperazim.frob.com> 2000-01-22 18:10:43 +00:00
euidaccess.c Update. 1997-06-23 21:55:26 +00:00
execve.c Update. 1997-05-26 23:01:17 +00:00
fchdir.c 1999-02-27 Roland McGrath <roland@baalperazim.frob.com> 1999-02-27 20:06:34 +00:00
fchflags.c 1998-08-12 Roland McGrath <roland@baalperazim.frob.com> 1998-08-11 21:52:02 +00:00
fchmod.c Update. 1997-05-26 23:01:17 +00:00
fchown.c Update. 1997-05-26 23:01:17 +00:00
fcntl.c Update. 2000-01-24 02:22:13 +00:00
fdatasync.c Update. 1997-06-23 21:55:26 +00:00
fdopen.c Update. 2000-05-23 08:43:26 +00:00
fexecve.c Update. 1997-06-23 21:55:26 +00:00
flock.c Update. 1997-05-26 23:01:17 +00:00
fork.c * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code 2001-06-14 05:32:26 +00:00
fpathconf.c Update. 1997-06-23 21:55:26 +00:00
fstatfs64.c * sysdeps/mach/hurd/fstatfs64.c: New file. * sysdeps/mach/hurd/fstatvfs64.c: New file. * sysdeps/mach/hurd/statfs64.c: New file. * sysdeps/mach/hurd/statvfs64.c: New file. * sysdeps/mach/hurd/statfsconv.c: New file. * sysdeps/mach/hurd/Dist: Add statfsconv.c. 2001-01-07 00:13:43 +00:00
fstatfs.c Update. 1997-06-23 21:55:26 +00:00
fstatvfs64.c * sysdeps/mach/hurd/fstatfs64.c: New file. * sysdeps/mach/hurd/fstatvfs64.c: New file. * sysdeps/mach/hurd/statfs64.c: New file. * sysdeps/mach/hurd/statvfs64.c: New file. * sysdeps/mach/hurd/statfsconv.c: New file. * sysdeps/mach/hurd/Dist: Add statfsconv.c. 2001-01-07 00:13:43 +00:00
fstatvfs.c * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about struct statfs' and struct statvfs' being identical. * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise. 2001-01-07 00:18:58 +00:00
fsync.c Update. 1997-05-26 23:01:17 +00:00
ftruncate.c Update. 1998-06-22 17:08:51 +00:00
fxstat64.c * sysdeps/mach/hurd/xstatconv.c: New file. * sysdeps/mach/hurd/fxstat64.c: New file. * sysdeps/mach/hurd/lxstat64.c: New file. * sysdeps/mach/hurd/xstat64.c: New file. * sysdeps/mach/hurd/Dist: Add xstatconv.c. 2000-08-15 18:47:06 +00:00
fxstat.c Update. 1997-06-23 21:55:26 +00:00
getclktck.c * sysdeps/mach/hurd/Versions [libc] (GLIBC_2.1.1): Remove __libc_clk_tck. * sysdeps/mach/hurd/Makefile [$(subdir)==posix] (sysdep_routines): Remove clk_tck. * sysdeps/mach/hurd/clk_tck.c: Removed. * sysdeps/mach/hurd/getclktck.c: New file. * sysdeps/mach/hurd/setitimer.c (quantize_timeval): Use __getclktck instead of __libc_clk_tck. * sysdeps/mach/hurd/bits/time.h: Use __sysconf for CLK_TCK instead of __libc_clk_tck. * sysdeps/mach/hurd/i386/bits/time.h: Likewise. 2000-11-04 21:26:25 +00:00
getcwd.c 1998-07-25 19:47 Jose M. Moya <josem@gnu.org> 1998-08-11 21:40:52 +00:00
getdents.c 1999-04-28 Roland McGrath <roland@baalperazim.frob.com> 1999-04-28 12:03:33 +00:00
getdomain.c 1998-08-12 Roland McGrath <roland@baalperazim.frob.com> 1998-08-11 21:52:02 +00:00
getdtsz.c * hurd/hurdrlimit.c (init_rlimit): Give the RLIMIT_NOFILE soft limit 2000-03-26 19:17:23 +00:00
getegid.c Update. 1997-05-26 23:01:17 +00:00
geteuid.c Update. 1997-05-26 23:01:17 +00:00
getgid.c Update. 1997-05-26 23:01:17 +00:00
getgroups.c Update. 1997-05-26 23:01:17 +00:00
gethostid.c Update. 1997-05-26 23:01:17 +00:00
gethostname.c Update. 2001-03-17 08:29:27 +00:00
getitimer.c Update. 1997-05-26 23:01:17 +00:00
getlogin_r.c Update from main archive 961219 1996-12-20 01:39:50 +00:00
getlogin.c Update. 1997-05-26 23:01:17 +00:00
getpeername.c * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from getpeername. Use ISO C style function definition. (getpeername): Provide weak alias. * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from setrlimit. Use ISO C style function definition. (setrlimit): Provide weak alias. 2000-08-28 14:05:55 +00:00
getpgid.c Update. 1997-05-26 23:01:17 +00:00
getpid.c Update. 1997-05-26 23:01:17 +00:00
getppid.c Update. 1997-05-26 23:01:17 +00:00
getpriority.c Update. 2000-02-28 05:08:01 +00:00
getrlimit.c * sysdeps/mach/hurd/setrlimit.c (setrlimit): Go into a critical 2000-03-25 20:20:44 +00:00
getrusage.c 1999-03-26 Mark Kettenis <kettenis@gnu.org> 1999-04-05 20:34:53 +00:00
getsid.c Update. 1997-06-23 21:55:26 +00:00
getsockname.c 1999-02-28 Mark Kettenis <kettenis@gnu.org> 1999-02-28 13:01:23 +00:00
getsockopt.c 2001-06-06 Roland McGrath <roland@frob.com> 2001-06-07 03:35:22 +00:00
getuid.c Update. 1997-05-26 23:01:17 +00:00
group_member.c Update. 1997-06-23 21:55:26 +00:00
if_index.c (__protocol_available): Uncomment, it's not needed at the moment. 2000-12-27 08:14:22 +00:00
Implies
ioctl.c 2000-12-28 Roland McGrath <roland@frob.com> 2000-12-28 20:44:11 +00:00
isatty.c Update. 1997-05-26 23:01:17 +00:00
jmp-unwind.c Update. 1997-06-21 02:59:26 +00:00
kill.c Update. 1997-06-23 21:55:26 +00:00
lchown.c Update. 1997-06-23 21:55:26 +00:00
libc_p-ldscript update from main archive 961203 1996-12-04 01:41:39 +00:00
libc-ldscript update from main archive 961203 1996-12-04 01:41:39 +00:00
link.c Update. 1997-05-26 23:01:17 +00:00
listen.c Update. 2001-01-27 21:26:25 +00:00
lseek64.c * sysdeps/mach/hurd/lseek64.c: New file. 2000-08-16 00:19:33 +00:00
lseek.c Update. 2000-01-24 02:22:13 +00:00
lxstat64.c * sysdeps/mach/hurd/xstatconv.c: New file. * sysdeps/mach/hurd/fxstat64.c: New file. * sysdeps/mach/hurd/lxstat64.c: New file. * sysdeps/mach/hurd/xstat64.c: New file. * sysdeps/mach/hurd/Dist: Add xstatconv.c. 2000-08-15 18:47:06 +00:00
lxstat.c Update. 1997-06-23 21:55:26 +00:00
Makefile 2001-05-11 Roland McGrath <roland@frob.com> 2001-05-11 08:09:48 +00:00
mig-reply.c Update. 1997-06-23 21:55:26 +00:00
mkdir.c Update. 1997-05-26 23:01:17 +00:00
mlock.c * sysdeps/mach/hurd/mlock.c: New file. 2001-04-19 23:25:40 +00:00
mmap.c 1999-07-20 Mark Kettenis <kettenis@gnu.org> 1999-07-20 21:07:23 +00:00
munlock.c * sysdeps/mach/hurd/mlock.c: New file. 2001-04-19 23:25:40 +00:00
open.c Update. 2000-01-24 02:22:13 +00:00
opendir.c * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append 2001-04-01 05:04:31 +00:00
pathconf.c Update. 1997-06-23 21:55:26 +00:00
pipe.c * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from socketpair. Made socketpair a weak alias. * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using __socketpair. Use S_IFIFO protocol to make pipes POSIX conforming, but fall back on the old protocol if the socket server doesn't support it. * include/sys/socket.h: Add prototype for __socketpair. 2000-08-09 21:05:45 +00:00
pipestream.c
poll.c Update. 2001-01-27 05:01:26 +00:00
pread64.c * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code 2001-06-14 05:32:26 +00:00
pread.c * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code 2001-06-14 05:32:26 +00:00
prof-freq.c
profil.c Update. 2000-12-31 19:13:04 +00:00
pselect.c 1998-12-05 Roland McGrath <roland@baalperazim.frob.com> 1998-12-06 00:44:12 +00:00
ptrace.c Update. 1997-06-23 21:55:26 +00:00
ptsname.c 1999-03-19 Roland McGrath <roland@baalperazim.frob.com> 1999-03-19 15:32:17 +00:00
pwrite64.c * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code 2001-06-14 05:32:26 +00:00
pwrite.c * sysdeps/mach/hurd/fork.c (LOSE): Put `goto lose' in dead code 2001-06-14 05:32:26 +00:00
read.c 1999-07-16 Roland McGrath <roland@baalperazim.frob.com> 1999-07-20 22:56:39 +00:00
readdir64_r.c * sysdeps/mach/hurd/readdir64.c: New file. * sysdeps/mach/hurd/readdir64_r.c: New file. 2001-01-07 00:25:46 +00:00
readdir64.c * sysdeps/mach/hurd/readdir64.c: New file. * sysdeps/mach/hurd/readdir64_r.c: New file. 2001-01-07 00:25:46 +00:00
readdir_r.c * sysdeps/mach/hurd/readdir_r.c (__readdir_r): Return error number instead of -1 on failure. Don't forget to copy file name into *ENTRY if successful. Set *RESULT to NULL upon reaching the end of the directory. 2001-01-06 12:31:35 +00:00
readdir.c Update. 1997-06-23 21:55:26 +00:00
readlink.c Update. 1997-05-26 23:01:17 +00:00
reboot.c * hurd/privports.c (__get_privileged_ports): Renamed with __. 2001-04-19 22:53:58 +00:00
recv.c send returns ssize_t. 2001-04-24 13:36:50 +00:00
recvfrom.c send returns ssize_t. 2001-04-24 13:36:50 +00:00
rename.c * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to 1999-11-13 23:52:38 +00:00
revoke.c 1999-02-16 Roland McGrath <roland@baalperazim.frob.com> 1999-02-16 19:10:02 +00:00
rewinddir.c Update. 1997-05-26 23:01:17 +00:00
rmdir.c * Versions.def (libc): Move GLIBC_2.2 dependency from GLIBC_2.1.1 to 1999-11-13 23:52:38 +00:00
sbrk.c Update. 2000-02-28 05:08:01 +00:00
seekdir.c Update. 1999-08-18 18:44:33 +00:00
select.c 1998-12-05 Roland McGrath <roland@baalperazim.frob.com> 1998-12-06 00:44:12 +00:00
send.c send returns ssize_t. 2001-04-24 13:36:50 +00:00
sendto.c send returns ssize_t. 2001-04-24 13:36:50 +00:00
setdomain.c Update. 1998-07-21 10:36:59 +00:00
setegid.c Update. 1997-05-26 23:01:17 +00:00
seteuid.c Update. 1997-05-26 23:01:17 +00:00
setgid.c Update. 1997-05-26 23:01:17 +00:00
setgroups.c Update. 1997-05-26 23:01:17 +00:00
sethostid.c Update. 1997-05-26 23:01:17 +00:00
sethostname.c Update. 1997-05-26 23:01:17 +00:00
setitimer.c * sysdeps/mach/hurd/setitimer.c: Include <time.h>. 2001-02-10 17:10:18 +00:00
setlogin.c Update. 1997-05-26 23:01:17 +00:00
setpgid.c Update. 1997-05-26 23:01:17 +00:00
setpriority.c Update. 2000-02-28 05:08:01 +00:00
setregid.c Update. 1997-05-26 23:01:17 +00:00
setreuid.c Update. 1997-05-26 23:01:17 +00:00
setrlimit.c * sysdeps/mach/hurd/getpeername.c (__getpeername): Renamed from getpeername. Use ISO C style function definition. (getpeername): Provide weak alias. * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Renamed from setrlimit. Use ISO C style function definition. (setrlimit): Provide weak alias. 2000-08-28 14:05:55 +00:00
setsid.c 1999-11-18 Roland McGrath <roland@baalperazim.frob.com> 1999-12-03 05:01:23 +00:00
setsockopt.c Update. 1998-03-24 10:25:31 +00:00
settimeofday.c * hurd/privports.c (__get_privileged_ports): Renamed with __. 2001-04-19 22:53:58 +00:00
setuid.c Update. 1997-05-26 23:01:17 +00:00
shutdown.c Update. 1997-05-26 23:01:17 +00:00
sigaction.c Update. 1997-05-26 23:01:17 +00:00
sigaltstack.c Update. 1998-08-08 20:02:34 +00:00
siglist.h * sysdeps/mach/hurd/siglist.h: Use #include_next. 1999-06-19 12:43:27 +00:00
sigpending.c Update. 1997-05-26 23:01:17 +00:00
sigprocmask.c Update. 1997-05-26 23:01:17 +00:00
sigstack.c * sysdeps/mach/hurd/sigstack.c (sigstack): Remove `const' from 2000-03-09 22:44:39 +00:00
sigsuspend.c Update. 1998-07-20 17:25:48 +00:00
sigwait.c *** empty log message *** 1997-01-17 19:27:54 +00:00
socket.c Update. 1998-06-02 12:58:14 +00:00
socketpair.c * sysdeps/mach/hurd/socketpair.c (__socketpair): Renamed from socketpair. Made socketpair a weak alias. * sysdeps/mach/hurd/pipe.c (__pipe): Reimplemented using __socketpair. Use S_IFIFO protocol to make pipes POSIX conforming, but fall back on the old protocol if the socket server doesn't support it. * include/sys/socket.h: Add prototype for __socketpair. 2000-08-09 21:05:45 +00:00
statfs64.c * sysdeps/mach/hurd/fstatfs64.c: New file. * sysdeps/mach/hurd/fstatvfs64.c: New file. * sysdeps/mach/hurd/statfs64.c: New file. * sysdeps/mach/hurd/statvfs64.c: New file. * sysdeps/mach/hurd/statfsconv.c: New file. * sysdeps/mach/hurd/Dist: Add statfsconv.c. 2001-01-07 00:13:43 +00:00
statfs.c Update. 1997-06-23 21:55:26 +00:00
statfsconv.c * sysdeps/mach/hurd/fstatfs64.c: New file. * sysdeps/mach/hurd/fstatvfs64.c: New file. * sysdeps/mach/hurd/statfs64.c: New file. * sysdeps/mach/hurd/statvfs64.c: New file. * sysdeps/mach/hurd/statfsconv.c: New file. * sysdeps/mach/hurd/Dist: Add statfsconv.c. 2001-01-07 00:13:43 +00:00
statvfs64.c * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about struct statfs' and struct statvfs' being identical. * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise. 2001-01-07 00:18:58 +00:00
statvfs.c * sysdeps/mach/hurd/fstatvfs.c (fstatvfs): Add comment about struct statfs' and struct statvfs' being identical. * sysdeps/mach/hurd/statvfs.c (statvfs): Likewise. 2001-01-07 00:18:58 +00:00
stdio_init.c 1998-08-12 Roland McGrath <roland@baalperazim.frob.com> 1998-08-11 21:52:02 +00:00
Subdirs Update. 1998-04-20 18:41:05 +00:00
symlink.c Update. 1997-05-26 23:01:17 +00:00
sync.c Update. 2001-01-25 09:33:04 +00:00
sysd-stdio.c * sysdeps/mach/hurd/Makefile ($(link-rpcuserlibs)): Don't append 2001-04-01 05:04:31 +00:00
telldir.c Update. 1999-08-18 00:34:47 +00:00
truncate.c Update. 1998-06-22 17:08:51 +00:00
ttyname_r.c 1998-08-12 Roland McGrath <roland@baalperazim.frob.com> 1998-08-11 21:52:02 +00:00
ttyname.c Update. 1997-06-23 21:55:26 +00:00
umask.c Update. 1997-05-26 23:01:17 +00:00
uname.c Update. 2000-09-09 07:59:23 +00:00
unlink.c Update. 1997-05-26 23:01:17 +00:00
utimes.c Update. 2000-02-28 05:08:01 +00:00
vdprintf.c update from main archive 970124 1997-01-25 02:36:37 +00:00
Versions * sysdeps/mach/hurd/Versions [libc] (GLIBC_2.1.1): Remove __libc_clk_tck. * sysdeps/mach/hurd/Makefile [$(subdir)==posix] (sysdep_routines): Remove clk_tck. * sysdeps/mach/hurd/clk_tck.c: Removed. * sysdeps/mach/hurd/getclktck.c: New file. * sysdeps/mach/hurd/setitimer.c (quantize_timeval): Use __getclktck instead of __libc_clk_tck. * sysdeps/mach/hurd/bits/time.h: Use __sysconf for CLK_TCK instead of __libc_clk_tck. * sysdeps/mach/hurd/i386/bits/time.h: Likewise. 2000-11-04 21:26:25 +00:00
wait4.c 1999-09-18 Roland McGrath <roland@baalperazim.frob.com> 1999-09-19 20:46:22 +00:00
write.c 1999-07-16 Roland McGrath <roland@baalperazim.frob.com> 1999-07-20 22:56:39 +00:00
xmknod.c Update. 1999-01-21 14:52:39 +00:00
xstat64.c * sysdeps/mach/hurd/xstatconv.c: New file. * sysdeps/mach/hurd/fxstat64.c: New file. * sysdeps/mach/hurd/lxstat64.c: New file. * sysdeps/mach/hurd/xstat64.c: New file. * sysdeps/mach/hurd/Dist: Add xstatconv.c. 2000-08-15 18:47:06 +00:00
xstat.c Update. 1997-06-23 21:55:26 +00:00
xstatconv.c * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Don't forget to copy st_atime member. 2001-01-06 01:52:03 +00:00