Commit Graph

1927 Commits

Author SHA1 Message Date
christos b2459dacce Use the POSIX signal mask interface 1996-05-16 19:39:13 +00:00
thorpej 7795b4110f Add two functions to libutil:
- getmaxpartitions: get the value of MAXPARTITIONS for the
	  currently running system

	- getrawpartition: get the value of RAW_PART for the
	  currently running system

These functions are necessary since the value of MAXPARTITIONS might
be different across platforms which are binary compatible (e.g. amiga
and sun3).
1996-05-16 07:03:28 +00:00
jtc e42a94845a Minor reorganization of libutil, including the addition of passward
locking and editing functions.
From Greg Hudson <ghudson@MIT.EDU>
1996-05-15 21:42:23 +00:00
jtc 5d8adb683d Split yperr_match out of yplib.c; makes many static executables a bit smaller. 1996-05-15 05:27:50 +00:00
jtc 7808771d84 Split yp_all, yp_master, and yp_other out of yplib.c; makes some static
executables a bit smaller.
1996-05-14 23:37:27 +00:00
scottr d04c0cce16 Fix typo in last change 1996-05-14 21:59:57 +00:00
jtc 3b32f2c7c0 Split yperr_string out of yplib.c; makes many static executables a bit smaller. 1996-05-14 13:36:49 +00:00
jtc adfd5ba766 New message catalog implementation that uses a more efficient machine
independent external format.  The new format is like what is used on
svr4 systems, except it uses fixed sized fields and a constant byte
order.
1996-05-13 23:29:32 +00:00
thorpej c66799ff11 RCS id police. 1996-05-13 02:30:20 +00:00
mark 46d95534b3 Updated register usage. 1996-05-12 20:52:09 +00:00
mark 62a60eda3b Updated to use definitions from machine/ieee.h 1996-05-12 20:50:54 +00:00
mark 93d4dfdfd8 Added NetBSD copyright. 1996-05-12 20:43:54 +00:00
mark ea5751f59e No longer required. The libc fabs() functions is in fabs.c. 1996-05-12 20:36:27 +00:00
mark e1c23a9306 Added new filenames. 1996-05-12 20:34:15 +00:00
mark 0814ca4b65 Initial commit of the floating point related libc functions. 1996-05-12 20:29:09 +00:00
mark ba9c4033a1 RCS Id police. 1996-05-12 20:25:39 +00:00
mark cd795b6adf Removed files from KMINCLUDES and KMSRCS. 1996-05-12 20:06:52 +00:00
mark 341c543ad0 RCS Id police. 1996-05-12 19:55:00 +00:00
mhitch ae4dbfceb0 The amiga now does kernel crash dumps using the new libkvm and savecore. 1996-05-12 04:30:18 +00:00
mycroft c2102b50ad Slight simplification. 1996-05-11 11:04:51 +00:00
cgd ace25ccb4d show what's going on (i.e. show the cmp ... || install ...) even if
nothing's being installed.
1996-05-10 21:54:24 +00:00
cgd 5dd52b454d Be more verbose during 'includes' installation. Instead of showing
'install' commands only if the 'cmp' sees differences, show the
'cmp ... || install ...' commands like other Makefiles do when
installing includes.  It's comforting to see the extra output (to see
that updated files would actually be installed), and is consistent
with other makefiles.
1996-05-10 05:03:06 +00:00
christos c1a26f1198 Fix PR/2348: infinite loop when RPC_PROCUNAVAIL 1996-05-09 22:52:24 +00:00
pk 42822c16d6 Make sure we include the correct headers. 1996-05-09 12:41:38 +00:00
pk ed403311db $Id -> $NetBSD (PR#682). 1996-05-08 19:24:04 +00:00
mark ce67b636ad Get the word order of doubles correct for the arm32 port.
Note: The arm32 port is little endian except for the FP word order.
1996-05-07 20:26:07 +00:00
leo 287a3d660a Fix small typo in last commit. 1996-05-07 06:09:11 +00:00
christos e904bb0ffc Close PR 2376 1996-05-06 13:45:44 +00:00
pk 204be49cb4 typo: DV -> Dv 1996-05-05 19:21:20 +00:00
gwr fe3234daab The sun3 now does kernel crash dumps using the new libkvm and savecore. 1996-05-05 04:37:22 +00:00
gwr 82118b75d6 Allow more flexibility in the format of cpu_kcore_hdr_t and isolate
the knowledge of that struct in the machine-dependent module.
1996-05-05 04:31:59 +00:00
mycroft 0fd4b530e0 Change suggested by Chris Torek to fix problem freopen()ing with a closed
file descriptor.
1996-05-04 19:25:19 +00:00
cgd e4cf519e27 fix a bug that shows up only on alphas: ndbm "datum" variables can't be
cast to DBTs, because the 'size' fields are int and size_t,
respectively, and that means that the DBT size field would be
partially filled with garbage on the Alpha.  Bug fix sent to bostic.
1996-05-04 00:38:58 +00:00
cgd 5e5ebf658f a script, along the lines of the gcc2netbsd script used to set up gcc
trees for import, to set up Berkeley DB trees for import.
1996-05-03 22:43:02 +00:00
cgd 7f7f8e8fe2 reapply diff from rev. 1.7. can't cast pointers to ints; what's really wanted
here is foo != NULL.
1996-05-03 22:16:32 +00:00
cgd 24420c0109 merge DB 1.85 changes 1996-05-03 21:50:36 +00:00
cgd 738330da77 merge DB 1.85 changes 1996-05-03 21:38:43 +00:00
cgd 17140cef26 merge DB 1.85 changes 1996-05-03 21:26:48 +00:00
cgd 90031d7892 add RCS id 1996-05-03 21:20:56 +00:00
cgd 5840471668 clean up README files and merge properly with 1.85 1996-05-03 21:17:07 +00:00
cgd 5fb6a3660e Import of Berkeley DB version 1.85 1996-05-03 21:04:19 +00:00
cgd edf4f72627 apparently the BPF_HEADERS don't define BPF_RELEASE or typedef the
bpf_{,u_}int32 types, so they are defined here.  Change their
definitions to use int32_t and u_int32_t, rather than long and u_long.
1996-05-02 00:18:28 +00:00
jtc c2ad7fffa8 Changed rules used for converting rpc source (*.x) to *.c and *.h so
that rpcgen invocation is not hidden.  There is no reason to hide it,
and it might be useful.  For example, this makes the make -n output
much more useful.
1996-04-29 21:11:24 +00:00
jtc 146f9344c8 Echo install commands, so user knows what is being installed.
Suggested by cgd.
1996-04-29 20:52:52 +00:00
jtc 022978656f Use 'includes' instead of 'beforeinstall' target to install headers 1996-04-29 20:32:24 +00:00
pk 697ae24a44 bump minor version to 5 (addition of futimes(2)). 1996-04-29 12:12:50 +00:00
christos b078384e49 - grab prototypes from netgroup.h
- added _ng_print, netgroup pretty printing function
1996-04-27 18:59:05 +00:00
mark ec673d5430 Fixed a couple of filenames. 1996-04-26 20:15:14 +00:00
jtc 5ff4c9eae2 Use 'includes' instead of 'beforeinstall' target to install headers 1996-04-25 01:22:08 +00:00
jtc 1c43ef87de Use 'includes' instead of 'beforeinstall' target to install curses.h header 1996-04-25 00:58:56 +00:00
mycroft e376b17fef Build a stub for futimes(). 1996-04-23 10:42:30 +00:00
mycroft ad2105650e Document futimes(). 1996-04-23 10:34:16 +00:00
scottr 7fde8d9997 comprised -> composed. Closes PR 2345. 1996-04-23 05:18:06 +00:00
cgd 4e82cb0a0a fix a couple of typesetting and grammatical errors in GLOB_BRACE's description 1996-04-19 00:12:16 +00:00
cgd 57da02bd77 don't include user-land headers compiling for libkern. (sync with libkern.) 1996-04-18 02:30:07 +00:00
cgd 734132ad28 have copy-to-libkern copy strcat.S, not strcat.c 1996-04-18 01:54:16 +00:00
cgd 67d51cc7b5 #define _verr* to verr*, to make these use prototypes correctly
and compile in the "no indr_references" case.
1996-04-17 23:05:44 +00:00
cgd 44e8033a96 add assembler versions of the byte swap macros (only compile ntoh and
hton variants, not byte_swap variants, which are just included), and
copy them to libkern when appropriate.
1996-04-17 22:36:30 +00:00
jtc ec081115f9 Split each function in err.c out into its own file. This is needed
for systems without weak or indirect references.
1996-04-15 23:44:53 +00:00
thorpej 6779689463 Document that "<sys/sysctl.h>" isn't enough ... suggest including
<sys/param.h>, too.  Suggested my Kevin M. Lahey <kml@nas.nasa.gov>
in PR #1999.
1996-04-13 02:07:15 +00:00
phil 07df601bbf Add missing ~. (PR 2311) 1996-04-09 16:33:32 +00:00
jtc 20779dadd6 Add proper punctuation; Reported by Mike Long <mike.long@analog.com> in PR #2302. 1996-04-08 20:56:38 +00:00
phil d9f99fc936 Removing a "volatile" put there for the ns32k which is no longer needed. 1996-04-08 15:43:41 +00:00
phil bf6acfece8 Addition of fp routines. (PR 2281 from Matthias Pfaller.) 1996-04-05 00:23:05 +00:00
phil 3fac82adb2 Change the definition of __infinity on the ns32k. (PR 2283) 1996-04-04 23:45:18 +00:00
jtc af07dd15d4 Add explict function return types 1996-04-03 19:48:56 +00:00
cgd c27f2fa69f delete redundant files; pull them in via .PATH to avoid inconsistencies.
Changes which would be made here are also quite likely to apply to
"new" libkvm code, as well.  No point in having to do them twice, or
letting them get lost.
1996-04-01 19:28:03 +00:00
cgd 82501b607b sync with libkvm.old sources (change committed by pk):
>Catch up with system PMAP.
1996-04-01 19:23:03 +00:00
pk 60188b5bd2 Catch up with system PMAP. 1996-04-01 06:27:54 +00:00
cgd b43e9a78d5 Remove alpha 'mmclock' memory-mapped clock interfaces. In retrospect,
while it's sort of nice, it's sufficiently hard to do this properly
for the general case that, in the long run, it probably won't make sense
to support in the way i was planning to.  (There are serious problems
with doing this, on multiprocessors.)
1996-03-30 23:08:43 +00:00
jtc 3bf9d01bf7 infnan(3) no longer exists. 1996-03-30 01:33:59 +00:00
jtc ee341062c6 Changed 3m to 3. There is no 3m manpage section. 1996-03-30 01:28:55 +00:00
jtc 755230061e Added explicit return types to all functions in SYNOPSIS section.
Added documentation to hstrerror() function.
Added hstrerror MLINK.
1996-03-30 01:14:56 +00:00
jtc da8d0ce8e0 Add explict function return types 1996-03-29 23:29:06 +00:00
jtc 18ec2ba033 Add explict function return types 1996-03-29 23:00:47 +00:00
jtc 0f6af23d21 Expand "u_int" to "unsigned int" so that curses.h can be used when
_XOPEN_SOURCE or _POSIX_SOURCE is defined.
1996-03-26 02:43:59 +00:00
jtc 45da58c78f Changed signal prototype to be more like ANSI C 1996-03-26 02:05:55 +00:00
jtc be21c16fa0 hack to limit termcap strings to 1024 characters 1996-03-22 23:25:30 +00:00
jtc e522ca37ad Changed _catopen() to always return ((nl_catd) -1) on error, and
changed _catgets() and _catclose() to special case catd's == -1.
This change fixes PR#2190, and brings _cat*() closer to XPG4.2
compliance.
1996-03-22 01:11:49 +00:00
jtc fd08cf75d8 Handle null string in re_comp.
From Kazushi Jam Marukawa <kazusi-m@is.aist-nara.ac.jp> in PR 2196.
1996-03-21 03:11:13 +00:00
mrg 301aee8168 libkvm has totally changed, bump major version. 1996-03-20 23:11:56 +00:00
thorpej 346e67f879 RCS id police. 1996-03-18 22:33:07 +00:00
leo be74d305c7 Nuke the kd_live argument to kvm_dump_mkheader(). it's not needed anymore... 1996-03-18 21:14:44 +00:00
leo c458aad2bf Add a manual page for the kvm_dump_* functions. 1996-03-18 21:11:10 +00:00
christos 0ded611f77 Add missing documentation for TTY_MDMBUF. 1996-03-17 19:36:53 +00:00
leo 9c2128ecdd New libkvm/savecore implementation. With the following differences:
1) savecore will not access the dump or live-kernel directly. It
        will always use the kvm-functions. Allowing it to work on kernels
        that don't have a 1-1 PA-VA mapping.
     2) the kvm-lib has some additional functions to accomplish 1
          - kvm_dump_mkheader()
          - kvm_dump_wrtheader()
          - kvm_dump_inval()
     3) the file formats of the dump generated by the kernel and the dump
        generated by savecore have been changed. The file format now looks
        like the format produced for 'normal' core dumps.
Ports not yet supporting the new kvm-format will be using libkvm.old/
savecore.old for the time being.
1996-03-16 10:23:29 +00:00
leo 15d00de6ec old kvmlib - do not update 1996-03-16 10:05:24 +00:00
thorpej ab5476b242 Only build exportable telnet/libtelnet if the domestic version doesn't
exist in the source tree or defined(EXPORTABLE_SYSTEM).  This works around
the fact that telnet(1) will break during a "make build" because the
exportable libtelnet will get installed while the domestic telnet(1) binary
is still in place.  (XXX)
1996-03-10 05:45:38 +00:00
mycroft bd267b1b3c Clean up a bit. 1996-03-08 10:45:16 +00:00
pk 7e18fd4e93 Avoid load/store doubles; jmp_buf is long aligned (Michael Eriksson; PR#2180) 1996-03-06 21:50:20 +00:00
jtc 352df56fe2 Added getrlimit(2) and sysconf(3) cross references 1996-03-06 02:23:57 +00:00
thorpej 9029778d04 RCS id police. 1996-03-03 16:54:17 +00:00
jtc 991d366a82 Update to agree with <sys/mount.h>; From Todd C. Miller <millert@cs.colorado.edu> 1996-02-29 23:47:48 +00:00
jtc 025820ea94 Fix swapped description of %x and %X format specifiers 1996-02-29 15:03:20 +00:00
thorpej 0ffa7d7b3c Copyright assigned to The NetBSD Foundation. 1996-02-28 00:47:42 +00:00
jtc 24e38f7825 Copyright assigned to the NetBSD Foundation 1996-02-27 22:57:17 +00:00
jtk 0dcff75424 update libtelnet with changes through 95.10.23 version 1996-02-24 01:15:15 +00:00
jtc 1980640710 comment out PT_READ_U, PT_WRITE_U, PT_SYSCALL descriptions 1996-02-23 01:39:41 +00:00
jtk d4e5b34479 rearrange build structure so different architecture-specific libraries
can have separate shared library versions, by building in the arch
subdirectory.
1996-02-21 02:43:52 +00:00
jtk 5cf28d6807 add i386_vm86 sysarch() stub and documentation 1996-02-21 00:21:45 +00:00
pk 6066b9b21b Remove nfs header files. 1996-02-19 14:33:41 +00:00
hpeyerl acfb6aadb9 Fix inet addr parsing so no more than 4 octets are valid.
From Amy Baron (amee@remarque.berkeley.edu).  Fixes PR#2089. (BFPR)
1996-02-17 15:35:41 +00:00
jtc c34d1a35dd Fixed bad cross reference: waitpid(3) -> waitpid(2). 1996-02-16 22:30:46 +00:00
mark 1d95fe29ce Get the floating point byte and word orders correct for the arm32. 1996-02-16 21:19:29 +00:00
mark 39f49db401 Define IEEEFP if we are compiling for the arm32. 1996-02-16 21:14:03 +00:00
mark 5284578745 Initial commit of the arm32 architecture dependant libc code. 1996-02-16 20:47:54 +00:00
phil f85411e692 Change to fit reality. Backlog is limited to 128, not 5.
(sys/socket.h: SOMAXCONN)
1996-02-16 20:38:45 +00:00
mrg bf1bb3d725 re-apply patch from 2 revisions ago 1996-02-16 00:53:00 +00:00
jtc 6117b03a03 Fix embarassing typo 1996-02-14 19:21:54 +00:00
neil c276195bf7 Fixed SEE ALSO section. Closes PR # 2049 1996-02-11 16:15:40 +00:00
mycroft 3544b72f01 Update to match mount(2) prototype. 1996-02-08 18:33:58 +00:00
mycroft 62b296d0eb Make this work on machines that do not support unaligned memory access.
From der Mouse, PR 1116.
1996-02-08 08:06:05 +00:00
jtc daa40d9a50 Add explicit return type 1996-02-05 04:30:51 +00:00
jtc fdde8d3367 gcc -Wall cleanup from John Birrell <jb@cimlogic.com.au>. 1996-02-04 23:43:54 +00:00
jtc 6bb5d0a08c Change conditionals around RCS IDs to be like rest of libc.
From John Birrell <jb@cimlogic.com.au>.
1996-02-04 23:26:21 +00:00
mark cd2d3b3a65 Initial commit of the crt0.o source for the arm32 port. 1996-02-02 16:23:16 +00:00
mark d1c55d0bd8 Initial commit of the libkvm code for the arm32 port. 1996-02-02 15:35:41 +00:00
mrg 237baea38a merge with the resolver in bind 4.9.3-P1. 1996-02-02 15:22:14 +00:00
mrg 14f800aadd resolver updates to bind 4.9.3-P1 add new functions 1996-02-02 15:20:59 +00:00
phil 7b194ded98 Rewrite the description of alarm(3) to match reality. 1996-02-01 20:11:48 +00:00
phil 57cd9a2c29 Update for recent changes in the kernel. 1996-02-01 07:24:37 +00:00
mycroft 18fbe90d92 Document EMFILE and ENFILE. 1996-01-31 20:14:42 +00:00
jtc bd587f836f Changed manpages to reflect fact that localtime file is in /etc 1996-01-30 19:54:34 +00:00
mycroft 99374f84f7 Add missing argument to warnx(). 1996-01-22 16:34:08 +00:00
jtc 0f94396cf3 sync with tzcode96c 1996-01-20 02:29:47 +00:00
jtc d758cb389a Include errno.h (declarations of sys_errlist and sys_nerr were moved
from stdio.h to errno.h).
1996-01-20 01:41:51 +00:00
jtc 03edaa24b7 The C standard says (about realloc) that "If size is zero and ptr is
not a null pointer, the object it points to is freed."  Reported by
Peter Seebach in PR #1806.
1996-01-17 02:45:25 +00:00
jtc 78db0b395c Add S_IFWHT to correspond with <sys/stat.h>; Reported by Mike Long in PR #1949 1996-01-17 02:15:28 +00:00
jtc 0bcc20d745 Fix typo in funopen prototype; Reported by Noriyuki Soda in PR #1954 1996-01-17 01:42:55 +00:00
thorpej 535abd80a2 Add a net.inet.ip.directed-broadcast sysctl as suggested by
Darren Reed <darrenr@vitruvius.arbld.unimelb.edu.au> in PR #1227.
This change is slightly different than the one submitted by Darren in
that the DIRECTED_BROADCAST compile-time option will behave like it used
to so that existing configurations utilizing it won't have to change.
1996-01-16 04:17:30 +00:00
jtc 99ec00663a Fix manpage typoes; PR #1905 1996-01-16 01:42:19 +00:00
thorpej 4b359df8c4 Add net.inet.ip.forwsrcrt: if zero, the system will not forward
source-routed packets.  Note this value is protected by kernel security
level; it can only be changed if securelevel < 1.
1996-01-15 21:11:46 +00:00
thorpej 05df93de55 Document the EACCES errno value as returned by sendmsg(2), per
Ted Mellon <mellon@fugue.com>, PR #1093.
1996-01-15 01:17:18 +00:00
ghudson 1ca8e01f30 Don't read the network address as an alias when there isn't whitespace
after the network address.  Closes PR 1940.
1996-01-14 05:02:41 +00:00
jtc c875c647a0 sync with tzcode96a 1996-01-08 22:50:54 +00:00
jtc c743e76aff import tzcode96a 1996-01-08 22:45:14 +00:00
ragge 0aa318cd7e Changed to only include <machine/asm.h>, as the other ports. 1996-01-06 18:34:59 +00:00
pk 7d2e1a8b0b Updates per John Kohl (PR#1650). 1996-01-05 14:56:42 +00:00
pk 560ec18abf Note return value of get_myaddress(). 1996-01-04 20:09:53 +00:00
pk 33880f275d Return FALSE if get_myaddress() fails. 1996-01-04 20:06:22 +00:00
pk 49ca038962 1) Agree with kernel on format of SIOCGIFCONF results.
2) Return non-zero on error, so RPC clients do not die unexpectedly.
1996-01-04 20:05:04 +00:00
jtc 0943e32aa8 Fixed %u to expand to a single digit 1995-12-28 23:02:42 +00:00
jtc 723b71b52c removed :errfix; const qualifier makes it unnecessary 1995-12-28 22:37:55 +00:00
jtc 43d7567da3 Removed unused CALL macro 1995-12-28 22:35:54 +00:00
jtc 051ae6c48a Remove #include "SYS.h"; it is not needed (by normal assembly functions) 1995-12-28 21:32:25 +00:00
jtc 3f78e35cca Use <machine/asm.h> instead of DEFS.h 1995-12-28 20:03:51 +00:00
jtc 24a6d94c0d Added macros definitions for use with ANSI preprocessors. 1995-12-28 19:44:11 +00:00
thorpej 6dda330ef6 New-style RCS ids. 1995-12-28 08:51:55 +00:00
jtc 990dc3cb42 Fix grammar error pointed out by Peter Seebach in PR#1846 1995-12-27 21:17:02 +00:00
jonathan 3fa4ff4647 Change mips assembly code for {,_,sig}setjmp.S to get register names
from <machine/regnum.h>, not <machine/reg.h> (which also defines structs.)
1995-12-22 10:20:51 +00:00