Commit Graph

3034 Commits

Author SHA1 Message Date
cgd 7b64280a28 patch from rod grimes:
Fix definitions to be in terms of a minimum number of constants by
using the SHIFT value as the basis for the other values, for example
instead of:
#define         NBPG            4096
#define         PGSHIFT         12
use:
#define         PGSHIFT         12
#define         NBPG            (1 << PGSHIFT)
1993-10-09 01:35:50 +00:00
cgd 8b2f878d38 get rid of some (bad) setreuid() calls, which caused a security problem.
bug fix from Rick J Weldon <rick@badboy-jr.hq.af.mil>, and also confirmed
by looking at the latest rdist sources.
1993-10-09 01:11:39 +00:00
cgd 82360f892e correct directory name in man page 1993-10-09 00:59:10 +00:00
cgd f51618137b genassym needs a dependency... 1993-10-09 00:31:21 +00:00
jtc 845bf7e773 Helper function _strerror is in the user's namespace, renamed it to
__strerror().
1993-10-09 00:11:01 +00:00
jtc f2c1ee25de Added rand48 manual page. 1993-10-09 00:08:02 +00:00
jtc aed559e85d Make it possible to use machine dependant versions of div and ldiv functions.
Use the new i386 versions of div and ldiv.
1993-10-09 00:03:32 +00:00
jtc 479a1c33c9 Provide i386 versions of div and ldiv -- they are simpler than the C versions,
since the idiv instruction does the right thing wrt truncating towards zero.
1993-10-08 23:57:13 +00:00
mycroft c32809f0fe Clean up deleted files. 1993-10-08 05:48:14 +00:00
cgd 5058978f80 move rpcsvc files and include generation into src/lib/librpcsvc 1993-10-08 05:48:05 +00:00
cgd 8fc014c815 frob things a bit so depend works. 1993-10-08 05:44:32 +00:00
cgd 8a4e4890b1 move include generation and rpc source files intp lib/librpcsvc 1993-10-08 05:26:25 +00:00
mycroft 6a93cfbcbc Clean up deleted files. 1993-10-08 03:47:32 +00:00
cgd f771d07953 no more librpc 1993-10-08 02:34:16 +00:00
cgd 922f210aea don't think of .pl files as prolog files, think of them as Perl files,
and give them a "# " default comment string.
1993-10-08 02:33:30 +00:00
cgd f69e02fc8e no more librpc 1993-10-08 02:28:39 +00:00
cgd 8f46a34fed fix man page so that makewhatis works on it now... 1993-10-08 01:42:06 +00:00
cgd a4f95e1816 no more librpc 1993-10-08 01:33:33 +00:00
jtc e09d2f42db Use "testb %cl,%cl" instead of "cmpb $0,%cl".
This saves three cycles per character, and reduces the size of the
function by eight bytes (the loop is unrolled eight times).
Thanks to davidg for pointing this out.
1993-10-08 01:25:51 +00:00
cgd 909ad08f8c there is no librpc any more 1993-10-08 00:51:12 +00:00
jtc 42cce25b89 Use machine dependant version of labs.[cs] if one is present.
If not one of the enumerated list of machines, use the C language
versions of abs, labs, and atof.
1993-10-08 00:08:12 +00:00
jtc b3f9f8f6f4 Provide an assembly language version of labs().
Since ints and longs are both 32 bits on a i386, we could alias abs()
and labs() together as mycroft did with memmove()/memcpy(), but I'm
waiting on an interpretation ruling to see if it is legal.
1993-10-08 00:01:04 +00:00
jtc b050bfde2c Use _ASSERT_H_ guard macro so that <sys/cdefs.h> is only included once and
the __assert() helper function is declared once if <assert.h> is included
multiple times.
Don't support the _assert() macro, nothing uses it and it pollutes the
user's namespace.
1993-10-07 22:15:29 +00:00
jtc 68bc42722e Add entries for x400 mail, pop-2 & pop-3, and the X Display Manager Control
Protocol.
1993-10-07 21:54:36 +00:00
brezak 4eae27f3eb Whilst hacking the Net/2 version of finger to work on Solaris 2.2 (we
needed a finger on that platform which grokked the office/phone # GCOS
info), I decided to put mail status in (as the solaris version has
that).

The attached patch adds:
- manual page typos fixed: finger doesn't scan .forward, contrary to
  what the man page says (and really shouldn't either, IMHO - that's
  what telnet host SMTP & VRFY are for :)

- added a mail check (printed between login info and the project).
  three different messages possible:
  - if you have no mail:
        No Mail.
  - if you have mail, but there's no unread mail:
        Mail last read DDD MMM ## HH:MM (TZ)
  - if you have new mail:
        New mail received DDD MMM ## HH:MM (TZ)
             Unread since DDD MMM ## HH:MM (TZ)

- fixed the manual page.

lm@yallara.cs.rmit.OZ.AU (Luke Mewburn)
1993-10-07 19:58:28 +00:00
brezak 933a7b3ad8 Rand48 routines from martin@ntkupc1.tuwien.ac.at (Martin Birgmeier) 1993-10-07 19:53:35 +00:00
cgd 3ae2c70acd sometimes we want a profiled libkern. i can't ever see wanting a
PIC one...
1993-10-07 19:40:36 +00:00
mycroft b50f401d64 Clean up deleted files. 1993-10-07 19:28:50 +00:00
jtc 473c152a0a Moved strerror.[c3] from libc/stdio to libc/string.
Since perror is not permitted to change strerror()'s static buffer, I have
changed both functions to pass their own buffers to the new library-internal
function _strerror() that actually does the error message string look up.
Split strerror manpage into strerror and perror manpages.
1993-10-07 19:27:50 +00:00
brezak 2a790909ba Add socks service 1993-10-07 13:25:50 +00:00
cgd cab8e2bdba "There will be NO librpc tomorrow!" 1993-10-07 07:39:23 +00:00
mycroft 4d4f745b47 Clean up deleted files. 1993-10-07 07:33:02 +00:00
cgd 63d7b6778b move the rpc code into libc 1993-10-07 07:29:33 +00:00
cgd 3fc63f6bb3 now that the rpc code lives in libc, we should install the man page
for /etc/rpc from here.  the man page's header was changed to note
that hackers/source-browsers should look at the README and DISCLAIMER
in libc/rpc
1993-10-07 07:29:00 +00:00
cgd d6ff5db170 converted to use gnu malloc, and depend on it correctly 1993-10-07 07:23:44 +00:00
cgd 4b30c543a0 always use libcrypt 1993-10-07 02:16:39 +00:00
cgd 20a8a9b665 always include libcrypt 1993-10-07 02:15:25 +00:00
cgd f74961d747 LIBTERM pointed at nothing, but was meant to point to libtermcap.a... 1993-10-07 02:12:18 +00:00
cgd d86859f644 print the warning exactly once per function per program invocation. 1993-10-07 01:43:14 +00:00
mycroft a2d8842cae Clean up deleted files. 1993-10-07 01:37:03 +00:00
cgd eb29ed3995 always create libcrypt, and link with it where necessary. this will
make life with shared libraries happier.  also, get dummy crypt out
of libc.
1993-10-07 01:36:21 +00:00
cgd cf4f8c1089 always define LIBCRYPT 1993-10-07 01:35:30 +00:00
cgd d415bba2d7 rm _pic libs on clean, too. 1993-10-07 01:34:07 +00:00
cgd cd68b34ae6 fix from Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>:
don't try to display the resident text size; we can't do that anymore
1993-10-07 00:45:59 +00:00
cgd 0b9f50897e make an arch directory in libc, and move all machine dirs into it 1993-10-07 00:17:24 +00:00
cgd 13a840d756 generalize kernacc() to any protections in the function "kerncheckprot()",
and prototype it.
1993-10-06 23:38:19 +00:00
cgd fa29c74cd0 fix the mmap of kmem somewhat, but it's still not perfect...
(or, at least, it crashes the machines in some situations where
i don't think it should...)
1993-10-06 23:37:09 +00:00
cgd 884cdaf2ca use PROG=./bitstring_test as suggested by Andrew Wheadon for everything.
makes the "make" look strange, but it works.
1993-10-06 21:58:09 +00:00
cgd c8670033f6 change the type of fread and fwrite to size_t. unistd.h declares
them as ssize_t, but we're using stdio.h...
1993-10-06 21:29:04 +00:00
cgd 74e4a61b3f no pic libraries 1993-10-06 21:28:25 +00:00