
1: Sun Jun 5 14:34:12 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) 2: 3: * Version 1.08.1. 4: 5: * sysdeps/mach/hurd/ioctls.h (_IOR, _IOW): Swap IOC_IN and IOC_OUT. 6: 7: * sysdeps/mach/hurd/__ioctl.c: Only pack input for ioctls that 8: take input. Compute expected reply size for ioctls that take 9: output and check it properly. 10: 11: Sat Jun 4 00:35:42 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) 12: 13: * sysdeps/mach/hurd/ioctls.h (union __ioctl): Type removed. 14: (enum __ioctl_datum): Name this enum. 15: (_IOC_INOUT, _IOC_GROUP, _IOC_COMMAND, _IOC_TYPE): New macros. 16: (_IOT_TYPE[012], _IOT_COUNT[012]): New macros. 17: * sysdeps/mach/hurd/__ioctl.c: Use those macros instead of the union. 18: 19: * sysdeps/mach/hurd/__fork.c: Major rewrite. Copy all ports 20: present in the task, not just library-maintained ones. Handle 21: sigstate and signal thread setup explicitly here. 22: * hurd/hurdsig.c (hurdsig_fork, hurdsig_fork_child): Functions 23: removed. 24: 25: * hurd/hurdpid.c (init_pids): Don't put this on _hurd_fork_child_hook. 26: 27: * sysdeps/mach/hurd/__isatty.c: New file. 28: 29: * hurd/hurdsock.c (_hurd_socket_server): Pass NP to __path_lookup, 30: not NAME (most of which is uninitialized). 31: 32: * hurd/hurdsig.c (_hurdsig_init): Don't check for _hurd_msgport 33: being non-null; always initialize it. 34: 35: Fri Jun 3 21:57:14 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) 36: 37: * hurd/hurdrlimit.c (init_rlimit): Restore __mutex_init call. 38: (_hurd_rlimit_lock): Set initializer to random value; run-time 39: initialization is always required. 40: 41: * inet/rcmd.c (rcmd): Compute max fd + 1 for select instead of 42: hardcoding 32. 43: 44: Wed Jun 1 10:52:41 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) 45: 46: * hurd/hurdrlimit.c (_hurd_rlimits, _hurd_rlimit_lock): Provide 47: initializers so that the file is included in the link properly. 48: (init_rlimit): Omit call to __mutex_init. 49: 50: Tue May 31 18:15:33 1994 Roland McGrath (roland@geech.gnu.ai.mit.edu) 51: 52: * hurd/hurdmalloc.c (more_memory): Do spin_lock_init on H->lock. 53: (malloc_init): New function; put it on _hurd_preinit_hook. 54: 55: * sysdeps/mach/hurd/defs.c (init_stdio): If stream already 56: allocated, don't allocate a new one. Don't crash if _hurd_alloc_fd 57: returns null if __newstream does. 58: 59: * sysdeps/mach/hurd/__brk.c (init_brk): If _hurd_brk is nonzero, 60: leave it as it is. Set PAGEND from _hurd_brk instead of &_end. 61: 62: Mon May 30 18:37:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 63: 64: * hurd/hurdrlimit.c (init_rlimit): Put this on _hurd_preinit_hook 65: instead of _hurd_subinit. 66: 67: * sysdeps/mach/hurd/mig-reply.c (mig_fork_child): Function removed. 68: * hurd/dtable.c (fork_parent_dtable): Function removed. 69: 70: * sysdeps/generic/resourcebits.h: Rename RLIM_NLIMITS to 71: RLIMIT_NLIMITS, add alias for old name. 72: 73: * sysdeps/mach/hurd/Makefile (hurd-objpfx): New variable. 74: (before-compile): Use that instead of $(common-objpfx). 75: 76: * sysdeps/mach/Makefile [! objpfx] (mach-objpfx): Add trailing slash. 77: 78: Fri May 27 01:34:56 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 79: 80: * hurd/hurdsig.c (_hurdsig_init): Always initialize _hurd_sigthread. 81: 82: * hurd/dtable.c: Use data_set_element instead of text_set_element 83: for _hurd_fork_locks. 84: * hurd/hurdsig.c: Likewise. 85: 86: * hurd/hurd.h (_hurd_set_data_limit): Declaration removed. 87: 88: * hurd/dtable.c (_hurd_dtable_rlimit): Variable removed. 89: (init_dtable): Don't set it. 90: 91: * hurd/Makefile (headers): Add hurd/resource.h. 92: (routines): Add hurdrlimit. 93: * hurd/hurd/resource.h: New file. 94: * hurd/hurdrlimit.c: New file. 95: * sysdeps/mach/hurd/getrlimit.c: Rewritten to just fetch 96: _hurd_rlimits. 97: * sysdeps/mach/hurd/setrlimit.c: Rewritten to just set _hurd_rlimits. 98: * sysdeps/mach/hurd/__brk.c (_hurd_data_limit): Variable removed. 99: (_hurd_set_brk): Use _hurd_rlimits[RLIMIT_DATA]. 100: (_hurd_set_data_limit): Function removed. 101: * hurd/alloc-fd.c (_hurd_dtable_rlimit): Variable removed. 102: (_hurd_alloc_fd): Use _hurd_rlimits[RLIMIT_OFILE] instead. 103: 104: * sysdeps/generic/resourcebits.h: Add RLIMIT_NOFILE as an alias 105: for RLIMIT_OFILE. 106: 107: * sysdeps/mach/hurd/mig-reply.c (__mig_init): Argument is stack 108: on which to set the per-thread reply port variable. 109: 110: * sysdeps/mach/hurd/__brk.c (init_brk): Set _hurd_data_end to 111: DATA_SIZE bytes past the beginning of data space, rather than to 112: DATA_SIZE absolutely. If vm_map fails, set it to PAGEND. 113: 114: * sysdeps/mach/hurd/start.c (_start): Run _hurd_preinit_hook right 115: after __mach_init. 116: 117: * stdio/freopen.c (freopen): Rewritten using __stdio_reopen to 118: preserve the old cookie value when possible. 119: * sysdeps/posix/sysd-stdio.c (__stdio_reopen): New function. 120: * sysdeps/stub/sysd-stdio.c (__stdio_reopen): New function. 121: * sysdeps/mach/hurd/sysd-stdio.c (__stdio_reopen): New function. 122: 123: * stdio/freopen.c (freopen): Close the stream if MODE is invalid. 124: 125: * hurd/hurdsig.c (_hurd_core_limit): Define variable. 126: 127: * socket/sys/socket.h (PF_LOCAL): Define in preference to PF_FILE. 128: 129: Thu May 26 12:09:51 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) 130: 131: * hurd/alloc-fd.c (_hurd_alloc_fd): Don't return EINVAL when 132: FIRST_FD is greater than _hurd_dtablesize and less than 133: _hurd_dtable_rlimit. If we want to grow _hurd_dtable, but 134: _hurd_dtablesize is as big as _hurd_dtable_rlimit, then return 135: EMFILE. When growing _hurd_dtable, actually do something if 136: _hurd_dtablesize is zero. 137: 138: * hurd/hurdmalloc.c (malloc_fork_prepare, malloc_fork_parent, 139: malloc_fork_child): Declare as static so they don't conflict with 140: the user's version of this file. 141: 142: Wed May 25 20:55:16 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 143: 144: * sysdeps/mach/hurd/__brk.c: Include <cthreads.h> instead of 145: <mutex.h>. 146: 147: * hurd/hurdmalloc.c, hurd/hurdmalloc.h: New files (temporary hack). 148: * hurd/Makefile (routines): Append hurdmalloc. 149: (distribute): Append hurdmalloc.h. 150: * hurd/alloc-fd.c: Include "hurdmalloc.h" (temporary hack). 151: * hurd/dtable.c: Likewise. 152: * hurd/hurdinit.c: Likewise. 153: * hurd/hurdsig.c: Likewise. 154: * hurd/hurdsock.c: Likewise. 155: * hurd/new-fd.c: Likewise. 156: * sysdeps/mach/hurd/start.c: Likewise. 157: 158: * sysdeps/mach/hurd/start.c (start1): Use malloc and a for loop 159: instead of calloc. 160: * hurd/hurdsig.c (_hurd_thread_sigstate): Use malloc and memset 161: instead of calloc. 162: 163: * sysdeps/mach/hurd/__brk.c (init_brk): Reference self to avoid 164: compiler warning. Add init_brk to _hurd_preinit_hook instead of 165: __libc_subinit. 166: 167: * sysdeps/mach/hurd/start.c (_hurd_preinit_hook): New variable. 168: (start1): Run _hurd_preinit_hook before threadvar setup. 169: 170: Tue May 24 17:42:34 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 171: 172: * hurd/dtable.c (init_dtable): Initialize _hurd_dtablesize to 173: _hurd_init_dtablesize. Initialize _hurd_dtable_rlimit as 174: _hurd_dtablesize used to be set, but don't let it be zero. 175: (_hurd_dtable_rlimit): New variable. 176: 177: Tue May 24 12:57:19 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) 178: 179: * sysdeps/mach/sleep.c (sleep): Timeout arg to mach_msg is 180: in milliseconds, not microseconds; compute it accordingly. 181: 182: * sysdeps/mach/hurd/__select.c (__select): Deleted variables 183: DTABLE and DTABLE_ULINK. Use new vars _hurd_dtablesize and 184: _hurd_dtable instead of old _hurd_dtable structure. Use new 185: locking protocol on _hurd_dtable. 186: 187: Tue May 24 01:55:24 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 188: 189: * sysdeps/mach/hurd/__setitmr.c: Don't include mutex.h. 190: 191: * sysdeps/mach/hurd/defs.c (init_stdio): Reference self. 192: 193: * sysdeps/unix/sysv/sysv4/i386/sysdep.h: Include 194: sysdeps/unix/sysv/i386/sysdep.h, not sysdeps/unix/i386/sysdep.h 195: 196: Mon May 23 19:05:44 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 197: 198: * sysdeps/mach/hurd/Makefile (mib_hacks, defines): Variables removed. 199: 200: * mach/devstream.c (mach_open_devstream): Set STREAM's seek and 201: fileno io functions to null. 202: 203: * hurd/hurdexec.c (_hurd_exec): Fixed adding of dtable ports to 204: PLEASE_DEALLOC array. 205: 206: * sysdeps/mach/hurd/defs.c (init_stdio): Unlock the descriptors 207: after fetching them. If a standard descriptor is not allocated, 208: allocate the structure and store its pointer in the stream anyway. 209: 210: * stdio/gets.c: Only return null on P==S if feof (STREAM). 211: 212: * stdio/vfprintf.c: Make %Z a type modifier, not a format spec. 213: 214: * sysdeps/mach/hurd/fdopen.c: Return NULL rather than -1 for error. 215: 216: Mon May 23 14:24:50 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) 217: 218: * sysdeps/mach/hurd/__close.c (__close): Use new _hurd_fd_get 219: protocol. 220: * sysdeps/mach/hurd/__dup2.c (__dup2): Likewise. Use 221: _hurd_dtablesize and _hurd_dtable instead of old _hurd_dtable 222: structure. 223: 224: * sysdeps/mach/hurd/sysd-stdio.c (__stdio_seek): Use 225: HURD_FD_PORT_USE, not HURD_FD_USE. 226: * sysdeps/mach/hurd/stdio_init.c (__stdio_init_stream): Variable 227: is D, not FD. 228: 229: * hurd/alloc-fd.c (_hurd_alloc_fd): Arg FIRST_FD is not actually 230: const. 231: * hurd/hurdsig.c (_hurd_internal_post_signal [case SIGINFO]): If 232: we are not the process group leader, ignore the signal. 233: (_S_sig_post [case SIGURG]): Declaration of D was out of place. 234: 235: * sysdeps/mach/hurd/fdopen.c: Include <hurd/io.h> for 236: io_get_openmodes prototype. 237: 238: Sat May 21 16:03:23 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 239: 240: * assert/assert.c (__assert_fail): Put program name first in msg. 241: 242: * hurd/Makefile (dtable): Removed setdtsz. 243: 244: * hurd/hurdexec.c: Use _hurd_dtable and _hurd_dtablesize instead of 245: old _hurd_dtable structure. 246: * hurd/hurdsig.c: Likewise. 247: * hurd/alloc-fd.c: Likewise. 248: * hurd/hurdioctl.c (rectty_dtable): Likewise. 249: 250: * Version 1.08 released. 251: 252: * mach/mach_error_string.c: Renamed to errstring.c. 253: * mach/Makefile (routines): Renamed mach_error_string to errstring. 254: * mach/err_mach_ipc.sub: Renamed to err_mach.sub. 255: * mach/err_bootstrap.sub: Renamed to err_boot.sub. 256: 257: * sysdeps/generic/sigset.h (__SIGSETFN): Take new arg CONST; use it 258: for CONST qualifier on SET arg to generated function. 259: Changed uses to pass it; sigismember passes __const, others empty. 260: 261: * sysdeps/mach/hurd/sysd-stdio.c: Rewritten to use `struct hurd_fd *'s 262: for cookies. 263: * sysdeps/mach/hurd/fdopen.c: Rewritten accordinly. 264: * sysdeps/mach/hurd/defs.c (init_stdio): Rewritten accordingly. 265: Add it to the _hurd_fd_subinit hook instead of the __libc_subinit 266: hook. 267: * sysdeps/mach/hurd/stdio_init.c: New file. 268: * hurd/dtable.c (_hurd_fd_subinit): New hook variable. 269: (init_dtable): Run the _hurd_fd_subinit hook. 270: 271: * hurd/hurd/fd.h (struct hurd_dtable): Type removed. 272: (_hurd_dtable_users, _hurd_dtable_rlimit): Variables removed. 273: (_hurd_dtable): Make this a struct hurd_fd **. 274: (_hurd_dtablesize): New variable. 275: (struct hurd_fd_user): Type removed. 276: (_hurd_dtable_get, _hurd_dtable_free, _hurd_dtable_fd): Functions 277: removed. 278: (_hurd_fd_get): Rewritten. Take just one arg, and look it up in 279: _hurd_dtable; return a struct hurd_fd *. 280: (HURD_FD_USE): Rewritten to use new _hurd_fd_get interface. 281: * hurd/dtable.c (_hurd_dtable_users, _hurd_dtable_rlimit): 282: Variables removed. 283: (_hurd_dtable): Make this a struct hurd_fd **. 284: (_hurd_dtablesize): New variable. 285: (init_dtable, fork_parent_dtable, fork_child_dtable, 286: ctty_new_pgrp, reauth_dtable): Use new simpler _hurd_dtable format. 287: * sysdeps/mach/hurd/__getdtsz.c: Use _hurd_dtablesize. 288: * sysdeps/mach/hurd/__fcntl.c: Use new _hurd_fd_get protocol. 289: 290: * hurd/dtable.c (get_dtable_port): Return the ctty port if set. 291: 292: * hurd/hurd/fd.h (_hurd_fd_error_signal): New function, broken out 293: of _hurd_fd_error. 294: (_hurd_fd_error): Call it. 295: 296: * hurd/Makefile (dtable): Add fd-close. 297: * hurd/fd-close.c: New file. 298: * hurd/hurd/fd.h: Declare _hurd_fd_close. 299: 300: * sysdeps/mach/hurd/__close.c: Call _hurd_fd_close. 301: 302: * signal/Makefile (routines): Add sigsetops. 303: * signal/sigsetops.c: New file. 304: 305: * sysdeps/unix/sysv/sysv4/sigset.h (_EXTERN_INLINE): New macro. 306: Use it for all the inline functions. 307: 308: * signal/signal.h: Move #include <signum.h> inside #ifdef _SIGNAL_H. 309: 310: * sysdeps/generic/sigset.h: Protect types with #ifndef 311: _SIGSET_H_types. Protect rest with #if !defined (_SIGSET_H_fns) 312: && defined (_SIGNAL_H). 313: (__SIGSETFN): Add extern declaration of NAME inside function. 314: 315: * sysdeps/unix/ioctls-tmpl.c: Add missing #endif. 316: * sysdeps/unix/Makefile (make-ioctls-CFLAGS): Remember -D. 317: 318: Fri May 20 20:42:33 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 319: 320: * sysdeps/unix/Makefile (sys/termios.h): Variable removed. 321: (ioctl-includes): New variable. 322: (make-ioctls-CFLAGS): Compute value generally from $(ioctl-includes). 323: ($(common-objpfx)ioctls): Depend on $(ioctl-includes), instead of 324: $(sys/termios.h). 325: 326: * sysdeps/unix/sysv/sco3.2.4/sco_getgrp.S: New file. 327: * sysdeps/unix/sysv/sco3.2.4/Makefile (sysdep_routines): Add 328: sco_getgrp. 329: * sysdeps/unix/sysv/sco3.2.4/__getgrps.c: New file. 330: 331: * sysdeps/generic/sigset.h (__sigismember, __sigaddset, __sigdelset): 332: Rewritten as extern inline functions; check for bogus signal number. 333: 334: * configure.in (names): Put $implied before $* in new $sysnames 335: list remaining to be processed; this ensures unix/common precedes 336: unix/sysv4 for sysv4. 337: 338: Thu May 19 18:35:02 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 339: 340: * sysdeps/mach/hurd/defs.c (init_stdio): Make stdin and stdout 341: line buffered and stderr unbuffered. 342: 343: Thu May 19 16:14:36 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 344: 345: * sysdeps/mach/hurd/getcwd.c: Remember to call io_stat on cwdir. 346: 347: * sysdeps/generic/configure.in: Use changequote around if expr 348: to avoid [] elision. 349: 350: Thu May 19 13:53:59 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 351: 352: * hurd/hurdsock.c (_hurd_socket_server): Return EPFNOSUPPORT 353: rather than EPROTONOSUPPORT because it's the entire protocol 354: family that isn't present, not just one protocol. 355: 356: * sysdeps/mach/hurd/__access.c (__access): Don't deallocate 357: CRDIR or CWDIR; that's taken care of by the _hurd_port_get 358: and _hurd_port_free system. 359: 360: Thu May 19 04:14:57 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 361: 362: * sysdeps/posix/libc_fatal.c: Include <errno.h>. 363: 364: * sysdeps/unix/sysv/sysv4/__sigact.c: Include <stddef.h> for NULL. 365: 366: * sysdeps/mach/hurd/__access.c: Fix swapped poly and count args in 367: __auth_makeauth call. 368: 369: * sysdeps/mach/hurd/ioctls.h (_IOC, _IOT): Rewritten using bitwise 370: operations, so the result is always technically a constant (the 371: old method of using a union constructor expression was not good 372: enough for initializers). 373: 374: * hurd/hurdsock.c (_hurd_socket_server): If path_lookup returns 375: ENOENT, we return EPROTONOSUPPORT. 376: 377: * hurd/Makefile (dtable): Add hurdioctl. 378: * hurd/dtable.c (rectty_dtable, tiocsctty, tiocnotty): Functions 379: moved: 380: * hurd/hurdioctl.c: New file. 381: (fioctl, fioclex): New functions. 382: * sysdeps/mach/hurd/__ioctl.c (_hurd_ioctl_handler_lists): Don't 383: define it, just declare it. 384: 385: * sysdeps/mach/hurd/getcwd.c: Use MACH_PORT_RIGHT_SEND, not 386: MACH_PORT_TYPE_SEND, in mach_port_mod_refs call. 387: 388: * sysdeps/mach/hurd/__getpgrp.c: Don't lock _hurd_pid_lock. 389: 390: * sysdeps/unix/common/glue-ctype.c: Don't include <ctype.h>. 391: Instead, add explicit extern declaration of TABLE in main. 392: 393: Wed May 18 17:54:00 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 394: 395: * sysdeps/m68k/Makefile (asm-CPPFLAGS): Append $(m68k-syntax-flag). 396: 397: * Version 1.07.6. 398: 399: * sunrpc/Makefile (+gccwarn): Set to -w. 400: 401: * sysdeps/unix/Makefile (ifeq testing sys/param.h): Use patsubst 402: instead of dir to remove directory name from .../sys/param.h but 403: preserve "sys/". 404: 405: * inet/sys/bitypes.h: Replaced with just #include <sys/types.h>. 406: 407: * posix/sys/utsname.h (_UTSNAME_NODENAME_LENGTH): If undefined, 408: define to _UTSNAME_LENGTH. 409: (struct utsname): Use _UTSNAME_NODENAME_LENGTH for `nodename' member. 410: * sysdeps/unix/bsd/sun/sunos4/utsnamelen.h (_UTSNAME_NODENAME_LENGTH): 411: Define it. 412: 413: * resource/sys/resource.h (enum __rlimit_resource): Removed. 414: Just include <resourcebits.h> instead. 415: * resource/Makefile (headers): Add resourcebits.h. 416: * sysdeps/generic/resourcebits.h: New file. 417: * sysdeps/unix/bsd/sun/sunos4/resourcebits.h: New file. 418: 419: * stdio/test-popen.c (main): Use popen to read the file back, too. 420: 421: * sysdeps/unix/sysv/sysv4/i386/sysdep.h: New file. 422: 423: * sysdeps/unix/sysv/sysv4/i386/sys-sig.S: Fixed typo: movel->movl. 424: 425: Tue May 17 12:46:31 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) 426: 427: * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self, 428: __mach_task_self, __mach_host_self): New declarations of __ 429: versions of syscall traps. 430: (swtch, __swtch, swtch_pri, __swtch_pri, thread_switch, 431: __thread_switch, evc_wait, __evc_wait): New prototypes. 432: * mach/Makefile (headers): Added mach/mach_traps.h so that the 433: GNU version is installed instead of the Mach version. 434: 435: Mon May 16 15:34:12 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 436: 437: * sysdeps/stub/sys/param.h: New file. 438: 439: * mach/lock-intern.h (__mutex_lock, __mutex_unlock): Real definitions. 440: (__mutex_lock_solid, __mutex_unlock_solid, __mutex_init): Declare 441: them. 442: * mach/mutex-solid.c: New file. 443: * mach/Makefile (lock): Add mutex-solid. 444: (lock-headers): Remove mutex.h. 445: * mach/mutex.h: File removed. 446: * hurd/hurd/id.h: Include <cthreads.h> instead of <mutex.h>. 447: * hurd/hurd/signal.h: Likewise. 448: * hurd/hurdsig.c: Likewise. 449: * hurd/hurdsock.c: Likewise. 450: * hurd/dtable.c: Likewise. 451: * hurd/__setauth.c: Likewise. 452: * sysdeps/mach/hurd/Makefile (includes): Also append 453: -I$(hurd-srcdir)/libthreads. 454: 455: * sysdeps/posix/system.c [WAITPID_CANNOT_BLOCK_SIGCHLD]: Don't 456: block SIGCHLD. 457: * sysdeps/unix/sysv/sco3.2.4/system.c 458: (WAITPID_CANNOT_BLOCK_SIGCHLD): Define this macro. 459: 460: * sysdeps/posix/sigintr.c (siginterrupt) [! SA_RESTART]: Always 461: fail with ENOSYS. 462: 463: * sysdeps/posix/__sigvec.c [! SA_ONSTACK]: Fail with ENOSYS if 464: SV_ONSTACK is set in VEC->sv_flags. 465: [SA_RESTART]: Protect SV_INTERRUPT check with this. 466: 467: * sysdeps/mach/sysdep.h (FATAL_PREPARE): New macro. 468: * sysdeps/posix/libc_fatal.c: Include <sysdep.h>. 469: [FATAL_PREPARE]: Invoke the macro. 470: * assert/assert.c: Likewise. 471: 472: * sysdeps/generic/memmem.c: Start BEGIN at HAYSTACK, not partway 473: into it. Loop until BEGIN passes the location in HAYSTACK with 474: NEEDLE_LEN bytes remaining to the end. 475: Compare first byte manually before calling memcmp. 476: 477: * sysdeps/unix/sysv/sco3.2.4/__sigact.S: Fix typo. 478: 479: * posix/sys/types.h [__USE_BSD] (int32_t, int16_t, int8_t, 480: u_int32_t, u_int16_t, u_int8_t): New typedefs. 481: 482: * assert/assert.c (__assert_program_name): New variable. 483: (__assert_fail): Print that in the msg too. 484: [HAVE_GNU_LD] (set_progname): New function to set it up at startup. 485: 486: Thu May 12 01:10:52 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 487: 488: * hurd/__setauth.c: Do critical section locking. 489: * hurd/hurdexec.c: Likewise. 490: * hurd/hurdauth.c (_S_del_auth): Likewise. 491: * hurd/getuids.c: Likewise. 492: * hurd/dtable.c: Likewise. 493: * hurd/alloc-fd.c: Likewise. 494: * hurd/hurd/port.h: Likewise. 495: * hurd/hurd/fd.h: Likewise. 496: * hurd/setuids.c: Likewise. 497: * hurd/intern-fd.c: Likewise. 498: * hurd/hurdsock.c (_hurd_socket_server): Likewise. 499: * sysdeps/mach/hurd/setrlimit.c: Likewise. 500: * sysdeps/mach/hurd/setgroups.c: Likewise. 501: * sysdeps/mach/hurd/seteuid.c: Likewise. 502: * sysdeps/mach/hurd/setegid.c: Likewise. 503: * sysdeps/mach/hurd/getrlimit.c: Likewise. 504: * sysdeps/mach/hurd/__setuid.c: Likewise. 505: * sysdeps/mach/hurd/__setreuid.c: Likewise. 506: * sysdeps/mach/hurd/__setregid.c: Likewise. 507: * sysdeps/mach/hurd/__setitmr.c: Likewise. 508: * sysdeps/mach/hurd/__setgid.c: Likewise. 509: * sysdeps/mach/hurd/__select.c: Likewise. 510: * sysdeps/mach/hurd/__sbrk.c: Likewise. 511: * sysdeps/mach/hurd/__getuid.c: Likewise. 512: * sysdeps/mach/hurd/__getpgrp.c: Likewise. 513: * sysdeps/mach/hurd/__getitmr.c: Likewise. 514: * sysdeps/mach/hurd/__getgrps.c: Likewise. 515: * sysdeps/mach/hurd/__getgid.c: Likewise. 516: * sysdeps/mach/hurd/__geteuid.c: Likewise. 517: * sysdeps/mach/hurd/__getegid.c: Likewise. 518: * sysdeps/mach/hurd/__getdtsz.c: Likewise. 519: * sysdeps/mach/hurd/__fork.c: Likewise. 520: * sysdeps/mach/hurd/__fcntl.c: Likewise. 521: * sysdeps/mach/hurd/__dup2.c: Likewise. 522: * sysdeps/mach/hurd/__close.c: Likewise. 523: * sysdeps/mach/hurd/__brk.c: Likewise. 524: * sysdeps/mach/hurd/__access.c: Likewise. 525: 526: * sysdeps/mach/hurd/reboot.c (reboot): Use the host priv port to 527: prove authority. 528: 529: * sysdeps/mach/hurd/__readlink.c: Don't request O_READ access. 530: 531: * sysdeps/mach/hurd/__ioctl.c: Don't expect result data unless 532: return code is zero. Translate MIG_BAD_ID or EOPNOTSUPP to ENOTTY. 533: 534: * mach/devstream.c (output): Use device_write instead of 535: device_write_inband. 536: 537: Wed May 11 18:49:31 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 538: 539: * hurd/hurdinit.c (_hurd_init): Finsih loop of _hurd_port_init on 540: _hurd_ports elts before doing _hurd_proc_init or 541: __task_set_special_port. 542: 543: * hurd/hurd/signal.h (struct hurd_sigstate): Add new 544: `critical_section' member. Remove #if 0'd out vfork crap. 545: (_hurd_critical_section_lock, _hurd_critical_section_unlock): New 546: functions. 547: (HURD_CRITICAL_BEGIN, HURD_CRITICAL_END): New macros. 548: 549: * io/Makefile (headers): Add poll.h and sys/poll.h. 550: (routines): Add poll. 551: * sysdeps/unix/bsd/sun/sunos4/poll.S: New file. 552: * sysdeps/unix/sysv/poll.S: New file. 553: * sysdeps/unix/bsd/poll.c: New file. 554: * sysdeps/stub/poll.c: New file. 555: * io/poll.h, io/sys/poll.h: New files. 556: 557: * misc/bsd-compat.c (setjmp): New function. 558: 559: * sysdeps/unix/Makefile (sysdep_headers): Remove sys/param.h. 560: * misc/Makefile (headers): Add it here instead. 561: 562: * io/test-utime.c (main): New file. 563: * io/Makefile (tests): New variable. 564: 565: Wed May 11 13:44:33 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 566: 567: * hurd/hurd/threadvar.h (__hurd_errno_location): Remove 568: __volatile keyword. `volatile int errno' is not the same 569: as `int errno'; user programs often mention the latter. 570: * errno.h: Remove __volatile keyword; same reason. 571: 572: Tue May 10 17:21:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 573: 574: * time/zdump.c: New code from ADO. 575: 576: * time/difftime.c (difftime): Use hairy rounding algorithm from 577: eggert@twinsun.com when sizeof (time_t) >= sizeof (double). 578: 579: * Makerules (native-CFLAGS): Remove -I$(sysincludedir). RMS says 580: people with bogons in /usr/local/include deserve to lose. 581: 582: * stdio/printf_fp.c (__printf_fp): If IS_NEG gets set, negate 583: FPNUM before testing it for %g format choice. 584: 585: * sysdeps/unix/sysv/irix4/fcntlbits.h: New file. 586: * sysdeps/unix/sysv/irix4/Dist: New file. 587: * sysdeps/unix/sysv/irix4/readv.c: New file. 588: * sysdeps/unix/sysv/irix4/writev.c: New file. 589: * sysdeps/unix/sysv/irix4/__dup2.c: New file. 590: 591: * sunrpc/xdr_float.c (xdr_float): Change [mc68000 || sparc] to [! 592: vax]. 593: 594: * sysdeps/mips/setjmp.S: Remove spurious $. 595: 596: * sysdeps/generic/ftime.c: Include <errno.h>. 597: 598: * sysdeps/unix/mips/sysdep.S: Add .set noreorder. 599: 600: Tue May 10 16:27:13 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 601: 602: * sysdeps/generic/termbits.h (NCCS): Doc fix. 603: 604: Mon May 9 18:07:44 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 605: 606: * sysdeps/mach/hurd/uname.c (uname): System uname information 607: has moved from init to proc. 608: 609: * sysdeps/mach/usleep.c (usleep): Return correct value. Destroy 610: RECV when we're done with it. 611: 612: Thu May 5 17:03:56 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 613: 614: * sysdeps/mach/hurd/__lstat.c: Use O_NOLINK instead of O_NOTRANS. 615: 616: Thu May 5 04:20:54 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 617: 618: * mach/spin-lock.h (spin_lock_init): Define. 619: 620: * sysdeps/mach/hurd/sigsuspend.c: New local variable NEWMASK, set 621: it to *SET if SET is not null, before taking SS->lock; don't 622: dereference SET while holding the lock. Restore SS->blocked to 623: OLDMASK before unlocking and returning. 624: 625: * hurd/hurdsig.c (hurdsig_fork_child): Return zero. 626: 627: * sysdeps/mach/hurd/__fork.c (_hurd_fork_parent_hook, 628: _hurd_fork_prepare_hook)): Define variables (symbol sets). 629: (__fork): Run _hurd_fork_prepare_hook and _hurd_fork_parent_hook. 630: 631: * sysdeps/mach/hurd/sigsuspend.c: Don't test SS->pending; instead 632: wait until SS->suspended is cleared. 633: * hurd/hurdsig.c (_hurd_internal_post_signal): Clear SS->suspended 634: before signalling on SS->arrived. 635: 636: * mach/Makefile (headers): Added mach/default_pager_helper.defs. 637: 638: * sysdeps/sparc/Dist: Added alloca.S. 639: 640: Wed May 4 14:02:29 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) 641: 642: * hurd/hurdexec.c (_hurd_exec): Unlock _hurd_dtable_lock when 643: all through. 644: 645: * sysdeps/mach/hurd/__setitmr.c: Changed _hurd_itimer_lock 646: to be a spin_lock; changed mutex_lock and mutex_unlock 647: accordingly throughout. 648: * sysdeps/mach/hurd/__getitmr.c: Corresponding changes from 649: mutex calls to spin lock calls here too. 650: 651: * sysdeps/mach/hurd/__setitmr.c (setitimer_locked): Fixed syntax 652: of declaration of PREEMPT. 653: (setitimer_locked): Declare variables ERR and ELAPSED. 654: (setitimer_locked): Fix some references to REMAINING that 655: were using it as an itimerval instead of a timeval. 656: (setitimer_locked): Deleted unused label STILLBORN. 657: 658: Wed May 4 00:17:32 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 659: 660: * sysdeps/stub/__getitmr.c: Fix arg name __WHICH to WHICH. 661: 662: * sysdeps/unix/bsd/alarm.c: Round tv_usec with arithmetic rather 663: than a test. 664: 665: * hurd/Makefile (user-interfaces): Add hurd/msg_request. 666: 667: * sysdeps/stub/__setitmr.c: Fix arg name __WHICH to WHICH. 668: 669: * Makeconfig (cross-compiling): Define if $(HOST_CC) and $(CC) differ. 670: * time/Makefile (install-others): Omit defn ifdef cross-compiling. 671: 672: Tue May 3 23:12:48 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 673: 674: * mach/Makefile (lock-headers): Add spin-lock.h. 675: 676: * misc/Makefile (routines): Add madvise. 677: 678: * malloc/Makefile (non-lib.a): Define. 679: * misc/Makefile (non-lib.a): Define. 680: * Makerules (install-lib.a): Filter out $(non-lib.a). 681: (install-lib-non.a): Append $(non-lib.a). 682: 683: * mach/Makefile (mach-headers): Rename sys/version.h to 684: mach/version.h. 685: 686: * hurd/Makefile (headers): Added hurd/threadvar.h. 687: 688: * Version 1.07.5. 689: 690: * hurd/port2fd.c (_hurd_port2fd): Use logic copied from 691: _hurd_port_locked_set to install PORT in D->port, but leave it locked. 692: 693: * sunrpc/Makefile (generated): Don't add $(objpfx). 694: 695: * sysdeps/stub/machine-lock.h: New file. 696: * sysdeps/stub/machine-sp.h: New file. 697: 698: Tue May 3 22:31:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) 699: 700: * sysdeps/mach/usleep.c (usleep): Specify MACH_RCV_MSG so that 701: mach_msg actually waits. 702: 703: Tue May 3 19:24:48 1994 Karl Heuer (kwzh@hal.gnu.ai.mit.edu) 704: 705: * malloc/malloc.h (enum mcheck_status): Delete trailing 706: comma in enum list; some compilers don't like it. 707: 708: Tue May 3 15:18:15 1994 Michael I Bushnell (mib@churchy.gnu.ai.mit.edu) 709: 710: * sysdeps/mach/hurd/__symlink.c (__symlink): Pass port type arg to 711: __file_set_translator. 712: 713: Mon May 2 17:56:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 714: 715: * hurd/Makefile (generated): Add $(inlines) .c files. 716: 717: * sysdeps/mach/hurd/__mknod.c: Pass port type arg to 718: __file_set_translator. 719: 720: Sun May 1 16:03:13 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 721: 722: * mach/mig_syms.c: Add de-__ing aliases for mig_init, 723: mig_get_reply_port, and mig_dealloc_reply_port. 724: 725: * sysdeps/mach/hurd/errnos.awk: Handle copying errors from 726: mach/mig_errors.h and device/device_types.h. Omit E*_SUCCESS. 727: Omit MACH_MSG_MASK and other special bit macros. 728: 729: * sysdeps/mach/hurd/i386/sigcontext.h (struct sigcontext): Added 730: sc_reply_port member. 731: * hurd/hurdsig.c (fetch_reply_port): New function. 732: (_hurd_internal_post_signal): When setting up to run handler, set 733: SCP->sc_reply_port to the receiving thread's value for 734: _HURD_THREADVAR_MIG_REPLY. 735: * sysdeps/mach/hurd/i386/__sigret.c: Destroy the MiG reply port 736: used by the signal handler, and restore from SCP->sc_reply_port. 737: * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp): New 738: function; guts from __hurd_threadvar_location. 739: (__hurd_threadvar_location): Call that. 740: 741: * hurd/hurdsig.c (check_pending): New function, broken out of: 742: (_hurd_internal_post_signal): Call that for pending signal check. 743: If SIGNO is zero, call check_pending on each thread's sigstate. 744: 745: * sysdeps/mach/hurd/start.c (start1): Use calloc to get 746: zero-filled space for __hurd_threadvar_stack_offset when 747: __hurd_threadvar_stack_mask is zero. 748: 749: Thu Apr 28 21:29:47 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 750: 751: * Merged gmp-1.99.3+ mpn code from tege for printf_fp. 752: * stdio/printf_fp.c: Include "longlong.h"; gmp-impl.h no longer does. 753: 754: * Makerules (+depfiles): Filter $(extra-objs) to get only .o files. 755: 756: Wed Apr 27 00:20:41 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 757: 758: * Makerules (depend-$(subdir)): Put output in tmp file and use mv -f. 759: Always use $(+depfiles), since sources is no longer exported. 760: 761: Tue Apr 26 20:05:55 1994 Roland McGrath (roland@churchy.gnu.ai.mit.edu) 762: 763: * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Don't include <termios.h> to 764: avoid <sys/ioctl.h> conflicts. 765: * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Undefine ECHO, MDMBUF, 766: TOSTOP, FLUSHO, PENDIN, and NOFLSH after including <termios.h> and 767: before including <sys/ioctl.h>. 768: * sysdeps/unix/bsd/bsd4.4/__tcgetatr.c: Likewise. 769: 770: Tue Apr 26 14:42:43 1994 Michael I Bushnell (mib@geech.gnu.ai.mit.edu) 771: 772: * sysdeps/mach/sleep.c (sleep): Specify MACH_RCV_MSG or else 773: